ALPSCore reference
Main Page
Related Pages
Classes
Files
File List
File Members
alps
accumulators
mpi.hpp
Go to the documentation of this file.
1
/*
2
* Copyright (C) 1998-2018 ALPS Collaboration. See COPYRIGHT.TXT
3
* All rights reserved. Use is subject to license terms. See LICENSE.TXT
4
* For use in publications, see ACKNOWLEDGE.TXT
5
*/
6
7
#pragma once
8
9
#include <alps/config.hpp>
10
11
#ifdef ALPS_HAVE_MPI
12
13
#include <
alps/utilities/boost_mpi.hpp
>
14
15
namespace
alps
{
16
namespace
alps_mpi {
17
18
template
<
typename
T,
typename
Op>
void
reduce(
const
alps::mpi::communicator
& comm, T
const
& in_values, Op op,
int
root);
19
template
<
typename
T,
typename
Op>
void
reduce(
const
alps::mpi::communicator
& comm, T
const
& in_values, T & out_values, Op op,
int
root);
20
21
}
// alps_mpi::
22
}
// alps::
23
24
#endif
alps::mpi::communicator
Encapsulation of an MPI communicator and some communicator-related operations.
Definition:
mpi.hpp:111
boost_mpi.hpp
alps
Definition:
boost_array_functions.hpp:24
Generated on Sun Oct 14 2018 12:18:30 for ALPSCore reference by
1.8.11