CommunityData:Hyak example job script

From CommunityData
Revision as of 17:02, 25 July 2017 by Jdfoote (talk | contribs) (Example hyak job script)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
#!/bin/bash
#PBS -N wikiq
#PBS -W group_list=hyak-mako
#PBS -l nodes=1:ppn=16,mem=20gb,feature=16core
#PBS -l walltime=2:00:00
#PBS -o /usr/lusers/jdfoote/batch_jobs/wikiq-20150725
#PBS -d /usr/lusers/jdfoote/batch_jobs/wikiq-20150725
##PBS -t 0-5
HYAK_SLOTS=`wc -l < $PBS_NODEFILE`

#PYTHON_PATH="/com/local/lib/python3.4:$PYTHON_PATH"
PATH="/com/local/bin:$PATH"

source /etc/profile.d/modules.sh 
#module load revolutionr_7.2
module load parallel_sql
umask 007

parallel_sql --sql -a parallel --exit-on-term -j $HYAK_SLOTS