Fwd: [ncl-talk] wrapit, gfortran trouble

From: guangshan Chen <gchen9_at_nyahnyahspammersnyahnyah>
Date: Sat, 08 Dec 2007 22:49:21 -0600

Begin forwarded message:

> Hi Dennis,
>
> I downloaded the binary NCL 5.0 form ESG. It is named as NCL 5.0.0
> binary for PowerPC Mac (MacOS 10.4).
> And I tested same script as what I did. It showed the following
> errors:
>
> WRAPIT Version: 051007
> COMPILING tester.f
> LINKING
> END WRAPIT
>
> Copyright (C) 1995-2007 - All Rights Reserved
> University Corporation for Atmospheric Research
> NCAR Command Language Version 5.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 ./tester.so,
> file not loaded
> dlopen(./tester.so, 2): no suitable image found. Did find:
> ./tester.so: mach-o, but wrong architecture
> warning:error at line 6
>
> fatal:syntax error: line 14 before or near :
> SUB1:
> ----^
>
> fatal:error in statement
> fatal:Syntax Error in block, block not executed
> fatal:error at line 16
> ************************
>
> So I think this binary file maybe is not suitable for My Mac. My
> Mac is intel Mac (Mac OS 10.4).
> Could you or NCL world tell me where I can I get the binary file
> for intel Mac (Mac OS 10.4)?
>
> Thanks.
>
> Guangshan
>
>
> On Dec 6, 2007, at 2:03 PM, Dennis Shea wrote:
>
>> Hi Guangshan
>>
>> Thank you for answering.
>>
>> We like it when people contribute responses to ncl-talk.
>> Mike Notaro [U. Wisc] also answers occasionally.
>>
>> People learn more about a language when they try to
>> answer questions.
>>
>> THX again
>> D
>>
>> Guangshan chen wrote:
>>> Hi Matt,
>>>
>>> I changed a little bit your test.sh. Please see the attached
>>> file. Because the WRAPIT on my machine can not compile f90 program.
>>> Now it works fine.
>>>
>>> Here are the result:
>>> WRAPIT Version: 041106
>>> /sw/bin/g77
>>> COMPILING tester.f
>>> LINKING
>>> END WRAPIT
>>> Copyright (C) 1995-2004 - All Rights Reserved
>>> University Corporation for Atmospheric Research
>>> NCAR Command Language Version 4.2.0.a032
>>> The use of this software is governed by a License Agreement.
>>> See http://ngwww.ucar.edu/ncl/ for more details.
>>>
>>>
>>> Variable: ng
>>> Type: integer
>>> Total Size: 4 bytes
>>> 1 values
>>> Number of Dimensions: 1
>>> Dimensions and sizes: [1]
>>> Coordinates:

_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Sat Dec 08 2007 - 21:49:21 MST

This archive was generated by hypermail 2.2.0 : Tue Dec 11 2007 - 14:19:21 MST