Version 19 (modified by clem, 4 years ago) (diff) |
---|
Get the code
# my login me=smasson # svn path to NEMO trunk svnpath=svn+ssh://${me}@forge.ipsl.jussieu.fr/ipsl/forge/projets/nemo/svn/NEMO/trunk # get the revision number of the HEAD rev=$( svn info $svnpath | grep "Last Changed Rev" | sed -e "s/.*: *//" ) # directory name given to the local trunk dirnemo=trunk_test_perf_${rev} # checkout the trunk into $dirnemo svn co $svnpath $dirnemo # cd $dirnemo #
Prepare and compile the tests
- step by step method with all the shell instructions
- quicker method with an input tarfile No more compatible I guess... you better use the step-by-step procedure...
link the input files files
ORCA2_ICE_v4.x.gz is available
- on Seb cloud: here
- on Jean-Zay : /gpfsstore/rech/fqx/reee217/input_nemo_v4.0
- on Irene : /ccc/store/cont005/ra0542/massons/input_nemo_v4.0
Ice_initialization.nc is available
- on Clément cloud: here
- on Jean-Zay : /gpfsstore/rech/fqx/reee217/input_nemo_v4.0
- on Irene : /ccc/store/cont005/ra0542/massons/input_nemo_v4.0
# define path to ORCA2_ICE_v4.x directory. For example: #dirdata=/ccc/scratch/cont005/ra0542/massons/input_nemo_v4.0/ORCA2_ICE_v4.x #dirdata=/gpfsscratch/rech/fqx/reee217/input_nemo_v4.0/ORCA2_ICE_v4.x dirdata=... # add the new Ice_initialization file to this directory mv Ice_initialization.nc $dirdata # link the input files for dd in cfgs/ORCA2_*/EXP00 do cd $dd ln -sf $dirdata/* . cd - done
Run!
see the 2 examples of jobs: jobaps_irene.sh or jobaps_jeanzay.sh
#export qs=sbatch for dd in cfgs/ORCA2_*/EXP00 do \cp jobaps.sh $dd/. # get jobaps.sh from the attached files cd $dd qs jobaps.sh # define qs alias is not already done... cd - done
Check the runs did 5840 time steps
for ff in cfgs/ORCA2_*/EXP00/time.step do echo "$ff: $( cat $ff)" done
Create aps reports
for dd in cfgs/ORCA2_*/EXP00 do cd $dd yyyymmdd=$( date +%Y%m%d ) hhmmss=$( date +%H%M%S ) rptname=aps_result_${yyyymmdd}_${hhmmss}.txt module list > $rptname # add the list of modules in the report echo >> $rptname aps-report aps_result_${yyyymmdd} >> $rptname cd - done
Create gnu plots from timing.output
#module load gnuplot for dd in cfgs/ORCA2_*/EXP00 do cd $dd grep " timing step" timing.output | sed -e "s/.*: *//" | gnuplot -p -e 'set yrange [0.0:0.5] ; set title "trunk r'${rev}'" ; set output "timing.png" ; plot "/dev/stdin"' cd - done
Attachments (4)
- jobaps_irene.sh (418 bytes) - added by smasson 4 years ago.
- jobaps_jeanzay.sh (514 bytes) - added by smasson 4 years ago.
- modules_irene.sh (419 bytes) - added by smasson 4 years ago.
- modules_jeanzay.sh (407 bytes) - added by smasson 4 years ago.
Download all attachments as: .zip