-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbsub.sample
More file actions
37 lines (29 loc) · 937 Bytes
/
bsub.sample
File metadata and controls
37 lines (29 loc) · 937 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#! /bin/ksh --login
############################################################################
# Modify JOBACCOUNT, QUEUE, NPROCS and APP_LAUNCER depending on system and #
# project. #
############################################################################
#BSUB -e err
#BSUB -o out
#BSUB -J SampleApp
#BSUB -q QUEUE
#BSUB -P JOBACCOUNT
#BSUB -n NPROCS
#BSUB -R "span[ptile=NPROCS]"
#BSUB -x
#BSUB -W 00:30
set -x
# Enable ESMF Compliance Checker
# export ESMF_RUNTIME_COMPLIANCECHECK=ON
# Enable Fortran RTL core dumps for severe run time failures
# export decfort_dump_flag=y
# set resource usage limits
ulimit -c unlimited #coredumpsize
ulimit -s unlimited #stacksize
ulimit -t unlimited #cputime
ulimit -d unlimited #datasize
ulimit -m unlimited #memoryuse
echo "Model started: " `date`
APP_LAUNCHER ./sample_app.exe
echo "Model ended: " `date`
exit