Hi Kota,
This is from the job template that I give to my users:
# Collect some information about the execution environment that may
# be useful should we need to do some debugging.
echo "CREATING DEBUG DIRECTORY"
echo
mkdir .debug_info
module list > .debug_info/environ_modules 2>&1
ulimit -a >
i'm not sure I understand the problem. If you want to make sure the
preamble and postamble run even if the main job doesn't run you can use '-d'
from the man page
-d, --dependency=
Defer the start of this job until the
specified dependencies have been satisfie