RE: [ncl-install] Unable to install ncl binaries on Mac

From: SMITH, JONATHAN WYNN. (GSFC-6133) <jonathan.smith_at_nyahnyahspammersnyahnyah>
Date: Fri Mar 19 2010 - 08:44:03 MDT

Mary,

Thanks a million. That was the trick.

Jonathan
-----Original Message-----
From: Mary Haley [mailto:haley@ucar.edu]
Sent: Friday, March 19, 2010 10:16 AM
To: SMITH, JONATHAN WYNN. (GSFC-6133)
Subject: Re: Unable to install ncl binaries on Mac

You need to set the NCARG_ROOT environment variable to

/Users/jonathanwsmith/ncl_ncarg-5.1.1.MacOS_i386_9.7.0

On Mar 19, 2010, at 8:08 AM, SMITH, JONATHAN WYNN. (GSFC-6133) wrote:

> Mary:
>
> I am not sure what is missing, I get the following error
>
> jwsmith:~ jonathanwsmith$ ng4ex xy01n -clean
> Resource directory </Users/jonathanwsmith/
> ncl_ncarg-5.1.1.MacOS_i386_9.7.0/lib/ncarg/lib/ncarg/resfiles> does
> not exist.
>
>
> Jonathan
> -----Original Message-----
> From: Mary Haley [mailto:haley@ucar.edu]
> Sent: Friday, March 19, 2010 10:02 AM
> To: SMITH, JONATHAN WYNN. (GSFC-6133)
> Subject: Re: Unable to install ncl binaries on Mac
>
>
> It looks like things are working then! Did you try "ng4ex" again?
> This time, do *not* put the "./" in front of it:
>
> ng4ex xy01n -clean
>
> --Mary
>
> On Mar 19, 2010, at 7:31 AM, SMITH, JONATHAN WYNN. (GSFC-6133) wrote:
>
>> Mary, the output is below:
>>
>> jwsmith:~ jonathanwsmith$ which ncl
>> /Users/jonathanwsmith/ncl_ncarg-5.1.1.MacOS_i386_9.7.0/bin/ncl
>> jwsmith:~ jonathanwsmith$ which ng4ex
>> /Users/jonathanwsmith/ncl_ncarg-5.1.1.MacOS_i386_9.7.0/bin/ng4ex
>> jwsmith:~ jonathanwsmith$
>>
>> Jonathan
>>
>> -----Original Message-----
>> From: Mary Haley [mailto:haley@ucar.edu]
>> Sent: Thursday, March 18, 2010 6:41 PM
>> To: SMITH, JONATHAN WYNN. (GSFC-6133)
>> Subject: Re: Unable to install ncl binaries on Mac
>>
>> I see that "ng4ex" is in the same directory as "ncl", so I'm not sure
>> how:
>>
>> which ncl
>> which ng4ex
>>
>> don't report the same directory.
>>
>> Can you type both of these commands and email me the exact output
>> that you see?
>>
>> --Mary
>>
>>
>> On Mar 18, 2010, at 3:50 PM, SMITH, JONATHAN WYNN. (GSFC-6133) wrote:
>>
>>> ls /Users/jonathanwsmith/ncl_ncarg-5.1.1.MacOS_i386_9.7.0
>>>
>>> bin include lib
>>>
>>> ls /Users/jonathanwsmith/ncl_ncarg-5.1.1.MacOS_i386_9.7.0/bin
>>>
>>>
>>> ConvertMapData ncargf77 pre2ncgm
>>> MakeNcl ncargf90 pre2ncgm.prog
>>> WRAPIT ncargfile psblack
>>> WriteLineFile ncargpath psplit
>>> WriteNameFile ncargrun pswhite
>>> WritePlotcharData ncargversion pwritxnt
>>> cgm2ncgm ncargworld ras2ccir601
>>> ctlib ncarlogo2ps rascat
>>> ctrans ncarvversion rasgetpal
>>> ezmapdemo ncgm2cgm rasls
>>> fcaps ncgmstat rassplit
>>> findg ncl rasstat
>>> fontc ncl_convert2nc rasview
>>> gcaps ncl_filedump scrip_check_input
>>> graphc ncl_grib2nc tdpackdemo
>>> ictrans ng4ex tgks0a
>>> idt nhlcc tlocal
>>> med nhlf77 wrapit77
>>> ncargcc nhlf90
>>> ncargex nnalg
>>>
>>> -----Original Message-----
>>> From: Mary Haley [mailto:haley@ucar.edu]
>>> Sent: Thursday, March 18, 2010 5:19 PM
>>> To: SMITH, JONATHAN WYNN. (GSFC-6133)
>>> Subject: Re: Unable to install ncl binaries on Mac
>>>
>>> Does it give you an error?
>>>
>>> What does:
>>>
>>> ls /Users/jonathanwsmith/ncl_ncarg-5.1.1.MacOS_i386_9.7.0
>>>
>>> and
>>>
>>> ls /Users/jonathanwsmith/ncl_ncarg-5.1.1.MacOS_i386_9.7.0/bin
>>>
>>> report?
>>>
>>> --Mary
>>>
>>>
>>> On Mar 18, 2010, at 10:39 AM, SMITH, JONATHAN WYNN. (GSFC-6133)
>>> wrote:
>>>
>>>> Mary,
>>>>
>>>> Nothing -> no output for which ng4ex
>>>>
>>>> Jonathan
>>>>
>>>> -----Original Message-----
>>>> From: Mary Haley [mailto:haley@ucar.edu]
>>>> Sent: Thursday, March 18, 2010 12:34 PM
>>>> To: SMITH, JONATHAN WYNN. (GSFC-6133)
>>>> Subject: Re: Unable to install ncl binaries on Mac
>>>>
>>>> What does
>>>>
>>>> which ng4ex
>>>>
>>>> say?
>>>>
>>>> --Mary
>>>>
>>>> On Mar 18, 2010, at 9:17 AM, SMITH, JONATHAN WYNN. (GSFC-6133)
>>>> wrote:
>>>>
>>>>> Mary,
>>>>>
>>>>> These are the output of the commands below
>>>>>
>>>>> NCARG_ROOT=/Users/jonathanwsmith/ncl_ncarg-5.1.1.MacOS_i386_9.7.0/
>>>>> lib/ncarg
>>>>>
>>>>> /Users/jonathanwsmith/ncl_ncarg-5.1.1.MacOS_i386_9.7.0/bin/ncl
>>>>>
>>>>> 5.1.1
>>>>>
>>>>> /Users/jonathanwsmith/ncl_ncarg-5.1.1.MacOS_i386_9.7.0/lib/ncarg/
>>>>> lib
>>>>>
>>>>> Thanks
>>>>> Jonathan
>>>>>
>>>>>
>>>>> -----Original Message-----
>>>>> From: Mary Haley [mailto:haley@ucar.edu]
>>>>> Sent: Thursday, March 18, 2010 11:05 AM
>>>>> To: SMITH, JONATHAN WYNN. (GSFC-6133)
>>>>> Subject: Re: Unable to install ncl binaries on Mac
>>>>>
>>>>> Hi Jonathan,
>>>>>
>>>>> I need more information.
>>>>>
>>>>> Can you type the following and send me all the output:
>>>>>
>>>>> env | grep NCARG
>>>>> which ncl
>>>>> ncl -V
>>>>> ncargpath lib
>>>>>
>>>>> Thanks,
>>>>>
>>>>> --Mary
>>>>>
>>>>> On Mar 17, 2010, at 3:43 PM, SMITH, JONATHAN WYNN. (GSFC-6133)
>>>>> wrote:
>>>>>
>>>>>> Hello Mary,
>>>>>>
>>>>>> I have used this and ncl did not install
>>>>>>
>>>>>> Jonathan
>>>>>>
>>>>>> -----Original Message-----
>>>>>> From: Mary Haley [mailto:haley@ucar.edu]
>>>>>> Sent: Wednesday, March 17, 2010 11:17 AM
>>>>>> To: SMITH, JONATHAN WYNN. (GSFC-6133)
>>>>>> Cc: ncl-install@ucar.edu
>>>>>> Subject: Re: Unable to install ncl binaries on Mac
>>>>>>
>>>>>> Jonathan,
>>>>>>
>>>>>> I think you need to simply set NCARG_ROOT to /Users/
>>>>>> jonathanwsmith/
>>>>>> ncl_ncarg-5.1.1.MacOS_i386_9.7.0
>>>>>>
>>>>>> --Mary
>>>>>>
>>>>>>
>>>>>> On Mar 16, 2010, at 3:31 PM, SMITH, JONATHAN WYNN. (GSFC-6133)
>>>>>> wrote:
>>>>>>
>>>>>>> Hello
>>>>>>>
>>>>>>> I have a macbook 10.5 Intel. I downloaded
>>>>>>> ncl_ncarg-5.1.1.MaOS_i386_9.7.0. It is in my home directory
>>>>>>> (Users/
>>>>>>> jonathanwsmith/). I am unsure of which file I should use to set
>>>>>>> the environmental variables in the directory. .profile is the
>>>>>>> one
>>>>>>> I have been using. It looks like the following:
>>>>>>>
>>>>>>> est -r /sw/bin/init.sh && . /sw/bin/init.sh
>>>>>>>
>>>>>>> ##
>>>>>>> # Your previous /Users/jonathanwsmith/.profile file was
>>>>>>> backed up
>>>>>>> as /Users/jonathanwsmith/.profile.macports-
>>>>>>> saved_2009-07-27_at_20:29:34
>>>>>>> ##
>>>>>>>
>>>>>>> # MacPorts Installer addition on 2009-07-27_at_20:29:34:
>>>>>>> adding an
>>>>>>> appropriate PATH variable for use with MacPorts.
>>>>>>> export PATH=/opt/local/bin:/opt/local/sbin:$PATH
>>>>>>> export GADDIR=/Users/jonathanwsmith/grads-1.9b4
>>>>>>> export GASCRP=/Users/jonathanwsmith/grads-1.9b4/lib
>>>>>>> export NCARG_ROOT=/Users/jonathanwsmith/
>>>>>>> ncl_ncarg-5.1.1.MacOS_i386_9.7.0/lib/ncarg
>>>>>>> export PATH=/Users/jonathanwsmith/
>>>>>>> ncl_ncarg-5.1.1.MacOS_i386_9.7.0/
>>>>>>> bin:$PATH
>>>>>>>
>>>>>>> # Finished adapting your PATH environment variable for use with
>>>>>>> MacPorts.
>>>>>>>
>>>>>>>
>>>>>>> # MacPorts Installer addition on 2009-07-27_at_20:29:34:
>>>>>>> adding an
>>>>>>> appropriate MANPATH variable for use with MacPorts.
>>>>>>> export MANPATH=/opt/local/share/man:$MANPATH
>>>>>>> # Finished adapting your MANPATH environment variable for use
>>>>>>> with
>>>>>>> MacPorts.
>>>>>>>
>>>>>>> I feel the settings above are correct.
>>>>>>>
>>>>>>> When I put in the following command I get an error
>>>>>>>
>>>>>>> jwsmith:~ jonathanwsmith$ ng4ex gsun01n
>>>>>>> Resource directory </Users/jonathanwsmith/
>>>>>>> ncl_ncarg-5.1.1.MacOS_i386_9.7.0/lib/ncarg/lib/ncarg/resfiles>
>>>>>>> does
>>>>>>> not exist.
>>>>>>>
>>>>>>> The resfiles are in this directory.
>>>>>>>
>>>>>>> I do not plan to use X11 because I will save the files as .ps
>>>>>>> or .pdf. Is X11 absolutley necessary?
>>>>>>>
>>>>>>> I am uncertain of what I am doing wrong
>>>>>>>
>>>>>>> I will take any suggestions:
>>>>>>>
>>>>>>> Jonathan
>>>>>>> _______________________________________________
>>>>>>> ncl-install mailing list
>>>>>>> List instructions, subscriber options, unsubscribe:
>>>>>>> http://mailman.ucar.edu/mailman/listinfo/ncl-install
>>>>>>
>>>>>
>>>>
>>>
>>
>
Received on Fri Mar 19 08:44:19 2010

This archive was generated by hypermail 2.1.8 : Wed May 26 2010 - 10:38:10 MDT