Re: WRAPIT problem

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Tue Mar 16 2010 - 08:25:01 MDT

Jian,

It looks like you might be on a Mac system that's trying to compile
in 64-bit mode by default. You probably have an older version of
WRAPIT that was created before this kind of system existed.

Put the attached WRAPIT in the same directory as your files, and try
it with the "-m32" option:

   chmod gou+x WRAPIT
    ./WRAPIT -m32 quad90.stub quad.f90

If you need this to be a 64-bit compile (-m64), then you will need to
download a beta version of NCL 5.2.0 that was built on a 64-bit Mac
system.

--Mary

On Mar 15, 2010, at 2:39 PM, 凌健 wrote:

>
>
>
> Hi
>
> I follow the instruction of http://www.ncl.ucar.edu/Document/
> Tools/WRAPIT.shtml.
> when I run WRAPIT cquad90.stub cquad.f90, I got wrong message.
> does anyone know how to fix this problem.
>
> the Xcode version is 3.2, and the gfortran is downloaded from
> http://gcc.gnu.org/wiki/GFortranBinaries
>
>
> *******************
> [MBP] ~/LH $WRAPIT quad90.stub quad.f90
>
> WRAPIT Version: 091416
> COMPILING quad.f90
> LINKING
> ld: warning: in quad.o, file is not of required architecture
> ld: warning: in /usr/local/lib/libgfortran.dylib, file is not of
> required architecture
> END WRAPIT
>
> [MBP] ~/LH $uname -a
> Darwin ama.rsmas.miami.edu 10.2.0 Darwin Kernel Version 10.2.0: Tue
> Nov 3 10:37:10 PST 2009; root:xnu-1486.2.11~1/RELEASE_I386 i386
> *******************
>
> thanks.
>
> Jian
>
>
> _______________________________________________
> 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 Mar 16 08:25:57 2010

This archive was generated by hypermail 2.1.8 : Wed Mar 17 2010 - 13:00:16 MDT