ssg-mpi.h 564 Bytes
Newer Older
Jonathan Jenkins's avatar
Jonathan Jenkins committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
 * Copyright (c) 2016 UChicago Argonne, LLC
 *
 * See COPYRIGHT in top-level directory.
 */

#pragma once

// mpi based initialization for ssg

#ifdef __cplusplus
extern "C" {
#endif

#include <mpi.h>
#include <na.h>

#include "ssg.h"

// mpi based (no config file) - all participants (defined by the input
// communicator) do a global address exchange
Jonathan Jenkins's avatar
Jonathan Jenkins committed
22
23
24
25
26
27
// in this case, the caller has already initialized HG with its address
ssg_t ssg_init_mpi(hg_class_t *hgcl, MPI_Comm comm);

#ifdef __cplusplus
}
#endif
Jonathan Jenkins's avatar
Jonathan Jenkins committed
28
29
30
31

/**
 * vim: ft=c sw=4 ts=4 sts=4 tw=80 expandtab
 */