TABLE OF CONTENTS
::pwtk::lsf_profile
USAGE
::pwtk::lsf_profile profileName profileSpecs ?pwtkSpecs?
DESCRIPTION
Define a LSF "profile" within the PWTK script. See also ::pwtk::LSF.
Here is an example of how a new lsf profile can be defined and used:
lsf_profile n24 {
#!/bin/sh
#BSUB -q parallel
#BSUB -n 24
#BSUB -W 6:00
}
LSF n24 {
load_fromPWI scf.in
CONTROL { calculation = 'relax' }
IONS {}
runPW relax.in
}
ARGUMENTS
- profileName -- name of the profile
- profileSpecs -- definition of the 'profileName' profile
- pwtkSpecs -- definition of the PWTK profile to be used when the 'profileName' LSF profile is used
IMPORTANT
A typical place where to store LSF profiles for frequent use is in the ~/.pwtk/lsf.tcl configuration file. Note that in the ~/.pwtk/lsf.tcl configuration file, the prefix 'lsf_' can be omitted.
EXAMPLE
lsf_profile n24 {
#!/bin/sh
#BSUB -q parallel
#BSUB -n 24
#BSUB -W 6:00
} {
prefix mpirun -np 24
}