TABLE OF CONTENTS
::pwtk::ll_head
USAGE
ll_head { batch sh-script excerpt }
EXAMPLE
ll_head {
echo "Today is `date`"
module load qe-7.3
}
DESCRIPTION
This command sets the "head" part of the LL batch shell script. In PWTK, the batch shell script is composed of four parts:
profile (always exists)
|
head (optional)
|
pwtk (always exists)
|
tail (optional)
where:
- profile -- contains the batch-queue directives (e.g. # @); it is set with ll_profile command
- head -- contains optional shell commands that are executed prior to executing PWTK, such as "module load ..."; it is set with ll_head command
- pwtk -- in this part, the PWTK script is executed; it is set internally by PWTK
- tail -- contains optional shell commands that are executed after the PWTK script finishes; it is set with ll_tail command