Closed adrien-cotte closed 11 months ago
Well, my initial post is wrong.
The real workaround is :
./configure CC=mpicc CXX=mpicxx LDFLAGS="-Wl,--no-as-needed"
It seems to be useful only in an Ubuntu Dockerfile. Weird but not sure it is related to Wi4MPI.
Maybe we can close this issue.
Should be add in documentation.
Documented in Podman tutorial from c1862af
On ubuntu, mpicc wrappers of mpich and openmpi have
-L/lib/x86_64-linux-gnu/ -ldl
.Wi4MPI mpicc doesn't so osu-microbenchmark configure fails with
undefined reference to dlopen
.The workaround is:
We must add this knowledge inside the mpicc wrapper of Wi4MPI.
Maybe something like that?