TABLE OF CONTENTS


::pwtk::postfix

SYNOPSIS

proc ::pwtk::postfix {args} {

PURPOSE

Set or query the postfix for the parallel execution of programs. In the parallel mode, programs are run as:

     $prefix program.x $postfix.

An example would be: mpirun -n 8 program.x -npool 2

USAGE

   Set mode:

     ::pwtk::postfix value

   Query mode:

     ::pwtk::postfix

RETURN VALUE

The value of the postfix.

SOURCE

    variable RUNopt
    if { [llength $args] == 0 } {
        return [expr { [info exists RUNopt(POSTFIX)] ? $RUNopt(POSTFIX) : {} }]       
    } elseif { [llength $args] == 1 } {
        eval set RUNopt(POSTFIX) $args
    } else {
        set RUNopt(POSTFIX) $args
    }
    return $RUNopt(POSTFIX)
}