blob: 4516b15742f79749850def4936b839fc16d3f040 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <mpi.h>
#include <hdf5.h>
#include <rados/librados.h>
#include <H5VLrados_public.h>
/* Macros for printing standard messages and issuing errors */
#define AT() printf (" at %s:%d in %s()...\n", __FILE__, __LINE__, __FUNCTION__)
#define FAILED() do {puts("*FAILED*");fflush(stdout);} while(0)
#define ERROR do {FAILED(); AT(); goto error;} while(0)
#define PRINTF_ERROR(...) do {FAILED(); AT(); printf(" " __VA_ARGS__); printf("\n"); goto error;} while(0)
|