Dear Abdul,

usually Mumps builds only static libraries, i.e. with the suffix .a . When you use the link line as given in your email, kwant will in fact automatically be linked statically against mumps.

Best,

Michael

Am 19 feb. 2016 um 19:52 schrieb Abdulkareem Afandi <abdulkareem.afandi@gmail.com>:

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