TABLE OF CONTENTS


Plain run and runXX commands

DESCRIPTION

The plain 'run' and the runXX set of commands (e.g. runPW, runPH...) run executables in background when they are called with the '-bg' option. For example:

      runPW -bg relax.Cu111

will run the 'pw.x -in relax.Cu111.in > relax.Cu111.out' calculation in background. The command returns immediately and does not wait for the calculation to finish. If there is no more script to process, the PWTK will exit.

To wait for a particular background job to finish before PWTK exits, one must use ::pwtk::run_wait command.