Hi Mike,<br><br>Thanks for the clarification.<br><br><ul><li>What version of GCC do you have in this SGI ?</li><li>Have you verified the settings of the environment variables CC and CXX ?</li><li>We have several Nightly builds with the ICC compiler, you may want to <br>
check the ITK Dashboard, to see what versions of ICC are known to work<br>with ITK.</li></ul><br>Regards,<br><br><br>       Luis<br><br><br>-----------------------------------------------------------------------------<br>
<br><div class="gmail_quote">On Sun, Aug 16, 2009 at 9:44 AM, Mike Jackson <span dir="ltr">&lt;<a href="mailto:mike.jackson@bluequartz.net">mike.jackson@bluequartz.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
My compiler _is_ GCC. The system may be an SGI but it is running SUSE<br>
Linux. I think they have ICC installed on the system so I might be<br>
able to try that. Don&#39;t usually have good luck with ICC and ITK<br>
though.<br>
_________________________________________________________<br>
<div class="im">Mike Jackson                  <a href="mailto:mike.jackson@bluequartz.net">mike.jackson@bluequartz.net</a><br>
<br>
</div><div><div></div><div class="h5">On Sat, Aug 15, 2009 at 10:21 PM, Luis Ibanez&lt;<a href="mailto:luis.ibanez@kitware.com">luis.ibanez@kitware.com</a>&gt; wrote:<br>
&gt;<br>
&gt; Hi Mike,<br>
&gt;<br>
&gt; It would seem that the VXL code is assuming that your compiler is<br>
&gt; GCC and it trying to compile the Rounding section of code that<br>
&gt; corresponds to the option:<br>
&gt;<br>
&gt;<br>
&gt; #elif GCC_USE_FAST_IMPL // Fast gcc asm implementation<br>
&gt;<br>
&gt; inline int vnl_math_rnd_halfinttoeven(float  x)<br>
&gt; {<br>
&gt; # ifdef VNL_CHECK_FPU_ROUNDING_MODE<br>
&gt;   assert(fegetround()==FE_TONEAREST);<br>
&gt; # endif<br>
&gt;   int r;<br>
&gt;   __asm__ __volatile__ (&quot;fistpl %0&quot; : &quot;=m&quot;(r) : &quot;t&quot;(x) : &quot;st&quot;);<br>
&gt;   return r;<br>
&gt; }<br>
&gt; inline int vnl_math_rnd_halfinttoeven(double  x)<br>
&gt; {<br>
&gt; # ifdef VNL_CHECK_FPU_ROUNDING_MODE<br>
&gt;   assert(fegetround()==FE_TONEAREST);<br>
&gt; # endif<br>
&gt;   int r;<br>
&gt;   __asm__ __volatile__ (&quot;fistpl %0&quot; : &quot;=m&quot;(r) : &quot;t&quot;(x) : &quot;st&quot;);<br>
&gt;   return r;<br>
&gt; }<br>
&gt;<br>
&gt; #elif VC_USE_FAST_IMPL<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Did you set your CC and CXX environment variables<br>
&gt; before running CMake ?<br>
&gt;<br>
&gt;<br>
&gt; Are you sure that they are pointing to the SGI compiler ?<br>
&gt; and to to GCC ?<br>
&gt;<br>
&gt;<br>
&gt;      Luis<br>
&gt;<br>
&gt;<br>
&gt; ----------------------------------------------------------------<br>
&gt; On Sat, Aug 15, 2009 at 3:53 PM, Mike Jackson &lt;<a href="mailto:mike.jackson@bluequartz.net">mike.jackson@bluequartz.net</a>&gt;<br>
&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; I am trying to compile ITK 3.14.0 on an IA64 platform (SGI Altix<br>
&gt;&gt; 3500). I get the following error:<br>
&gt;&gt;<br>
&gt;&gt; [ 86%] Building CXX object<br>
&gt;&gt; Code/Numerics/CMakeFiles/ITKNumerics.dir/itkSPSAOptimizer.o<br>
&gt;&gt; cd /work1/jacksonm/InsightToolkit-3.14.0/Build/Code/Numerics &amp;&amp;<br>
&gt;&gt; /usr/bin/c++    -ftemplate-depth-50 -Wall -Wno-deprecated -O3 -DNDEBUG<br>
&gt;&gt; -I/work1/jacksonm/InsightToolkit-3.14.0/Build<br>
&gt;&gt; -I/work1/jacksonm/InsightToolkit-3.14.0/Code/Algorithms<br>
&gt;&gt; -I/work1/jacksonm/InsightToolkit-3.14.0/Code/BasicFilters<br>
&gt;&gt; -I/work1/jacksonm/InsightToolkit-3.14.0/Code/Common<br>
&gt;&gt; -I/work1/jacksonm/InsightToolkit-3.14.0/Code/Numerics<br>
&gt;&gt; -I/work1/jacksonm/InsightToolkit-3.14.0/Code/IO<br>
&gt;&gt; -I/work1/jacksonm/InsightToolkit-3.14.0/Code/Numerics/FEM<br>
&gt;&gt; -I/work1/jacksonm/InsightToolkit-3.14.0/Code/Numerics/NeuralNetworks<br>
&gt;&gt; -I/work1/jacksonm/InsightToolkit-3.14.0/Code/SpatialObject<br>
&gt;&gt; -I/work1/jacksonm/InsightToolkit-3.14.0/Utilities/MetaIO<br>
&gt;&gt; -I/work1/jacksonm/InsightToolkit-3.14.0/Utilities/NrrdIO<br>
&gt;&gt; -I/work1/jacksonm/InsightToolkit-3.14.0/Build/Utilities/NrrdIO<br>
&gt;&gt; -I/work1/jacksonm/InsightToolkit-3.14.0/Utilities/DICOMParser<br>
&gt;&gt; -I/work1/jacksonm/InsightToolkit-3.14.0/Build/Utilities/DICOMParser<br>
&gt;&gt; -I/work1/jacksonm/InsightToolkit-3.14.0/Build/Utilities/expat<br>
&gt;&gt; -I/work1/jacksonm/InsightToolkit-3.14.0/Utilities/expat<br>
&gt;&gt; -I/work1/jacksonm/InsightToolkit-3.14.0/Utilities/nifti/niftilib<br>
&gt;&gt; -I/work1/jacksonm/InsightToolkit-3.14.0/Utilities/nifti/znzlib<br>
&gt;&gt; -I/work1/jacksonm/InsightToolkit-3.14.0/Utilities/itkExtHdrs<br>
&gt;&gt; -I/work1/jacksonm/InsightToolkit-3.14.0/Build/Utilities<br>
&gt;&gt; -I/work1/jacksonm/InsightToolkit-3.14.0/Utilities<br>
&gt;&gt; -I/work1/jacksonm/InsightToolkit-3.14.0/Code/Numerics/Statistics<br>
&gt;&gt; -I/work1/jacksonm/InsightToolkit-3.14.0/Utilities/vxl/v3p/netlib<br>
&gt;&gt; -I/work1/jacksonm/InsightToolkit-3.14.0/Utilities/vxl/vcl<br>
&gt;&gt; -I/work1/jacksonm/InsightToolkit-3.14.0/Utilities/vxl/core<br>
&gt;&gt; -I/work1/jacksonm/InsightToolkit-3.14.0/Build/Utilities/vxl/v3p/netlib<br>
&gt;&gt; -I/work1/jacksonm/InsightToolkit-3.14.0/Build/Utilities/vxl/vcl<br>
&gt;&gt; -I/work1/jacksonm/InsightToolkit-3.14.0/Build/Utilities/vxl/core<br>
&gt;&gt; -I/work1/jacksonm/InsightToolkit-3.14.0/Build/Utilities/gdcm<br>
&gt;&gt; -I/work1/jacksonm/InsightToolkit-3.14.0/Utilities/gdcm/src<br>
&gt;&gt; -I/work1/jacksonm/InsightToolkit-3.14.0/Code/Review   -o<br>
&gt;&gt; CMakeFiles/ITKNumerics.dir/itkSPSAOptimizer.o -c<br>
&gt;&gt; /work1/jacksonm/InsightToolkit-3.14.0/Code/Numerics/itkSPSAOptimizer.cxx<br>
&gt;&gt; /work1/jacksonm/InsightToolkit-3.14.0/Utilities/vxl/core/vnl/vnl_math.h:<br>
&gt;&gt; In member function ‘virtual void<br>
&gt;&gt; itk::SPSAOptimizer::GenerateDelta(unsigned int)’:<br>
&gt;&gt;<br>
&gt;&gt; /work1/jacksonm/InsightToolkit-3.14.0/Utilities/vxl/core/vnl/vnl_math.h:220:<br>
&gt;&gt; error: unknown register name ‘st’ in ‘asm’<br>
&gt;&gt; make[2]: *** [Code/Numerics/CMakeFiles/ITKNumerics.dir/itkSPSAOptimizer.o]<br>
&gt;&gt; Error 1<br>
&gt;&gt; make[2]: Leaving directory `/work1/jacksonm/InsightToolkit-3.14.0/Build&#39;<br>
&gt;&gt; make[1]: *** [Code/Numerics/CMakeFiles/ITKNumerics.dir/all] Error 2<br>
&gt;&gt; make[1]: Leaving directory `/work1/jacksonm/InsightToolkit-3.14.0/Build&#39;<br>
&gt;&gt; make: *** [all] Error 2<br>
&gt;&gt;<br>
&gt;&gt; Linux XXXX-0 2.6.16.54-0.2.12-default #1 SMP Fri Oct 24 02:16:38 UTC<br>
&gt;&gt; 2008 ia64 ia64 ia64 GNU/Linux<br>
&gt;&gt;<br>
&gt;&gt; Here is from the CpuInfo:<br>
&gt;&gt;<br>
&gt;&gt; processor  : 0<br>
&gt;&gt; vendor     : GenuineIntel<br>
&gt;&gt; arch       : IA-64<br>
&gt;&gt; family     : Itanium 2<br>
&gt;&gt; model      : 2<br>
&gt;&gt; revision   : 1<br>
&gt;&gt; archrev    : 0<br>
&gt;&gt; features   : branchlong<br>
&gt;&gt; cpu number : 0<br>
&gt;&gt; cpu regs   : 4<br>
&gt;&gt; cpu MHz    : 1600.000000<br>
&gt;&gt; itc MHz    : 1600.000000<br>
&gt;&gt; BogoMIPS   : 2392.06<br>
&gt;&gt; siblings   : 1<br>
&gt;&gt;<br>
&gt;&gt; Thanks<br>
&gt;&gt; _________________________________________________________<br>
&gt;&gt; Mike Jackson                  <a href="mailto:mike.jackson@bluequartz.net">mike.jackson@bluequartz.net</a><br>
&gt;&gt; BlueQuartz Software                    <a href="http://www.bluequartz.net" target="_blank">www.bluequartz.net</a><br>
&gt;&gt; Principal Software Engineer                  Dayton, Ohio<br>
&gt;&gt; _____________________________________<br>
&gt;&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;&gt;<br>
&gt;&gt; Visit other Kitware open-source projects at<br>
&gt;&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;&gt;<br>
&gt;&gt; Please keep messages on-topic and check the ITK FAQ at:<br>
&gt;&gt; <a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
&gt;&gt;<br>
&gt;&gt; Follow this link to subscribe/unsubscribe:<br>
&gt;&gt; <a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
&gt;<br>
&gt;<br>
</div></div></blockquote></div><br>