Adding support for Intel compilers

"Kokron, Daniel S. \(ARC-606.2\)\[InuTeq, LLC\] via Scons-users" <[email protected]>
Newsgroups gmane.comp.programming.tools.scons.user
Message-ID <[email protected]>
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
--

_______________________________________________
Scons-users mailing list
[email protected]
https://pairlist4.pair.net/mailman/listinfo/scons-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.