<div dir="ltr"><div class="gmail_default" style="font-size:small">Hi Sebastian,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I do know what the problem is. I built an 'OPeNDAP' enabled version of NCL, which has some system library requirements that apparently your system doesn't have.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I'll build a non-OPeNDAP version of NCL and get back to you when it's ready. All you'll need to do is download a single file (a new "ncl" executable) and put it in $NCARG_ROOT/bin.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">--Mary</div><div class="gmail_default" style="font-size:small"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 6, 2016 at 3:29 AM, Sebastian Haglund El Gaidi <span dir="ltr"><<a href="mailto:sheg@kth.se" target="_blank">sheg@kth.se</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr" style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Hi Mary, </p>
<p><br>
</p>
<p>Thank you for the instructions! </p>
<p><br>
</p>
<p>However I got some problems while trying run the fix file that I did not encounter before. The error I get is </p>
<p><br>
</p>
<p>ncl: error while loading shared libraries: libssh2.so.1: cannot open shared object file: No such file or directory</p>
<p><br>
</p>
<p>I get this error both when I use:</p>
<p><br>
</p>
<p><span style="font-family:Calibri,Arial,Helvetica,sans-serif">- ng4ex gsun01n -clean</span></p>
<p>- ncl util/plotgrids_new.ncl</p>
<p> </p>
<p>I used the 7.8 Debian system file for installation:</p>
<p>ncl_ncarg-6.3.0.Linux_Debian7.<wbr>8_x86_64_nodap_gcc472.tar.gz<br>
</p>
<p><br>
</p>
<p><br>
</p>
<p>Do you have an idea what could be the problem?</p>
<p><br>
</p>
<p>Best regards, <br>
Sebastian<br>
</p>
<p><br>
</p>
<div style="color:rgb(33,33,33)">
<hr style="display:inline-block;width:98%">
<div dir="ltr"><font style="font-size:11pt" color="#000000" face="Calibri, sans-serif"><b>Från:</b> Mary Haley <<a href="mailto:haley@ucar.edu" target="_blank">haley@ucar.edu</a>><br>
<b>Skickat:</b> den 1 september 2016 17:21<div><div class="h5"><br>
<b>Till:</b> Sebastian Haglund El Gaidi<br>
<b>Kopia:</b> <a href="mailto:ncl-install@ucar.edu" target="_blank">ncl-install@ucar.edu</a><br>
<b>Ämne:</b> Re: [ncl-install] Erratic behavior on Macbook Pro with Ubuntu</div></div></font>
<div> </div>
</div><div><div class="h5">
<div>
<div dir="ltr">
<div class="gmail_default" style="font-size:small">Hi Sebastian,</div>
<div class="gmail_default" style="font-size:small"><br>
</div>
<div class="gmail_default" style="font-size:small">I don't have access to a Debian 6.0 system any more, since we upgraded them. I do have a Debian 7.9 system, and already had "fix" built there.</div>
<div class="gmail_default" style="font-size:small"><br>
</div>
<div class="gmail_default" style="font-size:small">The fix is simply a new "ncl" executable. To get the file, which I've renamed to "ncl630.fix.debian78"</div>
<div class="gmail_default" style="font-size:small"><br>
</div>
<div class="gmail_default">
<p style="font-size:small"><span><font face="monospace, monospace"> wget ftp.ucar.edu:/pub/scd/haley/<wbr>ncl630.fix.debian78</font></span></p>
<p style="font-size:small">or:</p>
<p><font face="monospace, monospace"> ftp <a href="http://ftp.ucar.edu" target="_blank">
ftp.ucar.edu</a><br>
<log in as "anonymous"><br>
<Use email address as password><br>
cd /pub/scd/haley<br>
get ncl630.fix.debian78<br>
quit</font></p>
<p><br>
</p>
<p>Once you have the file, move it to $NCARG_ROOT/bin and make sure it is executable. You can call it whatever you like. I'll use "ncl.fix" as an example:</p>
<p><span style="font-family:monospace,monospace"> chmod gou+x ncl630.fix.debian78<br>
</span><span style="font-family:monospace,monospace"> mv ncl630.fix.debian78</span><span style="font-family:monospace,monospace"> $<wbr>NCARG_ROOT/bin/ncl.fix</span></p>
<p>Now you can use this new "ncl.fix" executable instead of the one already installed on your system:</p>
<p><font face="monospace, monospace"> ncl.fix your_script.ncl</font></p>
<p>One thing different you will notice about the behavior when you are drawing graphics to an X11 window: a blank screen will pop up, and then the whole plot will show up at once.</p>
<p>If you are comfortable that this executable works, you can replace your old ncl executable with this new one. You should first make a copy of your old one just in case, because this one still works for other output formats, like PNG, PS,
PDF, etc.<br>
</p>
<p><font face="monospace, monospace"> cd $NCARG_ROOT/bin</font></p>
<p><font face="monospace, monospace"> mv ncl ncl.old</font></p>
<p><font face="monospace, monospace"> mv ncl.fix ncl</font></p>
<p>This should should do it. Please let me know if you have any problems.</p>
<p style="font-size:small"><span>--Mary</span></p>
<p style="font-size:small"><span><br>
</span></p>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Wed, Aug 31, 2016 at 10:53 AM, Sebastian Haglund El Gaidi
<span dir="ltr"><<a href="mailto:sheg@kth.se" target="_blank">sheg@kth.se</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr" style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Hi Mary, <br>
</p>
<p><br>
</p>
<p>Thanks for your reply!<br>
</p>
<p><br>
</p>
<p>As suggested on the installation page since I have Ubuntu I downloaded the Debian binary. This one to be precise: <br>
</p>
<p>ncl_ncarg-6.3.0.Linux_Debian7.<wbr>8_x86_64_nodap_gcc472.tar.gz<br>
</p>
<p><br>
</p>
<p>Do you have a fix for this binary or maybe this: <br>
</p>
<p>ncl_ncarg-6.3.0.Linux_Debian6.<wbr>0_x86_64_nodap_gcc445.tar.gz<br>
</p>
<p><br>
</p>
<p>would be great! <br>
</p>
<p><br>
</p>
<p>Best regards, <br>
</p>
<p>Sebastian<br>
</p>
<div style="color:rgb(33,33,33)">
<hr style="display:inline-block;width:98%">
<div dir="ltr"><font style="font-size:11pt" color="#000000" face="Calibri, sans-serif"><b>Från:</b> Mary Haley <<a href="mailto:haley@ucar.edu" target="_blank">haley@ucar.edu</a>><br>
<b>Skickat:</b> den 31 augusti 2016 16:48<br>
<b>Till:</b> Sebastian Haglund El Gaidi<br>
<b>Kopia:</b> <a href="mailto:ncl-install@ucar.edu" target="_blank">ncl-install@ucar.edu</a><br>
<b>Ämne:</b> Re: [ncl-install] Erratic behavior on Macbook Pro with Ubuntu</font>
<div> </div>
</div>
<div>
<div>
<div>
<div dir="ltr">
<div class="gmail_default" style="font-size:small">Sebastian,</div>
<div class="gmail_default" style="font-size:small"><br>
</div>
<div class="gmail_default" style="font-size:small">We are aware of this problem, and unfortunately it seems to be an Intel graphics issue.</div>
<div class="gmail_default" style="font-size:small"><br>
</div>
<div class="gmail_default" style="font-size:small">We have a work-around, but I will need to provide you with a new "ncl" executable file. Can you tell me which Linux NCL binary you downloaded, and I'll see if we have a "fixed" version that matches that binary.</div>
<div class="gmail_default" style="font-size:small"><br>
</div>
<div class="gmail_default" style="font-size:small">--Mary</div>
<div class="gmail_default" style="font-size:small"><br>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Tue, Aug 30, 2016 at 4:05 PM, Sebastian Haglund El Gaidi
<span dir="ltr"><<a href="mailto:sheg@kth.se" target="_blank">sheg@kth.se</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr" style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<p>I am trying to install ncl on my Macbook pro that I configured for Ubuntu. Everything works well with the installation but when I test ncl using:
</p>
<p></p>
<pre><span style="font-family:Calibri,Arial,Helvetica,sans-serif">ng4ex gsun01n -clean<br><br>I get different result each time. And the result is only partial. <br><br></span><span style="font-family:Calibri,Arial,Helvetica,sans-serif">ncl -V <br>6.3.0<br><br>I am on Ubuntu 16.04 LTS. I read that this problem cloud be encountered on a MacOS but since I am on Ubuntu I cannot install XQuartz as suggested here</span><br><a href="http://www.ncl.ucar.edu/Download/macosx.shtml" target="_blank">http://www.ncl.ucar.edu/Downlo<wbr>ad/macosx.shtml</a><br><br><span style="font-family:Calibri,Arial,Helvetica,sans-serif">Is there any fix for this problem on ubuntu?<br><br>Best regards, <br>Sebastian<br></span><br></pre>
</div>
<br>
______________________________<wbr>_________________<br>
ncl-install mailing list<br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-install" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailma<wbr>n/listinfo/ncl-install</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div></div></div>
</div>
</blockquote></div><br></div>