Page MenuHomec4science

80_mpi.cmake
No OneTemporary

File Metadata

Created
Thu, Dec 5, 00:56

80_mpi.cmake

#===============================================================================
# @file 80_mpi.cmake
#
# @author Nicolas Richart <nicolas.richart@epfl.ch>
#
# @date creation: Mon Nov 21 2011
# @date last modification: Sat Jun 14 2014
#
# @brief package description for mpi
#
# @section LICENSE
#
# Copyright (©) 2010-2012, 2014 EPFL (Ecole Polytechnique Fédérale de Lausanne)
# Laboratory (LSMS - Laboratoire de Simulation en Mécanique des Solides)
#
# Akantu is free software: you can redistribute it and/or modify it under the
# terms of the GNU Lesser General Public License as published by the Free
# Software Foundation, either version 3 of the License, or (at your option) any
# later version.
#
# Akantu is distributed in the hope that it will be useful, but WITHOUT ANY
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
# A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
# details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with Akantu. If not, see <http://www.gnu.org/licenses/>.
#
#===============================================================================
if(AKANTU_USE_THIRD_PARTY_MUMPS)
enable_language(Fortran)
endif()
add_optional_external_package(MPI "Add MPI support in akantu" OFF PREFIX MPI_C MPI DEPENDS SCOTCH)
set(AKANTU_MPI_FILES
synchronizer/static_communicator_mpi.cc
synchronizer/static_communicator_mpi_inline_impl.hh
synchronizer/static_communicator_mpi.hh
)
mark_as_advanced(MPI_EXTRA_LIBRARY MPI_LIBRARY)
set(AKANTU_MPI_DOCUMENTATION
"
This is a meta package providing access to MPI.
Under Ubuntu (14.04 LTS) the installation can be performed using the commands:
\\begin{command}
> sudo apt-get install libopenmpi-dev
\\end{command}
Under Mac OS X the installation requires the following steps:
\\begin{command}
> sudo port install mpich-devel
\\end{command}
")

Event Timeline