Commit dc208ade authored by Pedro Gonnet's avatar Pedro Gonnet
Browse files

runs.sh now also generates the input files if they are not present.


Former-commit-id: f70103fbcb4a34cbb07fa69a448cc7046d9c0ea4
parent 08409e0e
File mode changed from 100644 to 100755
......@@ -3,6 +3,30 @@
# Set some global stuff
export OMP_WAIT_POLICY=PASSIVE
# Generate the initial conditions if they are not present.
if [ ! -e SodShock/sodShock.hdf5 ]
then
echo "Generating initial conditions for the SodShock example..."
cd SodShock
python makeIC.py
cd ..
fi
if [ ! -e SedovBlast/sedov.hdf5 ]
then
echo "Generating initial conditions for the SedovBlast example..."
cd SedovBlast/
python makeIC_fcc.py
cd ..
fi
if [ ! -e CosmoVolume/cosmoVolume.hdf5 ]
then
echo "Downloading initial conditions for the CosmoVolume example..."
cd CosmoVolume
./getIC.sh
cd ..
fi
# Loop over number of cores
for cpu in {1..32}
do
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment