[Dune-devel] Dune on MacOS

Santiago Ospina De Los Rios santiago.ospina at iwr.uni-heidelberg.de
Thu Jul 8 10:23:21 CEST 2021


Hi all,


I maintain a very simple hombrew TAP (Third-Party Repositories) for dune 2.7. If you It should be as simple as:

brew install dune-copasi/tap/<dune-module>

where <dune-module> is any of

  *   dune-common
  *   dune-copasi
  *   dune-functions
  *   dune-geometry
  *   dune-grid
  *   dune-istl
  *   dune-localfunctions
  *   dune-logging
  *   dune-multidomaingrid
  *   dune-pdelab
  *   dune-typetree
  *   dune-uggrid

If it doesn't work, just let me know in the issue tracker<https://github.com/dune-copasi/homebrew-tap/issues> ;)

Best,
Santiago

________________________________
From: Dune-devel <dune-devel-bounces at lists.dune-project.org> on behalf of Peter Bastian <Peter.Bastian at iwr.uni-heidelberg.de>
Sent: Thursday, July 8, 2021 8:42:21 AM
To: dune-devel at lists.dune-project.org
Subject: Re: [Dune-devel] Dune on MacOS

Dear all,

I am using Dune on MacOS for many years without any hassle.

I am using macports (https://www.macports.org/) as packet manager
and it provides all you need. As pointed out by Christoph, there
is also homebrew.
The compilers provided by Apple (with XCode) are usually too old, so I never
used them.

Best,

Peter

Am 07.07.21 um 22:41 schrieb Christoph GrĂ¼ninger:
> Hi Simon,
>
> I never used a macOS myself, but I can share some insights:
>
>> 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.
> Is there really a default compiler? I think you need to install Xcode.
> You can have a look what LLVM is part of a Xcode:
>> https://en.wikipedia.org/wiki/Xcode#Xcode_11.x_-_13.x_(since_SwiftUI_framework)_2
>> 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?
> I think there is no default, you have to install it explicitly.
>
>> - Is there a minimal supported version for Apple-clang?
> See the list of Xcode version, newer version might required recent
> versions of macOS.
>
>> - 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?
> Most of our users in the past relied on homebrew. MacPorts is an
> alternative. Both should provide all Dune dependencies.
>
>> - Is it possible to replace the default apple compiler easily by
>> something else?
> Setting the compiler when calling CMake should do the trick.
>
> I hope I did not confuse too much.
>
> Bye
> Christoph
>
> _______________________________________________
> Dune-devel mailing list
> Dune-devel at lists.dune-project.org
> https://lists.dune-project.org/mailman/listinfo/dune-devel


_______________________________________________
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/20210708/d287aec6/attachment.htm>


More information about the Dune-devel mailing list