Skip to content

MPI Finializing and Caliper #363

Answered by daboehme
mastino asked this question in Q&A
Apr 27, 2021 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

Hi @mastino ,

By default, Caliper always tries to flush on program exit (after MPI_Finalize), which would produce this error message when using the mpireport service. You can turn that off with CALI_CHANNEL_FLUSH_ON_EXIT=false. I'd recommend always setting that when using mpireport.

The mpireport service should still produce the output if you let it flush at MPI_Finalize (which your setting disables) or you call cali_flush() in the program at some point before MPI_Finalize. Did you get the output (i.e., test.json)? If not, there's something else going on.

In a C program, the write-on-finalize option should work. That's only been an issue in Fortran, where we can't directly intercept MPI c…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@mastino
Comment options

@daboehme
Comment options

@mastino
Comment options

Answer selected by mastino
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants