Re: [ncl-talk] C Wrapper functions

From: Mary Haley (haley AT ucar.edu)
Date: Tue Feb 22 2005 - 09:59:08 MST

  • Next message: Jim Moser: "Compatible Systems"

    On Mon, 21 Feb 2005, Anne Jones wrote:

    > Thanks - the example works now.
    > Anne

    Glad to hear this. I'm cc-ing ncl-talk on this message in case other folks
    had similar problems with the file.

    --Mary

    > --On 18 February 2005 11:12 -0700 Mary Haley <haley AT unknown> wrote:
    >
    >>
    >> Hi Anne,
    >>
    >> You probably have funny end-of-line characters after each line in the
    >> NCL script. This happens when you move files between different
    >> systems. You might need to look at the file in a different editor,
    >> and see if you have "^M" type characters at the end of every line.
    >> If so, remove them.
    >>
    >> --Mary
    >>
    >>
    >> On Fri, 18 Feb 2005 Anne.Jones AT unknown wrote:
    >>
    >>> Thanks for the example.
    >>>
    >>> Unfortunately it does not run!
    >>>
    >>> The Makefile does run, and produces a .so file, but when I run the
    >>> script I get lots of errors:
    >>>
    >>>
    >>> Copyright (C) 1995-2004 - All Rights Reserved
    >>> University Corporation for Atmospheric Research
    >>> NCAR Command Language Version 4.2.0.a032
    >>> The use of this software is governed by a License Agreement.
    >>> See http://ngwww.ucar.edu/ncl/ for more details.
    >>> fatal:syntax error: line 1 in file ex01.ncl before or near
    >>>
    >>> external EX01 "./cquad.so"
    >>> --------------------------^
    >>>
    >>>
    >>>
    >>> fatal:error in statement
    >>>
    >>> fatal:syntax error: line 2 in file ex01.ncl before or near
    >>>
    >>>
    >>> -^
    >>>
    >>>
    >>> fatal:error in statement
    >>>
    >>> fatal:syntax error: line 3 in file ex01.ncl before or near
    >>>
    >>> begin
    >>> -----^
    >>>
    >>> ...........
    >>> etc etc.
    >>>
    >>> Am I missing something obvious?
    >>>
    >>> Anne
    >>>
    >
    >
    >
    >
    >
    _______________________________________________
    ncl-talk mailing list
    ncl-talk AT unknown
    http://mailman.ucar.edu/mailman/listinfo/ncl-talk



    This archive was generated by hypermail 2b29 : Tue Feb 22 2005 - 10:10:03 MST