What I would suggest is to not use GCC, but instead use the clang compiler 
native with the Mac M1.
At least this is how I did it on my apple M1 macbook pro computer


On Thursday, April 6, 2023 at 6:25:13 a.m. UTC-4 malve...@gmail.com wrote:

> Good afternoon.
> I’m truly sorry to bother you, but I’ve spent a lot of time trying to fix 
> this problem, without any success.
> I’m trying to install dealii on my M1 macbook air with MacOs Ventura.
> Ive been following the guide on 
> https://github.com/dealii/dealii/wiki/Apple-ARM-M1-OSX
>
> I installed brew
> I verified I have mac developer tools updated
> Using brew I installed cmake and openmpi.
> Using brew, with much more effort and not complete certainty of success, I 
> installed gcc11.
>
> I cloned candi git repo.
> I set the following env variables, to use clang instead of gcc11:
>
> *export CC=mpicc; export CXX=mpicxx; export FC=mpifort; export FF=mpifort; 
> \  OMPI_CC=clang; export OMPI_CXX=clang++; export OMPI_FC=gfortran-1*
> I began installing the packages together but had troubles.
>
> So I proceeded doing them one by one.
> hdf5 went fine
> But p4est exits with the following error:
>
>
>
>
>
>
>
> *Build FAST version in 
> /Users/matteom/dealii-candi/tmp/build/p4est-2.3.2/FAST/Users/######/dealii-candi/tmp/unpack/p4est-2.3.2/configure:
>  
> line 4056: test: argument expectedconfigure: error: in 
> `/Users/######/dealii-candi/tmp/build/p4est-2.3.2/FAST':configure: error: 
> Fortran 77 compiler cannot create executablesSee `config.log' for more 
> detailsError: Error in configure*
> Note: I even tried to switch to Master branch, but nothing changed.
>
>
> Do you have any clue what I could try next?
>
> Thanks for your cooperation.
> Best wishes,
> Matteo Malvestiti
>
>

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/24357a2e-1b43-4ed3-b841-19760e650d96n%40googlegroups.com.

Reply via email to