![]() |
||||||||
|
||||||||||||||||||||||||||
|
Batchjobs on KarlsenAll jobs on Karlsen must be executed as batchjobs through the queueing system. The queueing system is LSF from Platform Computing. All jobs must be submitted to a apropriate queue. Currently these queues are defined (in order of ascending priority):
Generally, jobs in lower priority queues will be suspended by jobs in higher priority queues within the limits for the particular queue. The command 'bql' shows the currently defind limits and queue-priroties. Jobs must be submitted to the right queue, f.ex. a job requirering 6 CPUs must be sent to queue "q8" (i.e.: 'bsub -n 6 -q q8 jobscript'). When a job starts, a uniq directory will be created in the /scratch filesystem. You can refer to this directory via the SCRDIR environment variable as indicated in the jobscript below. When the job terminates the scratch-directory and its contents is automatically erased. A job-packer daemon checks every 10 minutte if jobs, pending due to queue-limits, can be started on otherwise idle CPUs. Usefull commands for handling batchjobs on Fenris:
Example of a (Gaussian98-) jobscript:#!/bin/csh
limit core 0
limit stack 1024m
set INP=b.com
setenv g98root /usr/local/g98RevA7
# The _DSM variables is necessary to run Gaussian in parallel.
setenv _DSM_BARRIER SHM
setenv _DSM_OFF OFF
source $g98root/g98/bsd/g98.login
$g98root/g98/g98 < $INP > ${INP}.out
#
NB: A comprehensive tool to submit Gaussian 98 jobs:
subg98 gaussjob
Example of a parallel (MPI-) jobscript:#!/bin/csh cd $SCRDIR mpirun -np 6 /path/to/mpiprogram arg1 arg2 > outdata grep Result: outdata #
|
||||||||||||||||||||||||||