From: young
The compilation scheme involves repeating the same three steps
@@ -269,12 +270,15 @@
INTFACE
of
BLACS' own Bmake.inc
. If you
are using OpenMPI this should be the
- value -DAdd_
. Further we have to add to all
+ value -DAdd_
.
+
+
+
-fPIC
to the
three compiler flag variables OPTF
,
- OPTC
, and OPTL
the flag
- -fPIC
. Without adding this last flag it will
- not be possible to link deal.II with MUMPS as a shared
- library.
+ OPTC
, and OPTL
which follow
+ imediately after the above. Without adding this last flag it
+ will not be possible to link deal.II with
+ MUMPS as a shared library.
- --with-mumps=path/to/mumps
- --with-blacs=path/to/blacs
- --with-scalapack=path/to/scalpack
+
+ --with-mumps=path/to/mumps
+ --with-blacs=path/to/blacs
+ --with-scalapack=path/to/scalpack
+
+ Note: Throughout this description of the compilation process
+ of MUMPS we have emphasised 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.
+