From: Daniel Arndt Date: Sat, 8 Apr 2017 21:04:24 +0000 (+0200) Subject: Add ARPACK-NG information X-Git-Tag: v9.0.0-rc1~1706^2~2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0d19fb613c93d17a9a6ced50930e04c3f431f44c;p=dealii.git Add ARPACK-NG information --- diff --git a/doc/external-libs/arpack.html b/doc/external-libs/arpack.html index 346158b8d4..7f261ec1a4 100644 --- a/doc/external-libs/arpack.html +++ b/doc/external-libs/arpack.html @@ -24,7 +24,9 @@

Below is a short summary of instructions on how to compile and install - ARPACK by hand (for the case you wish to do so). + ARPACK by hand (for the case you wish to do so) + or using ARPACK-NG + that equips ARPACK with a CMake build system.

How to compile and install ARPACK by hand

@@ -36,8 +38,7 @@ 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. + to compile ARPACK.

- Note: For compilation of ARPACK we emphasise - adding the compiler flag -fPIC. This is a definite - 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. + Note: For compilation of ARPACK we emphasise + adding the compiler flag -fPIC. This is a definite + 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.

+

How to compile and install ARPACK-NG

+

- 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. + First clone the ARPACK-NG + repository. The following commands will set up an appropriate configuration: + +

+        cd arpack-ng
+        mkdir build
+        cd build
+
+        cmake                                       \
+        -DEXAMPLES=ON                               \
+        -DMPI=ON                                    \
+        -DBUILD_SHARED_LIBS=ON                      \
+        -DCMAKE_INSTALL_PREFIX:PATH=$HOME/ARPACK-NG \
+        ../
+
+        make
+        make install
+      
+ + You will need to adjust the path into which you want to install ARPACK-NG + in the CMAKE_INSTALL_PREFIX line. If you do not have MPI installed you + should use -DMPI=OFF instead.

+

Test the installation

+

- If that output you produced looks like it should you can - proceed to compile deal.II with - ARPACK. + After installing ARPACK or ARPACK-NG + 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 compile deal.II with + ARPACK.

Interfacing deal.II