Closed ax3l closed 6 years ago
@pnorbert if you plan a 1.13.2
bugfix release, this PR together with #179 and #178 would be much appreciated :-)
oh there are more locations. will open another PR soon.
update: hm, that's a lot of MPI_File_
calls where we would have to do RT switches to the dummy lib if the comm is MPI_COMM_NULL
...
Fix a runtime error in the following situation:
when a user compiles a serial program against the parallel ADIOS libs, there are two ways to use ADIOS without the need to start the app with
mpiexec
:a) use the moc library instead b) pass
MPI_COMM_NULL
as communicatorI need the last case in my application but still
adios_open
calls a singleMPI_Comm_rank
which aborts the application.This check (as it is done in many other places) fixes it.