Hi Michael,

Thank you for your reply. I’ve built MUMPS and its dependancies in my user space, since I’m on a cluster and don’t have root access. Doing the linking as suggested ends up with errors as libraries cannot be found:

kwant/linalg/_mumps.c:264:27: fatal error: mumps_c_types.h: No such file or directory
 #include "mumps_c_types.h"
                           ^
compilation terminated.

How do I specify the full path for each library (e.g. /user/mumps/lib/mumps_common.a) in the build.conf file? I understand this can be specified for mumps as shown in documentation, but how about the other libraries (zmumps, pord, scotch, etc)?

Best regards,
Abdul 


On 19 Feb 2016, at 18:52, Abdulkareem Afandi <abdulkareem.afandi@gmail.com> wrote:

Hi everyone,

So I’ve compiled MUMPS, scotch, metis from source, and now trying to like MUMPS in the build.conf file, but with no luck. I am doing this on a Linux cluster, so I don’t have root access, and to improve performance I built everything from source. From documentation, I understand the build.conf file should look like this:

[mumps]
libraries = zmumps mumps_common pord metis esmumps scotch scotcherr mpiseq gfortran
However I’m trying to link everything to static libraries. I tries using the full source to .a library files for each option, but I keep getting compile errors for every library, such as: 

warning: no library file corresponding to ‘/user/MUMPS_5.0.1/lib/libzmumps.a’ found (skipping)

and compilation ends without mumps being linked to kwant.

Any help is appreciated.

Best regards,
Abdul