Giter Club home page Giter Club logo

Comments (5)

ax3l avatar ax3l commented on August 15, 2024

Hi @tiamiceli,

Thank you for the report!

Oh no, we are aware of this issue since AMReX-Codes/amrex#3696 for Windows, but did not know it also affects macOS!

We work on a fix with @WeiqunZhang in AMReX-Codes/amrex#3798

from impactx.

ax3l avatar ax3l commented on August 15, 2024

Confirmed: on my mac mini (M1) using

conda create -n impactx -c conda-forge impactx
conda activate impactx 

as documented.

And then

$ impactx.NOMPI.OMP.DP.OPMD 
dyld[85863]: Symbol not found: __ZN5amrex6OpenMP9omp_locksE
  Referenced from: /Users/axel/miniconda3/envs/impactx/bin/impactx.NOMPI.OMP.DP.OPMD
  Expected in: /Users/axel/miniconda3/envs/impactx/lib/libamrex_3d.dylib
Abort trap: 6

from impactx.

ax3l avatar ax3l commented on August 15, 2024

Oh, that is actually because it already uses the conda package amrex nompi_h39290d2_102 and I changed the exported OpenMP symbol in this update compared to what ImpactX was built against, amrex nompi_h39290d2_101.

Fix coming via conda-forge/impactx-feedstock@7ad786c

Tomorrow, recreating the environment should fix the issue on macOS @tiamiceli.

(@WeiqunZhang the Windows issue is still unsolved for us.)

from impactx.

ax3l avatar ax3l commented on August 15, 2024

@tiamiceli I gave the new package a test:

conda env remove -n impactx

conda create -n impactx -c conda-forge impactx
conda activate impactx 

(installs now impactx conda-forge/osx-arm64::impactx-24.03-py312h55a178e_1)

With that macOS works again 🎉

$ impactx.NOMPI.OMP.DP.OPMD ~/src/impactx/examples/fodo/input_fodo.in
Initializing AMReX (24.03)...
OMP initialized with 8 OMP threads
AMReX (24.03) initialized

Grids Summary:
  Level 0   1 grids  512 cells  100 % of domain
...

Does this fix it for you as well? :)

from impactx.

ax3l avatar ax3l commented on August 15, 2024

@tiamiceli does everything work now? :)

from impactx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.