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

Merge branch 'EAGLE-run.sh-update' into 'master'

Minor change to EAGLE_ICs/*/run.sh

See merge request !948
parents 3941cd72 9cdd920e
No related branches found
No related tags found
1 merge request!948Minor change to EAGLE_ICs/*/run.sh
#!/bin/bash #!/bin/bash
# Generate the initial conditions if they are not present. # Generate the initial conditions if they are not present.
if [ ! -e EAGLE_L0012N0188_ICs.hdf5 ] if [ ! -e EAGLE_L0012N0188_ICs.hdf5 ]
then then
echo "Fetching initial conditions for the EAGLE 12Mpc example..." echo "Fetching initial conditions for the EAGLE 12Mpc example..."
./getIC.sh ./getIC.sh
fi fi
../../swift --cosmology --hydro --self-gravity --stars --black-holes --cooling --star-formation --feedback --fof --threads=16 eagle_12.yml 2>&1 | tee output.log # Grab the cooling and yield tables if they are not present.
if [ ! -e yieldtables ]
then
echo "Fetching EAGLE yield tables..."
../getEagleYieldtable.sh
fi
if [ ! -e coolingtables ]
then
echo "Fetching EAGLE cooling tables..."
../getEagleCoolingTable.sh
fi
# The following run-time options are broken down by line as:
# Basic run-time options
# Create and run with stars
# Radiative options - run with cooling and stellar feedback
# Run with the time-step limiter required to capture feedback
# Run with black holes - fof is needed for the seeding
# Threading options - run with threads and pinning (latter not required but improves performance)
# The corresponding parameter file for this run
../../swift \
--cosmology --hydro --self-gravity \
--stars --star-formation \
--cooling --feedback \
--limiter \
--black-holes --fof \
--threads=16 --pin \
eagle_12.yml
...@@ -7,5 +7,33 @@ then ...@@ -7,5 +7,33 @@ then
./getIC.sh ./getIC.sh
fi fi
../../swift --cosmology --hydro --self-gravity --stars --black-holes --cooling --star-formation --feedback --fof --threads=16 eagle_25.yml 2>&1 | tee output.log # Grab the cooling and yield tables if they are not present.
if [ ! -e yieldtables ]
then
echo "Fetching EAGLE yield tables..."
../getEagleYieldtable.sh
fi
if [ ! -e coolingtables ]
then
echo "Fetching EAGLE cooling tables..."
../getEagleCoolingTable.sh
fi
# The following run-time options are broken down by line as:
# Basic run-time options
# Create and run with stars
# Radiative options - run with cooling and stellar feedback
# Run with the time-step limiter required to capture feedback
# Run with black holes - fof is needed for the seeding
# Threading options - run with threads and pinning (latter not required but improves performance)
# The corresponding parameter file for this run
../../swift \
--cosmology --hydro --self-gravity \
--stars --star-formation \
--cooling --feedback \
--limiter \
--black-holes --fof \
--threads=16 --pin \
eagle_25.yml
\ No newline at end of file
...@@ -7,5 +7,33 @@ then ...@@ -7,5 +7,33 @@ then
./getIC.sh ./getIC.sh
fi fi
../../swift --cosmology --hydro --self-gravity --stars --black-holes --cooling --star-formation --feedback --fof --threads=16 eagle_50.yml 2>&1 | tee output.log # Grab the cooling and yield tables if they are not present.
if [ ! -e yieldtables ]
then
echo "Fetching EAGLE yield tables..."
../getEagleYieldtable.sh
fi
if [ ! -e coolingtables ]
then
echo "Fetching EAGLE cooling tables..."
../getEagleCoolingTable.sh
fi
# The following run-time options are broken down by line as:
# Basic run-time options
# Create and run with stars
# Radiative options - run with cooling and stellar feedback
# Run with the time-step limiter required to capture feedback
# Run with black holes - fof is needed for the seeding
# Threading options - run with threads and pinning (latter not required but improves performance)
# The corresponding parameter file for this run
../../swift \
--cosmology --hydro --self-gravity \
--stars --star-formation \
--cooling --feedback \
--limiter \
--black-holes --fof \
--threads=16 --pin \
eagle_50.yml
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment