source: branches/UKMO/dev_r7681_rebuild_nemo/NEMOGCM/TOOLS/REBUILD_NEMO/BATCH_TEMPLATES/rebuild_nemo_batch_PW7_METO @ 7685

Last change on this file since 7685 was 7685, checked in by timgraham, 4 years ago

Added option to specify required memory for jobs submitted to a compute node

File size: 647 bytes
Line 
1#!/bin/ksh
2#
3#@ shell           = /usr/bin/ksh
4#@ class           = serial
5#@ job_type        = serial
6#@ job_name        = rebuild_nemo
7#@ output          = $(job_name).$(jobid).out
8#@ error           = $(job_name).$(jobid).out
9#@ notification    = never
10#@ resources       = ConsumableMemory(MEMORY)
11#@ node            = 1
12#@ parallel_threads = 8
13#@ task_affinity    = cpu(NTHREADS)
14#@ cpu_limit        = 00:5:00
15#@ wall_clock_limit = 00:5:00
16#@ queue
17
18export OMP_NUM_THREADS=NTHREADS
19
20MPI_DSM_VERBOSE=1; export MPI_DSM_VERBOSE
21
22nam_rebuild=NAMELIST
23indir=INDIR
24
25
26cd ${LOADL_STEP_INITDIR}
27
28${indir}/rebuild_nemo.exe $nam_rebuild
29RC=$?
30
31exit $RC
Note: See TracBrowser for help on using the repository browser.