Re: Fwd: Have anybody installed ncarg on Mac OS 10.6

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Fri Nov 06 2009 - 15:35:55 MST

On Nov 6, 2009, at 11:21 AM, guangshan chen wrote:

> Hi Mary,
>
> Thanks for your reply.
>
> Sourish Basu suggested me to use the precompiled NCL. So I
> downloaded a precompiled NCL binary for the website.
> There is "ncl" inside and it works. But when I can not use WRAPIT.
>
> Here is the information when I use WRAPIT:
>
> guangshan% WRAPIT calculate_distance_1d.f
>
> WRAPIT Version: 091416
> COMPILING calculate_distance_1d.f
> LINKING
> ld: warning: in calculate_distance_1d.o, file is not of required
> architecture
> END WRAPIT

Guangshan,

Can you run:

WRAPIT -d calculate_distance_1d.f

This will echo all the compilation that's taking place. I'm not
familiar with MacOS 10.6, but this may be a 32/64 compilation issue.
The NCL you have is 32-bit, and the compilation may be 64-bit.

>
>
> I first email this problem to Macport. Nobody answers to me. Do you
> know who built this ncarg port for Macport?

No, I'm sorry, I don't, but there's some information that comes up if
you google "macport ncl".

> I built all the external dependencies one by one using Macport. I
> think this is why I got the same problem as I build from source
> code. Unfortunately, I deleted the make-outfile now. I will rebuild
> it sometime today and send it to you offline.
>
> By the way, when I tried to build the dependencies of NCL, some
> dependencies I could not build successfully. What is the pre-
> required compliers or dependencies to build the dependencies of NCL?

These are listed at:

http://www.ncl.ucar.edu/Download/
build_from_src.shtml#BuildNonOptionalSoftware

This list is of the non-optional software, which includes NetCDF,
JPEG, zlib, and HDF4.

The following section covers the optional software, like GRIB2, HDF-
EOS, and Udunits.

There's detailed information about how to build each package.

The required compilers are basically gcc and gfortran. You can use
other compilers, but you will always need a basic C compiler and a
Fortran 77 compiler.

--Mary

>
> Guangshan
>
> On Nov 6, 2009, at 10:21 AM, Mary Haley wrote:
>
>> Guangshan,
>>
>> If you downloaded a precompiled NCL binary from the website, it
>> would definitely have "ncl" in $NCARG_ROOT/bin, or we would have
>> heard from a lot more users by now.
>>
>> The MacPort version is trying to build NCL from source code, so it
>> doesn't surprise me if it failed on your system. There are a lot
>> of external dependencies for NCL to be built correctly, and if any
>> one of these fail, then the build of the "ncl" executable is going
>> to fail as well. I'm not familiar with the MacPort build, so I'm
>> not sure what might have caused it to fail. However, I would
>> double-check that all the external dependencies built successfully.
>>
>> If you downloaded NCL source code from the ESG website and tried
>> to build it yourself, then chances are that it failed because of
>> the external dependencies as well.
>>
>> If you tried to build NCL from source code, then please email me
>> the "make-output" file offline. I'll take a look to see what the
>> problem is.
>>
>> --Mary
>>
>> On Nov 6, 2009, at 12:24 AM, guangshan chen wrote:
>>
>>> Hi all,
>>>
>>> I try two ways to install ncl on Mac OS 10.6.
>>>
>>> One is easy way using Macport. It shows there is no problem to
>>> install it. But I can not find ncl command in bin directory. I
>>> found the follows, such as WRAPIT.
>>>
>>> The other way is to following the NCL website to install it. I
>>> got the same.
>>>
>>> Have anybody met the same thing? Any suggestion?
>>>
>>> Thanks
>>>
>>> Guangshan
>>>
>>>
>>> Begin forwarded message:
>>>
>>>> From: guangshan chen <gchen9@gmail.com>
>>>> Date: November 5, 2009 9:07:40 PM CST
>>>> To: macports-users@lists.macosforge.org
>>>> Subject: Have anybody installed ncarg on Mac OS 10.6
>>>>
>>>> Hi there,
>>>>
>>>> Today I install ncarg on my Mac OS 10.6 using Macport. It shows
>>>> that ncarg has been installed.
>>>> But when I check /opt/local/bin, there is no "ncl" executable
>>>> command created.
>>>>
>>>> guangshan% sudo port install ncarg
>>>> ---> Computing dependencies for ncarg
>>>> ---> Fetching ncarg
>>>> ---> Verifying checksum(s) for ncarg
>>>> ---> Extracting ncarg
>>>> ---> Configuring ncarg
>>>> ---> Building ncarg
>>>> ---> Staging ncarg into destroot
>>>> ---> Installing ncarg @5.1.1_1
>>>> ---> Activating ncarg @5.1.1_1
>>>> ---> Cleaning ncarg
>>>>
>>>>
>>>> The following binary file installed:
>>>> -rwxr-xr-x 2 root admin 1742552 Nov 5 21:00 nnalg*
>>>> -rwxr-xr-x 2 root admin 451112 Nov 5 21:00 rascat*
>>>> -rwxr-xr-x 2 root admin 28528 Nov 5 21:00 ncgm2cgm*
>>>> -rwxr-xr-x 2 root admin 533 Nov 5 21:00 ncarvversion*
>>>> -rwxr-xr-x 2 root admin 63272 Nov 5 21:00 med*
>>>> -rwxr-xr-x 2 root admin 712840 Nov 5 21:00 ictrans*
>>>> -rwxr-xr-x 2 root admin 1003 Nov 5 21:00 gcaps*
>>>> -rwxr-xr-x 2 root admin 851 Nov 5 21:00 fcaps*
>>>> -rwxr-xr-x 2 root admin 653888 Nov 5 21:00 ctrans*
>>>> -rwxr-xr-x 2 root admin 846 Nov 5 21:00 ctlib*
>>>> -rwxr-xr-x 2 root admin 28600 Nov 5 21:00 cgm2ncgm*
>>>> -rwxr-xr-x 2 root admin 448928 Nov 5 21:00 rasview*
>>>> -rwxr-xr-x 2 root admin 433624 Nov 5 21:00 rasstat*
>>>> -rwxr-xr-x 2 root admin 420496 Nov 5 21:00 rassplit*
>>>> -rwxr-xr-x 2 root admin 433728 Nov 5 21:00 rasls*
>>>> -rwxr-xr-x 2 root admin 429936 Nov 5 21:00 rasgetpal*
>>>> -rwxr-xr-x 2 root admin 442408 Nov 5 21:00 ras2ccir601*
>>>> -rwxr-xr-x 2 root admin 38960 Nov 5 21:00 ncgmstat*
>>>> -rwxr-xr-x 2 root admin 73048 Nov 5 21:00 idt*
>>>> -rwxr-xr-x 2 root admin 59272 Nov 5 21:00 wrapit77*
>>>> -rwxr-xr-x 2 root admin 6322 Nov 5 21:00
>>>> scrip_check_input*
>>>> -rwxr-xr-x 2 root admin 2234 Nov 5 21:00 nhlf90*
>>>> -rwxr-xr-x 2 root admin 2234 Nov 5 21:00 nhlf77*
>>>> -rwxr-xr-x 2 root admin 2438 Nov 5 21:00 nhlcc*
>>>> -rwxr-xr-x 2 root admin 30531 Nov 5 21:00 ng4ex*
>>>> -rwxr-xr-x 2 root admin 2540 Nov 5 21:00 ncl_grib2nc*
>>>> -rwxr-xr-x 2 root admin 14179 Nov 5 21:00 ncl_filedump*
>>>> -rwxr-xr-x 2 root admin 47762 Nov 5 21:00 ncl_convert2nc*
>>>> -rwxr-xr-x 2 root admin 26600 Nov 5 21:00 WRAPIT*
>>>> drwxr-xr-x 803 root admin 27302 Nov 5 21:01 ./
>>>
>>> _______________________________________________
>>> ncl-install mailing list
>>> List instructions, subscriber options, unsubscribe:
>>> http://mailman.ucar.edu/mailman/listinfo/ncl-install
>>
>

_______________________________________________
ncl-install mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-install
Received on Fri Nov 6 15:35:20 2009

This archive was generated by hypermail 2.1.8 : Wed Nov 11 2009 - 12:51:06 MST