<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div>Hi Gaurav,</div><div><br class=""></div><div>Could you please try adding the following lines to your ~/.bashrc file:</div><div><font face="Courier New" class="">export NCARG_ROOT="$(dirname "$(dirname "$(which conda)")")/envs/ncl_stable"</font></div><div><font face="Courier New" class="">export PATH="$NCARG_ROOT/bin:$PATH"</font></div><div><br class=""></div><div>After adding these lines, you will either need to run “source ~/.bashrc” or open a new shell instance in order to access the “ncl” command.</div><div><br class=""></div><div>Kevin</div><div><br class=""><blockquote type="cite" class=""><div dir="ltr" class=""><div class="gmail_default" style="font-size:small"><br class=""></div><div class="gmail_quote">---------- Forwarded message ----------<br class="">From: <b class="gmail_sendername">Gaurav Tiwari</b> <span dir="ltr" class="">&lt;<a href="mailto:gaurav16@iiserb.ac.in" class="">gaurav16@iiserb.ac.in</a>&gt;</span><br class="">Date: Mon, Apr 3, 2017 at 11:40 AM<br class="">Subject: Re: Error in running NCL on Ubuntu<br class="">To: Mary Haley &lt;<a href="mailto:haley@ucar.edu" class="">haley@ucar.edu</a>&gt;<br class=""><br class=""><br class=""><div dir="ltr" class=""><div class=""><div class=""><div class=""><div class="">Hi Mary,<br class=""><br class=""></div>&nbsp;&nbsp; Thank you for your reply. I have installed ncl 6.4.0. by using conda and now the scripts are working. <br class=""></div>But every time I have to use a command " source activate <i class="">ncl_stable " </i>after this only my scripts work. Is there any way to get rid off by this issue?<i class=""> <br class=""><br class=""></i></div><div class="">Following two commands I have used for the installation:<br class=""><br class=""><span style="color:rgb(0,0,255)" class="">conda create -n <i class="">ncl_stable</i> -c conda-forge ncl=6.4.0<br class=""><br class="">&nbsp;source activate <i class="">ncl_stable</i></span>
</div><div class=""><i class=""><br class=""><br class=""></i></div><i class="">Thank you,<br class=""><br class=""></i></div><i class="">--Gaurav<br class=""></i></div><div class="gmail_extra"><span class=""><br clear="all" class=""><div class=""><div class="m_7608390219873202477gmail_signature" data-smartmail="gmail_signature"><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><br class=""><br class=""><br class="">******************************<wbr class="">******************************<wbr class="">*************</div><b class="">Gaurav Tiwari</b><div class="">Research Scholar</div><div class="">Department of Earth and Environmental Sciences</div><div class="">Indian Institute of Science Education and Research Bhopal <br class="">(IISER B)</div><div class="">Bhopal- 462066, Madhya Pradesh</div><div class="">Email: <a href="mailto:saquib16@iiserb.ac.in" target="_blank" class="">gaurav16@iiserb.ac.in</a></div><div class="">Mob: <a href="tel:+91%2074711%2012407" value="+917471112407" target="_blank" class="">+91-7471112407</a><br class=""><a href="https://www.linkedin.com/in/gaurav-tiwari-bb36357a?trk=hp-identity-name" target="_blank" class="">LinkedIn</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="https://www.researchgate.net/profile/Gaurav_Tiwari5" target="_blank" class="">Research gate</a><br class=""><br class=""><br class=""><br class=""><br class=""><b class=""><i class=""><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:green" class=""><span id="cid:image001.png@01D23125.88F2F320">&lt;image001.png&gt;</span>&nbsp;</span></i></b><b class=""><span style="font-size:10.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:green" lang="EN-GB" class="">Please consider the environment before printing this e-mail</span></b></div></div></div></div></div></div></div></div></div></div></div></div>
<br class=""></span><div class=""><div class="h5"><div class="gmail_quote">On Mon, Apr 3, 2017 at 7:47 PM, Mary Haley <span dir="ltr" class="">&lt;<a href="mailto:haley@ucar.edu" target="_blank" class="">haley@ucar.edu</a>&gt;</span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class=""><div style="font-size:small" class="">Hi Gaurav,</div><div style="font-size:small" class=""><br class=""></div><div style="font-size:small" class="">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).&nbsp;</div><div style="font-size:small" class=""><br class=""></div><div style="font-size:small" class="">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.&nbsp; I think these should have been set for you, so I'm not sure what happened.</div><div style="font-size:small" class=""><br class=""></div><div style="font-size:small" class="">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 style="font-size:small" class=""><br class=""></div><div class=""><a href="http://www.ncl.ucar.edu/current_release.shtml" target="_blank" class="">http://www.ncl.ucar.edu/curren<wbr class="">t_release.shtml</a><br class=""></div><div class=""><br class=""></div><div style="font-size:small" class="">I don'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 style="font-size:small" class=""><br class=""></div><div class=""><a href="http://www.ncl.ucar.edu/Download/conda.shtml" target="_blank" class="">http://www.ncl.ucar.edu/Downlo<wbr class="">ad/conda.shtml</a><br class=""></div><div class=""><br class=""></div><div class="">Please give this a try.&nbsp; 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" target="_blank" class="">ncl-install@ucar.edu</a>.</div><div class=""><br class=""></div><div class=""><a href="http://mailman.ucar.edu/mailman/admin/ncl-install/" target="_blank" class="">http://mailman.ucar.edu/mailma<wbr class="">n/admin/ncl-install/</a></div><div class=""><br class=""></div><div class="">Thank you,</div><div class=""><br class=""></div><div class="">--Mary</div><div class=""><br class=""></div></div><div class="m_7608390219873202477HOEnZb"><div class="m_7608390219873202477h5"><div class="gmail_extra"><br class=""><div class="gmail_quote">On Sun, Apr 2, 2017 at 11:03 PM, Gaurav Tiwari <span dir="ltr" class="">&lt;<a href="mailto:gaurav16@iiserb.ac.in" target="_blank" class="">gaurav16@iiserb.ac.in</a>&gt;</span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class=""><div class="">Hi Mary,<br class=""></div>I done the following commands as per your suggestion, just look at below:<br class=""><div class="">&nbsp;<br class="">gaurav@2-Lenovo-S510:~/ncl_scr<wbr class="">ipts$ <span style="color:rgb(0,0,255)" class=""><b class="">ncl -V</b><br class=""><b class="">6.3.0</b></span><br class="">gaurav@2-Lenovo-S510:~/ncl_scr<wbr class="">ipts$ <span style="color:rgb(0,0,255)" class=""><b class="">which ncl</b></span><br class=""><span style="color:rgb(0,0,255)" class=""><b class="">/usr/bin/ncl</b></span><br class="">gaurav@2-Lenovo-S510:~/ncl_scr<wbr class="">ipts$ <span style="color:rgb(0,0,255)" class=""><b class="">env | grep NCARG</b></span><br class="">gaurav@2-Lenovo-S510:~/ncl_scr<wbr class="">ipts$ <br class=""><br class=""><br class=""></div><div class="">Also, I run your script which is showing the same error given below:<br class=""><br class="">gaurav@2-Lenovo-S510:~/ncl_scr<wbr class="">ipts$ <span style="color:rgb(0,0,255)" class=""><b class="">ncl bullseye.ncl</b></span><br class="">&nbsp;<b class="">Copyright (C) 1995-2015 - All Rights Reserved<br class="">&nbsp;University Corporation for Atmospheric Research<br class="">&nbsp;NCAR Command Language Version 6.3.0<br class="">&nbsp;The use of this software is governed by a License Agreement.<br class="">&nbsp;See <a href="http://www.ncl.ucar.edu/" target="_blank" class="">http://www.ncl.ucar.edu/</a> for more details.<span class=""><br class="">fatal:Undefined identifier: (gsn_csm_contour) is undefined, can't continue<br class=""></span>fatal:["Execute.c":8575]:Execu<wbr class="">te: Error occurred at or near line 13 in file bullseye.ncl</b><br class=""></div><div class=""><br class=""></div></div><div class="gmail_extra"><span class=""><br clear="all" class=""><div class=""><div class="m_7608390219873202477m_1557624709094639659m_5169304599834570745gmail_signature" data-smartmail="gmail_signature"><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><br class=""><br class=""><br class="">******************************<wbr class="">******************************<wbr class="">*************</div><b class="">Gaurav Tiwari</b><div class="">Research Scholar</div><div class="">Department of Earth and Environmental Sciences</div><div class="">Indian Institute of Science Education and Research Bhopal <br class="">(IISER B)</div><div class="">Bhopal- 462066, Madhya Pradesh</div><div class="">Email: <a href="mailto:saquib16@iiserb.ac.in" target="_blank" class="">gaurav16@iiserb.ac.in</a></div><div class="">Mob: <a href="tel:+91%2074711%2012407" value="+917471112407" target="_blank" class="">+91-7471112407</a><br class=""><a href="https://www.linkedin.com/in/gaurav-tiwari-bb36357a?trk=hp-identity-name" target="_blank" class="">LinkedIn</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="https://www.researchgate.net/profile/Gaurav_Tiwari5" target="_blank" class="">Research gate</a><br class=""><br class=""><br class=""><br class=""><br class=""><b class=""><i class=""><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:green" class=""><span id="cid:image001.png@01D23125.88F2F320">&lt;image001.png&gt;</span>&nbsp;</span></i></b><b class=""><span style="font-size:10.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:green" lang="EN-GB" class="">Please consider the environment before printing this e-mail</span></b></div></div></div></div></div></div></div></div></div></div></div></div>
<br class=""></span><div class="gmail_quote">On Mon, Apr 3, 2017 at 2:26 AM,  <span dir="ltr" class="">&lt;<a href="mailto:ncl-install-owner@ucar.edu" target="_blank" class="">ncl-install-owner@ucar.edu</a>&gt;</span> wrote:<br class=""><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 class="">
been automatically rejected.&nbsp; If you think that your messages are<br class="">
being rejected in error, contact the mailing list owner at<br class="">
<a href="mailto:ncl-install-owner@ucar.edu" target="_blank" class="">ncl-install-owner@ucar.edu</a>.<div class=""><div class="m_7608390219873202477m_1557624709094639659h5"><br class="">
<br class="">
<br class=""><br class="">---------- Forwarded message ----------<br class="">From:&nbsp;Gaurav Tiwari &lt;<a href="mailto:gaurav16@iiserb.ac.in" target="_blank" class="">gaurav16@iiserb.ac.in</a>&gt;<br class="">To:&nbsp;Mary Haley &lt;<a href="mailto:haley@ucar.edu" target="_blank" class="">haley@ucar.edu</a>&gt;<br class="">Cc:&nbsp;<a href="mailto:ncl-install@ucar.edu" target="_blank" class="">ncl-install@ucar.edu</a><br class="">Bcc:&nbsp;<br class="">Date:&nbsp;Mon, 3 Apr 2017 02:26:47 +0530<br class="">Subject:&nbsp;Re: Error in running NCL on Ubuntu<br class=""><div dir="auto" class="">Thank you so much for your reply.<div dir="auto" class=""><br class=""></div><div dir="auto" class="">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" class=""><br class=""></div><div dir="auto" class=""><br class=""></div><div dir="auto" class="">Thanks and regards,</div><div dir="auto" class="">Gaurav</div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Apr 2, 2017 11:52 PM, "Mary Haley" &lt;<a href="mailto:haley@ucar.edu" target="_blank" class="">haley@ucar.edu</a>&gt; wrote:<br type="attribution" class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class=""><div style="font-size:small" class="">Gaurav,</div><div style="font-size:small" class=""><br class=""></div><div style="font-size:small" class="">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 style="font-size:small" class=""><br class=""></div><div style="font-size:small" class="">You need to to subscribe before you can email ncl-install:</div><div style="font-size:small" class=""><br class=""></div><div class=""><a href="http://mailman.ucar.edu/mailman/listinfo/ncl-install" target="_blank" class="">http://mailman.ucar.edu/mailma<wbr class="">n/listinfo/ncl-install</a><br class=""></div><div class=""><br class=""></div><div class="">If you are using NCL V6.3.0, you shouldn't need to do anything special to use "gsn_csm_contour". The fact that you are getting an "undefined" 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=""><br class=""></div><div class="">Or, perhaps there's something in your script that's causing NCL to think gsn_csm_contour is undefined.</div><div class=""><br class=""></div><div class="">Can you run the attached script and see if it produces a PNG that looks like the attached PNG?&nbsp; If you continue to get the error, then what does the following report (type this from a UNIX terminal):</div><div class=""><br class=""></div><div class="">ncl -V</div><div class="">which ncl</div><div class="">env | grep NCARG</div><div class=""><br class=""></div><div class="">Thanks,</div><div class=""><br class=""></div><div class="">--Mary</div><div class=""><br class=""></div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Sun, Apr 2, 2017 at 7:27 AM, Gaurav Tiwari <span dir="ltr" class="">&lt;<a href="mailto:gaurav16@iiserb.ac.in" target="_blank" class="">gaurav16@iiserb.ac.in</a>&gt;</span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class=""><div class=""><div class="">Thank you Rick for your reply.<br class=""><br class=""></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 class=""><br class="">fatal:Undefined identifier: (gsn_csm_contour) is undefined, can't continue<br class="">fatal:["Execute.c":8575]:Execu<wbr class="">te: Error occurred at or near line 30 in file exp.ncl<br class=""><br class=""></div>Please tell me some solution to overcome by this problem.<br class=""></div><div class="gmail_extra"><br clear="all" class=""><div class=""><div class="m_7608390219873202477m_1557624709094639659m_5169304599834570745m_3454559021366534825m_3730603528356433031m_-804695429392126906gmail_signature" data-smartmail="gmail_signature"><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><br class=""><br class=""><br class="">******************************<wbr class="">******************************<wbr class="">*************</div><span class="m_7608390219873202477m_1557624709094639659m_5169304599834570745m_3454559021366534825m_3730603528356433031HOEnZb"><font color="#888888" class=""><b class="">Gaurav Tiwari</b><div class="">Research Scholar</div><div class="">Department of Earth and Environmental Sciences</div><div class="">Indian Institute of Science Education and Research Bhopal <br class="">(IISER B)</div><div class="">Bhopal- 462066, Madhya Pradesh</div></font></span><span class=""><div class="">Email: <a href="mailto:saquib16@iiserb.ac.in" target="_blank" class="">gaurav16@iiserb.ac.in</a></div><div class="">Mob: <a href="tel:+91%2074711%2012407" value="+917471112407" target="_blank" class="">+91-7471112407</a><br class=""><a href="https://www.linkedin.com/in/gaurav-tiwari-bb36357a?trk=hp-identity-name" target="_blank" class="">LinkedIn</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="https://www.researchgate.net/profile/Gaurav_Tiwari5" target="_blank" class="">Research gate</a><br class=""><br class=""><br class=""><br class=""><br class=""><b class=""><i class=""><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:green" class=""><span id="cid:image001.png@01D23125.88F2F320">&lt;image001.png&gt;</span>&nbsp;</span></i></b><b class=""><span style="font-size:10.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:green" lang="EN-GB" class="">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 class=""><div class="m_7608390219873202477m_1557624709094639659m_5169304599834570745m_3454559021366534825m_3730603528356433031h5">
<br class=""><div class="gmail_quote">On Sat, Apr 1, 2017 at 7:36 PM, Rick Brownrigg <span dir="ltr" class="">&lt;<a href="mailto:brownrig@ucar.edu" target="_blank" class="">brownrig@ucar.edu</a>&gt;</span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class=""><div class="">Hi, <br class=""><br class=""></div><div class="">Many people run NCL on Ubuntu.&nbsp; What specifically do you mean by "...is not working"?&nbsp; <br class=""><span class="m_7608390219873202477m_1557624709094639659m_5169304599834570745m_3454559021366534825m_3730603528356433031m_-804695429392126906HOEnZb"><font color="#888888" class=""><br class=""></font></span></div><span class="m_7608390219873202477m_1557624709094639659m_5169304599834570745m_3454559021366534825m_3730603528356433031m_-804695429392126906HOEnZb"><font color="#888888" class=""><div class="">Rick<br class=""></div></font></span></div><div class="m_7608390219873202477m_1557624709094639659m_5169304599834570745m_3454559021366534825m_3730603528356433031m_-804695429392126906HOEnZb"><div class="m_7608390219873202477m_1557624709094639659m_5169304599834570745m_3454559021366534825m_3730603528356433031m_-804695429392126906h5"><div class="gmail_extra"><br class=""><div class="gmail_quote">On Sat, Apr 1, 2017 at 4:42 AM, Gaurav Tiwari <span dir="ltr" class="">&lt;<a href="mailto:gaurav16@iiserb.ac.in" target="_blank" class="">gaurav16@iiserb.ac.in</a>&gt;</span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class=""><div class=""><div class="">Hi,&nbsp;</div><div class="">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.&nbsp;</div><div class="">Kindly support to let me know that is NCAR Command Language is compatible with Ubuntu platform or not?&nbsp;</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><br class="">******************************<wbr class="">**</div><b class="">Gaurav Tiwari</b><div class="">India</div><div class="">Email:&nbsp;<a href="mailto:saquib16@iiserb.ac.in" target="_blank" class="">gaurav16@iiserb.ac.in</a></div><div class="">Mob: <a href="tel:+91%2074711%2012407" value="+917471112407" target="_blank" class="">+91-7471112407</a><br class=""><a href="https://www.linkedin.com/in/gaurav-tiwari-bb36357a?trk=hp-identity-name" target="_blank" class="">LinkedIn</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="https://www.researchgate.net/profile/Gaurav_Tiwari5" target="_blank" class="">Research gate</a><br class=""><br class=""><br class=""><br class=""><br class=""><b class=""><i class=""><span style="font-size:12pt;font-family:&quot;times new roman&quot;,serif;color:green" class=""><span id="cid:image001.png@01D23125.88F2F320">&lt;image001.png&gt;</span>&nbsp;</span></i></b><b class=""><span style="font-size:10pt;font-family:&quot;times new roman&quot;,serif;color:green" lang="EN-GB" class="">Please consider the environment before printing this e-mail</span></b></div>
</div>
</blockquote></div><br class=""></div>
</div></div></blockquote></div><br class=""></div></div></div>
</blockquote></div><br class=""></div>
</blockquote></div></div>
<br class=""></div></div></blockquote></div><br class=""></div>
</blockquote></div><br class=""></div>
</div></div></blockquote></div><br class=""></div></div></div>
</div><br class=""></div>
</blockquote></div><br class=""></body></html>