CSU Gaussian on Alpine
Colorado State University has a site license allowing the usage of Gaussian 16 Rev. C.01. This has been successfully loaded and tested on Alpine and is available using modules.
This example runs the shared-memory version (single-node parallelism).
This example is currently missing
Here's a sample job script for multi-node G16 to get you started:
#!/bin/bash
#SBATCH --time=00:10:00
#SBATCH --partition=atesting
#SBATCH --job-name=test_{$myvar}
#SBATCH --nodes=2
#SBATCH --ntasks-per-node=1
#SBATCH --cpus-per-task=8
#SBATCH --output=test%j.out
#SBATCH --constraint=ib
export MODULEPATH=$MODULEPATH:/curc/sw/alpine-modules/csu_licensed
module load gaussian/g16_c.02
for n in `scontrol show hostname | sort -u`; do
echo ${n}
done | paste -s -d, > tsnet.nodes.$SLURM_JOBID
# Always specify a scratch directory on a fast storage space (not /home or /projects!)
export GAUSS_SCRDIR=/scratch/alpine/$USER/$SLURM_JOBID
mkdir $GAUSS_SCRDIR
# the next line prevents OpenMP parallelism from conflicting with Gaussian's internal parallelization
export OMP_NUM_THREADS=1
# the next line increases the verbosity of Linda output messages
export GAUSS_LFLAGS="-v"
date # put a date stamp in the output file for timing/scaling testing
#g16 -m=20gb -p=${SLURM_CPUS_PER_TASK} -w=`cat tsnet.nodes.$SLURM_JOBID` 1g_2g.com
g16 -m=20gb -p=${SLURM_CPUS_PER_TASK} -w=`cat tsnet.nodes.$SLURM_JOBID` my_input.com
date
rm tsnet.nodes.$SLURM_JOBID