Manta Interactive Ray Tracer Development Mailing List

Text archives Help


Re: [Manta] SSE problem


Chronological Thread 
  • From: Abe Stephens <abe@sci.utah.edu>
  • To: H.Sri-Narayana@cs.ucl.ac.uk
  • Cc: manta@sci.utah.edu
  • Subject: Re: [Manta] SSE problem
  • Date: Sun, 2 Dec 2007 13:35:08 -0700

On Dec 2, 2007, at 6:29 AM, H.Sri-Narayana@cs.ucl.ac.uk wrote:

If I try and compile r1891 I am told the 'SSE instruction set is not enabled.' The full error log is attached. I disabled GCC_SSE and SSE from the ccmake options and build/bin/manta runs ok, although I get a big performance hit. However if I compile r1889 then I can have the SSE flags on.

It looks like there were some major changes to the SSE logic for supporting non-unix systems which don't have the same set of common tools. 

Try running "make VERBOSE=1": you should see the SSE command line options when MANTA_SSE is enabled:

[  1%] Building CXX object CMakeFiles/About.dir/src/About.o
/usr/bin/c++   -Wall -Wno-strict-aliasing -DSCI_NOPERSISTENT -march=nocona -mtune=nocona   -msse -msse2 -msse3 -mfpmath=sse  -O3 -DNDEBUG -g3 -fgcse-sm -funroll-loops -fstrict-aliasing -fsched-interblock -ffast-math -freorder-blocks -I/Users/abe/Manta -I/Users/abe/Manta/build-leopard/include -I/usr/X11R6/include   -fPIC -o CMakeFiles/About.dir/src/About.o -c /Users/abe/Manta/build-leopard/src/About.cc

If they aren't there, you can add them to CMAKE_CXX_FLAGS manually. Alternatively roll back to 1889.

(Subquestion: How do I easily diff 2 svn versions from terminal? Should I checkout each version separately and then use diff? Or is there some nice in built svn way?)

Try: svn diff -r 1889:HEAD CMake/CheckSSE.cmake from the trunk's root directory.

Abe





Archive powered by MHonArc 2.6.16.

Top of page