[Dune] How to force -std=c++0x in a dune project?
Markus Blatt
markus at dr-blatt.de
Mon Feb 18 10:15:27 CET 2013
Hi,
thanks a lot for your very elaborate explanation.
The solution that you found certainly works, but I would not recommend
to others.
Usually passing the full path of the compilers to dunecontrol should
suffice. There should be no need to path gcc include directories or
library paths. If that is not the case, then there are interferences with
other software. E.g. mpic could use another version of gcc (just check
/tools/openmpi-1.6.3/bin/mpicc --version), or you did not specify a
compatible fortran compiler and configure uses the default. If the
former is the case, just manually retrieve the flags with mpiconfig
and strip everything related to the default gcc compiler and pass it
as flags to dunecontrol. For the latter just provide the correct
fortran compiler using the FC variable.
But as always: Never change a running system ;)
Cheers,
Markus
--
Do you need more support with DUNE or HPC in general?
Dr. Markus Blatt - HPC-Simulation-Software & Services http://www.dr-blatt.de
Hans-Bunte-Str. 8-10, 69123 Heidelberg, Germany
Tel.: +49 (0) 160 97590858 Fax: +49 (0)322 1108991658
More information about the Dune
mailing list