Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SWIFT
SWIFTsim
Commits
9dbd8015
Commit
9dbd8015
authored
Oct 22, 2019
by
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
Changes
3
Hide whitespace changes
Inline
Side-by-side
examples/EAGLE_ICs/EAGLE_12/run.sh
View file @
9dbd8015
#!/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
]
then
echo
"Fetching initial conditions for the EAGLE 12Mpc example..."
./getIC.sh
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
examples/EAGLE_ICs/EAGLE_25/run.sh
View file @
9dbd8015
...
...
@@ -7,5 +7,33 @@ then
./getIC.sh
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
examples/EAGLE_ICs/EAGLE_50/run.sh
View file @
9dbd8015
...
...
@@ -7,5 +7,33 @@ then
./getIC.sh
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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment