SPECFEM / specfem3d

SPECFEM3D_Cartesian simulates acoustic (fluid), elastic (solid), coupled acoustic/elastic, poroelastic or seismic wave propagation in any type of conforming mesh of hexahedra (structured or not).
GNU General Public License v3.0
409 stars 227 forks source link

Question about Installing SPECFEM3d on Macbook Pro with M2 chip #1669

Open gnpang opened 9 months ago

gnpang commented 9 months ago

I am trying to install SPECFEM3D on my new MacBook with an M2 chip. However, when I did the configure with "./configure FC=gfortran CC=gcc MPIFC=mpif90 --with-mpi", it failed and returned "checking build system type... Invalid configuration arm64-apple-darwin20.0.0': machinearm64-apple' not recognized". Anyone has any idea?

danielpeter commented 8 months ago

could you attach your config.log file to see the details?

gnpang commented 8 months ago

could you attach your config.log file to see the details? Please see the attached config.log file.

config.log

danielpeter commented 8 months ago

could you test again with the latest devel version and let me know if PR #1670 fixes the issue?

gnpang commented 8 months ago

The issue is fixed. The specfem2D has the same issue, you may want to update it, too

On Sat, Jan 13, 2024 at 10:24 AM daniel peter @.***> wrote:

could you test again with the latest devel version and let me know if PR

1670 https://github.com/SPECFEM/specfem3d/pull/1670 fixes the issue?

— Reply to this email directly, view it on GitHub https://github.com/SPECFEM/specfem3d/issues/1669#issuecomment-1890490696, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC2FQ4MQHZGYF3OMQIHJPG3YOKRMJAVCNFSM6AAAAABBKMJLJCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJQGQ4TANRZGY . You are receiving this because you authored the thread.Message ID: @.***>

-- Guanning Pang, Ph. D. Postdoctoral Scholar Earth and Atmospheric Sciences Cornell University

danielpeter commented 8 months ago

ok, thanks for the feedback!