Skip to content

Conversation

markbrown314
Copy link
Collaborator

Issue #1190

@markbrown314
Copy link
Collaborator Author

Updated CI to use Ubuntu 24.04

Unfortunately there are a few tests that now fail in CI (sometimes) which requires debug.

Issue Sandia-OpenSHMEM#1190
* Resolved build issue for Portals 4 on Ubuntu 24.04
* Portals 4 with PMI-MPI fails due to crash
* Temporarily convert Portals 4 test issues to annotations

Signed-off-by: Mark F. Brown <mark.f.brown@intel.com>
Copy link
Member

@davidozog davidozog left a comment

Choose a reason for hiding this comment

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

Looks good! Just a question about the portals workaround.

run: |
cd repos/portals4
./autogen.sh
sed -i 's/^struct ptl_abort_state abort_state;/static struct ptl_abort_state abort_state;/' src/ib/ptl_gbl.h
Copy link
Member

Choose a reason for hiding this comment

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

Should we upstream this to Portals4? It's minor, so we can move forward with this fix if that process is slow or otherwise undesirable. But IIUC, we should suggest adding static here upstream in case they fiddle with variable names or something?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@davidozog this is just a work around. I reported the issue to the Portals 4 team: sandialabs/portals4#99

I did not get a response yet. Ultimately the problem is that a global variable is being declared in a header file. Which causes the variable to be defined multiple times which causes a linking conflict. The solution would be to declare it in one of the C files, but I am not that familiar with the code base, so I figured it would be better for them to make that choice.

@markbrown314 markbrown314 merged commit 8f925b0 into Sandia-OpenSHMEM:main Apr 16, 2025
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 this pull request may close these issues.

3 participants