Re: WRAPIT problem on mac

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Mon Nov 21 2011 - 15:34:53 MST

Hi Lei,

Both Dennis and I tried to reproduce your problem, but as we discussed offline, I think the problem is that you are using a Mac OS 10.6 binary under Mac OS 10.7.

Generally, things should work under Mac OS 10.7 with a 10.6 binary, but when you start involving the compilers, then you might run into issues if your compiler is a different version.

Is your gcc at version 4.2.1?

   gcc --version

One option is to download the source code and build it from source yourself. If you want to go this route, I will help you.

Another option is that I think Wei Huang, one of our developers, has a Mac OS 10.7 system. He might be able to provide you with a new "wrapit77" executable, which is what WRAPIT uses.

--Mary

On Nov 21, 2011, at 11:09 AM, Lei Meng wrote:

> hi Mary,
> I attached era40.f90, era40.stub, and test.ncl. It works on my computer if I remove the line write(*,*) "test = ", nlon.
> I downloaded ncl_ncarg-6.0.0.MacOS_10.6_64bit_gcc421.tar from https://www.earthsystemgrid.org/.
> Here is the report on my system:
> uname -a
> Darwin wireless96-032.wireless.wmich.edu 11.2.0 Darwin Kernel Version 11.2.0: Tue Aug 9 20:54:00 PDT 2011; root:xnu-1699.24.8~1/RELEASE_X86_64 x86_64
> which WRAPIT
> /usr/local/ncl/bin/WRAPIT
> which ncl
> /usr/local/ncl/bin/ncl
> ncl -V
> 6.0.0
> Please let me know if you need further information. Thanks again for your help.
> Lei
>
>
>
>
> On Mon, Nov 21, 2011 at 11:20 AM, Mary Haley <haley@ucar.edu> wrote:
> Hi Lei,
>
> I never heard back from the person who posted the problem you linked to below, so I'm not sure if a solution was found.
>
> Would you be able to send me the era40.f90 file, and a sample NCL script that calls it?
>
> What does the following report on your system, and which NCL binary did you download?
>
>
>
> --Mary
>
> On Nov 19, 2011, at 5:47 PM, Lei Meng wrote:
>
>> Hi,
>> I have similar problems with the reported one at http://www.ncl.ucar.edu/Support/install_archives/2011/0165.html. But I didn't see posted solutions.
>> Here is the error message I got:
>> At line 4 of file era40.f90 (unit = 6, file = 'stdout')
>> Internal Error: list_formatted_write(): Bad type
>> The error is from the line 4 : write(*,*) " success!". If I remove this line and it works fine.
>> I have OS X lion system on mac.
>> Any suggestions? Thanks,
>> Lei
>> _______________________________________________
>> ncl-talk mailing list
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
> <era40.f90><era40.stub><test.ncl>_______________________________________________
> 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 Mon Nov 21 15:35:04 2011

This archive was generated by hypermail 2.1.8 : Tue Nov 22 2011 - 14:17:52 MST