Pittsburgh Supercomputing Center 

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

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

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

set echo

#move to the scratch directory
cd $SCRATCH

# load the netcdf module (intel)
module load netcdf

# copy the source code to $SCRATCH
cp $HOME/netcdf/simple_xy_wr.f90 .

ifort -o simple_xy_wr simple_xy_wr.f90 -I${NETCDF_DIR}/include  -L${NETCDF_DIR}/lib  -lnetcdf  -lmpi 

mpirun -np 16 ./simple_xy_wr

sleep 2


# copy output files back to home directory space
$NETCDF_DIR/bin/ncdump simple_xy.nc > simple_xy.ncdump
cp simple_xy.nc $HOME/netcdf
cp simple_xy.ncdump $HOME/netcdf

People. Science. Collaboration.

PSC's Bi-annual Publication (select issue to download PDFs)

PSC Spring2014c

 

PSC2013 covers web Projects2012-1

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

 

 

Featured Research

dsc button

3rox button

xsede button