Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
SWIFTsim
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SWIFT
SWIFTsim
Commits
9cdd920e
Commit
9cdd920e
authored
5 years ago
by
Josh Borrow
Committed by
Matthieu Schaller
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Minor change to EAGLE_ICs/*/run.sh
parent
3941cd72
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
examples/EAGLE_ICs/EAGLE_12/run.sh
+31
-2
31 additions, 2 deletions
examples/EAGLE_ICs/EAGLE_12/run.sh
examples/EAGLE_ICs/EAGLE_25/run.sh
+29
-1
29 additions, 1 deletion
examples/EAGLE_ICs/EAGLE_25/run.sh
examples/EAGLE_ICs/EAGLE_50/run.sh
+29
-1
29 additions, 1 deletion
examples/EAGLE_ICs/EAGLE_50/run.sh
with
89 additions
and
4 deletions
examples/EAGLE_ICs/EAGLE_12/run.sh
+
31
−
2
View file @
9cdd920e
#!/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
This diff is collapsed.
Click to expand it.
examples/EAGLE_ICs/EAGLE_25/run.sh
+
29
−
1
View file @
9cdd920e
...
...
@@ -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
This diff is collapsed.
Click to expand it.
examples/EAGLE_ICs/EAGLE_50/run.sh
+
29
−
1
View file @
9cdd920e
...
...
@@ -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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment