[Insight-developers] Re: [Insight-users] Intel 8.0 Compiler

Simon Warfield warfield at bwh.harvard.edu
Mon Jul 26 10:04:59 EDT 2004


Hans Johnson wrote:

>Simon,
>
>You are correct.  I had also made this change, but forgot to commit the
>file to cvs.
>
>Hans
>  
>

Hans,

  I also found that the code in
Insight/Utilities/vxl/core/vnl/vnl_math.cxx
  that checks for the presence of the macro isinf  generates a compile 
error with the Intel compiler and default settings.

  This can be worked around by changing line 163 of that file to be:
#if defined(__INTEL_COMPILER) || defined(__GNUC__) || 
defined(VCL_METRO_WERKS)

  I would appreciate it if you could commit this change to the CVS 
repository too.

>
>On Sun, 2004-07-25 at 21:14, Simon Warfield wrote:
>  
>
>>Hans Johnson wrote:
>>
>>    
>>
>>>Simon,
>>>
>>>I think that I've just commited changes to the ITK cvs that allows vxl
>>>to compile under intel 8 compiler.  I can now build the ITK libraries
>>>with testing and example binaries without errors from the CVS release of
>>>ITK as of July 19, 10:14am CST.
>>>
>>> 
>>>
>>>      
>>>
>>Hi Hans,
>>
>>  I did a CVS checkout today, and I am still having a problem with the file:
>>Insight/Utilities/vxl/core/vnl/Templates/vcl_algorithm+vnl_bignum-.cxx
>>
>>  The VCL algorithm code for determining the compiler in 
>>Insight/Utilities/vxl/vcl/vcl_compiler.h identifies
>>the Intel compiler as asserting it is GCC and pulls in the following 
>>code with GNU_LIBSTDCXX_V3 defined:
>>
>>#ifdef GNU_LIBSTDCXX_V3
>># include <vcl_vector.h>
>>VCL_SORT_INSTANTIATE(vcl_vector<vnl_bignum>::iterator, vnl_bignum);
>>namespace std {
>>  template vnl_bignum* std::fill_n<vnl_bignum*, unsigned long, 
>>vnl_bignum>(vnl_bignum*, unsigned long, vnl_bignum const&);
>>}
>>#endif
>>
>>This code seems to have some problems (it shouldn't say std::fill_n 
>>inside a namespace std,  apparently there is no matching function).
>>
>>This compiles OK if I surround the lot with
>>#ifndef __INTEL_COMPILER
>>  ...
>>#endif
>>or set the compiler flag -no-gcc.
>>
>>    
>>
>>>I am, however, having problems with the TCL wrapping under the icc 8
>>>compiler.
>>>
>>>Hans
>>>
>>>
>>>On Tue, 2004-06-29 at 18:37, Simon Warfield wrote:
>>> 
>>>
>>>      
>>>
>>>>Hans Johnson wrote:
>>>>
>>>>   
>>>>
>>>>        
>>>>
>>>>>Hello All,
>>>>>
>>>>>I was wondering if anyone had had any luck with compiling ITK with the
>>>>>intel v8 compilers?
>>>>>
>>>>>I've noticed that cmake version 2 is necessary to correctly identifiy
>>>>>that this is NOT  the gnu compiler.
>>>>>
>>>>>There is a problem with vxl overloading and redefinition of finitef (and
>>>>>finite vs finitel).  I can work through some of these, but wanted to
>>>>>know if anyone else has had any sucess.
>>>>>
>>>>>
>>>>>     
>>>>>
>>>>>          
>>>>>
>>>>We made some progress on those issues, but didn't get completely done.
>>>>We would like to be using the Intel v8 compiler for ITK.
>>>>
>>>>   
>>>>
>>>>        
>>>>
>>>>>Regards,
>>>>>Hans
>>>>>
>>>>>
>>>>>_______________________________________________
>>>>>Insight-users mailing list
>>>>>Insight-users at itk.org
>>>>>http://www.itk.org/mailman/listinfo/insight-users
>>>>>
>>>>>
>>>>>     
>>>>>
>>>>>          
>>>>>
>>>_______________________________________________
>>>Insight-users mailing list
>>>Insight-users at itk.org
>>>http://www.itk.org/mailman/listinfo/insight-users
>>> 
>>>
>>>      
>>>
>
>_______________________________________________
>Insight-users mailing list
>Insight-users at itk.org
>http://www.itk.org/mailman/listinfo/insight-users
>  
>





More information about the Insight-developers mailing list