TABLE OF CONTENTS


::pwtk::runPW

SYNOPSIS

proc ::pwtk::runPW {args} {

USAGE

   runPW ?OPTIONS?  INPUT  ?OUTPUT?  ?&?

   Options are:
     -bg
     -append  
     -serial 
     -prefix PREFIX
     -postfix POSTFIX
     -exec EXECUTABLE
     -ihandle VALUE
     -outdir_clean

DESCRIPTION

Run the pw.x calculation. Prior to running calculation, this routine will:

See ::pwtk::findExecutable for how the pw.x executable is located.

OPTIONS

ARGUMENTS

SOURCE

    variable state

    treat_run_ {*}$args

    # clean outdir if requested
    
    run_outdir_clean_

    # create the outdir & wfcdir
    
    outdir_create
    wfcdir_create    
        
    # run the calculation

    return [eval {makeInputAndRun_ ::pwtk::pwi pw.x} $args]
}