Pittsburgh Supercomputing Center 

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


Allocation requests now being accepted.     More information  

#! /bin/csh 
#PBS -l walltime=5:00 
#PBS -l ncpus=16 
#PBS -o upc.out 
#PBS -j oe  

set echo  

# move to scratch directory 

# programs are already compiled.  Copy them to scratch space 
cp ~/upc/cpi . 
cp ~/upc/mcpi .  

# make module command available     
source /usr/share/modules/init/csh  

# load the upc module
module load sgi-upc-devel  

# execute  
mpirun -np $PBS_NCPUS ./cpi  

# execute and specify 4 threads 
mpirun  -np $PBS_NCPUS ./mcpi 


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.