Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
AGULLO Emmanuel
Chameleon
Commits
12f9ec3b
Commit
12f9ec3b
authored
Dec 02, 2015
by
PRUVOST Florent
Browse files
when giving all the path to the libmpi.so it fails, use -lmpi instead
parent
c38e09b3
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
12f9ec3b
...
...
@@ -619,7 +619,9 @@ if (MORSE_DISTRIB_DIR OR EXISTS "${CMAKE_SOURCE_DIR}/cmake_modules/")
endif
()
if
(
CHAMELEON_USE_MPI AND STARPU_MPI_LIBRARIES
)
# Check if a specific function exist
set
(
CMAKE_REQUIRED_LIBRARIES
"
${
STARPU_MPI_LIBRARIES
}
${
MPI_C_LIBRARIES
}
"
)
list
(
APPEND CMAKE_REQUIRED_INCLUDES
"
${
MPI_C_INCLUDE_PATH
}
"
)
list
(
APPEND CMAKE_REQUIRED_FLAGS
"
${
MPI_C_LINK_FLAGS
}
"
)
set
(
CMAKE_REQUIRED_LIBRARIES
"
${
STARPU_MPI_LIBRARIES
}
-lmpi"
)
unset
(
STARPU_MPI_DATA_REGISTER_FOUND CACHE
)
check_function_exists
(
starpu_mpi_data_register_comm STARPU_MPI_DATA_REGISTER_FOUND
)
if
(
STARPU_MPI_DATA_REGISTER_FOUND
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment