Re: WRAPIT -- error while running ncl script

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Tue Feb 19 2013 - 09:21:33 MST

Hi Basit,

Glad to hear it works, although I'm not sure how it did.

>From your previous email, you had the error message:

 NCLFORTSTART
  1
Error: Non-numeric character in statement label at (1)
ex01.f:1.2:

It looks like you are missing a "C " in front of the "NCLFORTSTART" in your ex01.f file. The line should look like this:

C NCLFORTSTART

--Mary

On Feb 15, 2013, at 11:54 PM, BasitAli Khan wrote:

> Hi again Mary,
>
> I used -gf option with WRAPIT and the code works fine. ncl script also produced the result. So it came up nice and clean.
>
> Thanks for your help.
>
> Basit
> From: Mary Haley <haley@ucar.edu>
> Date: Thu, 14 Feb 2013 22:54:00 +0300
> To: KAUST <basitali.khan@kaust.edu.sa>
> Cc: "ncl-talk@ucar.edu" <ncl-talk@ucar.edu>
> Subject: Re: WRAPIT -- error while running ncl script
>
> Basit,
>
> The error "A syntax error occurred while parsing" indicates that something is potentially wrong with the "ex01.f" code.
> Perhaps it was saved incorrectly?
>
> What does the following report:
>
> wrapit77 < ex01.f > wrapit.c
>
> How did you save "ex01.f"?
>
> Can you try the attached "ex01.f" file and let me know if you get errors with it?
>
> --Mary
>
>
> On Feb 13, 2013, at 11:16 PM, BasitAli Khan wrote:
>
> > Hi Mary,
> >
> > I am not using any additional options with WRAPIT. Just trying to follow exactly example 1. Here is the result of your suggested commands:
> >
> > WRAPIT Version: 120209
> > OPERATING SYSTEM: Linux
> > nbits = 64
> > FORTRAN COMPILER (f90c): gfortran
> > FORTRAN COMPILER OPTIONS (fopts): -m64 -fPIC -v -c -fno-second-underscore
> > A syntax error occurred while parsing:
> > gcc -fPIC -m64 -c -I/home/khanb/ncl6.1.2/include WRAPIT.c
> > SHARED OBJECT NAME (SharedObj): ex01.so
> > LINKER SUFFIX (ld_suffix): WRAPIT.o -o ex01.so
> >
> > LINKING
> > gcc -m64 -fPIC -shared WRAPIT.o -o ex01.so -lgfortran
> > END WRAPIT
> >
> > -bash-4.1$ nm ex01.so | grep arcln
> >
> >
> > The nm did not come up with any result. By the way I've used ncl v6.1.2
> >
> > Regards,
> > Basit
> >
> >
> > This message and its contents including attachments are intended solely for the original recipient. If you are not the intended recipient or have received this message in error, please notify me immediately and delete this message from your computer system. Any unauthorized use or distribution is prohibited. Please consider the environment before printing this email.
> > _______________________________________________
> > ncl-talk mailing list
> > List instructions, subscriber options, unsubscribe:
> > http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue Feb 19 09:21:45 2013

This archive was generated by hypermail 2.1.8 : Thu Feb 21 2013 - 11:26:43 MST