source:
branches/2012/dev_r3379_CMCC6_topbfm/NEMOGCM/CONFIG/GYRE_BFM/EXP00/runscript
@
3771
Last change on this file since 3771 was 3478, checked in by vichi, 12 years ago | |
---|---|
|
|
File size: 856 bytes |
Rev | Line | |
---|---|---|
[3478] | 1 | #! /bin/sh |
[3399] | 2 | |
3 | #BSUB -a poe | |
[3478] | 4 | #BSUB -J GYRE_BFM # Name of the job. |
[3399] | 5 | #BSUB -o GYRE_BFM_%J.out # Appends std output to file %J.out. |
6 | #BSUB -e GYRE_BFM_%J.err # Appends std error to file %J.out. | |
7 | #BSUB -P nemo | |
8 | #BSUB -q poe_short # queue | |
[3478] | 9 | #BSUB -n 4 # Number of CPUs |
10 | ##BSUB -x | |
[3399] | 11 | ###BSUB -R "span[ptile=32]" |
12 | ||
[3478] | 13 | set -evx |
14 | ||
[3399] | 15 | export MP_WAIT_MODE=poll |
16 | export MP_POLLING_INTERVAL=30000000 | |
17 | export MP_SHARED_MEMORY=yes | |
18 | export MP_EUILIB=us | |
19 | export MP_EUIDEVICE=sn_all | |
20 | export LDR_CNTRL=TEXTPSIZE=64K@STACKPSIZE=64K@DATAPSIZE=64K | |
21 | export MP_TASK_AFFINITY=core | |
22 | ||
[3478] | 23 | EXP="EXP00" |
24 | ||
25 | workdir="/data/ans033/EXPERIMENTS/GYRE_BFM/${EXP}" | |
[3399] | 26 | execdir=`pwd` |
27 | ||
[3478] | 28 | if [ ! -d ${workdir} ] ; then |
29 | mkdir -p ${workdir} | |
30 | fi | |
31 | ||
32 | cd ${workdir} | |
[3399] | 33 | rm -rf * |
[3478] | 34 | # Copy files to exp folder |
35 | cp ${execdir}/opa ./opa.x | |
[3399] | 36 | cp ${execdir}/* ./ |
37 | ||
[3478] | 38 | # Launch the model |
39 | ||
40 | time mpirun.lsf opa.x | |
41 | ||
42 | echo " ${EXP} DONEEE!!!" | |
43 |
Note: See TracBrowser
for help on using the repository browser.