1 # Copyright (C) 2005, 2006 The Trustees of Indiana University.
2 # Copyright (C) 2005 Douglas Gregor <doug.gregor -at- gmail.com>
4 # Use, modification and distribution is subject to the Boost Software
5 # License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
6 # http://www.boost.org/LICENSE_1_0.txt)
8 # Authors: Douglas Gregor
21 : source-location ../src
32 graph_communicator.cpp
35 mpi_datatype_cache.cpp
36 mpi_datatype_oarchive.cpp
39 packed_skeleton_iarchive.cpp
40 packed_skeleton_oarchive.cpp
43 text_skeleton_oarchive.cpp
46 <library>../../serialization/build//boost_serialization
47 <library>/mpi//mpi [ mpi.extra-requirements ]
48 <define>BOOST_MPI_SOURCE=1
49 <link>shared:<define>BOOST_MPI_DYN_LINK=1
52 : # Usage requirements
53 <library>../../serialization/build//boost_serialization
54 <library>/mpi//mpi [ mpi.extra-requirements ]
57 libraries += boost_mpi ;
59 if [ python.configured ]
66 <library>/mpi//mpi [ mpi.extra-requirements ]
67 <library>/boost/python//boost_python
68 <link>shared:<define>BOOST_MPI_DYN_LINK=1
69 <link>shared:<define>BOOST_MPI_PYTHON_DYN_LINK=1
70 <link>shared:<define>BOOST_PYTHON_DYN_LINK=1
71 <define>BOOST_MPI_PYTHON_SOURCE=1
72 -<tag>@$(BOOST_JAMROOT_MODULE)%$(BOOST_JAMROOT_MODULE).tag
73 <tag>@$(BOOST_JAMROOT_MODULE)%$(BOOST_JAMROOT_MODULE).python-tag
76 : # Usage requirements
77 <library>/mpi//mpi [ mpi.extra-requirements ]
79 libraries += boost_mpi_python ;
83 python/collectives.cpp
84 python/py_communicator.cpp
86 python/documentation.cpp
87 python/py_environment.cpp
88 python/py_nonblocking.cpp
89 python/py_exception.cpp
92 python/skeleton_and_content.cpp
96 <library>/boost/python//boost_python
97 <library>boost_mpi_python
99 <library>/mpi//mpi [ mpi.extra-requirements ]
100 <link>shared:<define>BOOST_MPI_DYN_LINK=1
101 <link>shared:<define>BOOST_MPI_PYTHON_DYN_LINK=1
102 <link>shared:<define>BOOST_PYTHON_DYN_LINK=1
103 <link>shared <runtime-link>shared
107 else if ! ( --without-mpi in [ modules.peek : ARGV ] )
110 : "warning: skipping optional Message Passing Interface (MPI) library."
111 : "note: to enable MPI support, add \"using mpi ;\" to user-config.jam."
112 : "note: to suppress this message, pass \"--without-mpi\" to bjam."
113 : "note: otherwise, you can safely ignore this message."
117 boost-install $(libraries) ;