NERSCPowering Scientific Discovery Since 1974



PSPLINE -- the Princeton Spline and Hermite Cubic Interpolation Routines -- is a collection of Spline and Hermite interpolation tools for 1D, 2D, and 3D datasets on rectilinear grids.  PSPLINE now includes EZspline, a fortran-90 interface to the spline and Hermite routines with excellent ease of use features and CzSpline routines, the c-callable interface to the EZspline routines.

How to Access PSPLINE

The library is currently available at NERSC on the Cray systems, Edison and Cori.  Use

module load pspline

to access the library.  On Cray systems, PSPLINE is available in a single modulefile with Intel, Cray and GNU-compiled versions. Depending on the programming environment you are in (PrgEnv-intel, PrgEnv-cray or PrgEnv-gnu), the appropriate module will be loaded.  

How to Use PSPLINE on Cray systems

To use EZspline:

module load cray-netcdf
module load pspline
ftn eztest.F90 $PSPLINE

To use pspline:

ftn pspltest.f $PSPLINE -lpspline


See the complete manual on the PPPL web site.  For questions about using PSPLINE at NERSC contact the consultants,


PackagePlatformCategoryVersionModuleInstall DateDate Made Default
pspline cori libraries/ math nersc1.0 pspline/nersc1.0 2016-09-09 2016-09-09
pspline edison_cle5 libraries/ math nersc1.0 pspline/nersc1.0 2013-02-05