Re: problem of WRAPIT

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Fri Apr 13 2012 - 08:16:33 MDT

Try:

   WRAPIT -m64 ex.f

I think it was compiling ex.f in 32-bit mode, and you appear to be on a 64-bit system.

--Mary

On Apr 13, 2012, at 8:13 AM, hyliu wrote:

> Hello!
> My output is as follow:
>
> Copyright (C) 1995-2011 - All Rights Reserved
> University Corporation for Atmospheric Research
> NCAR Command Language Version 6.0.0
> The use of this software is governed by a License Agreement.
> See http://www.ncl.ucar.edu/ for more details.
> warning:An error occurred loading the external file ./ex.so, file not loaded
> dlopen(./ex.so, 2): no suitable image found. Did find:
> ./ex.so: mach-o, but wrong architecture
> warning:error at line 1 in file ex.ncl
>
> fatal:syntax error: line 8 in file ex.ncl before or near :
> EX:
> ----^
>
> fatal:error in statement
> fatal:Syntax Error in block, block not executed
> fatal:error at line 11 in file ex.ncl
>
> And my reports on my system is
>
> Darwin APPLEmatoMacBook-Air.local 11.3.0 Darwin Kernel Version 11.3.0: Thu Jan 12 18:47:41 PST 2012; root:xnu-1699.24.23~1/RELEASE_X86_64 x86_64
>
> In addition, I got the same problem on my linux system, the report is
>
> Linux haoyan 2.6.42.12-1.fc15.i686 #1 SMP Tue Mar 20 16:26:27 UTC 2012 i686 i686 i386 GNU/Linux
>
> Output is
>
> Copyright (C) 1995-2011 - All Rights Reserved
> University Corporation for Atmospheric Research
> NCAR Command Language Version 6.0.0
> The use of this software is governed by a License Agreement.
> See http://www.ncl.ucar.edu/ for more details.
> warning:An error occurred loading the external file ./ex.so, file not loaded
> ./ex.so: invalid ELF header
> warning:error at line 1 in file ex.ncl
>
> fatal:syntax error: line 8 in file ex.ncl before or near :
> EX:
> ----^
>
> fatal:error in statement
> fatal:Syntax Error in block, block not executed
> fatal:error at line 11 in file ex.ncl
>
> I have type
>
> wrapit ex.f
> ncl ex.ncl
>
> Thank you!
>
> Haoyan Liu.
>
>
> _______________________________________________
> 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 Fri Apr 13 08:16:47 2012

This archive was generated by hypermail 2.1.8 : Fri Apr 13 2012 - 13:37:52 MDT