Access and Usage of PARPACK on JUROPA


The MPI version of PARPACK is installed on JUROPA. PARPACK uses BLAS and LAPACK routines, thus the Intel® Math Kernel Library  MKL must be linked, too.
Compilation and linking of a user program name.f containing calls to PARPACK, MPI version, is done by

mpif77   -L/usr/local/arpack/2.1/lib   -lparpack -larpack   -L$(MKLROOT)/lib/em64t
-lmkl_lapack   -lmkl_intel_lp64   -lmkl_intel_thread   -lmkl_core   -liomp   -lpthread

Examples
The directory /usr/local/arpack/2.1/parpack/examples contains examples that illustrate the use of the PARPACK software. To compile and execute one of the examples, say MPI/pdndrv1.f, on four processors the following commandscan be used:

cp -r   /usr/local/arpack/2.1/parpack $HOME
cp   /usr/local/arpack/2.1/ARmake.inc $HOME
cd   $HOME/parpack/examples/MPI
make nonsym
msub -l nodes=1:ppn=4   ./testjob


last change 24.02.2011 | Math Admin | Print