Hi Cody,

Thank you so much.

I will probably go with devel mode for now, but this is very good to know. 
Thank you especially for the details so that I can try your options as soon as 
devel mode does not help me any further.

-Anna







On 10 Sep 2010, at 17:24, Cody Permann wrote:

> Hum - XCode 3.2.3...
> 
> Apple made some significant changes in their linker beginning in version 
> 3.2.2.  Significant enough that all of our Intel compiled builds started Seg 
> faulting for those who clicked the automatic update from Apple.  I didn't do 
> extensive testing with GNU at the time but instead froze our site to XCode 
> 3.2.1 after recognizing the cause of the problem.  I believe that we have had 
> success with at least 3.2.2 and 4.5 but I'm not sure if anybody has used GNU 
> with the new XCode for sure yet at least in our group.  
> 
> More interesting data... 
> Intel is aware that there were linkage issues regarding their fortran 
> compiler and supposedly patched and released an update for XCode 3.2.2+ 
> users.  I tried the new compiler + current XCode yesterday on a clean system 
> and was met with 100% segfaults in all libmesh examples in opt and debug 
> mode.  Reverting to a previous version of XCode does fix the problem...  Note 
> that this is for Intel compilers but it still could have negative impacts on 
> any non-Apple compilers for all we know.
> 
> Right now I don't have a lot of time to work on the issue so let me instead 
> tell you what does work until somebody can get to the bottom of the problem.  
> GCC 4.2-4.6 all work with XCode 3.2.1 and earlier.  On my laptop right now I 
> have Xcode 3.2 and GCC 4.5 and it does work.  Here is my configure line for 
> mpich2 which we have been using for quite some time.
> 
>   ../configure 
> --prefix=/opt/packages/mpich2/mpich2-1.2.1/gnu-opt 
> --enable-sharedlibs=osx-gcc 
> CC=gcc 
> CXX=g++ 
> FC=gfortran 
> F90=gfortran 
> F77=gfortran 
> CFLAGS= 
> CXXFLAGS= 
> FFLAGS= 
> FCFLAGS= 
> F90FLAGS= 
> F77FLAGS= 
> MPICH2LIB_CFLAGS=-O3 
> MPICH2LIB_CXXFLAGS=-O3 
> MPICH2LIB_FFLAGS=-O3 
> MPICH2LIB_F90FLAGS=-O3
>  
> My build is a little more vanilla than yours - note that I don't have any 
> extra "enables" in my build with the exception of the sharedlibs.  My path is 
> correct to pick up the HPC version of the GCC compilers NOT THE APPLE 
> versions.  Finally all the extra flags are there to make sure I don't put any 
> flags into wrappers but that I can still compile the library itself in 
> optimized mode.  
> 
> I hope this helps,
> Cody
> 
> On Sep 10, 2010, at 2:46 PM, Anna-Lena Gerner wrote:
> 
>> 
>> On 10 Sep 2010, at 16:30, Cody Permann wrote:
>> 
>>> It could be some XCode issue.  What version of XCode do you have installed?
>>> 
>> 
>> 
>> I have installed version 3.2.3. 
>> 
>> Developer Information:
>> 
>>   Version:   3.2 (10M2262)
>>   Location:  /Developer
>>   Applications:
>>   Xcode:     3.2.3 (1688)
>>   Interface Builder: 3.2.3 (788)
>>   Instruments:       2.7 (2529)
>>   Dashcode:  3.0.1 (330)
>>   SDKs:
>>   Mac OS X:
>>   10.5:      (9L31a)
>>   10.6:      (10M2262)
>> 
>> 
>> -Anna
> 

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Libmesh-users mailing list
Libmesh-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to