The HECToR Service is now closed and has been superceded by ARCHER.


Useful Links


GS2 is freely available to anyone. The GS2 licence is:

Copyright (c) <1991-2002> <William Dorland, Michael Kotschenreuther, Quowong P. Liu> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

All HECToR users have access to the GS2 binaries.


To run GS2 you need to add the correct module to your environment to add the gs2 binary to your $PATH. You can check the available gs2 modules using:

module avail gs2

The default version of gs2 on HECToR is r1480. So

module add gs2

will give you access to GS2 r1480.

Example job submission script

#!/bin/bash --login
#PBS -N env_gs2_c128
#PBS -l mppwidth=256
#PBS -l mppnppn=32
#PBS -l walltime=00:30:00
# Change this to your budget code
#PBS -A z01

# Move to directory that script was submitted from
export PBS_O_WORKDIR=$(readlink -f $PBS_O_WORKDIR)

# Set the number of threads to 1
#   This prevents any system libraries from automatically 
#   using threading.

module add gs2

# replace with your input file
aprun -n 256 gs2