<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: arial,helvetica,sans-serif; font-size: 12pt; color: #000000'>Good morning,<br>I have a small question about library link path in libtool building libalu.la<br>I use a user version of openmpi(${HOME}/lib/openmpi) and I specify in my environmental variable (LD_LIBRARY_PATH, LIBRARY_PATH, PATH,CPLUS_INCLUDE_PATH) the path to this openmpi version.<br>I specify in the file I pass with --opts flag that CXX=mpiCC and mpiCC is in the user openmpi location<br>I have also tried to pass LDFLAGS explicitly into this file.<br>No matter what, the make building enters dune/grid/alugrid and libtool tries to link the static libraries needed to libalu searching mpi libraries in /usr/lib!!!! Why?<br>Could anyone explain me how to force libtool to search in a specific path efficiently, please?<br>I know the ALUGrid became a dune module but I can't do the update at the moment.<br><br>The need to use a user version of openmpi comes from the fact that ubuntu's openmpi comes without static libraries.<br>In order to overcome this problem I made a symbolic link in /usr/lib/openmpi/lib to the static mpi libraries in my home<br>The weird thing is that looking in libalu.la, dependency_libs contains both /usr/lib/openmpi/lib links and openmpi in my home!<br><br>Any suggestion is appreciated.<br>Thanks,<br><br>Marco <br><br></div></body></html>