Skip to content

User prologue and epilogue scripts for torque-based clusters

License

Notifications You must be signed in to change notification settings

sgblanch/pbs-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pbs-scripts

User prologue and epilogue scripts for torque-based clusters.

Installation

  • Clone this repository and make both the prologue and epilogue scripts executable
git clone https://github.com/sgblanch/pbs-scripts.git "$HOME/.pbs-scripts"
chmod 750 "$HOME/.pbs-scripts/"{prologue,epilogue}.sh
  • Alias the qsub command in your .bashrc file so the prologue and epilogue scripts are automatically added to all jobs submitted to the cluster.
if command -v qsub > /dev/null 2>&1 && \
		[[ -x "${HOME}/.pbs-scripts/prologue.sh" ]] && \
		[[ -x "${HOME}/.pbs-scripts/epilogue.sh" ]]; then
        alias qsub="qsub -l prologue=${HOME}/.pbs-scripts/prologue.sh -l epilogue=${HOME}/.pbs-scripts/epilogue.sh"
fi

hpcusage

The hpcusage script provides a summary of a cluster's queues listing running and queued job counts by user. To use copy it to a directory on your PATH (e.g. $HOME/bin) and make it executable.

About

User prologue and epilogue scripts for torque-based clusters

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages