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

Setting up team's Mac mini #1242

Draft
wants to merge 11 commits into
base: develop
Choose a base branch
from
Draft

Conversation

chapman39
Copy link
Contributor

@chapman39 chapman39 commented Oct 4, 2024

Some things I've updated (am updating) during the process of setting up the Serac shared Mac mini.

Features:

  • Update example mac spack.yaml
    • Separate Brew packages from /usr packages
  • Update docs on how to build on Mac (package versions, adding additional packages for simpler concretizer tree, etc.)
  • Fixes Mac devtool issues by creating a Python venv before calling uberenv (Fixes +devtools fails to concretize on macos #1206)
  • Removes BoundaryCond.DirectTrueDofs test, which was failing on MacMini only (Fixes boundary_cond test fails on macos #1207)
  • Setup cron job testing Serac build/ tests
  • Document how to setup an additional user on the Mac mini

Readthedocs: https://serac.readthedocs.io/en/task-chapman39-macmini-build/sphinx/quickstart.html#building-serac-dependencies-on-macos

@chapman39 chapman39 added documentation Improvements or additions to documentation CI Continuous Integration labels Oct 4, 2024
@chapman39 chapman39 self-assigned this Oct 4, 2024
@chapman39
Copy link
Contributor Author

chapman39 commented Oct 4, 2024

Installing the latest llvm/ clang (@19.1.1) caused some problems building Axom, so to avoid that used brew install llvm@14. Here is the build error I got:

==> Installing axom-0.9.0.1-c2vvp4ki46aesbfiafjfnhpil35x3hqr [37/39]
==> No binary for axom-0.9.0.1-c2vvp4ki46aesbfiafjfnhpil35x3hqr found: installing from source
==> Ran patch() for axom
==> axom: Executing phase: 'initconfig'
==> axom: Executing phase: 'cmake'
==> axom: Executing phase: 'build'
==> Error: ProcessError: Command exited with status 2:
    'make' '-j10'

...

  >> 370    /Users/chapman39/dev/serac/serac_tpls/spack/opt/spack/darwin-sonoma-m2/clang-19.1.1/raja-2024.02.0-cvabateje3nivxumnufmwkvhqdhawjww/include/RAJA/pattern/kernel/Tile.hpp:174:30: error: no member named 'block_id' in 'I
            terableTiler<Iterable>'
     371      174 |       return block_id != rhs.block_id;
     372          |                          ~~~ ^

@chapman39 chapman39 changed the title Setting up team's MacMini Setting up team's Mac mini Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI Continuous Integration documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

boundary_cond test fails on macos +devtools fails to concretize on macos
1 participant