clog_const.h

来自「mpi并行计算的c++代码 可用vc或gcc编译通过 可以用来搭建并行计算试验环」· C头文件 代码 · 共 42 行

H
42
字号
/*   (C) 2001 by Argonne National Laboratory.       See COPYRIGHT in top-level directory.*/#if !defined( _CLOG_CONST )#define _CLOG_CONST#include "mpe_logging_conf.h"#if defined( NEEDS_STDLIB_PROTOTYPES ) && !defined ( malloc )#include "protofix.h"#endif#if defined(MPIR_MEMDEBUG)/* Enable memory tracing.  This requires MPICH's mpid/util/tr2.c codes */#include "mpimem.h"             /* Chameleon memory debugging stuff */#define MALLOC(a)     MPID_trmalloc((unsigned)(a),__LINE__,__FILE__)#define FREE(a)       MPID_trfree(a,__LINE__,__FILE__)#define REALLOC(a,b)  realloc(a,b)#else#define MALLOC(a)     malloc(a)#define FREE(a)       free(a)#define MPID_trvalid(a)#define REALLOC(a,b)  realloc(a,b)#endif/*   CLOG_FILE_TYPE determines default CLOG2 file extension, i.e. ".clog2"   as well as the prefix for the local temporary clog2 file.*/#define  CLOG_FILE_TYPE      "clog2"#define  CLOG_BOOL_NULL       -1#define  CLOG_BOOL_FALSE       0#define  CLOG_BOOL_TRUE        1#define  CLOG_PATH_STRLEN    256#define  CLOG_PROCID_NULL     -1#endif /* of _CLOG_CONST */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?