underworldcode / underworld3

https://underworldcode.github.io/underworld3/
18 stars 10 forks source link

conda fix #204

Closed julesghub closed 3 months ago

julesghub commented 3 months ago

Need to test build on mac's, i.e arm architecture.

bknight1 commented 3 months ago

I recently built dev on mac (~3 days ago) using conda, everything was running okay

julesghub commented 3 months ago

@bknight1 nice one! I'm having troubles with it, specifically petsc4py. Can you share your recipe on mac?

bknight1 commented 3 months ago

I used this yml file to create the conda/mamba env: https://github.com/underworldcode/underworld3/blob/development/.github/workflows/envs/build_uw_test.yml

then installed from a pull of the dev branch using: python3 setup.py develop

julesghub commented 3 months ago

Thanks for that, I'm using petsc4py-3.21.2 and finding liblapack/openblas dylib errors.

julesghub commented 3 months ago

Magic something in the file you linked to fixes the issue. The dependencies cause a different liblapack / libopenblas combination that fixes the error. :magic_wand: