Pbs MOM Prologue
From SysadminWiki
This is additional information to the official page pbs_mom prologue (http://www.clusterresources.com/wiki/doku.php?id=torque:appendix:g_prologue_and_epilogue_scripts). The prologue is a shell script pbs_mom executes as root before any job. It is located in a default torque installation in /var/spool/pbs/mom_priv/prologue but different installation may vary. It can be used to setup part of the environment used by the user job like creating directories that can be deleted in the epilogue script; it cannot be used for volatile things like changing directories or setting environment variables that should be inherited by the user job. When the user job finally starts the user environment is used.
