| 1 |
jmc |
1.1 |
add in .cshrc: |
| 2 |
|
|
setenv CVSROOT ':pserver:cvsanon@mitgcm.org:/u/gcmpack' |
| 3 |
|
|
|
| 4 |
|
|
and only the 1rst time: |
| 5 |
|
|
cvs login: (enter cvsanon as password) |
| 6 |
|
|
|
| 7 |
|
|
cvs co -P -d MITgcm_chk59r -r checkpoint59r MITgcm |
| 8 |
|
|
|
| 9 |
|
|
%---- to get the latest: |
| 10 |
|
|
cd MITgcm_chk59r/model/src |
| 11 |
|
|
cvs update -A write_grid.F |
| 12 |
|
|
%---- |
| 13 |
|
|
|
| 14 |
|
|
cd MITgcm_chk59r/verification |
| 15 |
|
|
|
| 16 |
|
|
cvs co -P -d dyncore MITgcm_contrib/dyncore_ASP |
| 17 |
|
|
|
| 18 |
|
|
cd dyncore/build |
| 19 |
|
|
|
| 20 |
|
|
cp -p ../code/setup_12/SIZE.h_mpi SIZE.h |
| 21 |
|
|
(may need to edit SIZE.h, e.g. to run on 2 cpu) |
| 22 |
|
|
|
| 23 |
|
|
../../../tools/genmake2 -of ../../../tools/build_options/sp5+mpi -mods ../code/setup_12 -mpi |
| 24 |
|
|
|
| 25 |
|
|
make depend |
| 26 |
|
|
|
| 27 |
|
|
make |
| 28 |
|
|
|
| 29 |
|
|
cd ../run |
| 30 |
|
|
cp -p ../params/p_cs32_1-0/* . |
| 31 |
|
|
ln -s ../build/mitgcmuv . |
| 32 |
|
|
|
| 33 |
|
|
on 6 cpu: |
| 34 |
|
|
bsub -q debug -Is -n 6 -W 0:15 -P 35171136 /bin/tcsh |
| 35 |
|
|
on 2 cpu: |
| 36 |
|
|
bsub -q debug -Is -n 2 -W 0:15 -P 35171136 /bin/tcsh |
| 37 |
|
|
|
| 38 |
|
|
run.lsf ./mitgcmuv -euilib us |