[Dune] how to specify fortran compiler in cmake based build ?

Benedikt Oswald benedikt.oswald at lspr.ch
Mon Jan 19 17:52:43 CET 2015


Hello Dominic,

thanks,in fact I use:

USE_CMAKE=yes

CONFIGURE_FLAGS="--enable-parallel --enable-experimental-grid-extensions
MPICC='cc' MPICXX='CC' CXX='CC' CC='cc' FC='ftn' LD='CC' "

it now works; in fact before I tried this, I did not delete the
build-cmak directory and it seems that then
the wrong thing still stuck, my mistake!

thansk a lot for the quick reply!

Greeetings,Benedikt




Am 19/01/15 um 17:40 schrieb Dominic Kempf:
> Dear Benedikt,
> the name of the environment variable should be FC.
> Best,
> Dominic
>
> On Mon, Jan 19, 2015 at 5:31 PM, Benedikt Oswald
> <benedikt.oswald at lspr.ch <mailto:benedikt.oswald at lspr.ch>> wrote:
>
>     Dear Dune
>
>     I am stumbling over problem that seems to be trivial: how would I tell
>     the cmake based build system
>     which fortran compiler to use ? More precisely what is the environment
>     variable to use ?
>
>     I am trying to compile on a Cray XE6 where the fortran compiler
>     exeutable has the name 'ftn'.
>
>     Thanks and greetings,
>
>     Benedikt
>
>
>
>
>
>     --
>     ------------------------------------------------------------------------------------------------
>     Dr. sc. techn. Benedikt Oswald - first engineer - LSPR AG - phone
>     - +41 43 366 90 74 <tel:%2B41%2043%20366%2090%2074>
>     Technoparkstrasse 1, CH-8005 Zürich, benedikt.oswald at lspr.ch
>     <mailto:benedikt.oswald at lspr.ch> - labor vincit omnia improbus
>     ------------------------------------------------------------------------------------------------
>
>
>     _______________________________________________
>     Dune mailing list
>     Dune at dune-project.org <mailto:Dune at dune-project.org>
>     http://lists.dune-project.org/mailman/listinfo/dune
>
>

-- 
------------------------------------------------------------------------------------------------
Dr. sc. techn. Benedikt Oswald - first engineer - LSPR AG - phone - +41 43 366 90 74
Technoparkstrasse 1, CH-8005 Zürich, benedikt.oswald at lspr.ch - labor vincit omnia improbus
------------------------------------------------------------------------------------------------





More information about the Dune mailing list