Commit 66b06829 authored by Jan Möbius's avatar Jan Möbius
Browse files

Cleanup ugly MPI commit

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@10825 383ad7c9-94d9-4d36-a494-682f7c89f535
parent ae4caaca
...@@ -215,13 +215,9 @@ endmacro () ...@@ -215,13 +215,9 @@ endmacro ()
macro (acg_mpi) macro (acg_mpi)
if (NOT MPI_NOTFOUND) if (NOT MPI_NOTFOUND)
find_package(MPI) find_package(MPI)
if (MPI_FOUND) if (MPI_FOUND)
message ("MPI found -> linking MPI libraries") # Is required e.g. for Petsc and TAO
# Is required e.g. for Petsc and TAO LINK_LIBRARIES(${MPI_LIBRARIES})
LINK_LIBRARIES(${MPI_LIBRARIES})
#set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${OpenMP_CXX_FLAGS}")
# set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${OpenMP_C_FLAGS}")
# add_definitions(-DUSE_OPENMP)
else () else ()
set (MPI_NOTFOUND 1) set (MPI_NOTFOUND 1)
endif () endif ()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment