You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The linkMPI function does nothing, if MPICC is not set (and MPI should be searched among the installed libraries), resulting in linker errors for all MPI functions.
#Helper function for linking with MPI only if neededfunction(linkMPI TOLINK)
#We only want to try to find MPI outrselves if it wasn't provided in MPICC by userif("a$ENV{MPICC}"STREQUAL"a")
#find_package(MPI REQUIRED)target_link_libraries(${TOLINK} MPI::MPI_C)
endif()
endfunction(linkMPI)
The text was updated successfully, but these errors were encountered:
The
linkMPI
function does nothing, if MPICC is not set (and MPI should be searched among the installed libraries), resulting in linker errors for all MPI functions.The text was updated successfully, but these errors were encountered: