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