TAU script for blacklight

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

# set up  module command
source /usr/share/modules/init/csh

# load the tau module
module load tau

set echo

# use the default Makefile so no need to define $TAU_MAKEFILE
# See which makefile will be used.
echo $TAU_MAKEFILE


# the code has already been compiled with  
#          tau_cc.sh ring.c -o ring


# move to the SCRATCH directory 
cd $SCRATCH 

# copy the executable to SCRATCH
cp ~/tau/ring .

# execute the program (MPI)
mpirun -np $PBS_NCPUS  ./ring

# Note:  If the run was successful, profile files are produced.
# Get the profiling report later 
# using either  pprof   or   paraprof   commands
Last Updated on Friday, 11 November 2011 12:10  

More on TAU

Sample jobs

For blacklight

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