Skip to content
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

Symbol size warning in preload mode, with OpenMPI as from family #69

Closed
kevin-juilly opened this issue Dec 19, 2023 · 1 comment · Fixed by #70
Closed

Symbol size warning in preload mode, with OpenMPI as from family #69

kevin-juilly opened this issue Dec 19, 2023 · 1 comment · Fixed by #70

Comments

@kevin-juilly
Copy link

Symbol `ompi_mpi_comm_null' has different size in shared object, consider re-linking

The size of the predefined communicators changed over time in openmpi.
Starting with v1.3.2, those got a fixed size based on a macro named PREDEFINED_COMMUNICATOR_PAD.
From v1.3.2 to v1.10.7 it was (sizeof(void*) * 128).
In all versions 2.x.x, it was (sizeof(void*) * 192).
In versions 3.0.x, it was (sizeof(void*) * 64).
Since version 3.1.0, it is hard-coded as 512.

In wi4mpi, we made them 1024 bytes long, which correspond to a 64 bit build of openmpi v1 since the pad exists.
This message can be ignored (we only care about the address of the symbol, not its size in preload mode) but it could worry users.

I propose to pass it to 512 bytes in wi4mpi, it should remove the warning.

Any disagreement?

@adrien-cotte
Copy link
Contributor

Seems great to me, thx for looking into this old subject.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants