Matteo,

what happens if you just use p4est CMake installation interface instead of
our scripts? You probably only need to make sure to enable MPI support.

Best,
Daniel

On Mon, Apr 10, 2023 at 8:25 AM Matteo Malvestiti <malve.2...@gmail.com>
wrote:

> Hi, thanks for your response!
> Could you please tell me how to compile with clang instead of gcc?
> Unfortunately I’m a beginner at using the command line...
>
> I’ve done this:
>
> export CC=clang; export CXX=clang++; export FC=mpifort; export
> FF=mpifort; \
>
>         OMPI_CC=clang; export OMPI_CXX=clang++; export OMPI_FC=gfortran-1
>
> But I still get the same error:
>
> Build FAST: /Users/######/dealii-candi/tmp/build/p4est-2.3.2/FAST
>
> Build DEBUG: /Users/######/dealii-candi/tmp/build/p4est-2.3.2/DEBUG
>
> Install FAST: /Users/######/dealii-candi/p4est-2.3.2/FAST
>
> Install DEBUG: /Users/######/dealii-candi/p4est-2.3.2/DEBUG
>
> Checking environment: CFLAGS P4EST_CFLAGS_FAST P4EST_CFLAGS_DEBUG
>
> See output in files .../config.output and .../make.output
>
>
> Build FAST version in /Users/######/dealii-candi/tmp/build/p4est-2.3.2/FAST
>
> /Users/######/dealii-candi/tmp/unpack/p4est-2.3.2/configure: line 4056:
> test: argument expected
>
> configure: error: in
> `/Users/######/dealii-candi/tmp/build/p4est-2.3.2/FAST':
>
> configure: error: Fortran 77 compiler cannot create executables
>
> See `config.log' for more details
>
> Error: Error in configure
>
> Great thanks in advance!
> Matteo
>
> Il giorno 7 apr 2023, alle ore 13:11, blais...@gmail.com <
> blais.br...@gmail.com> ha scritto:
>
> 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
> <https://groups.google.com/d/msgid/dealii/24357a2e-1b43-4ed3-b841-19760e650d96n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
>
> --
> 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/658FE192-4447-4B23-B066-4EE015375153%40gmail.com
> <https://groups.google.com/d/msgid/dealii/658FE192-4447-4B23-B066-4EE015375153%40gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAOYDWbLOiuGvCo9_5qsjafOSetnx_uhN26MXxR_mF2u%2BD_%2BtkQ%40mail.gmail.com.

Reply via email to