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

Adds openmp variant to Axom's local umpire spack package #49

Merged
merged 1 commit into from
May 30, 2019

Conversation

kennyweiss
Copy link
Member

@kennyweiss kennyweiss commented May 30, 2019

Looks like I merged my previous macos uberenv PR (#48) too soon...

This PR allows disabling openmp in our local umpire spack package for compilers that do not support it (e.g. the built-in clang on macos). Umpire enables openmp by default, so we need to be able to explicitly disable it.

After this PR, I was able to configure uberenv with the default compiler using the following spec

--spec=%clang~openmp^conduit@master

Notes:

  • I had to use a newer version of conduit due to an incompatibility between 32-bit and 64-bit int types with the current Axom and conduit version 0.3.1 on mac (Update Axom's conduit TPL #50)
  • My laptop's Fortran compiler is currently not working, so my test build set the Fortran compiler to None and my spec also disabled mpi, e.g. --spec=%clang~openmp~mpi^conduit@master

This allows disabling openmp for compilers that do not support it
(e.g. the built-in clang on macos)
@kennyweiss kennyweiss added TPL Issues related to Axom's third party libraries Build system Issues related to Axom's build system labels May 30, 2019
@davidbeckingsale
Copy link
Member

Just FYI, Umpire no longer enable OpenMP by default soon: LLNL/Umpire#110

@kennyweiss kennyweiss merged commit 1043eee into develop May 30, 2019
@kennyweiss kennyweiss deleted the bugfix/weiss27/uberenv-mac branch May 30, 2019 23:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Build system Issues related to Axom's build system TPL Issues related to Axom's third party libraries
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants