Skip to content
Snippets Groups Projects

Consolidation with CDI-PIO (develop)

Merged Sergey Kosukhin requested to merge m300488/develop-rebase into develop
2 files
+ 0
34
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 0
25
@@ -14,8 +14,6 @@
#include "cdi.h"
#include "dmemory.h"
static char commands[][13] = { "FINALIZE", "RESOURCES", "WRITETS" };
/*****************************************************************************/
void
cdiAbortC_MPI(const char *caller, const char *filename, const char *functionname, int line, const char *errorString, va_list ap)
@@ -116,29 +114,6 @@ pcdiXMPIStats(int iret, const char *filename, int line, int n, MPI_Status *restr
/****************************************************/
void
pcdiDebugMsg(const char *cdiPioDebugString, const char *filename, const char *functionname, int line, int tag, int source,
int nfinished)
{
int rank = getMPICommWorldRank();
fprintf(stdout, "%s pe%d in %s, %s, line %d: command %s, source %d, finalized=%d\n", cdiPioDebugString, rank, functionname,
filename, line, &commands[tag][0], source, nfinished);
}
/****************************************************/
void
pcdiDebugMsg2(const char *filename, const char *functionname, int line, int tag, int source, char *text)
{
int rank = getMPICommWorldRank();
fprintf(stdout, "pe%d in %s, %s, line %d: command %s, source %d, %s\n", rank, functionname, filename, line, &commands[tag][0],
source, text);
}
/****************************************************/
void
printArray(const char *cdiPioDebugString, const char *ps, const void *array, int n, int datatype, const char *funname,
const char *filename, int line)
Loading