Skip to main content

The ARPACK and PARPACK libraries

⚠ INFORMATION
This page was translated by an AI (LLM) with a cursory human check and is awaiting full review.

Description

ARPACK (ARnoldi PACKage) is a Fortran77 subroutine library for solving large-scale eigenvalue problems with optional eigenvectors. The library is based on the iterative Lanczos/Arnoldi algorithms.

PARPACK (Parallel ARnoldi PACKage) is a parallel version of the ARPACK library.

ARPACK and PARPACK are available through the ARPACK-NG package.

Installed Versions

The versions installed on Jean Zay can be found using the command module avail. For example:

module avail arpack-ngarpack-ng/3.7.0-mpi  arpack-ng/3.7.0-mpi-openblas  arpack-ng/3.8.0-mpi-cuda

Environment

The different versions of ARPACK are available in different environments. To list them, use the command module show for the version of ARPACK you want to use. For example:

module show arpack-ng/3.8.0-mpi-cuda
module-whatis {ARPACK-NG is a collection of Fortran77 subroutines designed to solve large scale eigenvalue problems.}prereq gcc/11.4.1conflict arpack-ng
Available software environment(s):- gcc/11.4.1 cuda/11.8.0 openmpi/4.1.1-cuda

To use this library in other environments, please contact the User Support team.

Note

To obtain information on the library access paths, you must first load the chosen environment. For example:

module load gcc/11.4.1 cuda/11.8.0 openmpi/4.1.1-cudamodule show arpack-ng

Usage

The library is accessible via the module command.

To load the default version in the current environment (or in the default environment if no environment is previously loaded):

module load arpack-ng

or to load a specific version in a specific environment (gcc in this example):

module load gcc/9.1.0module load arpack-ng/3.7.0-mpi

When linking, it is necessary to add the option -larpack for the sequential version:

module load arpack-ngifort appel_arpack.f90 -larpack

or the options -lparpack -larpack for the parallel version:

module load arpack-ngmpiifort appel_parpack.f90 -lparpack -larpack 

Documentation

Consult the Arpack documentation:

📝 Official Website
🧑‍💻 ARPACK-NG project on GitHub

Your opinion matters!

To give your feedback, report an error, or suggest an improvement, click here:

quick anonymous questionnaire

This questionnaire is temporary and will take less than a minute, so take the opportunity!