forum@abinit.org
Subject: The ABINIT Users Mailing List ( CLOSED )
List archive
- From: Yann Pouillon <yann.pouillon@ehu.es>
- To: forum@abinit.org
- Subject: Re: [abinit-forum] Problem putting a specific compilation option per directory
- Date: Tue, 29 May 2007 17:25:54 +0200
- Organization: European Theoretical Spectroscopy Facility (ETSF)
Hi,
Le mardi 29 mai 2007 à 16:33 +0200, muriel.delaveau@cea.fr a écrit :
I try to make a specific compilation option for 21drive for instance
I put in the configuration file (given in attachment)
FCFLAGS="-O3"
with_fortran_optflags="-O3"
fcflags_opt_21drive="-O0"
After when I go in the directory 21drive
and I do make
it puts :
mpif90 -DHAVE_CONFIG_H -I. -I../../../src/21drive -I../.. -I../defs -I../../../src/21drive/../defs -I/cea/S/dsku/antares/hal1/home/materio/materio/Contribs/include/i686 -O0 -O3 -extend_source -c -o afterscfloop.o ../../../src/21drive/afterscfloop.F90
The compiler says :
ifort : Command line warning overriding -O0 with -O3
So I can't put a specific option per directory .
How can I do if it's possible ?
You should not use the FCFLAGS environment variable, as it overrides the configuration mechanism of the build system.
You gave the answer to your question in your own mail. Please read the IMPORTANT NOTES section at the beginning of your config file.
Best regards,
Yann.
PLEASE NOTE MY NEW COORDINATES! -- Yann Pouillon European Theoretical Spectroscopy Facility (ETSF) Tel: (+34) 943 01 83 94 Centro Joxe Mari Korta, Avenida de Tolosa, 72 Fax: (+34) 943 01 56 00 20018 Donostia-San Sebastián (Gipuzkoa) Web: http://www.etsf.es/ España |
- Problem putting a specific compilation option per directory, muriel . delaveau, 05/29/2007
- Re: [abinit-forum] Problem putting a specific compilation option per directory, Anglade Pierre-Matthieu, 05/29/2007
- Re: [abinit-forum] Problem putting a specific compilation option per directory, Yann Pouillon, 05/29/2007
- Re: [abinit-forum] Problem putting a specific compilation option per directory, Yann Pouillon, 05/29/2007
- Re: [abinit-forum] Problem putting a specific compilation option per directory, Anglade Pierre-Matthieu, 05/29/2007
Archive powered by MHonArc 2.6.16.