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

Topic: pmi-simple - update to upstream (MPICH) state #1045

Merged
merged 1 commit into from
May 13, 2024

Conversation

davidozog
Copy link
Member

This requires some slight modifications for SOS:

  • include "config.h" instead of "mpichconf.h"
  • define MPI_MAX_PORT_NAME manually (w/out including "mpi.h")
  • carry new pmi-simple requirements from MPICH (mpir_mem.h/mpl_sockaddr.h)
  • ignore strncasecmp/strnicmp requirement (not used in pmi-simple)

I'm not sure we want to make this change, but it does eliminate several warnings we see in our current version of pmi-simple. If we include it, we may want to defer this for a later SOS release (e.g., v1.5.2).

@davidozog
Copy link
Member Author

Closing for now, tracking with issue #1046, and adding to the v1.5.x Github Milestone

@davidozog davidozog closed this Mar 16, 2022
@wrrobin wrrobin reopened this Jul 13, 2022
@wrrobin wrrobin marked this pull request as ready for review July 13, 2022 20:52
@davidozog davidozog added this to the 1.5.2 milestone Oct 26, 2022
@davidozog davidozog modified the milestones: 1.5.2, 1.5.x Feb 22, 2023
@davidozog davidozog modified the milestones: 1.5.x, 1.5.2 Mar 8, 2023
@davidozog davidozog modified the milestones: 1.5.2, v1.5.3 May 1, 2024
@davidozog davidozog self-assigned this May 1, 2024
Requires some modifications for SOS:
  * include "config.h" instead of "mpichconf.h"
  * define MPI_MAX_PORT_NAME manually (w/out "mpi.h")
  * carry new pmi-simple reqs from MPICH (mpir_mem.h/mpl_sockaddr.h)
  * ignore strncasecmp/strnicmp requirement (not used in pmi-simple)
@davidozog davidozog force-pushed the topic/pmi_simple branch from 22baf90 to ef7e754 Compare May 3, 2024 17:41
@davidozog
Copy link
Member Author

This version of pmi-simple best aligns with pmodels/MPICH v3.2.1. Beyond that there were more significant changes that may not be practical to incorporate into SOS at the moment.

However, this does eliminate all the compiler warnings from #1046 and passes CI, so I think now is possibly a good time to try it out for the v1.5.3 release.

@davidozog davidozog linked an issue May 3, 2024 that may be closed by this pull request
@davidozog davidozog requested review from bcmIntc and parkerha1 May 8, 2024 18:45
/*
* Copyright (C) by Argonne National Laboratory
* See COPYRIGHT in top-level directory
*/
Copy link
Collaborator

Choose a reason for hiding this comment

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

Just querying, do we have to change anything here?

Copy link
Collaborator

@wrrobin wrrobin left a comment

Choose a reason for hiding this comment

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

LGTM. The tests also do not show any more warnings. One question: the 3 new files - are they all verbatim to upstream or do we have some changes?

@bcmIntc
Copy link
Collaborator

bcmIntc commented May 9, 2024

Question regarding "TODOs" left in the code. Should these be removed/resolved or remove/CR, or left as-is before upstream?

@davidozog
Copy link
Member Author

LGTM. The tests also do not show any more warnings. One question: the 3 new files - are they all verbatim to upstream or do we have some changes?

@wrrobin - the tests are verbatim except for the 4 bullet items listed in the PR description, which are minimal but needed to be compatible with SOS.

Question regarding "TODOs" left in the code. Should these be removed/resolved or remove/CR, or left as-is before upstream?

@bcmIntc - since we keeping these changes "upstream" with respect to MPICH, we should keep as much as possible identical so we don't confuse ourselves or create unnecessary work if/when we update. However, if we fork off then we can remove/address these, but it's something we have avoided in the past for simplicity.

@davidozog davidozog merged commit db426fb into Sandia-OpenSHMEM:main May 13, 2024
35 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.

PMI simple warnings / stale code
4 participants