source:
branches/UKMO/dev_r5107_restart_func_and_date/NEMOGCM/CONFIG/GYRE_BFM/EXP00/runscript
@
5500
Last change on this file since 5500 was 5500, checked in by dancopsey, 9 years ago | |
---|---|
|
|
File size: 829 bytes |
Rev | Line | |
---|---|---|
[3478] | 1 | #! /bin/sh |
[3813] | 2 | ### This is an example of a runscript for the LSF queueing system |
[3399] | 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 |
[3399] | 10 | |
[3478] | 11 | set -evx |
12 | ||
[3399] | 13 | export MP_WAIT_MODE=poll |
14 | export MP_POLLING_INTERVAL=30000000 | |
15 | export MP_SHARED_MEMORY=yes | |
16 | export MP_EUILIB=us | |
17 | export MP_EUIDEVICE=sn_all | |
18 | export LDR_CNTRL=TEXTPSIZE=64K@STACKPSIZE=64K@DATAPSIZE=64K | |
19 | export MP_TASK_AFFINITY=core | |
20 | ||
[3478] | 21 | EXP="EXP00" |
22 | ||
[3813] | 23 | workdir="TO_BE_SET_BY_USER" |
[3399] | 24 | execdir=`pwd` |
25 | ||
[3478] | 26 | if [ ! -d ${workdir} ] ; then |
27 | mkdir -p ${workdir} | |
28 | fi | |
29 | ||
30 | cd ${workdir} | |
[3399] | 31 | rm -rf * |
[3478] | 32 | # Copy files to exp folder |
33 | cp ${execdir}/opa ./opa.x | |
[3399] | 34 | cp ${execdir}/* ./ |
35 | ||
[3478] | 36 | # Launch the model |
37 | ||
[3813] | 38 | mpirun.lsf opa.x |
[3478] | 39 | |
40 |
Note: See TracBrowser
for help on using the repository browser.