Re: Error when compiling MED while installing on a remote cluster
Posted: Wed Jul 07, 2021 12:59 pm
Hello,
The libverbs library is probably used by OpenMPI with high-performance interconnect drivers.
But the syntax to link "libverbs" should be -lverbs and not -libverbs if I am correct.
Could you check if "mpicc -show" includes -libverbs ? If this is not the case, this is probably included in some .la file associated with a library (probably OpenMPI, but maybe another) used by code_saturne, and automatically included by
"libtool" (which infuriatingly does not provide a mechanism to ignore .la files). *.la files might be found in the same "lib" directories as the matching .so files.
Depending on where this is, you admin may need to fix a path. I would suspect a .la library more than the mpicc wrapper, because it would only affect codes using libtool for compilation (such as code_saturne), while a wrapper error would cause problems for everyone and be detected sooner.
Best regards,
Yvan
The libverbs library is probably used by OpenMPI with high-performance interconnect drivers.
But the syntax to link "libverbs" should be -lverbs and not -libverbs if I am correct.
Could you check if "mpicc -show" includes -libverbs ? If this is not the case, this is probably included in some .la file associated with a library (probably OpenMPI, but maybe another) used by code_saturne, and automatically included by
"libtool" (which infuriatingly does not provide a mechanism to ignore .la files). *.la files might be found in the same "lib" directories as the matching .so files.
Depending on where this is, you admin may need to fix a path. I would suspect a .la library more than the mpicc wrapper, because it would only affect codes using libtool for compilation (such as code_saturne), while a wrapper error would cause problems for everyone and be detected sooner.
Best regards,
Yvan