TABLE OF CONTENTS


::pwtk::pbs_profile

USAGE

   ::pwtk::pbs_profile profileName profileSpecs ?pwtkSpecs?

DESCRIPTION

Define a PBS "profile" within the PWTK script. See also ::pwtk::PBS.

Here is an example of how a new PBS profile can be defined and used:

      pbs_profile n24 {
         #PBS -l ppn=24
         #PBS -l walltime=6:00:00
      }

      PBS n24 {
         load_fromPWI scf.in
         CONTROL { calculation = 'relax' }
         IONS {}
         runPW relax.in
      }

ARGUMENTS

IMPORTANT

A typical place where to store PBS profiles for frequent use is in the ~/.pwtk/pbs.tcl configuration file. Note that in the ~/.pwtk/pbs.tcl configuration file, the prefix 'pbs_' can be omitted.

EXAMPLE

    pbs_profile n24 {
         #!/bin/sh
         #PBS -q parallel
         #PBS -n 24
         #PBS -W 6:00
    } {
       prefix mpirun -np 24
    }