Hi Helen,<br><br>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.<br>
<br>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.<br>
<br>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.<br><br>I hope have helped you.<br><br>
Best regards,<br><br>Mateus<br><br><br><div class="gmail_quote">2010/6/15 Helen Parish <span dir="ltr">&lt;<a href="mailto:hparish@ess.ucla.edu">hparish@ess.ucla.edu</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style="word-wrap: break-word;">
<div>Mateus,</div><div><br></div><div>Here are the lines from the old .cshrc file which work:</div><div><br></div><div><div>setenv NCARG_ROOT /Users/helenparish/nc</div><div>set path=(/Users/helenparish/nc/bin $path)</div>
<div>set path=(/Users/helenparish/bin $path)</div><div><br></div></div><div>Here are the lines from the new .cshrc:</div><div><br></div><div>setenv NCARG_ROOT /Volumes/&quot;HP Mac Disk 2&quot;/nc</div><div>set path=(/Volumes/&quot;HP Mac Disk 2&quot;/nc/bin $path)</div>
<div>set path=(/Volumes/&quot;HP Mac Disk 2&quot;/bin $path)</div><div><br></div><div>Note that the directory /bin simply contains the following:</div><div><br></div><div>g95 -&gt; /Users/helenparish/g95-install/bin/powerpc-apple-darwin6.8-g95</div>
<div><br></div><div>I was not sure exactly how to alter that line when moving directories, even though I had copied the</div><div>g95 directory to the new disk (as well as leaving a copy in the old home directory) so I also tried the following:</div>
<div><br></div><div><div>setenv NCARG_ROOT /Volumes/&quot;HP Mac Disk 2&quot;/nc</div><div>set path=(/Volumes/&quot;HP Mac Disk 2&quot;/nc/bin $path)</div><div>set path=(/Users/helenparish/bin $path)</div><div><br></div><div>
keeping the /bin in its original location.</div><div><br></div><div>I need to move ncl so that it will run from another directory, because it does not have sufficient memory</div><div>when running from the home directory (especially given the sizes of the files that i need to process using </div>
<div>ncl). I am not sure what happens even if I am still attempting to run g95 from the home directory given that I cannot</div><div>alter the g95 -&gt; statement above, or whether this matters in terms of how much memory is used in the home</div>
<div>directory. I am not sure if this has anything to do with the reason that the ncl command is not understood though. The</div><div>command ncl is not recognised as soon as I type it in.</div><div><br></div><div>Any help would be appreciated.</div>
<div><br></div><div>Thanks,</div><div>Helen.</div></div><div><br></div><div><br></div><div><div><div></div><div class="h5"><div>On Jun 12, 2010, at 3:07 PM, Mateus Teixeira wrote:</div><br></div></div><blockquote type="cite">
<div><div></div><div class="h5">Helen,<br><br>Can you provide the lines in both new and old .cshrc files?<br><br>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.<br>
 <br>Mateus<br><br><br><br><div class="gmail_quote">2010/6/12 Helen Parish <span dir="ltr">&lt;<a href="mailto:hparish@ess.ucla.edu" target="_blank">hparish@ess.ucla.edu</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
 I have been using NCL successfully for a while, with it installed in<br> my home (login) directory. I now want to be able to run the code from<br> another directory on the same computer.<br> <br> I have moved the /nc directory to the disk where I want to use the<br>
 code from. In my home directory I have changed the statements in<br> the .cshrc file beginning &quot;setenv NCARG_ROOT&quot;  and &quot;set path =&quot; , to<br> contain the new directory paths.<br> However, the command &quot;ncl&quot; is no longer recognised. If I move the /nc<br>
 directory back to its original location and replace the new .cshrc<br> with the old one then ncl works again.<br> <br> Does anyone know if there is something else I need to do in order to<br> get ncl working from a new directory ?.<br>
 <br> Thanks,<br> Helen.<br> _______________________________________________<br> ncl-install mailing list<br> List instructions, subscriber options, unsubscribe:<br> <a href="http://mailman.ucar.edu/mailman/listinfo/ncl-install" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-install</a><br>
 </blockquote></div><br><br clear="all"><br>-- <br>Mateus da Silva Teixeira<br><br>Registered Linux User #466740 (<a href="http://counter.li.org/" target="_blank">http://counter.li.org/</a>)<br> <br></div></div>-- <br>This message has been scanned for viruses and <br>
dangerous content by <a href="http://www.mailscanner.info/" target="_blank"><b>MailScanner</b></a>, and is <br>believed to be clean. </blockquote></div><br></div></blockquote></div><br><br clear="all"><br>-- <br>Mateus da Silva Teixeira<br>
<br>Registered Linux User #466740 (<a href="http://counter.li.org/">http://counter.li.org/</a>)<br>