⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 clog_mem.h

📁 fortran并行计算包
💻 H
字号:
/*   (C) 2001 by Argonne National Laboratory.       See COPYRIGHT in top-level directory.*/#if !defined( _CLOG_MEM )#define _CLOG_MEM#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#endif /* of _CLOG_MEM */

⌨️ 快捷键说明

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