File tree Expand file tree Collapse file tree 1 file changed +6
-33
lines changed Expand file tree Collapse file tree 1 file changed +6
-33
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
3
- rm -rf run.test
4
- cp -R ../../share/run ./run.test
5
- cd run.test
3
+ NPROC=5
4
+ TOTALTIME=180
5
+ MPI=/Users/ridley/Software/Mpi/installed/bin/mpirun
6
+ NTIMES=2
6
7
7
- rm -f aether.json UA/output/*
8
- rm -rf UA/restart* ; mkdir UA/restartOut
9
- rm -rf UA/output_whole
10
- rm -rf UA/output_nonperturbed
11
- rm -rf UA/output_perturbed
12
- rm -rf UA/output_save
13
-
14
- cp ../aether.json.whole aether.json
15
- mpirun -np 20 ./aether
16
- cd UA/output ; ../../../../../srcPython/plot_logfiles.py -vars=10 log_m00* .txt ; cd -
17
- cd UA ; mv output output_whole ; mkdir output ; cd -
18
- rm -f aether.json
19
-
20
- rm -f aether.json UA/output/* UA/restartOut/*
21
- cp ../aether.json.start aether.json
22
- mpirun -np 20 ./aether
23
- cd UA ; mv restartOut restartIn ; mkdir restartOut ; cd -
24
- cd UA ; cp -R output output_save ; cd ..
25
-
26
- rm -f aether.json
27
- cp ../aether.json.restart1 aether.json
28
- mpirun -np 20 ./aether
29
- cd UA/output ; ../../../../../srcPython/plot_logfiles.py -vars=10 log_m00* .txt ; cd -
30
- cd UA ; mv output output_nonperturbed ; cp -R output_save output ; cd -
31
-
32
- rm -f aether.json
33
- cp ../aether.json.restart2 aether.json
34
- mpirun -np 20 ./aether
35
- cd UA/output ; ../../../../../srcPython/plot_logfiles.py -vars=10 log_m00* .txt ; cd -
36
- cd UA ; mv output output_perturbed ; mkdir output ; cd -
8
+ # include -dowhole to run the whole simulation as comparison:
37
9
10
+ ../../srcPython/run_restarts.py -totaltime=${TOTALTIME} -mpi=${MPI} -rundir=../../share/run -ensembles=${NPROC} -restarts=${NTIMES}
38
11
You can’t perform that action at this time.
0 commit comments