Pittsburgh Supercomputing Center 

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

#!/bin/csh
#PBS -l ncpus=16
#PBS -l walltime=10:00
#PBS -N ex1
#PBS -o ex1.out
#PBS -j oe

#########################################################
#  Please note that this example uses 16 cores.         #
#  The turn around time for a 16 core job is very long. #
#  Please be prepared to wait.                          #
#  Alternately, because this is a short example job     #
#   you can submit it to the debug queue.               #
#  Note that the debug queue has many restrictions      #
#    and cannot be used for production runs.            #
#########################################################

set echo
ja
source /usr/share/modules/init/csh
module load petsc
module load gcc
cd $PBS_O_WORKDIR
cp ex1.c $SCRATCH
cp Makefile $SCRATCH
cd $SCRATCH
echo
echo
make ex1
echo
echo
mpirun -np 1 ./ex1
ja -cshlt

Publications

Spring2015 cover

View all PSC publications

PSC Fall2014 cover PSC Spring2014cPSC2013 covers web 

Subscriptions: You can receive PSC news releases via e-mail. Send a blank e-mail to psc-wire-join@psc.edu.