Text archives Help
- From: Christiaan Paul Gribble <cgribble@sci.utah.edu>
- To: manta@sci.utah.edu
- Subject: Re: [MANTA] 64-bit compilation
- Date: Sun, 4 Jun 2006 12:04:44 -0600
On Jun 4, 2006, at 11:46 AM, Abe Stephens wrote:
I've been working with the 32bit sse build, however I would imagine
that the 64 bit build would be necessary for some people on
arachne. Use the icc compilers in the cce/ sub directory to compile
64 bit on linux. On fisher, the compiler is 64 bit by default.
I couldn't get it to build with SSE in 32-bit mode, with either icc
(in cce/) or gcc (using "-m32"). Here's the error:
Building CXX object Model/CMakeFiles/Manta_Model.dir/Materials/Phong.o
/opt/intel/cce/9.0/bin/icpc -DManta_Model_EXPORTS -
DSCI_NOPERSISTENT -tpp7 -O3 -g -DSCI_ASSERTION_LEVEL=0 -fPIC -I/home/
sci/cgribble/Manta/build-arachne/include -I/usr/share/doc/
NVIDIA_GLX-1.0/include -I/home/sci/cgribble/Manta/src -I/home/sci/
cgribble/Manta/src/SCIRun -I/home/sci/cgribble/Manta/src/SCIRun/
include -I/home/sci/cgribble/research/code/ThirdParty/teem/include -
o Model/CMakeFiles/Manta_Model.dir/Materials/Phong.o -c /home/sci/
cgribble/Manta/src/Model/Materials/Phong.cc
/home/sci/cgribble/Manta/src/Model/Materials/Phong.cc(207): error:
invalid type conversion: "__m128={__m128}" to "__m128i={__m128}"
_mm_maskmoveu_si128((__m128i)_mm_add_ps(_mm_load_ps
(&ambientAndDiffuseLight[0][i]), _mm_mul_ps(lightr, cos_theta)),
(__m128i)mask, (char*)&ambientAndDiffuseLight[0][i]);
^
/home/sci/cgribble/Manta/src/Model/Materials/Phong.cc(207): error:
invalid type conversion: "__m128={__m128}" to "__m128i={__m128}"
_mm_maskmoveu_si128((__m128i)_mm_add_ps(_mm_load_ps
(&ambientAndDiffuseLight[0][i]), _mm_mul_ps(lightr, cos_theta)),
(__m128i)mask, (char*)&ambientAndDiffuseLight[0][i]);
^
Several similar errors are reported in Phong.cc before it chokes.
Has anyone else seen this problem and figured out a work around
without turning off SSE, or am I just doing something stupid with icpc?
C
Archive powered by MHonArc 2.6.16.