Skip to content

Add fom variables to adiak#57

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

Add fom variables to adiak#57
vladotomov merged 3 commits intoCEED:masterfrom
rfhaque:master

Conversation

@rfhaque
Copy link
Copy Markdown
Contributor

@rfhaque rfhaque commented Mar 20, 2026

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
Copy link
Copy Markdown
Contributor Author

rfhaque commented Mar 20, 2026

@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
Copy link
Copy Markdown
Contributor Author

rfhaque commented Mar 26, 2026

@vladotomov Please review

@rfhaque rfhaque mentioned this pull request Mar 28, 2026
10 tasks
@pearce8
Copy link
Copy Markdown

pearce8 commented Mar 30, 2026

@vladotomov Please merge.

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