Compiling Radiance with the Intel C Compiler now works!

Hi,

Great news:

Intel has updated it's C compiler. The Intel compiler version 12 Update 6 is
able to compile and run Radiance.
I double checked this time, to make sure no other compiler was accidentally
used.

The performance of the Intel compiler is worse than the gcc compiler 4.5.2.

But Intel does update it's compiler often and also provides some great
guides:

- A guide to vectorization with Intel C++ Compilers (With a chapter: Let the
compiler help you to help the compiler to vectorize)

- Quick-Reference Guide to Optimization with Intel Compilers version 12

Guy

Intel has updated it's C compiler. The Intel compiler version 12 Update 6 is able to compile and run Radiance. I double checked this time, to make sure no other compiler was accidentally used.

Great!

The performance of the Intel compiler is worse than the gcc compiler 4.5.2.

Do you mean it takes longer to compile, or that Radiance runs more slowly compiled by icc?

But Intel does update its compiler often and also provides some great guides:

- A guide to vectorization with Intel C++ Compilers (With a chapter: Let the compiler help you to help the compiler to vectorize)

- Quick-Reference Guide to Optimization with Intel Compilers version 12

Cool. Maybe I can break loose some time to actually work on this in a few months.

···

On 2011-09-08 14:36:37 -0700, Guy Vaessen said:

--
Randolph

* The performance of the Intel compiler is worse than the gcc compiler

4.5.2. *

Do you mean it takes longer to compile, or that Radiance runs more
slowly compiled by icc?

Radiance runs more slowly compiled by icc.
The rpict time of gcc 4.5.2 is around 17 minutes 45 seconds and
the rpict time of icc V12 Update 6 is 20 minutes.

The binaries (elf files) produced by the Intel compiler are 1 MB which is
twice the size of the binaries produced by gcc.

Another idea is to post a message on an Intel forum, informing them about
gcc's better performance, they seem interested in this kind of information.
Maybe Intel can learn from gcc and improve their own compiler.

Guy

What level of optimization did you use with icc?

Randolph

···

On 2011-09-11 14:01:29 -0700, Guy Vaessen said:

>> The performance of the Intel compiler is worse than the gcc compiler 4.5.2.
> Do you mean it takes longer to compile, or that Radiance runs more
> slowly compiled by icc?

Radiance runs more slowly compiled by icc.
The rpict time of gcc 4.5.2 is around 17 minutes 45 seconds and
the rpict time of icc V12 Update 6 is 20 minutes.

The binaries (elf files) produced by the Intel compiler are 1 MB which is twice the size of the binaries produced by gcc.

Another idea is to post a message on an Intel forum, informing them about gcc's better performance, they seem interested in this kind of information.
Maybe Intel can learn from gcc and improve their own compiler.

Guy

--
Randolph