TABLE OF CONTENTS
::pwtk::runPH
SYNOPSIS
proc ::pwtk::runPH {args} {
USAGE
runPH ?OPTIONS? INPUT ?OUTPUT? ?&? Options are: -bg -append -serial -prefix PREFIX -postfix POSTFIX -exec EXECUTABLE -ihandle VALUE
DESCRIPTION
Construct the ph.x input file from the specified input data and run the ph.x program. See the ::pwtk::findExecutable for how the ph.x executable is located.
OPTIONS
- -bg --- run calculation in background (synonymous with "&" as the last argument)
- -append --- treat the output file in append mode (default = overwrite)
- -serial --- run the calculation in serial mode (default = parallel)
- -prefix PREFIX --- explicitly specify the prefix for parallel execution
- -postfix POSTFIX --- explicitly specify the postfix for parallel execution
- -exec EXECUTABLE --- explicitly specify the ph.x executable
- -ihandle VALUE --- explicitly set the input handle (for the description of input handle, see ::pwtk::input_handle)
ARGUMENTS
- INPUT --- filename (or headname) to which the ph.x input file will be stored. The .in (.out) suffix will be added to headname for input (output) filename.
- OUTPUT --- (optional) filename to which the ph.x output will be stored
- & --- (optional) run calculation in background (synonymous with the -bg option)
SOURCE
# handle treatrun treat_run_ {*}$args return [eval {makeInputAndRun_ ::pwtk::phi ph.x} $args] }