<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi Simon<div class=""><br class=""></div><div class="">I had similar problems on older macOS stemming from the fact that some of the standard library implementation apparently don’t fully implement optional.</div><div class=""><br class=""></div><div class="">This problem occurred with the AppleClang compiler and also with gcc and clang from homebrew which forced me to upgrade the OS at some point.</div><div class=""><br class=""></div><div class="">Currently on macOS BigSur the AppleClang 12.0.0 that comes with the default developer tools works without problems for me with Dune.</div><div class="">(and no Christoph you don’t need XCode for that but you have to install the default developer tools which homebrew requires anyway as far as I know)</div><div class=""><br class=""></div><div class="">I have however some issues with the current gcc versions from homebrew. Somehow the exception handling is screwed up so</div><div class="">that the program crashes if even I catch errors…</div><div class="">Also valgrind doesn’t work on BigSur.</div><div class=""><br class=""><div class="">
<div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;">Timo</div><div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;"><br class=""></div></div><br class="Apple-interchange-newline">
</div>
<div><br class=""><blockquote type="cite" class=""><div class="">On 8. Jul 2021, at 10:29, <a href="mailto:dune-devel-request@lists.dune-project.org" class="">dune-devel-request@lists.dune-project.org</a> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Send Dune-devel mailing list submissions to<br class=""><span class="Apple-tab-span" style="white-space:pre"> </span><a href="mailto:dune-devel@lists.dune-project.org" class="">dune-devel@lists.dune-project.org</a><br class=""><br class="">To subscribe or unsubscribe via the World Wide Web, visit<br class=""><span class="Apple-tab-span" style="white-space:pre"> </span>https://lists.dune-project.org/mailman/listinfo/dune-devel<br class="">or, via email, send a message with subject or body 'help' to<br class=""><span class="Apple-tab-span" style="white-space:pre"> </span>dune-devel-request@lists.dune-project.org<br class=""><br class="">You can reach the person managing the list at<br class=""><span class="Apple-tab-span" style="white-space:pre"> </span>dune-devel-owner@lists.dune-project.org<br class=""><br class="">When replying, please edit your Subject line so it is more specific<br class="">than "Re: Contents of Dune-devel digest..."<br class=""><br class=""><br class="">Today's Topics:<br class=""><br class=""> 1. Dune on MacOS (Simon Praetorius)<br class=""> 2. Re: Dune on MacOS (Christoph Grüninger)<br class=""> 3. Re: Dune on MacOS (Peter Bastian)<br class=""> 4. Re: Dune on MacOS (Santiago Ospina De Los Rios)<br class=""> 5. Re: Dune on MacOS (Samuel Burbulla)<br class=""><br class=""><br class="">----------------------------------------------------------------------<br class=""><br class="">Message: 1<br class="">Date: Wed, 7 Jul 2021 20:25:30 +0200<br class="">From: Simon Praetorius <simon.praetorius@tu-dresden.de><br class="">To: <dune-devel@lists.dune-project.org><br class="">Subject: [Dune-devel] Dune on MacOS<br class="">Message-ID: <97ebfd96-5170-4b26-8c69-2c85c5fbb239@tu-dresden.de><br class="">Content-Type: text/plain; charset="utf-8"; format=flowed<br class=""><br class="">Hi everyone,<br class=""><br class="">Recently, some of my colleagues tried to install Dune (core modules + <br class="">some extensions) on their Mac. They used the default compiler on a MacOS <br class=""><blockquote type="cite" class="">= 10.13 and got several compiler errors, e.g. related to missing <br class=""></blockquote>std::optional.<br class=""><br class="">Can anyone share their experience with MacOS since I myself do not own <br class="">any of these systems, i.e.<br class=""><br class="">- Which MacOS is supported with its default software?<br class="">- Is there a minimal supported version for Apple-clang?<br class="">- Are there any other restrictions on a standard MacOS setup?<br class="">- What about external dependencies, like MPI, BLAS, LAPACK or <br class="">SuiteSparse? Are they available via package managers?<br class="">- Is it possible to replace the default apple compiler easily by <br class="">something else?<br class=""><br class="">Maybe can we add some description on the webpage? If it is there, please <br class="">send me the link, I might have missed it. Note, the "Compilers" page <br class="">seems to be outdated.<br class=""><br class="">Best regards,<br class="">Simon<br class=""><br class="">-- <br class="">Dr. Simon Praetorius<br class="">Technische Universität Dresden<br class="">Institute of Scientific Computing<br class="">phone: +49 351 463-34432<br class="">mail: simon.praetorius@tu-dresden.de<br class="">web: https://tu-dresden.de/mn/math/wir/das-institut/beschaeftigte/simon-praetorius<br class=""><br class=""><br class=""><br class=""><br class="">------------------------------<br class=""><br class="">Message: 2<br class="">Date: Wed, 7 Jul 2021 22:41:18 +0200<br class="">From: Christoph Grüninger <foss@grueninger.de><br class="">To: dune-devel@lists.dune-project.org<br class="">Subject: Re: [Dune-devel] Dune on MacOS<br class="">Message-ID: <7ea27177-04f1-df80-86f1-669da2e10e1e@grueninger.de><br class="">Content-Type: text/plain; charset=utf-8<br class=""><br class="">Hi Simon,<br class=""><br class="">I never used a macOS myself, but I can share some insights:<br class=""><br class=""><blockquote type="cite" class="">Recently, some of my colleagues tried to install Dune (core modules +<br class="">some extensions) on their Mac. They used the default compiler on a MacOS<br class=""><blockquote type="cite" class="">= 10.13 and got several compiler errors, e.g. related to missing<br class=""></blockquote>std::optional.<br class=""></blockquote><br class="">Is there really a default compiler? I think you need to install Xcode.<br class="">You can have a look what LLVM is part of a Xcode:<br class=""><blockquote type="cite" class="">https://en.wikipedia.org/wiki/Xcode#Xcode_11.x_-_13.x_(since_SwiftUI_framework)_2<br class=""></blockquote><br class=""><blockquote type="cite" class="">Can anyone share their experience with MacOS since I myself do not own<br class="">any of these systems, i.e.<br class=""><br class="">- Which MacOS is supported with its default software?<br class=""></blockquote><br class="">I think there is no default, you have to install it explicitly.<br class=""><br class=""><blockquote type="cite" class="">- Is there a minimal supported version for Apple-clang?<br class=""></blockquote><br class="">See the list of Xcode version, newer version might required recent<br class="">versions of macOS.<br class=""><br class=""><blockquote type="cite" class="">- Are there any other restrictions on a standard MacOS setup?<br class="">- What about external dependencies, like MPI, BLAS, LAPACK or<br class="">SuiteSparse? Are they available via package managers?<br class=""></blockquote><br class="">Most of our users in the past relied on homebrew. MacPorts is an<br class="">alternative. Both should provide all Dune dependencies.<br class=""><br class=""><blockquote type="cite" class="">- Is it possible to replace the default apple compiler easily by<br class="">something else?<br class=""></blockquote><br class="">Setting the compiler when calling CMake should do the trick.<br class=""><br class="">I hope I did not confuse too much.<br class=""><br class="">Bye<br class="">Christoph<br class=""><br class=""><br class=""><br class="">------------------------------<br class=""><br class="">Message: 3<br class="">Date: Thu, 8 Jul 2021 08:42:21 +0200<br class="">From: Peter Bastian <Peter.Bastian@iwr.uni-heidelberg.de><br class="">To: dune-devel@lists.dune-project.org<br class="">Subject: Re: [Dune-devel] Dune on MacOS<br class="">Message-ID:<br class=""><span class="Apple-tab-span" style="white-space:pre"> </span><33239855-f6c3-530e-f91b-3e5b379bceaf@iwr.uni-heidelberg.de><br class="">Content-Type: text/plain; charset=utf-8<br class=""><br class="">Dear all,<br class=""><br class="">I am using Dune on MacOS for many years without any hassle.<br class=""><br class="">I am using macports (https://www.macports.org/) as packet manager<br class="">and it provides all you need. As pointed out by Christoph, there<br class="">is also homebrew.<br class="">The compilers provided by Apple (with XCode) are usually too old, so I never<br class="">used them.<br class=""><br class="">Best,<br class=""><br class="">Peter<br class=""><br class="">Am 07.07.21 um 22:41 schrieb Christoph Grüninger:<br class=""><blockquote type="cite" class="">Hi Simon,<br class=""><br class="">I never used a macOS myself, but I can share some insights:<br class=""><br class=""><blockquote type="cite" class="">Recently, some of my colleagues tried to install Dune (core modules +<br class="">some extensions) on their Mac. They used the default compiler on a MacOS<br class=""><blockquote type="cite" class="">= 10.13 and got several compiler errors, e.g. related to missing<br class=""></blockquote>std::optional.<br class=""></blockquote>Is there really a default compiler? I think you need to install Xcode.<br class="">You can have a look what LLVM is part of a Xcode:<br class=""><blockquote type="cite" class="">https://en.wikipedia.org/wiki/Xcode#Xcode_11.x_-_13.x_(since_SwiftUI_framework)_2<br class="">Can anyone share their experience with MacOS since I myself do not own<br class="">any of these systems, i.e.<br class=""><br class="">- Which MacOS is supported with its default software?<br class=""></blockquote>I think there is no default, you have to install it explicitly.<br class=""><br class=""><blockquote type="cite" class="">- Is there a minimal supported version for Apple-clang?<br class=""></blockquote>See the list of Xcode version, newer version might required recent<br class="">versions of macOS.<br class=""><br class=""><blockquote type="cite" class="">- Are there any other restrictions on a standard MacOS setup?<br class="">- What about external dependencies, like MPI, BLAS, LAPACK or<br class="">SuiteSparse? Are they available via package managers?<br class=""></blockquote>Most of our users in the past relied on homebrew. MacPorts is an<br class="">alternative. Both should provide all Dune dependencies.<br class=""><br class=""><blockquote type="cite" class="">- Is it possible to replace the default apple compiler easily by<br class="">something else?<br class=""></blockquote>Setting the compiler when calling CMake should do the trick.<br class=""><br class="">I hope I did not confuse too much.<br class=""><br class="">Bye<br class="">Christoph<br class=""><br class="">_______________________________________________<br class="">Dune-devel mailing list<br class="">Dune-devel@lists.dune-project.org<br class="">https://lists.dune-project.org/mailman/listinfo/dune-devel<br class=""></blockquote><br class=""><br class=""><br class=""><br class="">------------------------------<br class=""><br class="">Message: 4<br class="">Date: Thu, 8 Jul 2021 08:23:21 +0000<br class="">From: Santiago Ospina De Los Rios<br class=""><span class="Apple-tab-span" style="white-space:pre"> </span><santiago.ospina@iwr.uni-heidelberg.de><br class="">To: "dune-devel@lists.dune-project.org"<br class=""><span class="Apple-tab-span" style="white-space:pre"> </span><dune-devel@lists.dune-project.org><br class="">Subject: Re: [Dune-devel] Dune on MacOS<br class="">Message-ID: <0f2ada5d0339452ea12576787a267fa6@iwr.uni-heidelberg.de><br class="">Content-Type: text/plain; charset="iso-8859-1"<br class=""><br class="">Hi all,<br class=""><br class=""><br class="">I maintain a very simple hombrew TAP (Third-Party Repositories) for dune 2.7. If you It should be as simple as:<br class=""><br class="">brew install dune-copasi/tap/<dune-module><br class=""><br class="">where <dune-module> is any of<br class=""><br class=""> * dune-common<br class=""> * dune-copasi<br class=""> * dune-functions<br class=""> * dune-geometry<br class=""> * dune-grid<br class=""> * dune-istl<br class=""> * dune-localfunctions<br class=""> * dune-logging<br class=""> * dune-multidomaingrid<br class=""> * dune-pdelab<br class=""> * dune-typetree<br class=""> * dune-uggrid<br class=""><br class="">If it doesn't work, just let me know in the issue tracker<https://github.com/dune-copasi/homebrew-tap/issues> ;)<br class=""><br class="">Best,<br class="">Santiago<br class=""><br class="">________________________________<br class="">From: Dune-devel <dune-devel-bounces@lists.dune-project.org> on behalf of Peter Bastian <Peter.Bastian@iwr.uni-heidelberg.de><br class="">Sent: Thursday, July 8, 2021 8:42:21 AM<br class="">To: dune-devel@lists.dune-project.org<br class="">Subject: Re: [Dune-devel] Dune on MacOS<br class=""><br class="">Dear all,<br class=""><br class="">I am using Dune on MacOS for many years without any hassle.<br class=""><br class="">I am using macports (https://www.macports.org/) as packet manager<br class="">and it provides all you need. As pointed out by Christoph, there<br class="">is also homebrew.<br class="">The compilers provided by Apple (with XCode) are usually too old, so I never<br class="">used them.<br class=""><br class="">Best,<br class=""><br class="">Peter<br class=""><br class="">Am 07.07.21 um 22:41 schrieb Christoph Grüninger:<br class=""><blockquote type="cite" class="">Hi Simon,<br class=""><br class="">I never used a macOS myself, but I can share some insights:<br class=""><br class=""><blockquote type="cite" class="">Recently, some of my colleagues tried to install Dune (core modules +<br class="">some extensions) on their Mac. They used the default compiler on a MacOS<br class=""><blockquote type="cite" class="">= 10.13 and got several compiler errors, e.g. related to missing<br class=""></blockquote>std::optional.<br class=""></blockquote>Is there really a default compiler? I think you need to install Xcode.<br class="">You can have a look what LLVM is part of a Xcode:<br class=""><blockquote type="cite" class="">https://en.wikipedia.org/wiki/Xcode#Xcode_11.x_-_13.x_(since_SwiftUI_framework)_2<br class="">Can anyone share their experience with MacOS since I myself do not own<br class="">any of these systems, i.e.<br class=""><br class="">- Which MacOS is supported with its default software?<br class=""></blockquote>I think there is no default, you have to install it explicitly.<br class=""><br class=""><blockquote type="cite" class="">- Is there a minimal supported version for Apple-clang?<br class=""></blockquote>See the list of Xcode version, newer version might required recent<br class="">versions of macOS.<br class=""><br class=""><blockquote type="cite" class="">- Are there any other restrictions on a standard MacOS setup?<br class="">- What about external dependencies, like MPI, BLAS, LAPACK or<br class="">SuiteSparse? Are they available via package managers?<br class=""></blockquote>Most of our users in the past relied on homebrew. MacPorts is an<br class="">alternative. Both should provide all Dune dependencies.<br class=""><br class=""><blockquote type="cite" class="">- Is it possible to replace the default apple compiler easily by<br class="">something else?<br class=""></blockquote>Setting the compiler when calling CMake should do the trick.<br class=""><br class="">I hope I did not confuse too much.<br class=""><br class="">Bye<br class="">Christoph<br class=""><br class="">_______________________________________________<br class="">Dune-devel mailing list<br class="">Dune-devel@lists.dune-project.org<br class="">https://lists.dune-project.org/mailman/listinfo/dune-devel<br class=""></blockquote><br class=""><br class="">_______________________________________________<br class="">Dune-devel mailing list<br class="">Dune-devel@lists.dune-project.org<br class="">https://lists.dune-project.org/mailman/listinfo/dune-devel<br class="">-------------- next part --------------<br class="">An HTML attachment was scrubbed...<br class="">URL: <https://lists.dune-project.org/pipermail/dune-devel/attachments/20210708/d287aec6/attachment-0001.html><br class=""><br class="">------------------------------<br class=""><br class="">Message: 5<br class="">Date: Thu, 8 Jul 2021 10:29:31 +0200<br class="">From: Samuel Burbulla <samuel.burbulla@mathematik.uni-stuttgart.de><br class="">To: Simon Praetorius <simon.praetorius@tu-dresden.de><br class="">Cc: dune-devel@lists.dune-project.org<br class="">Subject: Re: [Dune-devel] Dune on MacOS<br class="">Message-ID:<br class=""><span class="Apple-tab-span" style="white-space:pre"> </span><9AED1D74-F35B-495D-9722-00FAB85F7BC6@mathematik.uni-stuttgart.de><br class="">Content-Type: text/plain;<span class="Apple-tab-span" style="white-space:pre"> </span>charset=utf-8<br class=""><br class="">Hi Simon,<br class=""><br class="">I use Dune on MacOS (11.2.3), too.<br class=""><br class="">I use the toolchain installed by the Apple Developer Tools, i.e. clang 12.0.5 and cmake 3.20.2.<br class=""><br class="">Other packages like suitesparse I install via homebrew.<br class=""><br class="">Recently, I made a full new setup on a new M1 Mac and also observed no real issues.<br class=""><br class="">Best,<br class="">Samuel<br class=""><br class=""><br class=""><blockquote type="cite" class="">Am 07.07.2021 um 20:25 schrieb Simon Praetorius <simon.praetorius@tu-dresden.de>:<br class=""><br class="">Hi everyone,<br class=""><br class="">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.<br class=""><br class="">Can anyone share their experience with MacOS since I myself do not own any of these systems, i.e.<br class=""><br class="">- Which MacOS is supported with its default software?<br class="">- Is there a minimal supported version for Apple-clang?<br class="">- Are there any other restrictions on a standard MacOS setup?<br class="">- What about external dependencies, like MPI, BLAS, LAPACK or SuiteSparse? Are they available via package managers?<br class="">- Is it possible to replace the default apple compiler easily by something else?<br class=""><br class="">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.<br class=""><br class="">Best regards,<br class="">Simon<br class=""><br class="">-- <br class="">Dr. Simon Praetorius<br class="">Technische Universität Dresden<br class="">Institute of Scientific Computing<br class="">phone: +49 351 463-34432<br class="">mail: simon.praetorius@tu-dresden.de<br class="">web: https://tu-dresden.de/mn/math/wir/das-institut/beschaeftigte/simon-praetorius<br class=""><br class=""><br class="">_______________________________________________<br class="">Dune-devel mailing list<br class="">Dune-devel@lists.dune-project.org<br class="">https://lists.dune-project.org/mailman/listinfo/dune-devel<br class=""></blockquote><br class=""><br class=""><br class=""><br class="">------------------------------<br class=""><br class="">Subject: Digest Footer<br class=""><br class="">_______________________________________________<br class="">Dune-devel mailing list<br class="">Dune-devel@lists.dune-project.org<br class="">https://lists.dune-project.org/mailman/listinfo/dune-devel<br class=""><br class="">------------------------------<br class=""><br class="">End of Dune-devel Digest, Vol 108, Issue 2<br class="">******************************************<br class=""></div></div></blockquote></div><br class=""></div></body></html>