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_data.h
Go to the documentation of this file.
1 #ifndef _MACSIO_DATA_H
2 #define _MACSIO_DATA_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 
36 #ifdef __cplusplus
37 extern "C" {
38 #endif
39 
40 extern struct json_object *MACSIO_DATA_MakeRandomObject(int nthings);
42  int *rank_owning_chunkId);
43 extern int MACSIO_DATA_GetRankOwningPart(json_object *main_obj, int chunkId);
44 extern int MACSIO_DATA_ValidateDataRead(json_object *main_obj);
45 extern int MACSIO_DATA_SimpleAssignKPartsToNProcs(int k, int n, int my_rank,
46  int *my_part_cnt, int **my_part_ids);
47 
48 #ifdef __cplusplus
49 }
50 #endif
51 
54 #endif /* _MACSIO_DATA_H */
int MACSIO_DATA_ValidateDataRead(json_object *main_obj)
Definition: macsio_data.c:955
struct json_object * MACSIO_DATA_MakeRandomObject(int nthings)
Definition: macsio_data.c:288
struct json_object * MACSIO_DATA_GenerateTimeZeroDumpObject(json_object *main_obj, int *rank_owning_chunkId)
Definition: macsio_data.c:837
int MACSIO_DATA_GetRankOwningPart(json_object *main_obj, int chunkId)
Definition: macsio_data.c:946
int MACSIO_DATA_SimpleAssignKPartsToNProcs(int k, int n, int my_rank, int *my_part_cnt, int **my_part_ids)
Definition: macsio_data.c:961