MPQC 3.0.0-alpha
Loading...
Searching...
No Matches
collective.h
1
2/*
3 * Copyright 2009 Sandia Corporation. Under the terms of Contract
4 * DE-AC04-94AL85000 with Sandia Corporation, the U.S. Government
5 * retains certain rights in this software.
6 *
7 * This file is a part of the MPQC LMP2 library.
8 *
9 * The MPQC LMP2 library is free software: you can redistribute it
10 * and/or modify it under the terms of the GNU Lesser General Public
11 * License as published by the Free Software Foundation, either
12 * version 3 of the License, or (at your option) any later version.
13 *
14 * This program is distributed in the hope that it will be useful, but
15 * WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 * Lesser General Public License for more details.
18 *
19 * You should have received a copy of the GNU Lesser General Public
20 * License along with this program. If not, see
21 * <http://www.gnu.org/licenses/>.
22 *
23 */
24
25#ifndef _chemistry_qc_lmp2_collective_h
26#define _chemistry_qc_lmp2_collective_h
27
28#include <mpqc_config.h>
29
30#ifdef HAVE_MPI
31
32#define OMPI_SKIP_MPICXX
33#define MPICH_SKIP_MPICXX
34#include <mpi.h>
35
36namespace sc {
37
41void custom_alltoallv(void *sendbuf,
42 int *sendcnts,
43 int *sdispls,
44 MPI_Datatype sendtype,
45 void *recvbuf,
46 int *recvcnts,
47 int *rdispls,
48 MPI_Datatype recvtype,
49 MPI_Comm comm);
50
53void allsum(double *data, long n);
54
55}
56
57#endif
58
59
60#endif
61
Contains all MPQC code up to version 3.
Definition mpqcin.h:14

Generated at Wed Sep 25 2024 02:45:29 for MPQC 3.0.0-alpha using the documentation package Doxygen 1.12.0.