source:
branches/2012/dev_MERGE_2012/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 |
Line | |
---|---|
1 | #! /bin/sh |
2 | |
3 | #BSUB -a poe |
4 | #BSUB -J GYRE_BFM # Name of the job. |
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 |
9 | #BSUB -n 4 # Number of CPUs |
10 | ##BSUB -x |
11 | ###BSUB -R "span[ptile=32]" |
12 | |
13 | set -evx |
14 | |
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 | |
23 | EXP="EXP00" |
24 | |
25 | workdir="/data/ans033/EXPERIMENTS/GYRE_BFM/${EXP}" |
26 | execdir=`pwd` |
27 | |
28 | if [ ! -d ${workdir} ] ; then |
29 | mkdir -p ${workdir} |
30 | fi |
31 | |
32 | cd ${workdir} |
33 | rm -rf * |
34 | # Copy files to exp folder |
35 | cp ${execdir}/opa ./opa.x |
36 | cp ${execdir}/* ./ |
37 | |
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.