Skip to content

Conversation

@N00byKing
Copy link
Contributor

mpi-f08.F90 always includes sizeof_f08.h, so compilation fails if the header isnt there. Script will print (pseudo-)empty file if the flag isnt set anyway.

mpi-f08.F90 always includes sizeof_f08.h, so compilation fails if the dependency isnt there. Script will print empty file if the flag isnt set, so should not be a big deal

Signed-off-by: Yussur Mustafa Oraji <[email protected]>
@hppritcha
Copy link
Member

Could you describe the configure options and compiler(s) you are using when you observe this problem?

@N00byKing
Copy link
Contributor Author

I'm not using any configure options apart from the default (and setting the compilers using FC and CC), compiler is flang-20 for Fortran and clang-20 for C.
OpenMPI is being built inside a debian 13 container.
I've attached the ompi_info output and configure logs as well if it helps

@hppritcha
Copy link
Member

okay that makes sense - its the compiler. I've seen this with the HPE/Cray fortran compiler too.

@hppritcha hppritcha self-requested a review August 26, 2025 15:55
@hppritcha
Copy link
Member

okay i can get the cray compiler to build fortran now. The dreaded and deprecated MPI_sizeof fortran only doesn't work but that's okay.

@hppritcha hppritcha merged commit 91539d0 into open-mpi:main Aug 26, 2025
16 checks passed
@N00byKing N00byKing deleted the sizeof_f08 branch August 26, 2025 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants