Skip to content

Add fom variables to adiak - #57

Merged
vladotomov merged 3 commits into
CEED:masterfrom
rfhaque:master
Mar 31, 2026
Merged

vladotomov merged 3 commits into
CEED:masterfrom
rfhaque:master

Conversation

@rfhaque

@rfhaque rfhaque commented Mar 20, 2026 •

Copy link
Copy Markdown
Contributor

This PR

  • Adds the remhos FOM variables to adiak.
  • Add adiak::collect_all() here to collect all the built-in metadata
  • Makes the MassBasedAvg::MassesAndVolumesAtPosition in remhos_lo.hpp public

@rfhaque

rfhaque commented Mar 20, 2026

Copy link
Copy Markdown
Contributor Author

@v-dobrev @pearce8 Adding FOM variables to adiak. Please review.

Comment thread remhos.cpp

MPI_Comm adiak_mpi_comm = MPI_COMM_WORLD;
void* adiak_mpi_comm_ptr = &adiak_mpi_comm;
adiak::init(adiak_mpi_comm_ptr);

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

We should use adiak::collect_all() here to collect all the built-in metadata. It will collect the launch date and job size for you. Docs here: https://software.llnl.gov/Adiak/ApplicationAPI.html#_CPPv411collect_allv

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@pearce8 I'll merge when you approve.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

@rfhaque please add the adiak::collect_all() and test.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@pearce8 Both the changes adiak::collect_all() and public MassBasedAvg::MassesAndVolumesAtPosition have been tested. Please review and merge

@rfhaque

rfhaque commented Mar 26, 2026

Copy link
Copy Markdown
Contributor Author

@vladotomov Please review

@rfhaque rfhaque mentioned this pull request Mar 28, 2026
10 tasks done
@pearce8

pearce8 commented Mar 30, 2026

Copy link
Copy Markdown

@vladotomov Please merge.

@vladotomov
vladotomov merged commit 636e7f8 into CEED:master Mar 31, 2026
1 check passed
This was referenced May 7, 2026
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