TABLE OF CONTENTS
::pwtk::queue::runDOS
SYNOPSIS
proc ::pwtk::queue::runDOS {queueSystem head} {
PURPOSE
Run the dos.x program via queueSystem.
ARGUMENTS
- queueSystem -- name of batch queuing system (e.g. slurm, ll, lsf, ...)
- head -- rootname of the input file (for example the rootname of file.inp is file)
SOURCE
variable scriptBody set head [::pwtk::headname $head {.dos.in .dos.inp .in .inp}] set ihandle [::pwtk::input_handle] ::pwtk::di_fprint $head.pp.in set script_ { \$PREFIX \$DOS \$POSTFIX $ihandle $head.dos.in > $head.dos.out } append scriptBody($queueSystem) "[subst -nocommands $script_]\n" }