# Runs the SedovBlast_3D and EAGLE_12 examples using naive, serial and vectorised particle interactions. Then compares the output between versions using check_ngbs.py
# Runs the SedovBlast_3D and EAGLE_12 examples using naive, serial and vectorised particle interactions.
# Then compares the output between versions using check_ngbs.py. Test is performed with and without MPI.
echo
echo"# Running SedovBlast_3D and EAGLE_12 with naive interactions and neighbour logging, 16 thread"
if python ../check_ngbs.py eagle_12_serial.hdf5 eagle_12_vec.hdf5
then
echo"EAGLE_12 comparison between serial and vectorised passed"
exit 0
else
echo"EAGLE_12 comparison between serial and vectorised failed"
exit 1
fi
# Now run the same test using MPI
# Runs the SedovBlast_3D and EAGLE_12 examples using naive, serial and vectorised particle interactions. Then compares the output between versions using check_ngbs.py
unset I_MPI_HYDRA_BOOTSTRAP
echo
echo"# Running SedovBlast_3D and EAGLE_12 with naive interactions and neighbour logging, 16 thread, 4 MPI ranks"