| 1 |
steps: |
| 2 |
1) add |
| 3 |
setenv CVSROOT ':ext:atn@mitgcm.org:/u/gcmpack' |
| 4 |
(for baudelaire.csail.mit.edu: setenv CVSROOT '/u/gcmpack' ) |
| 5 |
|
| 6 |
into .cshrc |
| 7 |
|
| 8 |
2) |
| 9 |
a) either create a pair of keys and copy the private/ublic one to proper locations or |
| 10 |
b) check a machine that has a private key whose public key is in authorizedkeys (say ross) and copy over |
| 11 |
|
| 12 |
3) commit file: |
| 13 |
cp /scratch/atn/MITgcm/verification/lab_sea/code_5x5_newcode_stripped_v6g/* . |
| 14 |
cvs co -P -d atnguyen_contrib MITgcm_contrib/atnguyen |
| 15 |
cd atnguyen_contrib/ |
| 16 |
mkdir code_21Dec2012_saltplume |
| 17 |
cvs add code_21Dec2012_saltplume |
| 18 |
%cvs add -m "code latest saltplume fix" code_21Dec2012_saltplume |
| 19 |
cd code_21Dec2012_saltplume |
| 20 |
cvs -q -n update |
| 21 |
cp /scratch/atn/MITgcm/verification/lab_sea/code_5x5_newcode_stripped_v6g/* . |
| 22 |
cvs add *.F *.h packages.conf README SIZE.h_mpi |
| 23 |
cvs -q update |
| 24 |
cvs commit -m "inprogress swapping 1-x with x in plumefrac" *.F *.h packages.conf README SIZE.h_mpi |
| 25 |
|
| 26 |
3) remove file: |
| 27 |
cd to the dir of file to remove, say filename is "a.h": |
| 28 |
cvs -q -n up |
| 29 |
rm a.h |
| 30 |
cvs remove a.h |
| 31 |
cvs commit -m "remove a.h" a.h |
| 32 |
cvs -q -n up |
| 33 |
|
| 34 |
4) fresh copy of only MITgcm_code + testreport + specific verification exp: |
| 35 |
cvs co -P MITgcm_code |
| 36 |
cd MITgcm |
| 37 |
cvs co -d verification MITgcm/verification/testreport |
| 38 |
cd verification |
| 39 |
cvs co -d lab_sea MITgcm/verification/lab_sea |
| 40 |
|
| 41 |
5) fresh copy of entire code + test report + all verification: |
| 42 |
cvs co -P MITgcm |
| 43 |
cd MITgcm |
| 44 |
cvs -q up -A <-- updating file with the most recent copy, not stuck to tag/release |
| 45 |
cvs co -P MITgcm_contrib/atnguyen |
| 46 |
cd MITgcm_contrib/ |
| 47 |
|
| 48 |
6) check for updates: |
| 49 |
cd verification/ |
| 50 |
cvs diff testreport <-- check diff with exact release copy, not most updated one |
| 51 |
cvs -diff -r 1.196 testreport <-- check diff with a specific release |
| 52 |
cvs -q -n up -A testreport <-- show if testreport is different that latest release |
| 53 |
|
| 54 |
7) grepping experiments relevant, for example the ones running with kpp: |
| 55 |
cd verification/ |
| 56 |
grep -i 'useKPP.*=.*true' */input*/data.pkg |
| 57 |
|
| 58 |
8) run test report: |
| 59 |
testreport -norun <-- only do make clean, genmake2, make depend |
| 60 |
testreport -runonly <-- execute whatever is in 'command ..', skip compiling |
| 61 |
testreport -q <-- skip make clean, genmake2, make depend |