[Dune] 1. Example config.opts for new build system
piotr.minakowski at iwr.uni-heidelberg.de
piotr.minakowski at iwr.uni-heidelberg.de
Thu Dec 17 22:37:22 CET 2015
Hi Christian,
I am attaching build.opts file. Recently I installed DUNE on OSX
Yosemite, it was pretty straight forward.
Concerning MPI related error I had no problems, because all necessary
dependencies are installed on my machine together with FEniCS. You can
install dependencies only through curl -s
http://fenicsproject.org/fenics-install.sh | bash
The crucial point was to provide proper version of fortran compiler in
build.opts file. In my case it is
-DCMAKE_Fortran_COMPILER=gfortran-mp-5 (check via: port select --list
gcc). Fortran compiler is not part of clang.
Best regards
Piotr Minakowski
Quoting dune-request at dune-project.org:
> Send Dune mailing list submissions to
> dune at dune-project.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.dune-project.org/mailman/listinfo/dune
> or, via email, send a message with subject or body 'help' to
> dune-request at dune-project.org
>
> You can reach the person managing the list at
> dune-owner at dune-project.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Dune digest..."
>
-------------- next part --------------
CMAKE_FLAGS="-DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_Fortran_COMPILER=gfortran-mp-5 -DCMAKE_C_FLAGS='-DNDEBUG -O3 -ftemplate-depth=2048 -march=native' -DCMAKE_CXX_FLAGS='-DNDEBUG -O3 -ftemplate-depth=2048 -march=native' -DDUNE_SYMLINK_TO_SOURCE_TREE=1 --with-umfpack=no"
More information about the Dune
mailing list