Updated 2021-01-20

Basic pbs hive

#PBS -N hiveallTest             # job name
#PBS -l nodes=1:ppn=4           # number of nodes and cores per node required
#PBS -l pmem=1gb                # memory per core
#PBS -l walltime=1:00:00        # duration of the job (ex: 15 min)
#PBS -q hive-all                # queue name (where job is submitted)
#PBS -j oe                      # combine output and error messages into 1 file
#PBS -o hiveallTest.out         # output file name

cd $PBS_O_WORKDIR 

for i in {1..5}
do 
    echo "Test $i"
done