Re: [ncl-talk] [ncl-install] Moving NCL installation directory

From: Mateus Teixeira <mateus.teixeira_at_nyahnyahspammersnyahnyah>
Date: Tue Jun 15 2010 - 08:12:59 MDT

Hi Helen,

If I have understood correctly, you want to move to another directory
because of memory. I think that the memory that you refer is about disk
space. As soon as I know, the directory of the ncl files does not affect it.

If you are experiencing problems with your disk space executing your scripts
in your home directory, try to move only your data and script files to
another directory, keeping the ncl files in the initial location, i.e., the
locations in your old .cshrc.

If you are experiencing problems with memory, I think that you should talk
with your system administrator, since the location of a program does not
interfere in the memory usage.

I hope have helped you.

Best regards,

Mateus

2010/6/15 Helen Parish <hparish@ess.ucla.edu>

> Mateus,
>
> Here are the lines from the old .cshrc file which work:
>
> setenv NCARG_ROOT /Users/helenparish/nc
> set path=(/Users/helenparish/nc/bin $path)
> set path=(/Users/helenparish/bin $path)
>
> Here are the lines from the new .cshrc:
>
> setenv NCARG_ROOT /Volumes/"HP Mac Disk 2"/nc
> set path=(/Volumes/"HP Mac Disk 2"/nc/bin $path)
> set path=(/Volumes/"HP Mac Disk 2"/bin $path)
>
> Note that the directory /bin simply contains the following:
>
> g95 -> /Users/helenparish/g95-install/bin/powerpc-apple-darwin6.8-g95
>
> I was not sure exactly how to alter that line when moving directories, even
> though I had copied the
> g95 directory to the new disk (as well as leaving a copy in the old home
> directory) so I also tried the following:
>
> setenv NCARG_ROOT /Volumes/"HP Mac Disk 2"/nc
> set path=(/Volumes/"HP Mac Disk 2"/nc/bin $path)
> set path=(/Users/helenparish/bin $path)
>
> keeping the /bin in its original location.
>
> I need to move ncl so that it will run from another directory, because it
> does not have sufficient memory
> when running from the home directory (especially given the sizes of the
> files that i need to process using
> ncl). I am not sure what happens even if I am still attempting to run g95
> from the home directory given that I cannot
> alter the g95 -> statement above, or whether this matters in terms of how
> much memory is used in the home
> directory. I am not sure if this has anything to do with the reason that
> the ncl command is not understood though. The
> command ncl is not recognised as soon as I type it in.
>
> Any help would be appreciated.
>
> Thanks,
> Helen.
>
>
> On Jun 12, 2010, at 3:07 PM, Mateus Teixeira wrote:
>
> Helen,
>
> Can you provide the lines in both new and old .cshrc files?
>
> One alternative is to set NCARG_ROOT and PATH in the /etc/profile or other
> general configuration file available in your system. To avoid problems with
> different users I usually set these environmental variables in the
> /etc/profile of the system.
>
> Mateus
>
>
>
> 2010/6/12 Helen Parish <hparish@ess.ucla.edu>
>
>> I have been using NCL successfully for a while, with it installed in
>> my home (login) directory. I now want to be able to run the code from
>> another directory on the same computer.
>>
>> I have moved the /nc directory to the disk where I want to use the
>> code from. In my home directory I have changed the statements in
>> the .cshrc file beginning "setenv NCARG_ROOT" and "set path =" , to
>> contain the new directory paths.
>> However, the command "ncl" is no longer recognised. If I move the /nc
>> directory back to its original location and replace the new .cshrc
>> with the old one then ncl works again.
>>
>> Does anyone know if there is something else I need to do in order to
>> get ncl working from a new directory ?.
>>
>> Thanks,
>> Helen.
>> _______________________________________________
>> ncl-install mailing list
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-install
>>
>
>
>
> --
> Mateus da Silva Teixeira
>
> Registered Linux User #466740 (http://counter.li.org/)
>
> --
> This message has been scanned for viruses and
> dangerous content by *MailScanner* <http://www.mailscanner.info/>, and is
> believed to be clean.
>
>
>

-- 
Mateus da Silva Teixeira
Registered Linux User #466740 (http://counter.li.org/)

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue Jun 15 08:13:11 2010

This archive was generated by hypermail 2.1.8 : Fri Jul 02 2010 - 07:49:19 MDT