ARPACK is a collection of Fortran77 subroutines designed to solve large scale eigenvalue problems. After you downloaded the Fortran version of ARPACK and the patch unzip the files you got. That will create a directory named ARPACK. If you need further instructions please read the README file or the instructions. We will explain here in a few steps what has to be done to be able to compile ARPACK.
make lib
in the current directory
to build the standard library libarpack_$(PLAT).a
Note: For compilation of ARPACK we emphasise
adding the compiler flag -fPIC
. This is a definate
requirement if we are compiling deal.II with
shared libraries (which is the default). If we had preferred to be
compiling deal.II without shared libraries,
that's ok too; in that case we would do exactly the same thing
as described above, but this time omitting
the -fPIC
flag from the scheme.
Try to run one of the examples and compare the output.
How the output should look like is stated in the README
that can be found in the EXAMPLES
directory.
If that output you produced looks like it should you can proceed to comile deal.II with ARPACK.
To be able to use the interface of deal.II
for ARPACK we then
configure deal.II with the following
additional option:
--with-arpack=path/to/arpack