[ncl-install] Maybe helpful - installing NCL on OpenSUSE 12.2

Mary Haley haley at ucar.edu
Tue Sep 25 12:38:59 MDT 2012


On Sep 25, 2012, at 7:36 AM, Geoffrey sabiiti wrote:

> 
> Hi NCL Installation support team,
> 
> I hope you are well. 
> 
> 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;
> 
> I have already set my NCARG env in .bashrc.
> 
> geoffrey at linux-m84y:~> ng4ex gsun01n.ncl
> 
> NCAR Graphics NCL Example <gsun01n>
> 
> 
> This example was set up to display the output to an
> X11 window.
> 
>   Copying gsun01n.ncl
> 
> Running NCL...
>  Copyright (C) 1995-2012 - All Rights Reserved
>  University Corporation for Atmospheric Research
>  NCAR Command Language Version 6.1.0-beta
>  The use of this software is governed by a License Agreement.
>  See http://www.ncl.ucar.edu/ for more details.
> 
> Finished running 'ncl < gsun01n'...
> 
> geoffrey at linux-m84y:~> 
> 
> When I type ncl;
> geoffrey at linux-m84y:~/archive/
> workshopdata/ncl_scripts/Corrected_ncl_scripts_kenya_workshop> ncl
>  Copyright (C) 1995-2012 - All Rights Reserved
>  University Corporation for Atmospheric Research
>  NCAR Command Language Version 6.1.0-beta
>  The use of this software is governed by a License Agreement.
>  See http://www.ncl.ucar.edu/ for more details.
> ncl 0>
> 
> At this point when I try to run the ncl script, I end up with some error message below;
> 
> ncl 0> will_plot_era_arc2_std.ncl
> fatal:syntax error: line 0 before or near . 
> will_plot_era_arc2_std.
> ----------------------^
> 
> fatal:error in statement
> ncl 1> 
> 
> Please consider to help think of a solution.

Hi Geoffrey,

In order to run an NCL script, you don't want to run "ncl" interactively. Instead, run it from the UNIX command line:

    ncl will_plot_era_arc2_std.ncl

If you really want to run your script from interactive NCL, then you can type:

   ncl 0> load "will_plot_era_arc2_std.ncl"

--Mary

> 
> Best regards,
> 
> Geoffrey Sabiiti
> Department of Geography, Geo-information & Climatic Sciences
> College of Agricultural and Environmental Sciences
> Makerere University
> 
> 
> On Tue, Sep 25, 2012 at 3:26 AM, Ryan Kelly <rkelly at life.illinois.edu> wrote:
> Hi,
> 
> 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.
> 
> I was installing NCL per the well-documented OS X procedure at:
>  http://www.ncl.ucar.edu/Download/macosx.shtml
> 
> Ran into the issue described at:
>  http://www.ncl.ucar.edu/Download/linux.shtml.
> 
> Specifically, when running the post-install test I got the error:
>  'dyld: Library not loaded: /usr/local/gfortran/lib/libgfortran.3.dylib'
> 
> Running:
>  ls /usr/local/lib/libg*
> 
> 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:
>  http://hpc.sourceforge.net/
> 
> (which is very easy) and now have the library in /usr/local/lib as required.
> 
> Running the suggested NCL test described at
> 
> http://www.ncl.ucar.edu/Download/install.shtml#TestNCL
> 
> now works fine so this fix appears a success.
> _______________________________________________
> ncl-install mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-install
> 
> 
> 
> -- 
> Geoffrey Sabiiti
> Department of Geography, Geo-information & Climatic Sciences
> College of Agricultural and Environmental Sciences
> Makerere University
> 
> 
> 
> 
> -- 
> Geoffrey Sabiiti
> Department of Geography, Geo-information & Climatic Sciences
> College of Agricultural and Environmental Sciences
> Makerere University
> _______________________________________________
> ncl-install mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-install



More information about the ncl-install mailing list