UPC job script for blacklight

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

set echo  

# move to scratch directory 
cd $SCRATCH  

# 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 
Last Updated on Friday, 11 November 2011 13:23  

More on UPC

Sample jobs

For blacklight

For salk

See also

The UPC website at LBNL, which includes a description of UPC, user documentation, and demos, among other things.

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