Last change
on this file since 5501 was
5501,
checked in by aclsce, 4 years ago
|
First import of IPSLCM6.5_work_ENSEMBLES working configuration
|
-
Property svn:executable set to
*
|
File size:
829 bytes
|
Line | |
---|
1 | #! /bin/sh |
---|
2 | ### This is an example of a runscript for the LSF queueing system |
---|
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 | |
---|
11 | set -evx |
---|
12 | |
---|
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 | |
---|
21 | EXP="EXP00" |
---|
22 | |
---|
23 | workdir="TO_BE_SET_BY_USER" |
---|
24 | execdir=`pwd` |
---|
25 | |
---|
26 | if [ ! -d ${workdir} ] ; then |
---|
27 | mkdir -p ${workdir} |
---|
28 | fi |
---|
29 | |
---|
30 | cd ${workdir} |
---|
31 | rm -rf * |
---|
32 | # Copy files to exp folder |
---|
33 | cp ${execdir}/opa ./opa.x |
---|
34 | cp ${execdir}/* ./ |
---|
35 | |
---|
36 | # Launch the model |
---|
37 | |
---|
38 | mpirun.lsf opa.x |
---|
39 | |
---|
40 | |
---|
Note: See
TracBrowser
for help on using the repository browser.