<br><div class="gmail_quote">Hi Mary,<br><br>Thank you for this support. I am now able to run my scripts from the linux command prompt.<br><br>Regards,<br>Geoffrey<div class="HOEnZb"><div class="h5"><br><br><div class="gmail_quote">
On Tue, Sep 25, 2012 at 9:38 PM, Mary Haley <span dir="ltr"><<a href="mailto:haley@ucar.edu" target="_blank">haley@ucar.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><br>
On Sep 25, 2012, at 7:36 AM, Geoffrey sabiiti wrote:<br>
<br>
><br>
> Hi NCL Installation support team,<br>
><br>
> I hope you are well.<br>
><br>
> I am have installed NCL on OpenSUSE 12.2 for use to undertake analysis of my climate model outputs. Though the installation of NCL was successful and gives me the plots;<br>
><br>
> I have already set my NCARG env in .bashrc.<br>
><br>
> geoffrey@linux-m84y:~> ng4ex gsun01n.ncl<br>
><br>
> NCAR Graphics NCL Example <gsun01n><br>
><br>
><br>
> This example was set up to display the output to an<br>
> X11 window.<br>
><br>
> Copying gsun01n.ncl<br>
><br>
> Running NCL...<br>
> Copyright (C) 1995-2012 - All Rights Reserved<br>
> University Corporation for Atmospheric Research<br>
> NCAR Command Language Version 6.1.0-beta<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.<br>
><br>
> Finished running 'ncl < gsun01n'...<br>
><br>
> geoffrey@linux-m84y:~><br>
><br>
> When I type ncl;<br>
> geoffrey@linux-m84y:~/archive/<br>
> workshopdata/ncl_scripts/Corrected_ncl_scripts_kenya_workshop> ncl<br>
> Copyright (C) 1995-2012 - All Rights Reserved<br>
> University Corporation for Atmospheric Research<br>
> NCAR Command Language Version 6.1.0-beta<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.<br>
> ncl 0><br>
><br>
> At this point when I try to run the ncl script, I end up with some error message below;<br>
><br>
> ncl 0> will_plot_era_arc2_std.ncl<br>
> fatal:syntax error: line 0 before or near .<br>
> will_plot_era_arc2_std.<br>
> ----------------------^<br>
><br>
> fatal:error in statement<br>
> ncl 1><br>
><br>
> Please consider to help think of a solution.<br>
<br>
</div></div>Hi Geoffrey,<br>
<br>
In order to run an NCL script, you don't want to run "ncl" interactively. Instead, run it from the UNIX command line:<br>
<br>
ncl will_plot_era_arc2_std.ncl<br>
<br>
If you really want to run your script from interactive NCL, then you can type:<br>
<br>
ncl 0> load "will_plot_era_arc2_std.ncl"<br>
<span><font color="#888888"><br>
--Mary<br>
</font></span><div><div><br>
><br>
> Best regards,<br>
><br>
> Geoffrey Sabiiti<br>
> Department of Geography, Geo-information & Climatic Sciences<br>
> College of Agricultural and Environmental Sciences<br>
> Makerere University<br>
><br>
><br>
> On Tue, Sep 25, 2012 at 3:26 AM, Ryan Kelly <<a href="mailto:rkelly@life.illinois.edu" target="_blank">rkelly@life.illinois.edu</a>> wrote:<br>
> Hi,<br>
><br>
> Maybe this is obvious or already discussed, but I just ran into and then overcame some trouble installing NCL on OS X Lion (10.7), and thought I'd pass along the info.<br>
><br>
> I was installing NCL per the well-documented OS X procedure at:<br>
> <a href="http://www.ncl.ucar.edu/Download/macosx.shtml" target="_blank">http://www.ncl.ucar.edu/Download/macosx.shtml</a><br>
><br>
> Ran into the issue described at:<br>
> <a href="http://www.ncl.ucar.edu/Download/linux.shtml" target="_blank">http://www.ncl.ucar.edu/Download/linux.shtml</a>.<br>
><br>
> Specifically, when running the post-install test I got the error:<br>
> 'dyld: Library not loaded: /usr/local/gfortran/lib/libgfortran.3.dylib'<br>
><br>
> Running:<br>
> ls /usr/local/lib/libg*<br>
><br>
> showed I did have 'libgfortran.2.dylib' in the right location, but indeed was missing 'libgfortran.3.dylib'. I updated my gcc install with a package from:<br>
> <a href="http://hpc.sourceforge.net/" target="_blank">http://hpc.sourceforge.net/</a><br>
><br>
> (which is very easy) and now have the library in /usr/local/lib as required.<br>
><br>
> Running the suggested NCL test described at<br>
><br>
> <a href="http://www.ncl.ucar.edu/Download/install.shtml#TestNCL" target="_blank">http://www.ncl.ucar.edu/Download/install.shtml#TestNCL</a><br>
><br>
> now works fine so this fix appears a success.<br>
> _______________________________________________<br>
> ncl-install mailing list<br>
> List instructions, subscriber options, unsubscribe:<br>
> <a href="http://mailman.ucar.edu/mailman/listinfo/ncl-install" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-install</a><br>
><br>
><br>
><br>
> --<br>
> Geoffrey Sabiiti<br>
> Department of Geography, Geo-information & Climatic Sciences<br>
> College of Agricultural and Environmental Sciences<br>
> Makerere University<br>
><br>
><br>
><br>
><br>
> --<br>
> Geoffrey Sabiiti<br>
> Department of Geography, Geo-information & Climatic Sciences<br>
> College of Agricultural and Environmental Sciences<br>
> Makerere University<br>
> _______________________________________________<br>
> ncl-install mailing list<br>
> List instructions, subscriber options, unsubscribe:<br>
> <a href="http://mailman.ucar.edu/mailman/listinfo/ncl-install" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-install</a><br>
<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Geoffrey Sabiiti<br>Department of Geography, Geo-information & Climatic Sciences<br>College of Agricultural and Environmental Sciences<br>Makerere University<br>
<br>
</div></div></div><br><br clear="all"><br>-- <br>Geoffrey Sabiiti<br>Department of Geography, Geo-information & Climatic Sciences<br>College of Agricultural and Environmental Sciences<br>Makerere University<br>