Re: Question in regards to NCL installation -Derek Mallia

From: David Brown <dbrown_at_nyahnyahspammersnyahnyah>
Date: Fri Jan 21 2011 - 11:03:04 MST

Hi Derek,
If you are using the default shell (bash) on your Mac, you should edit the initialization file .bashrc or .bash_profile file that should be in your home directory. Note that since the file name begins with a '.' it will not be visible if you just do an 'ls'. You will see it if you do 'ls -a'. Anyway you should edit the file and add lines like the following depending on where you installed NCL:

export NCARG_ROOT=/usr/local/ncarg/
export PATH=$NCARG_ROOT/bin:$PATH

If you are starting up with a csh derivative the file name might be .cshrc and the syntax will be a little different. The http://www.ncl.ucar.edu/get_started.shtml#SetUpEnvironment page gives the csh commands. You can control the shell and init script used by opening the preferences for the Terminal program and looking at the 'Shell' tab. Hope this helps.
 -dave

On Jan 21, 2011, at 9:12 AM, Derek Mallia wrote:

> Hi,
>
> My name is Derek Mallia and I'm a graduate student over at Plymouth University and I intend to use NCL for my masters research and for some recreational work as well. Last night i tried installing NCL to my 2010 macbook pro with some success, however there was a minor problem after the installation. When I did the initial test after the installation was completed, the graph example worked perfectly fine, and whenever I typed ncl into the command line the ncl program would open up in my working directory. However a issue occurred when I exited and reopened the terminal as I had to re type the NCARG root and the path where my ncl path resides to get NCL to run again. Granted ncl does seem to run fine when I do this, however its abit of a pain to have to retype everything all over again.
>
> Some info on my comp and where my files are located:
>
> using a 2010 macbook pro using the following OS:
>
> ProductName: Mac OS X
> ProductVersion: 10.6.6
> BuildVersion: 10J567
>
> The binary that I downloaded was: ncl_ncarg-5.2.0.MacOS_10.6_i386_64bit_gcc421.tar
>
> The unbundled file is located in the following directory:
>
> /applications/ncl
>
> I'm guessing the issue likely has to do with me setting the path, though i'm not sure. If there is anything you could suggest to help me ressolve the issue it would be greatly appreciated. Also I'm not exactly totally proficient with unix commands and whatnot, so I may be a bit slow with the terminology!
>
> Thanks! =)
>
>
> Derek Mallia
>
>
> _______________________________________________
> 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 Jan 21 11:03:07 2011

This archive was generated by hypermail 2.1.8 : Mon Jan 31 2011 - 11:17:53 MST