Hi Gilles,
To run NCL scripts, you want to invoke the NCL script name on the UNIX
command line, and not the NCL command line.
For example, on the UNIX command line, type:
ncl essai
Is your script indeed called just "essai", or is it "essai.ncl"? If
it's the latter, then use:
ncl essai.ncl
If you really want to run NCL interactively, then to load a script
you need to use the "load" command:
ncl 0> load "essai"
Or, if it's essai.ncl:
ncl 0> load "essai.ncl"
--Mary
On Thu, 15 May 2008, Gilles Bellon wrote:
> Hello,
>
> I have installed the last version of not OPeNDAP-enabled NCL binaries (NCL 5.0.0 32-bit binary for i686 chips for LINUX, compiled with gcc 3.x) on my Linux box and everything seems to work fine except that
> I can't run scripts.
> Here is the error message, essai.ncl being a script that I have no trouble running line by line:
>
> ncl 0> ncl essai
> fatal:syntax error: line 0 before or near essai
> ncl essai
> --------^
>
> fatal:error in statement
>
> What did I do wrong?
> Thanks,
>
> Gilles Bellon
> APAM
> Columbia University
> _______________________________________________
> ncl-install mailing list
> ncl-install_at_ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/ncl-install
>
_______________________________________________
ncl-install mailing list
ncl-install_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-install
Received on Thu May 15 2008 - 09:08:19 MDT
This archive was generated by hypermail 2.2.0 : Thu May 15 2008 - 09:08:53 MDT