Print view
back  |  1  2  3  4  5   6   |  next

Batch jobs

Batch jobs for the SX-6 (hurrikan) can be submitted from cross  (and also from hurrikan)  with

qsub <parameterlist> <jobscript>

NQSII is configured in such a way, that you just have to specify the CPU time, memory consumption and number of CPUs. You do not give a queue name. Low requirements for time and/or memory will increase the internal priority of the job. Your job will be automatically queued in the right queue. (See batch jobs for more information)

Fortran and C runtime options are set through environment variables (export or setenv F_... ). A typical job script would look like:

#PBS -S /bin/csh
#PBS -l cpunum_prc=1 # 1 cpus
#PBS -l cputim_job=2:00:00 # 2 h cputime
#PBS -l memsz_job=1gb # 1 Gbyte memory
#PBS -j o # join err and out to out

#PBS -N job_II # job name
#PBS -M myname@mymail.de # you should always specify your email
# address for error messages etc

setenv F_FILEINF YES    # information about I/O to stderr {NO|YES|DETAIL},
# may increase I/O time if not {NO}

setenv F_PROGINF DETAIL # program information about speed, vectorization
# {NO|YES|DETAIL}

setenv F_FTRACE  YES    # analysis list from compile option -ftrace {NO|YES}
# compile option -ftrace should be used only during
# optimization runs (causes overhead in execution time)

/bin/echo " job started at: " \\c
date
/bin/echo " Account code: " \\c
showacct # print account code used in this hurrikan job
/bin/echo " ExecutionHost: " \\c
hostname # print name of current host

echo $PBS_O_WORKDIR      # helpful variables for the specific request
echo $PBS_JOBNAME
echo $PBS_JOBID

cd $PBS_O_WORKDIR

./prog [argument_1] [argument_2]

/bin/echo " job completed at: " \\c
date

###########################

Useful commands

qstat  lists your own active batch jobs,   qs  gives an overview of all jobs.

qdel <RequestID> deletes your batch job.

For more information please refer to the NQSII man pages.

Hint: If you are subscribed to more than one project,  you can specify which account to use for each job you submit:
 qsub -A <accountcode> ...
See Working with several accounts for more information.
Deutsches Klimarechenzentrum GmbH | Impressum