Re: compile ROOT with icpc :: cannot open source file "iostream.h"

From: Fons Rademakers <Fons.Rademakers_at_cern.ch>
Date: Sat, 1 Oct 2011 08:55:04 +0200


Currently only the trunk is supported by icc 12.1. See config/Makefile.linuxx8664icc of trunk for needed change.

Cheers, Fons.

On 1 Oct 2011, at 07:19, Adrian Sevcenco <Adrian.Sevcenco_at_cern.ch> wrote:

> Hi! I try to compile root with the intel compiler :
> adrian_at_sevdell : v5-28 $ icpc -v
> icpc version 12.1.0 (gcc version 4.5.0 compatibility)
>
> on fedora 15 x86_64 and i have the following error:
> adrian_at_sevdell : v5-28 $ make
> bin/rmkdepend -R -fcint/cint/src/dict/libstrm.d -Y -w 1000 -- -pipe -m64
> -Wall -W -Woverloaded-virtual -fPIC -Iinclude -DG__REGEXP -DG__UNIX
> -DG__SHAREDLIB -DG__OSFDLL -DG__ROOT -DG__REDIRECTIO -DG__STD_EXCEPTION
> -DG__64BIT -DG__HAVE_CONFIG -DG__NOMAKEINFO -DG__CINTBODY
> -I/home/physics-tools/root/v5-28/cint/cint/inc
> -I/home/physics-tools/root/v5-28/cint/cint/src
> -I/home/physics-tools/root/v5-28/cint/cint/src/dict -pthread
> -Icint/cint/lib/libstrm -Icint/cint/lib/stream -I. -D__cplusplus --
> cint/cint/src/dict/libstrm.cxx
> icpc -g -pipe -m64 -Wall -W -Woverloaded-virtual -fPIC -Iinclude
> -DG__REGEXP -DG__UNIX -DG__SHAREDLIB -DG__OSFDLL -DG__ROOT
> -DG__REDIRECTIO -DG__STD_EXCEPTION -DG__64BIT -DG__HAVE_CONFIG
> -DG__NOMAKEINFO -DG__CINTBODY
> -I/home/physics-tools/root/v5-28/cint/cint/inc
> -I/home/physics-tools/root/v5-28/cint/cint/src
> -I/home/physics-tools/root/v5-28/cint/cint/src/dict -pthread
> -Icint/cint/lib/libstrm -Icint/cint/lib/stream -I. -o
> cint/cint/src/dict/libstrm.o -c cint/cint/src/dict/libstrm.cxx
> cint/cint/lib/stream/iostrm.h(24): catastrophic error: cannot open
> source file "iostream.h"
> #include <iostream.h>
> ^
>
> compilation aborted for cint/cint/src/dict/libstrm.cxx (code 4)
> make: *** [cint/cint/src/dict/libstrm.o] Error 4
>
> this is something strange as if i search for iostream.h i dont have it
> in system (nor is it found in repos) but normal compilation with gcc works.
>
> Does anyone have any idea about this?
> Thanks!
> Adrian
>
Received on Sat Oct 01 2011 - 08:55:11 CEST

This archive was generated by hypermail 2.2.0 : Mon Oct 03 2011 - 23:50:01 CEST