Hello Loris,

unfortunately it's not so straightforward to easily override a few flags to
my knowledge (maybe somebody else knows?)

but you can try
toolchainopts = {'usempi': True, 'precise': True}
which sets -fp-model precise, which may be what you want anyway if you care
about denormals.

you can also use 'strict': True instead if you want even more FP safety.


Cheers,
Bart

On Tue, 19 Nov 2019 at 08:03, Loris Bennett <[email protected]>
wrote:

> Hi,
>
> I want to use the Intel compiler option '-no-ftz' and have set
>
>   toolchainopts = {'usempi': True, 'optarch': 'm64 -xHost -prec-div
> -prec-sqrt -qopt-prefetch -no-ftz'}
>
> However, in the log I see
>
>   CFLAGS set to -O2 -m64 -xHost -prec-div -prec-sqrt -qopt-prefetch
> -no-ftz -ftz -fp-speculation=safe -fp-model source
>
> Is this correct?  Will the earlier option really win?  My expectation
> would be that the later option would take precedence?
>
> Cheers,
>
> Loris
>
> --
> Dr. Loris Bennett (Mr.)
> ZEDAT, Freie Universität Berlin         Email [email protected]
>


-- 
Dr. Bart E. Oldeman | [email protected] | [email protected]
Scientific Computing Analyst / Analyste en calcul scientifique
McGill HPC Centre / Centre de Calcul Haute Performance de McGill |
http://www.hpc.mcgill.ca
Calcul Québec | http://www.calculquebec.ca
Compute/Calcul Canada | http://www.computecanada.ca
Tel/Tél: 514-396-8926 | Fax/Télécopieur: 514-396-8934

Reply via email to