| 1 |
To run on beagle.darwinproject.mit.edu : |
To run on beagle.darwinproject.mit.edu : |
| 2 |
|
|
| 3 |
#-- where executables have been built: |
#-- where executables have been built: |
| 4 |
# (see file 'utils/notes_bld' on how to build) |
# (see file 'utils/notes_bld' on how to build) |
| 5 |
BLD_DIR=~jmc/mitgcm/MITgcm/verification/nesting |
BLD_DIR=~jmc/mitgcm/MITgcm/verification/nesting |
| 6 |
|
|
| 7 |
#-- where to run: |
#-- where to run: |
| 16 |
|
|
| 17 |
cd $RUN_DIR |
cd $RUN_DIR |
| 18 |
|
|
| 19 |
cvs co -P -d input MITgcm_contrib/nesting_sannino/input |
cvs co -P -d input MITgcm_contrib/nesting_sannino/input |
| 20 |
cvs co -P -d params MITgcm_contrib/nesting_sannino/params |
cvs co -P -d params MITgcm_contrib/nesting_sannino/params |
| 21 |
cvs co -P -d utils MITgcm_contrib/nesting_sannino/utils |
cvs co -P -d utils MITgcm_contrib/nesting_sannino/utils |
| 22 |
|
cvs co -P -d results MITgcm_contrib/nesting_sannino/results |
| 23 |
|
|
| 24 |
( mkdir run_driv run_med run_gib ) |
( mkdir run_driv run_med run_gib ) |
| 25 |
|
|
| 43 |
#-- on beagle: |
#-- on beagle: |
| 44 |
> qrsh -pe mpich_mx 64 |
> qrsh -pe mpich_mx 64 |
| 45 |
|
|
|
then do "qstat" to get the job number: JOB_IB |
|
|
|
|
| 46 |
#-- on compute node: |
#-- on compute node: |
| 47 |
> module load mitgcm |
> module load mitgcm |
| 48 |
|
|
| 49 |
#- get the file which contains the list of nodes: |
#- get the file which contains the list of nodes: |
| 50 |
> ls -l /tmp/$JOB_ID.1.darwin/machines |
# ^== No longer needed: done within mk_pgfile.sh |
| 51 |
|
# ls -l /tmp/$JOB_ID.1.darwin/machines |
| 52 |
|
|
| 53 |
> cd $RUN_DIR |
> cd $RUN_DIR |
| 54 |
|
|
| 55 |
#- to make "pgfile": |
#- to make "pgfile": |
| 56 |
> utils/mk_pgfile.sh /tmp/$JOB_ID.1.darwin/machines |
> utils/mk_pgfile.sh |
| 57 |
|
|
| 58 |
#- to run: |
#- to run: |
| 59 |
> mpirun -pg pgfile -np 64 $RUN_DIR/run_driv/mitgcmuv >& std_outp |
> mpirun -pg pgfile -np 64 $RUN_DIR/run_driv/mitgcmuv >& std_outp |
| 60 |
|
|
|
# Note: Until now, this command will not finish since the driver does not know |
|
|
# many iterations to do. Needs to kill (or Ctrl C) the mpirun process |
|
|
# when parent and child are done. |
|
|
|
|
| 61 |
#- to save all the output in new dir "res_new" |
#- to save all the output in new dir "res_new" |
| 62 |
> utils/move_nest_outp res_new |
> utils/move_nest_outp res_new |