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=4
#PBS -o fftw.out
#PBS -j oe

#-- debug
#
set echo

#--start accounting
#
ja

#-- source Module package csh startup script
#
    source /usr/share/modules/init/csh
    source /etc/csh.cshrc.psc

#--load fftw2 module
#
module load fftw/2.1.5

#-- move to submission directory
#
cd $SCRATCH

#-- compile source code
#
cp $HOME/fftw/f77_test_v2.F    .

ifort -o f77_test_v2 -I${FFTW_INC} f77_test_v2.F -L{$FFTW_LIB} -ldfftw

#-- run test
#
  ./f77_test_v2

#-- get accounting results
#
ja -cshlt

#--exit
#
unset echo

Stay Connected

Stay Connected with PSC!

facebook 32 twitter 32 google-Plus-icon