LLNL/Caliper

MPI link failure

Closed this issue · 1 comments

I think since the recent changes we are seeing various link time errors, is there something extra users are expected to do now?

example.

/usr/bin/ld: subprojects/caliper/src/libcaliper.so.2.11.0-dev: undefined reference to `MPI_Win_unlock'
/usr/bin/ld: subprojects/caliper/src/libcaliper.so.2.11.0-dev: undefined reference to `MPI_Group_excl'

Seems the issue is for the following binaries:

src/tools/cali-stat/cali-stat
src/tools/cali-query/cali-query

our cmake options include:

-DCALIPER_OPTION_PREFIX=ON 
-DCALIPER_WITH_MPI=ON
ldd build/subprojects/caliper/src/libcaliper.so.2.11.0-dev
        linux-vdso.so.1 (0x00007ffd36ff7000)
        libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007ff99d4a2000)
        libm.so.6 => /lib64/libm.so.6 (0x00007ff99d3c2000)
        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007ff99d3a2000)
        libc.so.6 => /lib64/libc.so.6 (0x00007ff99d1c5000)
        /lib64/ld-linux-x86-64.so.2 (0x00007ff99dc78000)

Thanks for the report. This should be fixed with #528 (merged) - please give it a try!