Howdy all,
I'm trying to build a ROOT/6.14.06/intel-2018b-Python-2.7.15
based on EB's included ROOT-6.14.06-foss-2018b-Python-2.7.15.eb
(with a simple s/foss/intel/).
It all goes well until the final link where I get:
error: unknown argument: '-fp-model'
error: unknown argument: '-ftz'
error: unknown argument: '-fp-speculation=safe'
<<< cling interactive line includer >>>:1:10: fatal error: 'source' file
not found
#include "source"
^~~~~~~~
Error: Parsing Linkdef file etc/dictpch/allLinkDefs.h
It isn't clear why it is waiting until the end to
choke on these valid Intel flags.
In any case, I tracked those settings down to
the CFLAGS/FFLAGS/etcFLAGS that EB sets for cmake.
After digging around, I found line 64 in
toolchains/compiler/inteliccifort.py which has
'defaultprec': ['ftz', 'fp-speculation=safe', 'fp-model source'],
for a toolchain option.
So I tried various options to turn that option off
(some were just guesses).
toolchainopts = {'pic': True, 'defaultprec': False}
and
toolchainopts = {'pic': True, 'defaultprec': ''}
and
defaultprec = ['']
None of those worked.
If I manually hack inteliccifort.py to disable
those settings, then my build for ROOT-intel
works.
Feel to try it yourself (I'm using EB 4.1.1).
Obviously it would be nice to just fix the link,
but I'm curious about other possible uses.
How does one disable defaultprec when using
the Intel toolchain?
--
Jack Perdue
Lead Systems Administrator
High Performance Research Computing
TAMU Division of Research
[email protected] http://hprc.tamu.edu
HPRC Helpdesk: [email protected]