[Dune-devel] Dune on MacOS
Dedner, Andreas
A.S.Dedner at warwick.ac.uk
Fri Jul 9 10:26:20 CEST 2021
Just wanted to add that we are now testing the Python bindings using github 'actions' and those tests include macOS. The test builds our tutorial which means that quite a bit of the code in core is used.
CMake output is
The CXX compiler identification is AppleClang 12.0.0.12000032
Don't know if we could check other versions as well, haven't looked into that.
We were more interested in adding different Python version. With macOS we had some issues with Python 3.7 (3.9 worls fine) and also, we couldn't get petsc4py to work.
You could use that approach to test on macOS without setting up your own VM.
Andreas
PS https://github.com/adedner/dune-testpypi
________________________________
From: Dune-devel <dune-devel-bounces at lists.dune-project.org> on behalf of Simon Praetorius <simon.praetorius at tu-dresden.de>
Sent: 08 July 2021 23:53
Cc: dune-devel at lists.dune-project.org <dune-devel at lists.dune-project.org>
Subject: Re: [Dune-devel] Dune on MacOS
Thank you all for your feedback. I will forward the information to my
students and colleagues. For testing I also installed an older MacOS
10.15.5 Catalina in a virtual box. Lets see how this works in MacOS...
Best,
Simon
Am 08.07.21 um 10:29 schrieb Samuel Burbulla:
> Hi Simon,
>
> I use Dune on MacOS (11.2.3), too.
>
> I use the toolchain installed by the Apple Developer Tools, i.e. clang 12.0.5 and cmake 3.20.2.
>
> Other packages like suitesparse I install via homebrew.
>
> Recently, I made a full new setup on a new M1 Mac and also observed no real issues.
>
> Best,
> Samuel
>
>
>> Am 07.07.2021 um 20:25 schrieb Simon Praetorius <simon.praetorius at tu-dresden.de>:
>>
>> Hi everyone,
>>
>> Recently, some of my colleagues tried to install Dune (core modules + some extensions) on their Mac. They used the default compiler on a MacOS >= 10.13 and got several compiler errors, e.g. related to missing std::optional.
>>
>> Can anyone share their experience with MacOS since I myself do not own any of these systems, i.e.
>>
>> - Which MacOS is supported with its default software?
>> - Is there a minimal supported version for Apple-clang?
>> - Are there any other restrictions on a standard MacOS setup?
>> - What about external dependencies, like MPI, BLAS, LAPACK or SuiteSparse? Are they available via package managers?
>> - Is it possible to replace the default apple compiler easily by something else?
>>
>> Maybe can we add some description on the webpage? If it is there, please send me the link, I might have missed it. Note, the "Compilers" page seems to be outdated.
>>
>> Best regards,
>> Simon
>>
>> --
>> Dr. Simon Praetorius
>> Technische Universität Dresden
>> Institute of Scientific Computing
>> phone: +49 351 463-34432
>> mail: simon.praetorius at tu-dresden.de
>> web: https://tu-dresden.de/mn/math/wir/das-institut/beschaeftigte/simon-praetorius
>>
>>
>> _______________________________________________
>> Dune-devel mailing list
>> Dune-devel at lists.dune-project.org
>> https://lists.dune-project.org/mailman/listinfo/dune-devel
--
Dr. Simon Praetorius
Technische Universität Dresden
Institute of Scientific Computing
phone: +49 351 463-34432
mail: simon.praetorius at tu-dresden.de
web: https://tu-dresden.de/mn/math/wir/das-institut/beschaeftigte/simon-praetorius
_______________________________________________
Dune-devel mailing list
Dune-devel at lists.dune-project.org
https://lists.dune-project.org/mailman/listinfo/dune-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.dune-project.org/pipermail/dune-devel/attachments/20210709/f5376935/attachment.htm>
More information about the Dune-devel
mailing list