# Usage of PARPACK on JUWELS

Note, if you look for PARPACK you have to say

module spider ARPACK-NG

You will not find anything if you say module spider parpack!!

The MPI version of PARPACK is installed as ARPACK-NG/3.7.0 on JUWELS. PARPACK uses BLAS and LAPACK routines, thus the Intel® Math Kernel Library which will automatically be loaded.
Compilation and linking of a user program name.f containing calls to PARPACK, MPI version, is done by

module load intel-para [Intel IntelMPI] [GCC ParaStationMPI]
mpif77 -L$PARPACK_LIB -lparpack -larpack -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -liomp5 -lpthread Examples: The directory$EBROOTARPACK/EXAMPLES/PARPACK contains examples that illustrate the use of the PARPACK software. To compile the examples the following commands can be used:

cp -r $PARPACK_ROOT/EXAMPLES/PARPACK$HOME
cd \$HOME
make