Pittsburgh Supercomputing Center 

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

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

  set echo


#-- source Module package csh setup script
#
    source /usr/share/modules/init/csh

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

#-- 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

Stay Connected

Stay Connected with PSC!

facebook 32 twitter 32 google-Plus-icon