<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="">Hi Dawit,<div class=""><br class=""></div><div class="">“load” is an NCL command, so if you try to run it in bash it will return an error (as you experienced below). When you run NCL, your command line prompt should change from</div><div class=""><font face="Courier New" class="">Dagemawes-MacBook-Pro:~ dawitabebe$&nbsp;</font></div><div class="">to</div><div class=""><font face="Courier New" class="">ncl 0&gt;&nbsp;<br class=""></font><br class=""></div><div class="">Once you see the NCL prompt, then you should be able to run the “load” command:</div><div class=""><font face="Courier New" class="">ncl 0&gt;&nbsp;load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"</font></div><div class=""><br class=""></div><div class="">Also, while it used to be necessary to explicitly load gsn_code.ncl, gsn_csm.ncl, and contributed.ncl, these files are automatically loaded in NCL version 6.4.0.</div><div class=""><br class=""></div><div class="">I hope this helps,</div><div class="">Kevin<br class=""></div><div class=""><br class=""></div><div class=""><div><blockquote type="cite" class=""><div class="">On Mar 23, 2017, at 9:01 AM, Dawit Abebe &lt;<a href="mailto:dawit.kan@gmail.com" class="">dawit.kan@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Dear Mary,<div class=""><br class=""></div><div class="">I am having a problem running the “load” command. Through step-by-step use of “cd" and “ls” commands I confirmed that the files that wanted to load (i.e. <font color="#ff2600" class="">gun_code.ncl, &nbsp;</font><span style="white-space: pre-wrap;" class=""><font color="#ff2600" class="">gsn_csm.ncl</font>, and <font color="#ff2600" class="">contributed.ncl</font>) are there is in the “csm”directory. According to the command “which nil” , I am operating from myncl/bin/ncl (see below). I think, I should change this part of the path to myncl/lib instead of myncl/bin to reach to the files I wanted to load. Is my logic correct? If that should be done, how should I change this path? If my assumption is wrong all together, kindly get me to right direction.</span></div><div class=""><span style="white-space: pre-wrap;" class=""><br class=""></span></div><div class=""><span style="white-space: pre-wrap;" class="">Thank you so much</span></div><div class=""><span style="white-space: pre-wrap;" class=""><br class=""></span></div><div class=""><span style="white-space: pre-wrap;" class="">Dawit</span></div><div class=""><span style="white-space: pre-wrap;" class=""><br class=""></span></div><div class=""><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><font color="#ff2600" class="">Dagemawes-MacBook-Pro:~ dawitabebe$ source activate myncl</font></span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><font color="#ff2600" class="">(myncl) Dagemawes-MacBook-Pro:~ dawitabebe$ load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"</font></span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><font color="#ff2600" class="">-bash: load: command not found</font></span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><font color="#ff2600" class="">(myncl) Dagemawes-MacBook-Pro:~ dawitabebe$ conda info --envs</font></span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><font color="#ff2600" class=""># conda environments:</font></span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><font color="#ff2600" class="">#</font></span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><font color="#ff2600" class="">myncl &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; *&nbsp; /Users/dawitabebe/miniconda3/envs/myncl</font></span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><font color="#ff2600" class="">root &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; /Users/dawitabebe/miniconda3</font></span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; min-height: 13px;" class=""><font color="#ff2600" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class=""></font></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><font color="#ff2600" class="">(myncl) Dagemawes-MacBook-Pro:~ dawitabebe$ which ncl</font></span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><font color="#ff2600" class="">/Users/dawitabebe/miniconda3/envs/myncl/bin/ncl</font></span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><font color="#ff2600" class="">(myncl) Dagemawes-MacBook-Pro:~ dawitabebe$&nbsp;</font></span></div></div><div class="">……………………………………………………………………..</div><div class=""><br class=""><div class=""><blockquote type="cite" class=""><div class="">On Mar 22, 2017, at 5:13 PM, Mary Haley &lt;<a href="mailto:haley@ucar.edu" class="">haley@ucar.edu</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="gmail_default" style="font-size:small">Ipsita,</div><div class="gmail_default" style="font-size:small"><br class=""></div><div class="gmail_default" style="font-size:small">You need both triangle.c and triangle.h.</div><div class="gmail_default" style="font-size:small"><br class=""></div><div class="gmail_default" style="font-size:small">But, you really should only have to build NCL from source code as a last result.</div><div class="gmail_default" style="font-size:small"><br class=""></div><div class="gmail_default" style="font-size:small">Since you are on a 64-bit Ubuntu system, you can use "conda" to install NCL, which is as easy as:</div><div class="gmail_default"><pre style="font-size:small" class="">  conda create -n <i class="">ncl_stable</i> -c conda-forge ncl=6.4.0
  source activate <i class="">ncl_stable</i></pre><pre style="font-size:small" class=""><font face="arial, helvetica, sans-serif" class="">Please see our "conda" page for information on how to install miniconda, which gives you conda:</font></pre><pre class=""><font face="arial, helvetica, sans-serif" class=""><a href="http://www.ncl.ucar.edu/Download/conda.shtml" class="">http://www.ncl.ucar.edu/Download/conda.shtml</a><br class=""></font></pre><pre class=""><font face="arial, helvetica, sans-serif" class="">--Mary</font></pre><pre class=""><br class=""></pre></div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Wed, Mar 22, 2017 at 1:56 AM, Ipsita Putatunda <span dir="ltr" class="">&lt;<a href="mailto:ipsita.putatunda@gmail.com" target="_blank" class="">ipsita.putatunda@gmail.com</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="">Dear all,<br class="">&nbsp;I need to built triangle in&nbsp; my NCL version.<br class="">Right now am using x86_64, Ubuntu 15.10 with gcc version 5.2.1 20151010 and NCL version 6.3.0<br class=""><br class="">Which source code shall I use here to copy triangle.c or triangle.h ?<br class="">Could you please let me know stepwise to build triangle in my NCL version.<br class=""><br class="">Thanks in advance,<br class="">Ipsita<br class=""></div>
<br class="">______________________________<wbr class="">_________________<br class="">
ncl-install mailing list<br class="">
List instructions, subscriber options, unsubscribe:<br class="">
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-install" rel="noreferrer" target="_blank" class="">http://mailman.ucar.edu/<wbr class="">mailman/listinfo/ncl-install</a><br class="">
<br class=""></blockquote></div><br class=""></div>
_______________________________________________<br class="">ncl-install mailing list<br class="">List instructions, subscriber options, unsubscribe:<br class=""><a href="http://mailman.ucar.edu/mailman/listinfo/ncl-install" class="">http://mailman.ucar.edu/mailman/listinfo/ncl-install</a><br class=""></div></blockquote></div><br class=""></div></div>_______________________________________________<br class="">ncl-install mailing list<br class="">List instructions, subscriber options, unsubscribe:<br class=""><a href="http://mailman.ucar.edu/mailman/listinfo/ncl-install" class="">http://mailman.ucar.edu/mailman/listinfo/ncl-install</a><br class=""></div></blockquote></div><br class=""></div></body></html>