Skip to content

Conversation

hppritcha
Copy link
Member

We only support named types with this first pass.

related to #12076

Fortran interfaces will be added once Fortran infrastructure additions in PR #13279 are merged in to main.

@hppritcha hppritcha marked this pull request as draft August 14, 2025 13:52
We only support named types with this first pass.

related to open-mpi#12076

Fortran interfaces will be added once Fortran infrastructure
additions in PR open-mpi#13279 are merged in to main.

Signed-off-by: Howard Pritchard <howardp@lanl.gov>
Signed-off-by: Howard Pritchard <howardp@lanl.gov>
@hppritcha hppritcha marked this pull request as ready for review August 26, 2025 21:18
@hppritcha hppritcha requested a review from edgargabriel August 27, 2025 20:23
@hppritcha
Copy link
Member Author

bot:ompi:retest

@hppritcha
Copy link
Member Author

@edgargabriel could you review this when you have a chance?

edgargabriel
edgargabriel previously approved these changes Sep 3, 2025
} else if (value_type->id == OMPI_DATATYPE_MPI_LONG_DOUBLE) {
*pair_type = (ompi_datatype_t *)&ompi_mpi_longdbl_int;
} else {
*pair_type = (ompi_datatype_t *)&ompi_mpi_datatype_null;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor: it might be easier to initialize *pair_type to ompi_datatype_null at the beginning of the routine, and avoid the else parts in the code in multiple locations.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good idea. i'll push a change and squash.

Copy link
Contributor

@devreal devreal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor nit pick, looks good otherwise.

type_get_name_f.c \
type_get_true_extent_f.c \
type_get_true_extent_x_f.c \
type_get_value_index_f.c \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit pick: indentation seems off here

ptype_get_name_f.c \
ptype_get_true_extent_f.c \
ptype_get_true_extent_x_f.c \
ptype_get_value_index_f.c \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit pick: indentation seems off here

Signed-off-by: Howard Pritchard <howardp@lanl.gov>
@hppritcha
Copy link
Member Author

@edgargabriel please check again

@hppritcha hppritcha merged commit e2a2583 into open-mpi:main Sep 4, 2025
16 checks passed
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.

3 participants