TABLE OF CONTENTS


::pwtk::queue::run

SYNOPSIS

proc ::pwtk::queue::run {queueSystem program head} { 

PURPOSE

Run generic Quantum-ESPRESSO program via queueSystem.

ARGUMENTS

SOURCE

    variable scriptBody

    set head [::pwtk::headname $head {.in .inp}]
    set prog [::pwtk::findExecutable $program]
    set ihandle [::pwtk::input_handle]
    
# shell-script for running above input
    set script_ {
\$PREFIX $prog \$POSTFIX $ihandle $head.in > $head.out
    }

    append scriptBody($queueSystem) "[subst -nocommands $script_]\n"
}