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"><<a href="mailto:mike.jackson@bluequartz.net">mike.jackson@bluequartz.net</a>></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'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<<a href="mailto:luis.ibanez@kitware.com">luis.ibanez@kitware.com</a>> wrote:<br>
><br>
> Hi Mike,<br>
><br>
> It would seem that the VXL code is assuming that your compiler is<br>
> GCC and it trying to compile the Rounding section of code that<br>
> corresponds to the option:<br>
><br>
><br>
> #elif GCC_USE_FAST_IMPL // Fast gcc asm implementation<br>
><br>
> inline int vnl_math_rnd_halfinttoeven(float x)<br>
> {<br>
> # ifdef VNL_CHECK_FPU_ROUNDING_MODE<br>
> assert(fegetround()==FE_TONEAREST);<br>
> # endif<br>
> int r;<br>
> __asm__ __volatile__ ("fistpl %0" : "=m"(r) : "t"(x) : "st");<br>
> return r;<br>
> }<br>
> inline int vnl_math_rnd_halfinttoeven(double x)<br>
> {<br>
> # ifdef VNL_CHECK_FPU_ROUNDING_MODE<br>
> assert(fegetround()==FE_TONEAREST);<br>
> # endif<br>
> int r;<br>
> __asm__ __volatile__ ("fistpl %0" : "=m"(r) : "t"(x) : "st");<br>
> return r;<br>
> }<br>
><br>
> #elif VC_USE_FAST_IMPL<br>
><br>
><br>
><br>
> Did you set your CC and CXX environment variables<br>
> before running CMake ?<br>
><br>
><br>
> Are you sure that they are pointing to the SGI compiler ?<br>
> and to to GCC ?<br>
><br>
><br>
> Luis<br>
><br>
><br>
> ----------------------------------------------------------------<br>
> On Sat, Aug 15, 2009 at 3:53 PM, Mike Jackson <<a href="mailto:mike.jackson@bluequartz.net">mike.jackson@bluequartz.net</a>><br>
> wrote:<br>
>><br>
>> I am trying to compile ITK 3.14.0 on an IA64 platform (SGI Altix<br>
>> 3500). I get the following error:<br>
>><br>
>> [ 86%] Building CXX object<br>
>> Code/Numerics/CMakeFiles/ITKNumerics.dir/itkSPSAOptimizer.o<br>
>> cd /work1/jacksonm/InsightToolkit-3.14.0/Build/Code/Numerics &&<br>
>> /usr/bin/c++ -ftemplate-depth-50 -Wall -Wno-deprecated -O3 -DNDEBUG<br>
>> -I/work1/jacksonm/InsightToolkit-3.14.0/Build<br>
>> -I/work1/jacksonm/InsightToolkit-3.14.0/Code/Algorithms<br>
>> -I/work1/jacksonm/InsightToolkit-3.14.0/Code/BasicFilters<br>
>> -I/work1/jacksonm/InsightToolkit-3.14.0/Code/Common<br>
>> -I/work1/jacksonm/InsightToolkit-3.14.0/Code/Numerics<br>
>> -I/work1/jacksonm/InsightToolkit-3.14.0/Code/IO<br>
>> -I/work1/jacksonm/InsightToolkit-3.14.0/Code/Numerics/FEM<br>
>> -I/work1/jacksonm/InsightToolkit-3.14.0/Code/Numerics/NeuralNetworks<br>
>> -I/work1/jacksonm/InsightToolkit-3.14.0/Code/SpatialObject<br>
>> -I/work1/jacksonm/InsightToolkit-3.14.0/Utilities/MetaIO<br>
>> -I/work1/jacksonm/InsightToolkit-3.14.0/Utilities/NrrdIO<br>
>> -I/work1/jacksonm/InsightToolkit-3.14.0/Build/Utilities/NrrdIO<br>
>> -I/work1/jacksonm/InsightToolkit-3.14.0/Utilities/DICOMParser<br>
>> -I/work1/jacksonm/InsightToolkit-3.14.0/Build/Utilities/DICOMParser<br>
>> -I/work1/jacksonm/InsightToolkit-3.14.0/Build/Utilities/expat<br>
>> -I/work1/jacksonm/InsightToolkit-3.14.0/Utilities/expat<br>
>> -I/work1/jacksonm/InsightToolkit-3.14.0/Utilities/nifti/niftilib<br>
>> -I/work1/jacksonm/InsightToolkit-3.14.0/Utilities/nifti/znzlib<br>
>> -I/work1/jacksonm/InsightToolkit-3.14.0/Utilities/itkExtHdrs<br>
>> -I/work1/jacksonm/InsightToolkit-3.14.0/Build/Utilities<br>
>> -I/work1/jacksonm/InsightToolkit-3.14.0/Utilities<br>
>> -I/work1/jacksonm/InsightToolkit-3.14.0/Code/Numerics/Statistics<br>
>> -I/work1/jacksonm/InsightToolkit-3.14.0/Utilities/vxl/v3p/netlib<br>
>> -I/work1/jacksonm/InsightToolkit-3.14.0/Utilities/vxl/vcl<br>
>> -I/work1/jacksonm/InsightToolkit-3.14.0/Utilities/vxl/core<br>
>> -I/work1/jacksonm/InsightToolkit-3.14.0/Build/Utilities/vxl/v3p/netlib<br>
>> -I/work1/jacksonm/InsightToolkit-3.14.0/Build/Utilities/vxl/vcl<br>
>> -I/work1/jacksonm/InsightToolkit-3.14.0/Build/Utilities/vxl/core<br>
>> -I/work1/jacksonm/InsightToolkit-3.14.0/Build/Utilities/gdcm<br>
>> -I/work1/jacksonm/InsightToolkit-3.14.0/Utilities/gdcm/src<br>
>> -I/work1/jacksonm/InsightToolkit-3.14.0/Code/Review -o<br>
>> CMakeFiles/ITKNumerics.dir/itkSPSAOptimizer.o -c<br>
>> /work1/jacksonm/InsightToolkit-3.14.0/Code/Numerics/itkSPSAOptimizer.cxx<br>
>> /work1/jacksonm/InsightToolkit-3.14.0/Utilities/vxl/core/vnl/vnl_math.h:<br>
>> In member function ‘virtual void<br>
>> itk::SPSAOptimizer::GenerateDelta(unsigned int)’:<br>
>><br>
>> /work1/jacksonm/InsightToolkit-3.14.0/Utilities/vxl/core/vnl/vnl_math.h:220:<br>
>> error: unknown register name ‘st’ in ‘asm’<br>
>> make[2]: *** [Code/Numerics/CMakeFiles/ITKNumerics.dir/itkSPSAOptimizer.o]<br>
>> Error 1<br>
>> make[2]: Leaving directory `/work1/jacksonm/InsightToolkit-3.14.0/Build'<br>
>> make[1]: *** [Code/Numerics/CMakeFiles/ITKNumerics.dir/all] Error 2<br>
>> make[1]: Leaving directory `/work1/jacksonm/InsightToolkit-3.14.0/Build'<br>
>> make: *** [all] Error 2<br>
>><br>
>> Linux XXXX-0 2.6.16.54-0.2.12-default #1 SMP Fri Oct 24 02:16:38 UTC<br>
>> 2008 ia64 ia64 ia64 GNU/Linux<br>
>><br>
>> Here is from the CpuInfo:<br>
>><br>
>> processor : 0<br>
>> vendor : GenuineIntel<br>
>> arch : IA-64<br>
>> family : Itanium 2<br>
>> model : 2<br>
>> revision : 1<br>
>> archrev : 0<br>
>> features : branchlong<br>
>> cpu number : 0<br>
>> cpu regs : 4<br>
>> cpu MHz : 1600.000000<br>
>> itc MHz : 1600.000000<br>
>> BogoMIPS : 2392.06<br>
>> siblings : 1<br>
>><br>
>> Thanks<br>
>> _________________________________________________________<br>
>> Mike Jackson <a href="mailto:mike.jackson@bluequartz.net">mike.jackson@bluequartz.net</a><br>
>> BlueQuartz Software <a href="http://www.bluequartz.net" target="_blank">www.bluequartz.net</a><br>
>> Principal Software Engineer Dayton, Ohio<br>
>> _____________________________________<br>
>> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
>><br>
>> Visit other Kitware open-source projects at<br>
>> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
>><br>
>> Please keep messages on-topic and check the ITK FAQ at:<br>
>> <a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
>><br>
>> Follow this link to subscribe/unsubscribe:<br>
>> <a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
><br>
><br>
</div></div></blockquote></div><br>