<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
I did some digging on this and what I have found so far is that the file ParaView3/VTK/Common/VTKType.h<div>has something that looks like a "hack" to turn off something. Down towards the bottom of the file is the following block:</div><div><br></div><div><div>/*--------------------------------------------------------------------------*/</div><div>/* Choose an implementation for vtkIdType.  */</div><div>#define VTK_HAS_ID_TYPE</div><div>#ifdef VTK_USE_64BIT_IDS</div><div># if defined(VTK_SIZEOF_LONG) &amp;&amp; VTK_SIZEOF_LONG == 8 &amp;&amp; 0</div><div>typedef long vtkIdType;</div><div>#  define VTK_SIZEOF_ID_TYPE VTK_SIZEOF_LONG</div><div>#  define VTK_LARGE_ID VTK_LONG_MAX</div><div># elif defined(VTK_TYPE_USE_LONG_LONG) &amp;&amp; VTK_SIZEOF_LONG_LONG == 8</div><div>typedef long long vtkIdType;</div><div>#  define VTK_SIZEOF_ID_TYPE VTK_SIZEOF_LONG_LONG</div><div>#  define VTK_LARGE_ID VTK_LONG_LONG_MAX</div><div># elif defined(VTK_TYPE_USE___INT64) &amp;&amp; VTK_SIZEOF___INT64 == 8</div><div>typedef __int64 vtkIdType;</div><div>#  define VTK_SIZEOF_ID_TYPE VTK_SIZEOF___INT64</div><div>#  define VTK_LARGE_ID VTK___INT64_MAX</div><div># else</div><div>#  error "VTK_USE_64BIT_IDS is ON but no 64-bit integer type is available."</div><div># endif</div><div>#else</div><div>typedef int vtkIdType;</div><div># define VTK_SIZEOF_ID_TYPE VTK_SIZEOF_INT</div><div># define VTK_LARGE_ID VTK_INT_MAX</div><div>#endif</div><div><br></div><div>The real line of interest is:</div><div># if defined(VTK_SIZEOF_LONG) &amp;&amp; VTK_SIZEOF_LONG == 8 &amp;&amp; 0</div><div><br></div><div>I guess some one put in the "&amp;&amp; 0" to disable that block permanently, this makes the compiler go to the next #elif which passes all of its tests and we get vtkIdType == "long long". </div><div><br></div><div>This becomes a problem because XdmfInt64 defines to "long". Thus the conflicting types and we get the error. I am not sure what the correct fix is though. Is this just an Intel Compiler thing? It seems that the Xdmf project is figuring out the type for XdmfInt64 in a slightly different manner than VTK. or the Xdmf project is interchanging vtkIdType, int, long and long long without proper regard. Don't know. </div><div><br></div><div>I am cross posting to the Xdmf list in the hopes someone there might be able to help.</div><div><br></div><div> <span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Bitstream Vera Sans; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">-- </div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Mike Jackson   Senior Research Engineer</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Innovative Management &amp; Technology Services</div><br class="Apple-interchange-newline"></span> </div><br><div><div>On Jun 16, 2008, at 4:21 PM, Randall Hand wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">yes I did, just this morning in fact.  By turning off "VTK_USE_64BIT_IDS", it compiled just fine.  <br><br><div class="gmail_quote">On Mon, Jun 16, 2008 at 3:19 PM, Mike Jackson &lt;<a href="mailto:imikejackson@gmail.com">imikejackson@gmail.com</a>> wrote:<br> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div style=""> Did you ever get past this? I hit the same error...<div><div class="Ih2E3d"><br><div> <span style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Bitstream Vera Sans; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div style="margin: 0px;"> -- </div><div style="margin: 0px;">Mike Jackson   Senior Research Engineer</div><div style="margin: 0px;">Innovative Management &amp; Technology Services</div><br></span> </div><br></div><div><div></div><div class="Wj3C7c"> <div><div>On Jun 13, 2008, at 1:38 PM, Randall Hand wrote:</div><br><blockquote type="cite">aaaarrrgh.. I spoke too soon.. Later in the compile:<br><br><div style="margin-left: 40px;"><span style="font-family: courier new,monospace;">/work1/rhand/Eagle/ParaView3/Utilities/Xdmf2/vtk/vtkXdmfWriter.cxx(831): error: more than one instance of overloaded function "XdmfArray::SetValue" matches the argument list:</span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">            function "XdmfArray::SetValue(XdmfInt64={long}, XdmfUInt8={unsigned char})"</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">            function "XdmfArray::SetValue(XdmfInt64={long}, XdmfUInt16={unsigned short})"</span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">            function "XdmfArray::SetValue(XdmfInt64={long}, XdmfUInt32={unsigned int})"</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">            function "XdmfArray::SetValue(XdmfInt64={long}, XdmfInt8={char})"</span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">            function "XdmfArray::SetValue(XdmfInt64={long}, XdmfInt16={short})"</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">            function "XdmfArray::SetValue(XdmfInt64={long}, XdmfInt32={int})"</span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">            function "XdmfArray::SetValue(XdmfInt64={long}, XdmfInt64={long})"</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">            function "XdmfArray::SetValue(XdmfInt64={long}, XdmfFloat32={float})"</span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">            function "XdmfArray::SetValue(XdmfInt64={long}, XdmfFloat64={double})"</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">            argument types are: (vtkIdType, long long)</span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">            object type is: XdmfArray</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">                  Data.SetValue(jj, val);</span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">                       ^</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">          detected during instantiation of "vtkIdType={long long} vtkXdmfWriterWriteXMLScalar(vtkXdmfWriter *, std::ostream &amp;, AType *, vtkDataSet *, int *, const char *, const char *, const char *, const char *, NType, int, int, int *, int) [with AType=vtkIdTypeArray, NType=long long]"</span><br style="font-family: courier new,monospace;"> <br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">/work1/rhand/Eagle/ParaView3/Utilities/Xdmf2/vtk/vtkXdmfWriter.cxx(842): error: no instance of overloaded function "XdmfArray::SetValues" matches the argument list</span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">            argument types are: (int, vtkIdType *, long long)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">            object type is: XdmfArray</span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">        Data.SetValues(0, array->GetPointer(0), array->GetNumberOfTuples() * array->GetNumberOfComponents());</span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">             ^</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">          detected during instantiation of "vtkIdType={long long} vtkXdmfWriterWriteXMLScalar(vtkXdmfWriter *, std::ostream &amp;, AType *, vtkDataSet *, int *, const char *, const char *, const char *, const char *, NType, int, int, int *, int) [with AType=vtkIdTypeArray, NType=long long]"</span><br style="font-family: courier new,monospace;"> <br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">compilation aborted for /work1/rhand/Eagle/ParaView3/Utilities/Xdmf2/vtk/vtkXdmfWriter.cxx (code 2)</span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">gmake[2]: *** [Utilities/Xdmf2/vtk/CMakeFiles/vtkXdmf.dir/vtkXdmfWriter.o] Error 2</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">gmake[1]: *** [Utilities/Xdmf2/vtk/CMakeFiles/vtkXdmf.dir/all] Error 2</span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">gmake: *** [all] Error 2</span><br style="font-family: courier new,monospace;"><br></div><br>Anything special about 'long long' ?<br><br><div class="gmail_quote"> On Fri, Jun 13, 2008 at 10:15 AM, Randall Hand &lt;<a href="mailto:randall.hand@gmail.com" target="_blank">randall.hand@gmail.com</a>> wrote:<br> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> Ok, for anyone watching this thread, I wanted to post an update. <br><br>The first problem (about _SC_GR0_OFFSET) was solved by switching from the icc 9.1.042 compilers to anything newer, in my case <a href="http://9.1.049." target="_blank">9.1.049.</a>  This, however, created another problem later in the compile where the libxml2 headers were all missing.<br> <br>After alot of digging &amp; help from the Kitware B-Trio (Bill, Berk, and Brad), I got past that by recompiling CMake for the ia64 architecture (with icc).  It seems the x86 compile doesn't entirely work on ia64 systems.  It works enough to confuse you, but not enough to actually complete the compile.  As of this writing, I'm 15% through compiling paraview and it's working fine so far.<br> <br><br><div class="gmail_quote">On Tue, Jun 10, 2008 at 8:53 AM, Berk Geveci &lt;<a href="mailto:berk.geveci@kitware.com" target="_blank">berk.geveci@kitware.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> I wonder if somehow a #define is screwing up symbols... Maybe you<br> could run the prepocessor and see if its output has anything unusual?<br> <font color="#888888"><br> -berk<br> </font><div><div></div><div><br> <br> On Tue, Jun 10, 2008 at 9:46 AM, Randall Hand &lt;<a href="mailto:randall.hand@gmail.com" target="_blank">randall.hand@gmail.com</a>> wrote:<br> > It's the 3.2.1 ParaView from CVS a while back, with CMake <a href="http://2.4.8." target="_blank">2.4.8.</a><br> ><br> > On Mon, Jun 9, 2008 at 8:09 PM, Berk Geveci &lt;<a href="mailto:berk.geveci@kitware.com" target="_blank">berk.geveci@kitware.com</a>> wrote:<br> >><br> >> This happens only with ParaView? Only with cvs ParaView?<br> >><br> >> -ber<br> >><br> >> On Mon, Jun 9, 2008 at 4:04 PM, Randall Hand &lt;<a href="mailto:randall.hand@gmail.com" target="_blank">randall.hand@gmail.com</a>><br> >> wrote:<br> >> > Right now, my compiles are failing like so:<br> >> ><br> >> > eagle-0:/work1/rhand/Eagle/PV-build/ gmake<br> >> > [ -3%] Building CXX object<br> >> > VTK/Utilities/kwsys/CMakeFiles/vtksys.dir/SystemTools.o<br> >> > /usr/include/sys/ucontext.h(52): error: expected a ")"<br> >> >             unsigned long _pad[_SC_GR0_OFFSET/8];<br> >> >                                ^<br> >> ><br> >> > compilation aborted for<br> >> > /work1/rhand/Eagle/ParaView3/VTK/Utilities/kwsys/SystemTools.cxx (code<br> >> > 2)<br> >> > gmake[2]: *** [VTK/Utilities/kwsys/CMakeFiles/vtksys.dir/SystemTools.o]<br> >> > Error 2<br> >> > gmake[1]: *** [VTK/Utilities/kwsys/CMakeFiles/vtksys.dir/all] Error 2<br> >> > gmake: *** [all] Error 2<br> >> ><br> >> > (yes, i know it shows a Negative progress, no I have no idea why).  I'm<br> >> > compiling with icc/icpc and linking against Mesa (with the<br> >> > linux-ia64-icc<br> >> > config).  Any ideas what's going on here?<br> >> > --<br> >> > ----------------------------------------<br> >> > Randall Hand<br> >> > Visualization Scientist<br> >> > ERDC MSRC-ITL<br> >> > _______________________________________________<br> >> > ParaView mailing list<br> >> > <a href="mailto:ParaView@paraview.org" target="_blank">ParaView@paraview.org</a><br> >> > <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br> >> ><br> >> ><br> ><br> ><br> ><br> > --<br> > ----------------------------------------<br> > Randall Hand<br> > Visualization Scientist<br> > ERDC MSRC-ITL<br> </div></div></blockquote></div><br><br clear="all"><br>-- <br>----------------------------------------<br> Randall Hand <br>Visualization Scientist<br>ERDC MSRC-ITL </blockquote></div><br><br clear="all"><br>-- <br>----------------------------------------<br>Randall Hand <br>Visualization Scientist<br>ERDC MSRC-ITL</blockquote> </div><br></div></div></div><font color="#888888"><br><br><div> <span style="border-collapse: separate; color: rgb(0, 0, 0); font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><span style="border-collapse: separate; color: rgb(0, 0, 0); font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><span style="border-collapse: separate; color: rgb(0, 0, 0); font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><span style="border-collapse: separate; color: rgb(0, 0, 0); font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><span style="border-collapse: separate; color: rgb(0, 0, 0); font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div> <br>--</div><div>Mike Jackson</div><div>imikejackson &amp; gmail * com</div></span></span></span></span></span> </div><br></font></div></blockquote></div><br><br clear="all"><br>-- <br>----------------------------------------<br> Randall Hand <br>Visualization Scientist<br>ERDC MSRC-ITL</blockquote></div><br></div></body></html>