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

CMake configuration failure #1276

Open
samuelpmishLLNL opened this issue Nov 26, 2024 · 1 comment
Open

CMake configuration failure #1276

samuelpmishLLNL opened this issue Nov 26, 2024 · 1 comment

Comments

@samuelpmishLLNL
Copy link
Contributor

When configuring CMake without deleting the CMakeCache.txt (like when modifying a CMakeLists.txt file) I get the following error message:

...
[cmake] -- Checking for expected Conduit target 'conduit::conduit'
[cmake] CMake Error at cmake/SeracMacros.cmake:131 (message):
[cmake]   Conduit failed to load:
[cmake]   /home/sam/code/serac_libs_sept_24/spack/opt/spack/linux-ubuntu22.04-skylake/gcc-12.3.0/conduit-0.9.1-fdle5ykhzyve3ltgg4kyqqieenipeamf
[cmake] Call Stack (most recent call first):
[cmake]   cmake/thirdparty/SetupSeracThirdParty.cmake:120 (serac_assert_find_succeeded)
[cmake]   CMakeLists.txt:166 (include)
[cmake] 
[cmake] 
[cmake] -- Configuring incomplete, errors occurred!

However, when deleting the CMakeCache.txt and starting from scratch it does configure successfully.

@samuelpmishLLNL
Copy link
Contributor Author

I spoke with @white238 about this offline and I believe he figured out the cause and solution to this issue.

To summarize, this behavior above results from a bug in an older version of axom where CONDUIT_FOUND was accidentally set as a cache variable. This has since been fixed, but serac still targets a ~6 month old version of axom (from before the fix), so updating serac's version of axom should resolve this.

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

No branches or pull requests

1 participant