Pittsburgh Supercomputing Center 

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

#!/bin/csh -f
#
#PBS -o fftw3.out
#PBS -j oe
#PBS -N fftw3
#PBS -l walltime=5:00
#PBS -l ncpus=4

#-- debug
#
  set echo

#-- start accounting
#
ja

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


#-- load fftw version 3 module
#
  module load fftw3 

#-- move to submission directory
#
  cd $SCRATCH

#-- compile double-precision test code
#
  cp ~/fftw/f77_test.F .

  ifort -o f77_test -I${FFTW_INC} f77_test.F -L${FFTW_LIB} -lfftw3

#-- run double-precision test
#
  ./f77_test

#-- get accounting stats
#
  ja -cshlt

#-- exit
#
  unset echo

Stay Connected

Stay Connected with PSC!

facebook 32 twitter 32 google-Plus-icon