Open cwpearson opened 1 year ago
Other test binaries link with mpicxx
instead of g++
for reasons I don't understand, so they don't have this problem. I believe this is the actual problem, and MPI_LIBRARIES
may be red herring
I wonder if the problem is that heterogeneous_SOURCES
is marked as CUDA language when USE_CUDA
is on
I'm stumped for now. It may be that MPI on cee-a100-007 does not set any of these MPI_LIBRARIES
things because it expects to use mpicxx to actually do the linking, but that doesn't play nice with our CMakeLists.txt
At this point,
MPI_LIBRARIES
is unset, causing link errors in the executablehttps://github.com/mpi-advance/locality_aware/blob/b18df47c27fc4c019e6ee28d1802ccc3fc0ca8c0/benchmarks/CMakeLists.txt#L10
reproducer on Sandia
cee-a100-007
yields