<div dir="ltr"><div class="gmail_default" style="font-size:small">Hi Gaurav,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">You are installing an old version of NCL that is put in a somewhat non-standard location (the LINUX RPMs were not created by us). </div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">The issue is that because this is a non-standard installation, you need to have multiple environment variables like NCARG_ROOT, NCARG_LIB, and NCARG_NCARG set.  I think these should have been set for you, so I&#39;m not sure what happened.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">However, this is an old version of NCL, and I highly recommend installing the new version (6.4.0) which has many new features and bug fixes.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default"><a href="http://www.ncl.ucar.edu/current_release.shtml">http://www.ncl.ucar.edu/current_release.shtml</a><br></div><div class="gmail_default"><br></div><div class="gmail_default" style="font-size:small">I don&#39;t think the new version is available via a LINUX RPM yet, but you can use conda, which is similar. This will put everything in a singly contained directory:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default"><a href="http://www.ncl.ucar.edu/Download/conda.shtml">http://www.ncl.ucar.edu/Download/conda.shtml</a><br></div><div class="gmail_default"><br></div><div class="gmail_default">Please give this a try.  If you continue to have problems, then subscribe to ncl-install and post your question by sending an email to <a href="mailto:ncl-install@ucar.edu">ncl-install@ucar.edu</a>.</div><div class="gmail_default"><br></div><div class="gmail_default"><a href="http://mailman.ucar.edu/mailman/admin/ncl-install/">http://mailman.ucar.edu/mailman/admin/ncl-install/</a></div><div class="gmail_default"><br></div><div class="gmail_default">Thank you,</div><div class="gmail_default"><br></div><div class="gmail_default">--Mary</div><div class="gmail_default"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Apr 2, 2017 at 11:03 PM, Gaurav Tiwari <span dir="ltr">&lt;<a href="mailto:gaurav16@iiserb.ac.in" target="_blank">gaurav16@iiserb.ac.in</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi Mary,<br></div>I done the following commands as per your suggestion, just look at below:<br><div> <br>gaurav@2-Lenovo-S510:~/ncl_<wbr>scripts$ <span style="color:rgb(0,0,255)"><b>ncl -V</b><br><b>6.3.0</b></span><br>gaurav@2-Lenovo-S510:~/ncl_<wbr>scripts$ <span style="color:rgb(0,0,255)"><b>which ncl</b></span><br><span style="color:rgb(0,0,255)"><b>/usr/bin/ncl</b></span><br>gaurav@2-Lenovo-S510:~/ncl_<wbr>scripts$ <span style="color:rgb(0,0,255)"><b>env | grep NCARG</b></span><br>gaurav@2-Lenovo-S510:~/ncl_<wbr>scripts$ <br><br><br></div><div>Also, I run your script which is showing the same error given below:<br><br>gaurav@2-Lenovo-S510:~/ncl_<wbr>scripts$ <span style="color:rgb(0,0,255)"><b>ncl bullseye.ncl</b></span><br> <b>Copyright (C) 1995-2015 - All Rights Reserved<br> University Corporation for Atmospheric Research<br> NCAR Command Language Version 6.3.0<br> The use of this software is governed by a License Agreement.<br> See <a href="http://www.ncl.ucar.edu/" target="_blank">http://www.ncl.ucar.edu/</a> for more details.<span class=""><br>fatal:Undefined identifier: (gsn_csm_contour) is undefined, can&#39;t continue<br></span>fatal:[&quot;Execute.c&quot;:8575]:<wbr>Execute: Error occurred at or near line 13 in file bullseye.ncl</b><br></div><div><br></div></div><div class="gmail_extra"><span class=""><br clear="all"><div><div class="m_5169304599834570745gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><br><br><br>******************************<wbr>******************************<wbr>*************</div><b>Gaurav Tiwari</b><div>Research Scholar</div><div>Department of Earth and Environmental Sciences</div><div>Indian Institute of Science Education and Research Bhopal <br>(IISER B)</div><div>Bhopal- 462066, Madhya Pradesh</div><div>Email: <a href="mailto:saquib16@iiserb.ac.in" target="_blank">gaurav16@iiserb.ac.in</a></div><div>Mob: <a href="tel:+91%2074711%2012407" value="+917471112407" target="_blank">+91-7471112407</a><br><a href="https://www.linkedin.com/in/gaurav-tiwari-bb36357a?trk=hp-identity-name" target="_blank">LinkedIn</a>      <a href="https://www.researchgate.net/profile/Gaurav_Tiwari5" target="_blank">Research gate</a><br><br><br><br><br><b><i><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:green"><img src="cid:image001.png@01D23125.88F2F320" alt="Description: Description: Description: Description: Description: Description: Description: cid:image001.jpg@01CC2469.06E9E6A0" width="33" height="38" border="0"> </span></i></b><b><span style="font-size:10.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:green" lang="EN-GB">Please consider the environment before printing this e-mail</span></b></div></div></div></div></div></div></div></div></div></div></div></div>
<br></span><div class="gmail_quote">On Mon, Apr 3, 2017 at 2:26 AM,  <span dir="ltr">&lt;<a href="mailto:ncl-install-owner@ucar.edu" target="_blank">ncl-install-owner@ucar.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">You are not allowed to post to this mailing list, and your message has<br>
been automatically rejected.  If you think that your messages are<br>
being rejected in error, contact the mailing list owner at<br>
<a href="mailto:ncl-install-owner@ucar.edu" target="_blank">ncl-install-owner@ucar.edu</a>.<div><div class="h5"><br>
<br>
<br><br>---------- Forwarded message ----------<br>From: Gaurav Tiwari &lt;<a href="mailto:gaurav16@iiserb.ac.in" target="_blank">gaurav16@iiserb.ac.in</a>&gt;<br>To: Mary Haley &lt;<a href="mailto:haley@ucar.edu" target="_blank">haley@ucar.edu</a>&gt;<br>Cc: <a href="mailto:ncl-install@ucar.edu" target="_blank">ncl-install@ucar.edu</a><br>Bcc: <br>Date: Mon, 3 Apr 2017 02:26:47 +0530<br>Subject: Re: Error in running NCL on Ubuntu<br><div dir="auto">Thank you so much for your reply.<div dir="auto"><br></div><div dir="auto">Ok I will do as per your suggestions. Hopefully it should work otherwise I will let you know for the same.</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">Thanks and regards,</div><div dir="auto">Gaurav</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Apr 2, 2017 11:52 PM, &quot;Mary Haley&quot; &lt;<a href="mailto:haley@ucar.edu" target="_blank">haley@ucar.edu</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-size:small">Gaurav,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Your messages are not going to the ncl-install email list. Instead, they are getting bounced to the administrators of this email list because you are not subscribed to ncl-install.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">You need to to subscribe before you can email ncl-install:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default"><a href="http://mailman.ucar.edu/mailman/listinfo/ncl-install" target="_blank">http://mailman.ucar.edu/mailma<wbr>n/listinfo/ncl-install</a><br></div><div class="gmail_default"><br></div><div class="gmail_default">If you are using NCL V6.3.0, you shouldn&#39;t need to do anything special to use &quot;gsn_csm_contour&quot;. The fact that you are getting an &quot;undefined&quot; error leads me to believe that you might have multiple versions of NCL installed on your system, and that you might somehow be pointing to the older version.</div><div class="gmail_default"><br></div><div class="gmail_default">Or, perhaps there&#39;s something in your script that&#39;s causing NCL to think gsn_csm_contour is undefined.</div><div class="gmail_default"><br></div><div class="gmail_default">Can you run the attached script and see if it produces a PNG that looks like the attached PNG?  If you continue to get the error, then what does the following report (type this from a UNIX terminal):</div><div class="gmail_default"><br></div><div class="gmail_default">ncl -V</div><div class="gmail_default">which ncl</div><div class="gmail_default">env | grep NCARG</div><div class="gmail_default"><br></div><div class="gmail_default">Thanks,</div><div class="gmail_default"><br></div><div class="gmail_default">--Mary</div><div class="gmail_default"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Apr 2, 2017 at 7:27 AM, Gaurav Tiwari <span dir="ltr">&lt;<a href="mailto:gaurav16@iiserb.ac.in" target="_blank">gaurav16@iiserb.ac.in</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Thank you Rick for your reply.<br><br></div>Actually when I am running any NCL script in my Ubuntu machine, it is showing a type of error which is attached below:<br><br>fatal:Undefined identifier: (gsn_csm_contour) is undefined, can&#39;t continue<br>fatal:[&quot;Execute.c&quot;:8575]:Execu<wbr>te: Error occurred at or near line 30 in file exp.ncl<br><br></div>Please tell me some solution to overcome by this problem.<br></div><div class="gmail_extra"><br clear="all"><div><div class="m_5169304599834570745m_3454559021366534825m_3730603528356433031m_-804695429392126906gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><br><br><br>******************************<wbr>******************************<wbr>*************</div><span class="m_5169304599834570745m_3454559021366534825m_3730603528356433031HOEnZb"><font color="#888888"><b>Gaurav Tiwari</b><div>Research Scholar</div><div>Department of Earth and Environmental Sciences</div><div>Indian Institute of Science Education and Research Bhopal <br>(IISER B)</div><div>Bhopal- 462066, Madhya Pradesh</div></font></span><span><div>Email: <a href="mailto:saquib16@iiserb.ac.in" target="_blank">gaurav16@iiserb.ac.in</a></div><div>Mob: <a href="tel:+91%2074711%2012407" value="+917471112407" target="_blank">+91-7471112407</a><br><a href="https://www.linkedin.com/in/gaurav-tiwari-bb36357a?trk=hp-identity-name" target="_blank">LinkedIn</a>      <a href="https://www.researchgate.net/profile/Gaurav_Tiwari5" target="_blank">Research gate</a><br><br><br><br><br><b><i><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:green"><img src="cid:image001.png@01D23125.88F2F320" alt="Description: Description: Description: Description: Description: Description: Description: cid:image001.jpg@01CC2469.06E9E6A0" border="0" height="38" width="33"> </span></i></b><b><span style="font-size:10.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:green" lang="EN-GB">Please consider the environment before printing this e-mail</span></b></div></span></div></div></div></div></div></div></div></div></div></div></div><div><div class="m_5169304599834570745m_3454559021366534825m_3730603528356433031h5">
<br><div class="gmail_quote">On Sat, Apr 1, 2017 at 7:36 PM, Rick Brownrigg <span dir="ltr">&lt;<a href="mailto:brownrig@ucar.edu" target="_blank">brownrig@ucar.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi, <br><br></div><div>Many people run NCL on Ubuntu.  What specifically do you mean by &quot;...is not working&quot;?  <br><span class="m_5169304599834570745m_3454559021366534825m_3730603528356433031m_-804695429392126906HOEnZb"><font color="#888888"><br></font></span></div><span class="m_5169304599834570745m_3454559021366534825m_3730603528356433031m_-804695429392126906HOEnZb"><font color="#888888"><div>Rick<br></div></font></span></div><div class="m_5169304599834570745m_3454559021366534825m_3730603528356433031m_-804695429392126906HOEnZb"><div class="m_5169304599834570745m_3454559021366534825m_3730603528356433031m_-804695429392126906h5"><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Apr 1, 2017 at 4:42 AM, Gaurav Tiwari <span dir="ltr">&lt;<a href="mailto:gaurav16@iiserb.ac.in" target="_blank">gaurav16@iiserb.ac.in</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Hi, </div><div>I have installed NCAR Command Language 6.3.0. in my machine having OS Ubuntu 16.10 but when I am trying to run a script, NCAR Command Language is not working. </div><div>Kindly support to let me know that is NCAR Command Language is compatible with Ubuntu platform or not? </div><div><br></div><div><br></div><div><br></div><div><br></div><br>******************************<wbr>**</div><b>Gaurav Tiwari</b><div>India</div><div>Email: <a href="mailto:saquib16@iiserb.ac.in" target="_blank">gaurav16@iiserb.ac.in</a></div><div>Mob: <a href="tel:+91%2074711%2012407" value="+917471112407" target="_blank">+91-7471112407</a><br><a href="https://www.linkedin.com/in/gaurav-tiwari-bb36357a?trk=hp-identity-name" target="_blank">LinkedIn</a>      <a href="https://www.researchgate.net/profile/Gaurav_Tiwari5" target="_blank">Research gate</a><br><br><br><br><br><b><i><span style="font-size:12pt;font-family:&quot;times new roman&quot;,serif;color:green"><img src="cid:image001.png@01D23125.88F2F320" alt="Description: Description: Description: Description: Description: Description: Description: cid:image001.jpg@01CC2469.06E9E6A0" border="0" height="38" width="33"> </span></i></b><b><span style="font-size:10pt;font-family:&quot;times new roman&quot;,serif;color:green" lang="EN-GB">Please consider the environment before printing this e-mail</span></b></div>
</div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div></div></div>
</blockquote></div><br></div>
</blockquote></div></div>
<br></div></div></blockquote></div><br></div>
</blockquote></div><br></div>