<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Feb 24, 2011, at 8:48 AM, Joseph Cain wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>After signing off and back on again still have the wrong file on both the path and env??&nbsp;</div></div></blockquote><div><br></div>It looks like your .cshrc file is not getting "sourced" when you login. This could be because&nbsp;there's something wrong with it, or perhaps your default shell is not csh, but something&nbsp;else like bash.</div><div><br></div><div>Note that your NCARG_ROOT is set to&nbsp;/Applications/ncl_ncarg-5.1.1.MacOS_powerpc_9.7.0/bin. Which .* file in your home directory is setting this? This is probably the file you should modify to change NCARG_ROOT to the new path.</div><div><br></div><div>Also, when you run "ng4ex", you shouldn't put "./" in front of it, because then the operating&nbsp;system will think it is in your current working directory. &nbsp;Just type:</div><div><br></div><div>&nbsp;&nbsp; ng4ex gsun01n</div><div><br></div><div>and if your path environment variable is set correctly, your OS will find it.</div><div><br></div><div>I think you are going to run into further problems with the way you have DISPLAY set. I would try commenting this out, and let the OS try to figure out the correct setting for it. The way you have it below looks incorrect.</div><div><br></div><div>--Mary</div><div><br></div><div><br></div><div><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Joe-Mac-1008:~ josephcain$ more .cshrc</div><div>setenv NCARG_ROOT /Applications/ncl_ncarg-5.2.1.MacOS_10.6_i386_64bit_nodap_gcc421</div><div>setenv PATH /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/texbin:/usr/X11/bin:ncl_ncarg-5.2.1.MacOS_10.6_i386_64bit_nodap_gcc421/bin</div><div>setenv DISPLAY: 0.0</div><div>Joe-Mac-1008:~ josephcain$ ./ng4ex gsun01n</div><div>-bash: ./ng4ex: Permission denied</div><div>Joe-Mac-1008:~ josephcain$ tcsh</div><div>[Joe-Mac-1008:~] josephcain% ./ng4ex gsun01n</div><div>./ng4ex: Permission denied.</div><div>[Joe-Mac-1008:~] josephcain% ./ng4ex&nbsp;</div><div>./ng4ex: Permission denied.</div><div>[Joe-Mac-1008:~] josephcain% echo $path</div><div><font class="Apple-style-span" color="#F8608F">/usr/bin /bin /usr/sbin /sbin /usr/local/bin /usr/texbin /usr/X11/bin /Applications/ncl_ncarg-5.1.1.MacOS_powerpc_9.7.0/bin</font></div><div>[Joe-Mac-1008:~] josephcain% env |grep ncl</div><div>PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/texbin:/usr/X11/bin:/Applications/ncl_ncarg-5.1.1.MacOS_powerpc_9.7.0/bin</div><div>NCARG_ROOT=/Applications/ncl_ncarg-5.1.1.MacOS_powerpc_9.7.0</div><div>[Joe-Mac-1008:~] josephcain%&nbsp;</div><div><br></div></div>_______________________________________________<br>ncl-install mailing list<br>List instructions, subscriber options, unsubscribe:<br><a href="http://mailman.ucar.edu/mailman/listinfo/ncl-install">http://mailman.ucar.edu/mailman/listinfo/ncl-install</a><br></blockquote></div><br></body></html>