Skip to content

Conversation

@wilfonba
Copy link
Collaborator

@wilfonba wilfonba commented Mar 18, 2023

Close #115

small bug fixes

another small bug
@wilfonba wilfonba requested a review from sbryngelson as a code owner March 18, 2023 21:22
@sbryngelson
Copy link
Member

Can you confirm this to fix the main issue?

@wilfonba
Copy link
Collaborator Author

@sbryngelson I intentionally introduced an error in an input file and ran it with 4 processes and the error was printed before s_mpi_abort was called.

@henryleberre
Copy link
Member

I agree this is probably the way to go on this issue. In the worst case, a few print statements will be issued and flushed to stdout, but is guaranteed that at least one of them will go through. It also doesn't introduce MPI barriers that could block the program from exiting if a call to abort is not made on all ranks. The caller is still free to have an MPI barrier prior to calling abort.

@sbryngelson sbryngelson merged commit 7191f93 into MFlowCode:master Mar 18, 2023
henryleberre pushed a commit to henryleberre/CheMFC that referenced this pull request Mar 21, 2023
@wilfonba wilfonba deleted the NVHPCFix branch March 21, 2023 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

NVHPC not respecting startup checks

3 participants