Bereichsnavigation

ARPACK/PARPACK V96

 

The Arnoldi Package (ARPACK) is a collection of Fortran77 subroutines designed to solve large scale eigenvalue problems.


Setup

You should use the module command to load the proper environment as follows:

module load arpack

You can either type this command every time you intend to use arpack within a new session, or you can automatically load it by including it in your .profile or .login script.

 


Compiling and linking on the CRAY XT5

To come.

 


Compiling and linking on the IBM P5

Be sure to use the variable CSCS_ARPACK_LIB when linking. For example,

xlf90_r -q64 -o test.exe arpack_test.f ${CSCS_ARPACK_LIB}

Please note that the modulefile expects that you are creating a XL-compiled binary with 64-bit precision. GNU-compiled versions of the ARPACK library is available under /apps/arpack/V64/GNU.

If you are accessing ARPACK or PARPACK from a Fortran program, you can compile and link using the commands shown in the table below.

Application Mode

Command

Serial

32-bit  

xlf_r -O -qextname=etime xyz.f /apps/arpack/32/libarpack_P5.a -lessl

64-bit

xlf_r -O -q64 -qextname=etime xyz.f /apps/arpack/64/libarpack_P5.a -lessl      

MPI Parallel  

32-bit

mpfort -O -qextname=etime xyz.f /apps/arpack/32/parpack_MPI-P5.a 
/apps/arpack/32/libarpack_P5.a -lessl

64-bit

mpfort -O -q64 -qextname=etime xyz.f /apps/arpack/64/parpack_MPI-P5.a    
   /apps/arpack/64/libarpack_P5.a -lessl

 


Further Documentation

Arpack Homepage