Re: NCARG_ROOT

From: <dknollhoff_at_nyahnyahspammersnyahnyah>
Date: Fri Jan 24 2014 - 14:12:26 MST

Hi Mary,

I am still not having much success.

I typed in env | grep SHELL and got

SHELL=/bin/bash

When I typed in ls -la ~/ I did see the .bashrc file.

Where within this .bashrc file though do I insert the NCARG_ROOT environment variable and the search path lines? Within the .bashrc file, does it matter where I insert the following lines:?

export NCARG_ROOT=~/Downloads

export PATH=$NCARG_ROOT/bin:$PATH

With best regards,

Dave

-----Original Message-----

From: David Knollhoff [ mailto:dknollhoff@gvtc.com ]

Sent: Wednesday, January 22, 2014 6:16 PM

To: David Knollhoff

Subject: Fw: [ncl-install] NCARG_ROOT

----- Original Message -----

From: "Mary Haley" < haley@ucar.edu >

To: < dknollhoff@gvtc.com >

Sent: Wednesday, January 22, 2014 1:17 PM

Subject: Re: NCARG_ROOT

Hi Dave,

The files you edit depend on what shell you are running. Type:

env | grep SHELL

You should already have the file in your home directory. Type:

ls -la ~/

If you are running /usr/bash or /usr/ksh, then you may need to edit your

".profile" or ".login" or ".bashrc" file.

If you are running /usr/csh or /usr/tcsh, then look for ".cshrc" or

".tcshrc".

--Mary

On Jan 22, 2014, at 7:30 AM, dknollhoff@gvtc.com wrote:

> Hi Mary,

>

> Thank you for the guidance. One other question for now. What file(s) do

> I specifically edit for the NCARG_ROOT? I did read the link below that

> you included, however, per my novice experience, I am still not for sure

> what file or files I am looking for to edit. I really do appreciate your

> help and I have investigated the archived correspondences at NCL which are

> very helpful. Again thank you for your time.

>

> With best regards,

>

> Dave

>

> ----- Original Message -----

>

> Hi Dave,

>

> NCARG_ROOT needs to be set to the location where you see the "bin", "lib"

> and "include" directories that got created when you extracted the file.

>

> You currently have "bin", "lib", and "include" in your Download directory,

> which is not a recommended permanent place to install software.

>

> Normally I would suggest extracting the software in a directory like

> /usr/local. If you don't have permissions to do that, then you can put it

> somewhere in your home directory under a directory called "NCL", like

> "/home/dknollhoff/NCL" and then setting NCARG_ROOT to

> /home/dknollhoff/NCL

>

> Did you read this section on how to set NCARG_ROOT for your system:

>

> http://www.ncl.ucar.edu/Download/install.shtml#SetNCARG_ROOT

>

> --Mary

>

>

> On Jan 20, 2014, at 7:28 PM, dknollhoff@gvtc.com wrote:

>

>> I have downloaded the precompiled binary,

>> ncl_ncarg-6.1.2.Linux_Debian6.0_x86_64_nodap_gcc445.tar.gz. I extracted

>> the software to the my Download directory. The .gz file was removed.

>> Three directories (bin, include and lib) were created. I do not

>> understand where to set the NCARG_ROOT environment variable? What is the

>> naming convention of the NCL executables and accompanying files and what

>> subdirectory might they found in? There are examples of how to set the

>> environment variable, but I can not seem to find any of the example

>> files on my linux system?

>>

>> Thank you,

>>

>> Dave

>> _______________________________________________

>> 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 24 14:12:34 2014

This archive was generated by hypermail 2.1.8 : Fri Feb 07 2014 - 16:39:38 MST