<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Dear Yan Mi,<div><br></div><div>It looks like you set everything correctly.</div><div><br></div><div>The error message looks like it simply cannot execute the file for some reason, which could indicate that you have the wrong binary installed, or perhaps it doesn't have execute permissions.</div><div><br></div><div>Can you type the following and send me the output:</div><div><br></div><div><div> env | grep NCARG</div></div><div> which ncl</div><div> ls -l `which ncl`</div><div> uname -a</div><div><br></div><div>Thanks,</div><div><br></div><div>--Mary</div><div><br></div><div><br></div><div><div><div>On Jun 23, 2010, at 7:20 PM, 蜜严 wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="font-family: verdana, sans-serif; font-size: 13px; border-collapse: collapse; "><div><font size="2" face="Verdana">dear all,</font></div><div>I installed NCL on Linux once before, and can use it successfully. I reinstalled Linux a few days ago, and now I can't execute ncl.</div> <div><div>The source file I downloaded is "ncl_ncarg-5.1.1.Linux_x86_64_gcc412.tar".</div>I un-tar the file in the directory '/usr/local/ncl', and set environment:</div><div> </div><font size="2" face="Verdana"><div> export NCARG_ROOT=/usr/local/ncl</div><div><font><span class="Apple-style-span" style="background-color: rgb(255, 255, 255);">?export PATH=/usr/local/ncl/</span><span class="Apple-style-span" style="background-color: rgb(255, 255, 255);">bin:$PATH</span></font></div> <div><span class="Apple-style-span" style="background-color: rgb(255, 255, 255);"><font></font></span></div><div><font color="#ffffff"><font><font class="Apple-style-span" color="#000000"><span class="Apple-style-span" style="background-color: rgb(255, 255, 255);">?export PATH=~/bin:/usr/bin:/</span></font><font class="Apple-style-span" color="#000000"><span class="Apple-style-span" style="background-color: rgb(255, 255, 255);">bin/etc:/usr/X11R6/bin/:/usr/</span></font><span class="Apple-style-span" style="background-color: rgb(255, 255, 255);"><font class="Apple-style-span" color="#000000"><span class="Apple-style-span" style="background-color: rgb(255, 255, 255);">local/bin/:$NCARG_ROOT/bin</span></font> </span></font><font><span class="Apple-style-span" style="background-color: rgb(255, 204, 204);"><font class="Apple-style-span" color="#000000">(I dont know which one to choose, I tried both, and both wer</font></span></font><font><span class="Apple-style-span" style="background-color: rgb(255, 204, 204);"><font class="Apple-style-span" color="#000000">e failed.)</font></span></font></font></div> <div><span class="Apple-style-span" style="background-color: rgb(255, 204, 204);"><font></font></span></div><div><span class="Apple-style-span" style="background-color: rgb(255, 255, 255);">export DISPLAY=</span><a href="http://159.226.108.107:0/" target="_blank" style="color: rgb(42, 93, 176); "><span class="Apple-style-span" style="background-color: rgb(255, 255, 255);">159.226.108.</span><span class="Apple-style-span" style="background-color: rgb(255, 255, 255);">107:0</span></a></div> <div> </div><div>The problem I've got is:</div><div> </div><div>Liu:/usr/local/ncl/bin # ncl</div><div>-bash: /usr/local/bin/ncl: cannot execute binary file</div><div> </div><div>maybe I've made some stupid mistake. could u please tell me whether I missed something? and what should I do to deal with it?</div> <div>thank you in advance!</div><div>Yan Mi</div></font></span> _______________________________________________<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></div></body></html>