Commit 59a8c1a9 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Code formatting

parent d3c8ed02
......@@ -37,11 +37,12 @@
*/
#ifdef WITH_MPI
extern int engine_rank;
#define error(s, ...) \
{ \
fprintf(stderr, "[%04i] %s %s:%s():%i: " s "\n", engine_rank , \
clocks_get_timeofday(), __FILE__, __FUNCTION__, __LINE__, ##__VA_ARGS__); \
MPI_Abort(MPI_COMM_WORLD, -1); \
#define error(s, ...) \
{ \
fprintf(stderr, "[%04i] %s %s:%s():%i: " s "\n", engine_rank, \
clocks_get_timeofday(), __FILE__, __FUNCTION__, __LINE__, \
##__VA_ARGS__); \
MPI_Abort(MPI_COMM_WORLD, -1); \
}
#else
#define error(s, ...) \
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment