TABLE OF CONTENTS
::pwtk::queue::runPH
SYNOPSIS
proc ::pwtk::queue::runPH {queueSystem head} {
PURPOSE
Run the ph.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 {.ph.in .ph.inp .in .inp}] set ihandle [::pwtk::input_handle] ::pwtk::phi_fprint $head.ph.in set script_ { \$PREFIX \$PH \$POSTFIX $ihandle $head.ph.in > $head.ph.out } append scriptBody($queueSystem) "[subst -nocommands $script_]\n" }