Updated 2019-07-10

sundials.pbs

#PBS -N sundialsTest
#PBS -l nodes=1:ppn=2
#PBS -l pmem=2gb
#PBS -l walltime=3:00
#PBS -q force-6
#PBS -j oe
#PBS -o sundialsTest.out

cd $PBS_O_WORKDIR
module load gcc/4.9.0
module load lapack/3.6.0
module load sundials/2.5.0

gcc -lsundials_cvode -lsundials_nvecserial -lm  -llapack -lblas cvRoberts_dns.c

./a.out > result.out