[MITgcm-support] can't compile checkpoint 63m on Mac OSX

Jean-Michel Campin jmc at ocean.mit.edu
Tue May 29 12:14:34 EDT 2012


Hi Madeline,

Did this issue got solved ?
I am surprised that the code (c63m) does not compile anymore 
but the older version (c63j) was working fine (same platform, same compiler).
Did you check carefully all the customized/config-specific files
you have in your code dir ? 

Cheers,
Jean-Michel

On Fri, May 18, 2012 at 12:38:30PM +0200, Martin Losch wrote:
> Hi Madeline,
> 
> this is what I do in such a case.
> 1. make sure that I really started from scratch, i.e. 
> make makefile && make CLEAN && make depend && make
> 2. check out different versions of the MITgcm starting from 63j ( in bash:
> for version in ( 63j 63k 63l 63m ); do
>  cvs co -r checkpoint$version MITgcm_code && mv MITgcm ckpt$version
> done
> )
> and find out when the problem starts.
> 
> Also did you try to uncomment
> CFLAGS='-arch i386'
> ?
> 
> Martin
> 
> On May 18, 2012, at 2:59 AM, Madeline Miller wrote:
> 
> > Dear List,
> > 
> > I updated from checkpoint 63j to 63m and can no longer compile on my laptop (Mac OSX, Snow Leopard, ia386). I am using the default option file 
> > darwin_ia32_gfortran, but I also tried to compile with the c63j version of darwin_ia32_gfortran, to no avail. I am pasting the error below. Any ideas for how to fix or work around this?
> > 
> > ld: warning: in gsl_ieee_env.o, file was built for unsupported file format which is not the architecture being linked (i386)
> > ld: warning: in ptwrapper.o, file was built for unsupported file format which is not the architecture being linked (i386)
> > ld: warning: in setrlstk.o, file was built for unsupported file format which is not the architecture being linked (i386)
> > ld: warning: in sigreg.o, file was built for unsupported file format which is not the architecture being linked (i386)
> > ld: warning: in tim.o, file was built for unsupported file format which is not the architecture being linked (i386)
> > ld: warning: in timer_stats.o, file was built for unsupported file format which is not the architecture being linked (i386)
> > Undefined symbols:
> >   "_cusertime_", referenced from:
> >       _timer_get_time__ in timers.o
> >   "_timenow_", referenced from:
> >       _timer_get_time__ in timers.o
> >   "_csystemtime_", referenced from:
> >       _timer_get_time__ in timers.o
> > ld: symbol(s) not found
> > collect2: ld returned 1 exit status
> > make: *** [mitgcmuv] Error 1
> > 
> > Best,
> > 
> > Madeline
> > 
> > 
> > 
> > _______________________________________________
> > MITgcm-support mailing list
> > MITgcm-support at mitgcm.org
> > http://mitgcm.org/mailman/listinfo/mitgcm-support
> 
> Martin Losch
> Martin.Losch at awi.de
> 
> 
> 
> 
> _______________________________________________
> MITgcm-support mailing list
> MITgcm-support at mitgcm.org
> http://mitgcm.org/mailman/listinfo/mitgcm-support



More information about the MITgcm-support mailing list