TABLE OF CONTENTS
::pwtk::runQ2R
SYNOPSIS
proc ::pwtk::runQ2R {args} {
USAGE
runQ2R ?OPTIONS? INPUT ?OUTPUT? ?&? Options are: -bg -append -serial -prefix PREFIX -postfix POSTFIX -exec EXECUTABLE -ihandle VALUE
PURPOSE
Construct the q2r.x input file from the input data and run the q2r.x program.
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 q2r.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 q2r.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 q2r.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::q2ri q2r.x} $args] }