TABLE OF CONTENTS


::pwtk::rerunPW

SYNOPSIS

proc ::pwtk::rerunPW {args} {

USAGE

rerunPW [options] input ?output?

DESCRIPTION

Re-run (restart) the pw.x calculation. Prior to running, this routine will set the restart_mode='restart'. The output-file will be treated in append mode, whereas the rest is the same as for the ::pwtk::runPW routine.

OPTIONS

ARGUMENTS

SOURCE

    input_pushpop {
        CONTROL { 
            restart_mode = 'restart' 
        }
        
        # remove ignored options from $args
        set ignored_options {
            {outdir_clean  "ignored option"}
        }
        array set opt [::cmdline::getKnownOptions args $ignored_options]
        
        if { $opt(outdir_clean) } {
            ::pwtk::warning "ignoring the -outdir_clean option, which disables the proper restart"
        }
        
        eval {runPW -append} $args
    }
}