Re: Problem with WRAPIT

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Mon, 16 Mar 2009 09:24:49 -0600 (MDT)

Hi Oli,

I think it is a simple misspelling. The line:

C NCLFORSTART

is missing a "T" after "FOR". It should be:

C NCLFORTSTART

--Mary

On Mon, 16 Mar 2009 Oliver.Fuhrer_at_meteoswiss.ch wrote:

> Hi,
>
> I'm trying to integrate a piece of Fortran code into NCL using WRAPIT
> and I'm getting the following strange error message...
>
>> WRAPIT -gf WILD.stub WILD.f90
>
> WRAPIT Version: 090115
> A syntax error occurred while parsing:
> COMPILING WILD.f90
> LINKING
> END WRAPIT
>
> The shared library is generated but when I try to access it from NCL
> using the external statement, NCL complains with the following error
> message...
>
> ncl 0> external WILD "./WILD.so"
> warning:Could not find Init() in external file ./WILD.so, file not
> loaded
> warning:error at line 0
>
> When I compile the WILD.f90 file by simply using gfortran, everything
> works fine without warning. The corresponding WILD.f90 and WILD.stub
> files are attached. WRAPIT for the examples given on the NCL webpage
> works fine for both .f and .f90 source files.
>
> Any ideas or help is appreciated!
>
> Thanks,
> Oli
>
>
> ________________________________________
>
> Oliver Fuhrer
> Numerical Models
>
> Federal Departement of Home Affairs FDHA
> Federal Office of Meteorology and Climatology MeteoSwiss
>
> Kraehbuehlstrasse 58, P.O. Box 514, CH-8044 Zurich, Switzerland
>
> Tel. +41 44 256 93 59
> Fax +41 44 256 92 78
> oliver.fuhrer_at_meteoswiss.ch
> www.meteoswiss.ch - First-hand information
>
>
>
>
>
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Mon Mar 16 2009 - 09:24:49 MDT

This archive was generated by hypermail 2.2.0 : Mon Mar 16 2009 - 10:31:01 MDT