TABLE OF CONTENTS


::pwtk::runNEB

SYNOPSIS

proc ::pwtk::runNEB {args} {

USAGE

   runNEB ?OPTIONS?  INPUT  ?OUTPUT?  ?&?    

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

PURPOSE

Construct the neb.x input file from the input data and run the neb.x program.

OPTIONS

ARGUMENTS

SOURCE

    variable RUNopt

    # handle treatrun
    treat_run_ {*}$args

    # clean outdir if requested
    
    run_outdir_clean_

    # create the outdir & wfcdir
    
    outdir_create
    wfcdir_create    
    
    ::pwtk::input_pushpop {
        # neb.x requires -inp input_handle
        set RUNopt(input_handle) -inp
        set result [eval {makeInputAndRun_ ::pwtk::nebi neb.x} $args]
    }
    return $result
}