1 |
#!/bin/csh |
2 |
# |
3 |
## LSF batch script to run the test MPI code |
4 |
# |
5 |
##BSUB -P 35171136 # Project number |
6 |
#BSUB -a poe # select poe |
7 |
##BSUB -x # exclusive use of node (not_shared) |
8 |
#BSUB -n 6 # number of total (MPI) tasks |
9 |
#BSUB -R "span[ptile=8]" # run a max of 8 tasks per node |
10 |
#BSUB -J cs32test # job name |
11 |
#BSUB -o cs32.%J.out # output filename |
12 |
#BSUB -e cs32.%J.err # error filename |
13 |
#BSUB -q regular # queue |
14 |
#BSUB -W 1:00 # 1 hour wallclock limit (required) |
15 |
#BSUB -B |
16 |
#BSUB -N |
17 |
|
18 |
# taken from Gael script (on blueice): |
19 |
setenv MP_EUILIB us |
20 |
setenv MP_SINGLE_THREAD yes |
21 |
setenv AIXTHREAD_SCOPE S |
22 |
setenv MP_SHARED_MEMORY yes |
23 |
setenv MP_PULSE 0 |
24 |
setenv MP_INTRDELAY 100 |
25 |
setenv MP_EAGER_LIMIT 65536 |
26 |
setenv RT_GRQ ON |
27 |
setenv HPM_EVENT_SET 1 |
28 |
|
29 |
#set rundir=/ptmp/jmc/MITgcm_chk59r/verification/dyncore/run |
30 |
#cd $rundir |
31 |
|
32 |
# Fortran example |
33 |
# #mpxlf90 -o mpi_samp_f mpisamp.f |
34 |
date |
35 |
mpirun.lsf ./mitgcmuv -euilib us |
36 |
date |
37 |
|