MACSio  0.9
Multi-purpose, Application-Centric, Scalable I/O Proxy App
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
macsio_main.h
Go to the documentation of this file.
1 #ifndef MACSIO_MAIN_H
2 #define MACSIO_MAIN_H
3 /*
4 Copyright (c) 2015, Lawrence Livermore National Security, LLC.
5 Produced at the Lawrence Livermore National Laboratory.
6 Written by Mark C. Miller
7 
8 LLNL-CODE-676051. All rights reserved.
9 
10 This file is part of MACSio
11 
12 Please also read the LICENSE file at the top of the source code directory or
13 folder hierarchy.
14 
15 This program is free software; you can redistribute it and/or modify it under
16 the terms of the GNU General Public License (as published by the Free Software
17 Foundation) version 2, dated June 1991.
18 
19 This program is distributed in the hope that it will be useful, but WITHOUT
20 ANY WARRANTY; without even the IMPLIED WARRANTY OF MERCHANTABILITY or FITNESS
21 FOR A PARTICULAR PURPOSE. See the terms and conditions of the GNU General
22 Public License for more details.
23 
24 You should have received a copy of the GNU General Public License along with
25 this program; if not, write to the Free Software Foundation, Inc., 59 Temple
26 Place, Suite 330, Boston, MA 02111-1307 USA
27 */
28 
29 #include <json-c/json_object.h>
30 
31 #ifdef __cplusplus
32 extern "C" {
33 #endif
34 
35 #ifdef HAVE_MPI
36 extern MPI_Comm MACSIO_MAIN_Comm;
37 #else
38 extern int MACSIO_MAIN_Comm;
39 #endif
40 extern int MACSIO_MAIN_Size;
41 extern int MACSIO_MAIN_Rank;
42 
43 extern int MACSIO_MAIN_GetRankOwningPart(json_object *main_obj, int chunkId);
44 
45 #ifdef __cplusplus
46 }
47 #endif
48 
49 #endif /* MACSIO_MAIN_H */
MPI_Comm MACSIO_MAIN_Comm
Definition: macsio_main.c:279
int MACSIO_MAIN_Size
Definition: macsio_main.c:284
int MACSIO_MAIN_Rank
Definition: macsio_main.c:285
int MACSIO_MAIN_GetRankOwningPart(json_object *main_obj, int chunkId)