[Scons-users] [EXTERNAL] Re: Adding support for Intel compilers
Kokron, Daniel S. (ARC-606.2)[InuTeq, LLC]
daniel.s.kokron at nasa.gov
Wed Jun 23 18:48:05 EDT 2021
Jason,
I have to admit that I’m a complete novice when it comes to SCons. I don’t even know what you are asking about nor where to find it. I did a search of the ENZO-E tree for any *.py containing the string “Environment” and came up empty.
I forgot to mention that I’m using SCons-4.1.0.
Dan
From: Scons-users <scons-users-bounces at scons.org> on behalf of Jason Kenny <dragon512 at live.com>
Reply-To: SCons users mailing list <scons-users at scons.org>
Date: Wednesday, June 23, 2021 at 5:34 PM
To: SCons users mailing list <scons-users at scons.org>
Subject: [EXTERNAL] Re: [Scons-users] Adding support for Intel compilers
Can you share how you set up your Environment object. I can take a quick look at what you need to tweak to get it running correctly.
Jason
From: Scons-users <scons-users-bounces at scons.org> On Behalf Of Jason Kenny
Sent: Wednesday, June 23, 2021 4:58 PM
To: SCons users mailing list <scons-users at scons.org>
Subject: Re: [Scons-users] Adding support for Intel compilers
I believe you need to make sure you load the c++/gcc tool as well as this adds other items you need to have defined that the intelc.py tool does not handle if I recall correctly with pure SCons
You should be able to find some examples of how in Pure SCons to create the Environment correctly in the user list.
I have support for icc in my extension for Scons called Parts. In fact, I am adding support for the new icx version that should be replacing the existing/classic icc case for the next drop.
Jason
________________________________
From: Scons-users <scons-users-bounces at scons.org<mailto:scons-users-bounces at scons.org>> on behalf of Kokron, Daniel S. (ARC-606.2)[InuTeq, LLC] via Scons-users <scons-users at scons.org<mailto:scons-users at scons.org>>
Sent: Wednesday, June 23, 2021 4:14 PM
To: scons-users at scons.org<mailto:scons-users at scons.org> <scons-users at scons.org<mailto:scons-users at scons.org>>
Cc: Kokron, Daniel S. (ARC-606.2)[InuTeq, LLC] <daniel.s.kokron at nasa.gov<mailto:daniel.s.kokron at nasa.gov>>
Subject: [Scons-users] Adding support for Intel compilers
I have a user on our system whose application (ENZO-E) depends on SCons. We have a working build that uses GNU compilers however I would like to test the code using Intel compilers as they typically provide better performance on our system. I have already worked through some issues by modifying SCons/Tool/intelc.py so it can find our installation tree.
- for d in glob.glob('/opt/intel/compilers_and_libraries_%s/linux'%version):
+ for d in glob.glob('/nasa/intel/Compiler/2020.4.304/compilers_and_libraries_%s/linux'%version):
I have tried duplicating the set of files used for GNU compilers (gcc.py, g++.py and gxx.py), replacing GNU compiler names with appropriate names of Intel compilers. However, nothing I’ve tried has been able to resolve the following.
scons: *** While building `['cello.o']' from `['cello.cpp']': Don't know how to build from a source file with suffix `.cpp'. Expected a suffix in this list: ['.c', '.m', '.i', '.fpp', '.FPP', '.I', '.f77', '.F77', '.i90', '.I90', '.f95', '.F95', '.f03', '.F03', '.f08', '.F08', '.s', '.asm', '.ASM', '.spp', '.SPP', '.sx', '.S', '.d'].
Can anyone offer some guidance on how to proceed?
Daniel Kokron
RedLine Performance Solutions
SciCon/APP group
--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20210623/f8111ab4/attachment-0001.htm>
More information about the Scons-users
mailing list