#!/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
 

More on MKL

Sample Jobs

For blacklight

For salk

Documentation

User Information

PSC Passwords

Connect to PSC systems:

PSC Policies

For technical questions:
Call the PSC hotline: 412-268-6350 / 800-221-1641 or mail to remarks@psc.edu.

Other services PSC provides:

Advanced Networking: High-speed network design, testing and tuning

3ROX: High-speed network access

Biomedical Applications: Computational biomedical research and training