1 |
jmc |
1.1 |
To run on beagle.darwinproject.mit.edu : |
2 |
|
|
|
3 |
|
|
#-- where executables have been built: |
4 |
jmc |
1.2 |
# (see file 'utils/notes_bld' on how to build) |
5 |
jmc |
1.1 |
BLD_DIR=~jmc/mitgcm/MITgcm/verification/nesting |
6 |
|
|
|
7 |
|
|
#-- where to run: |
8 |
|
|
RUN_DIR=/scratch/jmc/nesting |
9 |
|
|
(mkdir $RUN_DIR) |
10 |
|
|
|
11 |
|
|
#==== set-up: ==== |
12 |
|
|
Note: 1) driver is still using hard-coded absolute path |
13 |
|
|
(to /home/sannino/NESTING/ , subdir: PARENT/ & CHILD/ ) |
14 |
|
|
to read parent and chilf grid files for parent <--> child interpolation |
15 |
|
|
2) forcing is over simplified to minimise Nb/size of input files. |
16 |
|
|
|
17 |
|
|
cd $RUN_DIR |
18 |
|
|
|
19 |
jmc |
1.2 |
cvs co -P -d input MITgcm_contrib/nesting_sannino/input |
20 |
|
|
cvs co -P -d params MITgcm_contrib/nesting_sannino/params |
21 |
|
|
cvs co -P -d utils MITgcm_contrib/nesting_sannino/utils |
22 |
|
|
cvs co -P -d results MITgcm_contrib/nesting_sannino/results |
23 |
jmc |
1.1 |
|
24 |
|
|
( mkdir run_driv run_med run_gib ) |
25 |
|
|
|
26 |
|
|
cd run_driv |
27 |
|
|
ln -s $BLD_DIR/bld_driver/mitgcmuv . |
28 |
|
|
cd .. |
29 |
|
|
|
30 |
|
|
cd run_med |
31 |
|
|
ln -s $BLD_DIR/bld_parent/mitgcmuv . |
32 |
|
|
ln -s ../input/med/* . |
33 |
|
|
ln -s ../params/med/* . |
34 |
|
|
cd .. |
35 |
|
|
|
36 |
|
|
cd run_gib |
37 |
|
|
ln -s $BLD_DIR/bld_child/mitgcmuv . |
38 |
|
|
ln -s ../input/gib/* . |
39 |
|
|
ln -s ../params/gib/* . |
40 |
|
|
cd .. |
41 |
|
|
|
42 |
|
|
#==== running: ==== |
43 |
|
|
#-- on beagle: |
44 |
|
|
> qrsh -pe mpich_mx 64 |
45 |
|
|
|
46 |
|
|
#-- on compute node: |
47 |
|
|
> module load mitgcm |
48 |
jmc |
1.2 |
|
49 |
jmc |
1.1 |
#- get the file which contains the list of nodes: |
50 |
jmc |
1.2 |
# ^== No longer needed: done within mk_pgfile.sh |
51 |
|
|
# ls -l /tmp/$JOB_ID.1.darwin/machines |
52 |
jmc |
1.1 |
|
53 |
|
|
> cd $RUN_DIR |
54 |
|
|
|
55 |
|
|
#- to make "pgfile": |
56 |
jmc |
1.2 |
> utils/mk_pgfile.sh |
57 |
jmc |
1.1 |
|
58 |
|
|
#- to run: |
59 |
|
|
> mpirun -pg pgfile -np 64 $RUN_DIR/run_driv/mitgcmuv >& std_outp |
60 |
|
|
|
61 |
|
|
#- to save all the output in new dir "res_new" |
62 |
|
|
> utils/move_nest_outp res_new |