lltransp.pl

06-Mar-2015


lltransp.pl submits a transp command to the jac loadleveller ( batch ) system. It may also be run by the alias LLjob. Any script in codesys/csh may be executed.

Usage

>LLjob linkcheck.csh 01 nolib 

Arguments

First
Transp command or script name to be run
Second
'Tag' to identify the logfile (in $LOGDIR), & prevent overwriting of earlier versions; the example would write to $LOGDIR/linkcheck.csh_03
Remainder
Arguments passed to the target script

Example

>LLjob linkcheck.csh 09 clean,pro

# @ shell = /bin/csh
# @ executable = /home/pshare/ll/llnew.csh
# @ arguments = /common/transp_shared/Code/transp/JET_63/codesys/csh/linkcheck.csh clean,pro
# @ input = /dev/null
# @ output = ./log/linkcheck_09.html
# @ error = ./log/linkcheck_09.html
# @ initialdir = /common/transp_shared/Code/transp/JET_63
##@ OSrequirements = (Opsys == "FC6")
##@ requirements = (Memory >= 1024)
##@ requirements = (machine == "jactest-1")
# @ queue

./scripts/LLjob.pl -Q- Submit to Load Leveller (y/n)


The script

  1. Displays the file $TRANSPROOT/Info  for the target transp system
  2. Displays the load leveller command file to be submitted. @ arguments shows the command to be executed, @ output, @ error the logfile to be written
  3. Requests confirmation before submitting the job

LLq is a command ( alias ) to display the loadleveller jobs owned by the logged in user. ( llq displays all jobs known to the system )