Anyone got SW4 3.0 running on recent Macs with Apple Silicon? #204
Replies: 4 comments 5 replies
-
Hi John, I have not tried installing SW4 on the new Macbook, but I have one on order so I hope we can figure it out. On my current Macbook (with an Intel CPU), I have found that homebrew works better than macports for installing open source software. The MPI-wrappers for the C++ and Fortran compilers can be installed with 'brew install open-mpi'. The easiest is to install SW4 without support for OpenMP threading. Try 'make sw4 openmp=no'. Good luck! |
Beta Was this translation helpful? Give feedback.
-
Thank you Anders!
Those are great hints. Chelsey Assor and I will try following them and post
the results.
…On Mon, Nov 27, 2023 at 8:40 AM Anders Petersson ***@***.***> wrote:
Hi John, I have not tried installing SW4 on the new Macbook, but I have
one on order so I hope we can figure it out. On my current Macbook (with an
Intel CPU), I have found that homebrew works better than macports for
installing open source software. The MPI-wrappers for the C++ and Fortran
compilers can be installed with 'brew install open-mpi'. The easiest is to
install SW4 without support for OpenMP threading. Try 'make sw4 openmp=no'.
Good luck!
—
Reply to this email directly, view it on GitHub
<#204 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJXCTHX26H5FCMVUHJKI3T3YGS7BLAVCNFSM6AAAAAA73MIXNOVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TMOBTGE3DM>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hi @johnnlouie and @andersp, I think I may have successfully installed SW4 on a M2 Max, without
However, running I have not had the chance to fix the installation issues when trying to use |
Beta Was this translation helpful? Give feedback.
-
Hi, a short update on installing SW4 with First thing I did was installed homebrew versions of
There are a couple issues:
At this point, my
However, compilation of the fortran files fail:
outputs:
If I pass the flag But now I get errors at the final linking stage:
Error:
So I'm sort of stuck now. I don't know enough about the Fortran compilers to know where to go next. But I do wonder if there is a magic flag there that would help. |
Beta Was this translation helpful? Give feedback.
-
After not having success on a MacBook M2 Max under Ventura with the install instructions for 3.0 using spack, I am spiraling down a drain trying to use MacPorts to install gcc11- and trying to install each failed component package individually. Has anyone already worked out a method? If not, I'll keep plugging at it.
Beta Was this translation helpful? Give feedback.
All reactions