#!/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
Last Updated on Wednesday, 30 January 2013 10:07  

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