Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TurTLE
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
TurTLE
TurTLE
Commits
ef674e51
Commit
ef674e51
authored
5 years ago
by
Cristian Lalescu
Browse files
Options
Downloads
Patches
Plain Diff
adds example for small->resize->large procedure
parent
0d970ca9
No related branches found
No related tags found
No related merge requests found
Pipeline
#75691
passed
5 years ago
Stage: build
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
examples/resize_example.sh
+25
-0
25 additions, 0 deletions
examples/resize_example.sh
with
25 additions
and
0 deletions
examples/resize_example.sh
0 → 100644
+
25
−
0
View file @
ef674e51
#! /bin/bash
# Example TurTLE resize script
# run "small" simulation
turtle DNS NSVE
\
-n
32
--simname
test32
# double the size of a specific snapshot (iteration 8 in this case)
# it's probably a good idea to always give "new_simname" as "old_simnamex2",
# but you are free to choose as appropriate.
# TODO: the python script should create an appropriate parameter file for new_simname.
turtle PP resize
\
--simname
test32
\
--iter0
8
--iter1
8
\
--new_nx
64
--new_ny
64
--new_nz
64
--new_simname
test32x2
# create a checkpoint symlink to the resized field
ln
-s
test32x2_fields.h5 test32x2_checkpoint_0.h5
# run "large" simulation using the resized field
turtle DNS NSVE
\
-n
64
--simname
test64
\
--src-simname
test32x2
--src-iteration
8
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