-
Notifications
You must be signed in to change notification settings - Fork 288
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
romio: mpi4py need ROMIO_VERSION macro #7278
Comments
Also - #7232 (comment) On a related note, maybe the files PS: I think the following may be a leftover, looks like the define is not used anywhere: $ git grep HAVE_ROMIOCONF_H
src/mpi/romio/configure.ac:CFLAGS="$CFLAGS -DHAVE_ROMIOCONF_H" |
ROMIO may be used by Open MPI or build stand-alone, which may need |
tag @dalcinl |
But then, do MPICH really need to install a fully populated In short, what I'm arguing is to keep mpio.h as it is now as an internal header in the ROMIO directory, but install in |
No. We can skip installing |
BTW, as a reminder: if |
@hzhou @raffenet I'm wondering whether preserving the |
The |
OK, fair enough. Maybe a note could be displayed in |
Will do. In general, most options should be left to default unless one knows exactly the reasons for specific choice. Most of the configure options are for experimental features or to shortcut or overwrite the configure logic. Sometime we do suggest certain configure option as temporary workaround, but the goal is always to fix the underlying issue and enhance the configure logic to make the work around unnecessary at some point. Thus, if the distribution is manually setting certain configure option, it should take up the responsibility of keeping watch between upgrades when the option no-longer necessary. |
I don't know autotools enough, but... Would be easy to add a help section |
As a consequence of the changes in this PR, the inclusion of
mpi.h
no longer defines the macroROMIO_VERSION
. mpi4py uses this macro at compile time to know whether MPICH was or was not configured with MPI I/O support.https://github.com/mpi4py/mpi4py/blob/master/src/lib-mpi/config/mpich.h#L14
All previously published versions of mpi4py will fail to support mpi4py's
File
class and its methods. Therefore, for the purposes of backward compatibility, would you consider reinstating theROMIO_VERSION
definition?. This issue could potentially affect other codes relying on the macro to detect whether MPICH builds have MPI I/O enabled or not.Example: https://gitlab.kitware.com/vtk/vtk/-/blob/master/IO/MPIImage/vtkMPIImageReader.cxx#L18
Originally posted by @dalcinl in #7232 (comment)
The text was updated successfully, but these errors were encountered: