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

Martin Losch Martin.Losch at awi.de
Fri May 18 06:38:30 EDT 2012


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






More information about the MITgcm-support mailing list