Skip to content
Snippets Groups Projects
Commit dc672f8f authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Update the run.sh scripts for their new locations.

parent e39203ec
No related branches found
No related tags found
No related merge requests found
Showing
with 20 additions and 20 deletions
...@@ -21,7 +21,7 @@ then ...@@ -21,7 +21,7 @@ then
fi fi
# Run SWIFT # Run SWIFT
../swift --cosmology --hydro --cooling --threads=4 -n 1000 coolingBox.yml ../../swift --cosmology --hydro --cooling --threads=4 -n 1000 coolingBox.yml
# Check energy conservation and cooling rate # Check energy conservation and cooling rate
python energy_plot.py python energy_plot.py
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
echo "Generating initial conditions for the isothermal potential box example..." echo "Generating initial conditions for the isothermal potential box example..."
python makeIC.py 10000 python makeIC.py 10000
../swift --external-gravity --hydro --cooling --threads=16 cooling_halo.yml 2>&1 | tee output.log ../../swift --external-gravity --hydro --cooling --threads=16 cooling_halo.yml 2>&1 | tee output.log
python radial_profile.py 2. 200 100 python radial_profile.py 2. 200 100
......
...@@ -5,7 +5,7 @@ echo "Generating initial conditions for the isothermal potential box example..." ...@@ -5,7 +5,7 @@ echo "Generating initial conditions for the isothermal potential box example..."
python makeIC.py 10000 python makeIC.py 10000
# Run SWIFT with external potential, SPH and cooling # Run SWIFT with external potential, SPH and cooling
../swift --external-gravity --hydro --cooling --threads=1 cooling_halo.yml 2>&1 | tee output.log ../../swift --external-gravity --hydro --cooling --threads=1 cooling_halo.yml 2>&1 | tee output.log
# python radial_profile.py 10 # python radial_profile.py 10
......
...@@ -8,7 +8,7 @@ then ...@@ -8,7 +8,7 @@ then
fi fi
# Run SWIFT # Run SWIFT
../swift --cosmology --hydro --threads=1 sodShock.yml 2>&1 | tee output.log ../../swift --cosmology --hydro --threads=1 sodShock.yml 2>&1 | tee output.log
# Plot the result # Plot the result
python plotSolution.py 1 python plotSolution.py 1
...@@ -13,6 +13,6 @@ then ...@@ -13,6 +13,6 @@ then
fi fi
# Run SWIFT # Run SWIFT
../swift --cosmology --hydro --threads=4 sodShock.yml 2>&1 | tee output.log ../../swift --cosmology --hydro --threads=4 sodShock.yml 2>&1 | tee output.log
python plotSolution.py 1 python plotSolution.py 1
...@@ -13,6 +13,6 @@ then ...@@ -13,6 +13,6 @@ then
fi fi
# Run SWIFT # Run SWIFT
../swift --cosmology --hydro --threads=4 sodShock.yml 2>&1 | tee output.log ../../swift --cosmology --hydro --threads=4 sodShock.yml 2>&1 | tee output.log
python plotSolution.py 1 python plotSolution.py 1
...@@ -13,7 +13,7 @@ then ...@@ -13,7 +13,7 @@ then
fi fi
# Run SWIFT # Run SWIFT
../swift --hydro --cosmology --self-gravity --threads=8 constant_volume.yml 2>&1 | tee output.log ../../swift --hydro --cosmology --self-gravity --threads=8 constant_volume.yml 2>&1 | tee output.log
# Plot the result # Plot the result
python plotSolution.py $i python plotSolution.py $i
...@@ -8,7 +8,7 @@ then ...@@ -8,7 +8,7 @@ then
fi fi
# Run SWIFT # Run SWIFT
../swift --hydro --cosmology --self-gravity --threads=8 zeldovichPancake.yml 2>&1 | tee output.log ../../swift --hydro --cosmology --self-gravity --threads=8 zeldovichPancake.yml 2>&1 | tee output.log
# Plot the result # Plot the result
for i in {0..119} for i in {0..119}
......
...@@ -7,5 +7,5 @@ then ...@@ -7,5 +7,5 @@ then
./getIC.sh ./getIC.sh
fi fi
../swift --cosmology --self-gravity --threads=16 eagle_100.yml 2>&1 | tee output.log ../../swift --cosmology --self-gravity --threads=16 eagle_100.yml 2>&1 | tee output.log
...@@ -7,5 +7,5 @@ then ...@@ -7,5 +7,5 @@ then
./getIC.sh ./getIC.sh
fi fi
../swift --cosmology --self-gravity --threads=16 eagle_12.yml 2>&1 | tee output.log ../../swift --cosmology --self-gravity --threads=16 eagle_12.yml 2>&1 | tee output.log
...@@ -7,5 +7,5 @@ then ...@@ -7,5 +7,5 @@ then
./getIC.sh ./getIC.sh
fi fi
../swift --cosmology --self-gravity --threads=16 eagle_25.yml 2>&1 | tee output.log ../../swift --cosmology --self-gravity --threads=16 eagle_25.yml 2>&1 | tee output.log
...@@ -7,5 +7,5 @@ then ...@@ -7,5 +7,5 @@ then
./getIC.sh ./getIC.sh
fi fi
../swift --cosmology --self-gravity --threads=16 eagle_50.yml 2>&1 | tee output.log ../../swift --cosmology --self-gravity --threads=16 eagle_50.yml 2>&1 | tee output.log
...@@ -7,5 +7,5 @@ then ...@@ -7,5 +7,5 @@ then
./getIC.sh ./getIC.sh
fi fi
../swift --cosmology --hydro --self-gravity --stars --threads=16 eagle_100.yml 2>&1 | tee output.log ../../swift --cosmology --hydro --self-gravity --stars --threads=16 eagle_100.yml 2>&1 | tee output.log
...@@ -7,5 +7,5 @@ then ...@@ -7,5 +7,5 @@ then
./getIC.sh ./getIC.sh
fi fi
../swift --cosmology --hydro --self-gravity --stars --threads=16 eagle_12.yml 2>&1 | tee output.log ../../swift --cosmology --hydro --self-gravity --stars --threads=16 eagle_12.yml 2>&1 | tee output.log
...@@ -7,5 +7,5 @@ then ...@@ -7,5 +7,5 @@ then
./getIC.sh ./getIC.sh
fi fi
../swift --cosmology --hydro --self-gravity --stars --threads=16 eagle_25.yml 2>&1 | tee output.log ../../swift --cosmology --hydro --self-gravity --stars --threads=16 eagle_25.yml 2>&1 | tee output.log
...@@ -7,5 +7,5 @@ then ...@@ -7,5 +7,5 @@ then
./getIC.sh ./getIC.sh
fi fi
../swift --cosmology --hydro --self-gravity --stars --threads=16 eagle_50.yml 2>&1 | tee output.log ../../swift --cosmology --hydro --self-gravity --stars --threads=16 eagle_50.yml 2>&1 | tee output.log
...@@ -7,5 +7,5 @@ then ...@@ -7,5 +7,5 @@ then
./getIC.sh ./getIC.sh
fi fi
../swift --cosmology --hydro --self-gravity --stars --threads=16 eagle_6.yml 2>&1 | tee output.log ../../swift --cosmology --hydro --self-gravity --stars --threads=16 eagle_6.yml 2>&1 | tee output.log
...@@ -38,7 +38,7 @@ cp $sim.hdf5 agora_disk.hdf5 ...@@ -38,7 +38,7 @@ cp $sim.hdf5 agora_disk.hdf5
python3 changeType.py agora_disk.hdf5 python3 changeType.py agora_disk.hdf5
# Run SWIFT # Run SWIFT
#../swift $flag --hydro --self-gravity --threads=4 agora_disk.yml 2>&1 | tee output.log #../../swift $flag --hydro --self-gravity --threads=4 agora_disk.yml 2>&1 | tee output.log
echo "Changing smoothing length to be Gadget compatible" echo "Changing smoothing length to be Gadget compatible"
......
...@@ -7,5 +7,5 @@ then ...@@ -7,5 +7,5 @@ then
./getIC.sh ./getIC.sh
fi fi
../swift --feedback --self-gravity --hydro --stars --threads=8 $@ dwarf_galaxy.yml 2>&1 | tee output.log ../../swift --feedback --self-gravity --hydro --stars --threads=8 $@ dwarf_galaxy.yml 2>&1 | tee output.log
...@@ -7,5 +7,5 @@ then ...@@ -7,5 +7,5 @@ then
./getIC.sh ./getIC.sh
fi fi
../swift --feedback --cosmology --self-gravity --hydro --stars --threads=8 zoom_in.yml 2>&1 | tee output.log ../../swift --feedback --cosmology --self-gravity --hydro --stars --threads=8 zoom_in.yml 2>&1 | tee output.log
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment