Skip to content

Commit

Permalink
README: document use of *.pc and *.cmake files.
Browse files Browse the repository at this point in the history
  • Loading branch information
fghoussen committed Aug 13, 2023
1 parent 5a2f942 commit c088590
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -286,8 +286,17 @@ $ LIBS="-framework Accelerate" FFLAGS="-ff2c -fno-second-underscore" FCFLAGS="-f

## Using arpack-ng from your own codebase

The *.pc and *.cmake files provided by `arpack-ng` are only pointing to arpack libraries.
The `*.pc` and `*.cmake` files provided by `arpack-ng` are only pointing to arpack libraries.
If you need other libraries (like MPI), you must add them alongside arpack (see CMake example below).

Typically, if you need

- ARPACK: at compile/link time, you'll need to provide BLAS and LAPACK.
- ARPACK with eigen support (arpackSolver): at compile/link time, you'll need to provide BLAS, LAPACK and Eigen.

- PARPACK: at compile/link time, you'll need to provide BLAS, LAPACK and MPI.
Examples are provided in `tstCMakeInstall.sh` and `tstAutotoolsInstall.sh` generated after running cmake/configure.
### With autotools
Expand Down

0 comments on commit c088590

Please sign in to comment.