Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F78624735
80_mpi.cmake
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Thu, Aug 22, 01:27
Size
1 KB
Mime Type
text/x-tex
Expires
Sat, Aug 24, 01:27 (1 d, 22 h)
Engine
blob
Format
Raw Data
Handle
19972005
Attached To
rAKA akantu
80_mpi.cmake
View Options
#===============================================================================
# @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()
package_declare(MPI EXTERNAL
DESCRIPTION "Add MPI support in akantu"
EXTRA_PACKAGE_OPTIONS PREFIX MPI_C MPI
COMPILE_FLAGS "-DMPICH_IGNORE_CXX_SEEK"
DEPENDS scotch)
package_declare_sources(MPI
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
Log In to Comment