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

Fixes for builds with no raja or umpire #1307

Open
wants to merge 6 commits into
base: develop
Choose a base branch
from

Conversation

ebchin
Copy link
Member

@ebchin ebchin commented Jan 3, 2025

This PR is in place of the (now closed) #1270.

Instead of #ifdefs on the function declaration, I added a memory.hpp which holds different host axom::MemorySpaces depending on if serac is built with Umpire or not. This variable is then used in template parameters.

@ebchin ebchin self-assigned this Jan 3, 2025
blt_list_append(TO infrastructure_depends ELEMENTS tribol IF TRIBOL_FOUND)
blt_list_append(TO infrastructure_depends ELEMENTS caliper adiak::adiak IF SERAC_ENABLE_PROFILING)
blt_list_append(TO infrastructure_depends ELEMENTS blt::openmp IF SERAC_ENABLE_OPENMP)
Copy link
Member Author

@ebchin ebchin Jan 3, 2025

Choose a reason for hiding this comment

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

I don't think this is needed, but the openmp dependency for mfem wasn't picked up through FindMFEM.cmake. Any ideas on how to fix this @white238 @chapman39 ? This is with clang 16.0.6 on Ubuntu 24.04

Copy link
Collaborator

Choose a reason for hiding this comment

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

what happens when you call blt_print_target_properties(TARGET mfem)? also can you check to see if mfem was built with +openmp in the concretizer tree?

@ebchin
Copy link
Member Author

ebchin commented Jan 3, 2025

/style

@ebchin ebchin force-pushed the bugfix/chin23/no-raja-umpire branch from 35a1037 to d5747e1 Compare January 3, 2025 06:03
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.

4 participants