Skip to content

Commit

Permalink
debug 2pr
Browse files Browse the repository at this point in the history
  • Loading branch information
ajaypanyala committed Sep 1, 2024
1 parent 60a567d commit 0903f8a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion comex/src-mpi-pr/comex.c
Original file line number Diff line number Diff line change
Expand Up @@ -3383,7 +3383,7 @@ STATIC void _progress_server()
int static_header_buffer_size = 0;
int extra_size = 0;

#if DEBUG
#if 1
fprintf(stderr, "[%d] _progress_server()\n", g_state.rank);
fprintf(stderr, "[%d] _progress_server(); node_size[%d]\n",
g_state.rank, g_state.node_size);
Expand All @@ -3407,6 +3407,7 @@ STATIC void _progress_server()
extra_size = sizeof(stride_t)+sizeof(DoubleComplex);
}
static_header_buffer_size += extra_size;
printf(stderr, "static_header_buffer_size = %d, eager-threshold=%d\n", static_header_buffer_size, eager_threshold);
/* after all of the above, possibly grow the size based on user request */
if (static_header_buffer_size < eager_threshold) {
static_header_buffer_size = eager_threshold;
Expand Down

0 comments on commit 0903f8a

Please sign in to comment.