Skip to content
Snippets Groups Projects
Commit 543e3b59 authored by Xingran Wang's avatar Xingran Wang
Browse files

fix sct timer report for test_pio_deco2d.parallel

parent 29432bbe
No related branches found
No related tags found
No related merge requests found
Pipeline #21682 failed
......@@ -814,9 +814,7 @@ void pioFinalize ( void )
if (clientRank == cdiPioClientRangeStart(collRank, numClients, numColl))
xmpi(MPI_Send(NULL, 0, MPI_INT, collRank, FINALIZE, cdiPioInqInterComm()));
xdebug("%s", "SENT MESSAGE WITH TAG \"FINALIZE\"");
#ifdef TEST_CDI_PIO
sct_report(SCT_GETENV, SCT_GETENV, SCT_GETENV);
#endif
if (TEST_CDI_PIO) sct_report(SCT_GETENV, SCT_GETENV, SCT_GETENV);
Free(txWin);
cdiPioCommFinalize();
idSetDestroy(&openStreams);
......
......@@ -5,9 +5,13 @@
#define EXTERN extern
#endif
// TEST_CDI_PIO undefined: used for ICON model experiment
// TEST_CDI_PIO defined: used to test pio_write
#undef TEST_CDI_PIO
// TEST_CDI_PIO false: ICON model experiment
// TEST_CDI_PIO true: test pio_write_deco2d.parallel
#ifdef TEST_CDI_PIO
#define TEST_CDI_PIO true
#else
#define TEST_CDI_PIO false
#endif
#define TIMER_MAX 128
// size of the timer arrays
......
......@@ -29,6 +29,7 @@
#ifdef USE_MPI
#include "sct.h"
#define EXTERN
#define TEST_CDI_PIO
#include "sct_timer_helper.h"
#include "cdipio.h"
#include "pio_util.h"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment