[Insight-developers] vxl update

Matthew McCormick (thewtex) matt at mmmccormick.com
Wed Dec 8 13:59:46 EST 2010


It looks like the version of gcc4 installed was built without C++
support -- there is no g++4 and there is no libstdc++.

I suppose I could try building a custom g++ with a static libstdc++
and use the 'Vanilla' Condor universe, but I will just try to stick to
the versions of ITK that work with g++-3.4 for now.

I do agree that shifting optimizations away from gcc-3 to gcc-4 would
be good in general.  Eventually breaking gcc-3 support may be fine.
Maybe gcc-3.4 is a different story than gcc-3.3.  For now, thanks to
Brad K. for trying to keep the vxl support going.

Regards,
Matt

On Wed, Dec 8, 2010 at 12:04 PM, Matthew McCormick (thewtex)
<matt at mmmccormick.com> wrote:
> Cool.  Thanks.
>
> On Wed, Dec 8, 2010 at 12:02 PM, Hans Johnson <hans-johnson at uiowa.edu> wrote:
>> Here are the flags that we use for performance:
>>
>>
>> set ( CMAKE_CXX_FLAGS_RELEASE "-DNDEBUG -O3 -msse -mmmx -msse2 -m64 -Wall -W
>> -Wshadow -Wcast-qual -Wwrite-strings" CACHE STRING "" )
>>
>>
>> CC=gcc4 CXX=g++4 ccmake ../ITK
>>
>> Hans
>>
>> --
>> Hans J. Johnson, Ph.D.
>> Hans-johnson at uiowa.edu
>>
>> 278 GH
>> The University of Iowa
>> Iowa City, IA 52241
>> (319) 353 8587
>>
>>
>>> From: "Matthew McCormick (thewtex)" <matt at mmmccormick.com>
>>> Reply-To: "Matthew McCormick (thewtex)" <matt at mmmccormick.com>
>>> Date: Wed, 8 Dec 2010 11:50:32 -0600
>>> To: Hans Johnson <hans-johnson at uiowa.edu>
>>> Cc: Bill Lorensen <bill.lorensen at gmail.com>, ITK <insight-developers at itk.org>
>>> Subject: Re: [Insight-developers] vxl update
>>>
>>> Hi Hans,
>>>
>>> Here is what I get,
>>>
>>> mmmccormick at mpded ~$ gcc --version
>>> gcc (GCC) 3.4.6 20060404 (Red Hat 3.4.6-8)
>>>
>>> mmmccormick at mpded ~$ gcc4 --version
>>> gcc4 (GCC) 4.1.0 20060515 (Red Hat 4.1.0-18)
>>>
>>> I will try to see if I can use gcc4 over the next week, and we will
>>> see how it goes.
>>>
>>> Thanks,
>>> Matt
>>>
>>>
>>> On Wed, Dec 8, 2010 at 10:37 AM, Hans Johnson <hans-johnson at uiowa.edu> wrote:
>>>> Matthew,
>>>>
>>>> It is the default, but is gcc4 already installed?  I'm almost certain that
>>>> RedHat EL4 defaults to gcc3, but gcc4 is usually installed, or is easy to
>>>> install.
>>>>
>>>> Perhaps you are going to prove my hypothesis incorrect.
>>>>
>>>> PS:  I've found significant performance improvements when using gcc4.  If
>>>> performance is an issue, I'd recommend you use gcc4 in release mode.  There
>>>> are some compiler options that really help with performance that are only
>>>> available in gcc4.
>>>>
>>>>
>>>> Hans
>>>> --
>>>> Hans J. Johnson, Ph.D.
>>>> Hans-johnson at uiowa.edu
>>>>
>>>> 278 GH
>>>> The University of Iowa
>>>> Iowa City, IA 52241
>>>> (319) 353 8587
>>>>
>>>>
>>>>> From: "Matthew McCormick (thewtex)" <matt at mmmccormick.com>
>>>>> Reply-To: "Matthew McCormick (thewtex)" <matt at mmmccormick.com>
>>>>> Date: Wed, 8 Dec 2010 09:38:48 -0600
>>>>> To: Bill Lorensen <bill.lorensen at gmail.com>
>>>>> Cc: Hans Johnson <hans-johnson at uiowa.edu>, ITK <insight-developers at itk.org>
>>>>> Subject: Re: [Insight-developers] vxl update
>>>>>
>>>>> On Wed, Dec 8, 2010 at 9:08 AM, Bill Lorensen <bill.lorensen at gmail.com>
>>>>> wrote:
>>>>>> I don't think we should drop gcc 3.x. For example, my mingw gcc
>>>>>> compiler is 3.4.5 and builds ITK just fine. It is a recent download of
>>>>>> mingw.
>>>>>>
>>>>>> I'm sure there are a lot of folks out there still using gcc 3.x
>>>>>>
>>>>>
>>>>> It is default for the Condor cluster I use.
>>>>
>>>>
>>
>>
>


More information about the Insight-developers mailing list