0

I am trying to configure my openmpi with fortran, gfortran,

this is how I have configured my mpi.

./configure --prefix=/usr/local/openmpi/2.0.1 --enable-mpi-fortran --enable-mpi-cxx --enable-mpi-thread-multiple

I get this error at making stage.

/usr/local/gnu_gcc/lib/../lib64/libquadmath.la' is not a valid libtool archive

any solution ?

10
  • What are you trying to build? Have you tried a toy mpi problem? Commented Mar 23, 2017 at 1:19
  • 1
    Where did you get gfortran? Don't you just have the static runtime libraries? What is your OS. Whicch versions of software do you have? Commented Mar 23, 2017 at 6:36
  • BTW are you sure you really need --enable-mpi-thread-multiple? Most people don't and it harms performance. Commented Mar 23, 2017 at 7:45
  • @VladimirF : I do need mpi thread multiple, OS is ubuntu 16.04, compiler gcc 4.9.4, openmpi 2.0.1 Commented Mar 23, 2017 at 13:27
  • 1
    @aaramoon There is a similar problem and its simple solution in this article. Commented Mar 23, 2017 at 15:52

1 Answer 1

1

I followed the instruction in this article1 to solve the problem,

  1. I removed all the *.la files in my gcc lib64 folder,

sudo rm -f *.la

  1. I ran in the configure folder

make distclean

  1. configure and install again
Sign up to request clarification or add additional context in comments.

1 Comment

similar problem building/installing clamav. Exporting LDFLAGS and updating ld.conf didn't work for me. So I sym linked the location it was looking at (/usr/llib64) to the real location in case this helps anyone having similar issue.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.