Difference between revisions of "CommunityData:Hyak example job script"

From CommunityData
Jump to navigation Jump to search
(Example hyak job script)
 
Line 5: Line 5:
 
#PBS -l nodes=1:ppn=16,mem=20gb,feature=16core
 
#PBS -l nodes=1:ppn=16,mem=20gb,feature=16core
 
#PBS -l walltime=2:00:00
 
#PBS -l walltime=2:00:00
#PBS -o /usr/lusers/jdfoote/batch_jobs/wikiq-20150725
+
#PBS -o /usr/lusers/USERNAME/batch_jobs/wikiq_test
#PBS -d /usr/lusers/jdfoote/batch_jobs/wikiq-20150725
+
#PBS -d /usr/lusers/USERNAME/batch_jobs/wikiq-test
 
##PBS -t 0-5
 
##PBS -t 0-5
 
HYAK_SLOTS=`wc -l < $PBS_NODEFILE`
 
HYAK_SLOTS=`wc -l < $PBS_NODEFILE`

Revision as of 17:04, 25 July 2017

#!/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/USERNAME/batch_jobs/wikiq_test
#PBS -d /usr/lusers/USERNAME/batch_jobs/wikiq-test
##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