Manta Interactive Ray Tracer Development Mailing List

Text archives Help


Re: [MANTA] Compiler flags to use with gcc and icc


Chronological Thread 
  • From: Shreekanth Pavar <shreekanth.pavar@ucl.ac.uk>
  • To: Abe Stephens <abe@sci.utah.edu>
  • Cc: MANTA <manta@sci.utah.edu>
  • Subject: Re: [MANTA] Compiler flags to use with gcc and icc
  • Date: Wed, 28 Feb 2007 16:33:35 +0000

Abe

Many thanks for your replies to my previous queries which have greatly helped us
in our testing.

I have a few more questions concerning specific compiler optimizations to use.

Manta appears to be preconfigured (via cmake) to use only -03 with icc.
Why doesn't it also use -mcpu=itanium2 and -fast ?
The -g option is included in the release builds. Why is this ?

There are 2 SSE options visible in cmake (MANTA_SSE and MANTA_SSE_GCC)
which were preconfigured as follows:

                 gcc    icc
MANTA_SSE         OFF    ON
MANTA_SSE_GCC     OFF    OFF

For CC=icc, MANTA_SSE=ON by default

However, Manta fails to compile with error "Internal Error:Backend Signals" so
we had to turn it off. Should it be on by default ?

For CC=gcc, MANTA SSE_GCC=OFF by default

To use SSE I assume we just need to modify the above cmake options and add any
required flags to CMAKE_CXX_FLAGS (i.e. -msse and -msse2). Is this correct ?

Thanks again for your help.

--
Shree Pavar
Centre for Computational Science, UCL
http://www.chem.ucl.ac.uk/ccs/







Archive powered by MHonArc 2.6.16.

Top of page