Pittsburgh Supercomputing Center 

Advancing the state-of-the-art in high-performance computing,
communications and data analytics.

PSCBridges

PSC Receives NSF Award for Bridges Supercomputer - Read More

#!/bin/csh
#PBS -l nodes=1:ppn=4
#PBS -l walltime=10:00
#PBS -o mkl.out
#PBS -j oe

set echo


# start accounting
ja

# make module command available
#
    source /usr/share/modules/init/csh
    source /etc/csh.cshrc.psc

#load mkl module
#
module load imkl

#move to  scratch directory
cd $SCRATCH

# copy over source and data files
cp ~/mkl/source/sasumx.f .
cp ~/mkl/source/common_func.f .
cp ~/mkl/data/sasumx.d .

# compile

ifort sasumx.f common_func.f -o sasumx -L${MKL_PATH} -lmkl -lguide -lpthread

#run my executable
./sasumx < sasumx.d 

# get accounting report
ja -cshlt