Re: wrapit architecture problem

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Tue Aug 24 2010 - 16:32:03 MDT

Hi Michael,

This is a 64-bit NCL binary you're using. Did you try using -m64 on the WRAPIT line?

I'm surprised that g77 even works. Is your g77 compiling in 32-bit or 64-bit mode by default?

--Mary

On Aug 24, 2010, at 2:45 PM, Michael Notaro wrote:

> When I use WRAPIT -g77, I am able to produce a .so file OK.
> But when I use NCL, wrapped to this .so file, I get the following error:
>
> warning:An error occurred loading the external file lpjmain_latest_cru.so, file not loaded
> dlopen(lpjmain_latest_cru.so, 2): no suitable image found. Did find:
> lpjmain_latest_cru.so: mach-o, but wrong architecture
>
> I am on a new intel mac, using OS X 10.6.4.
> NCL version 5.2.0. WRAPIT version 100111.
>
> Any ideas?
>
> Thanks,
> Michael
>
>
>
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue Aug 24 16:32:09 2010

This archive was generated by hypermail 2.1.8 : Wed Aug 25 2010 - 11:50:26 MDT