[ncl-talk] Fwd: about using Fortran90 code in NCL

Bill Ladwig ladwig at ucar.edu
Tue Jun 21 09:41:24 MDT 2016


Hi Zhuxiao,

Can you also provide us with how you called WRAPIT?  It doesn't look like
your mquad routine ever got linked in when you built your .so module.

Regards,

Bill

On Mon, Jun 20, 2016 at 3:02 PM, zhuxiao li <lizhuxiao70 at gmail.com> wrote:

> Hi There,
>
> I have got a problem to use   external F90 code in NCL.
> Actually, I just using the simple templet in
> http://www.ncl.ucar.edu/Document/Manuals/language_man.pdf
> page 36 of Section 7.3 f90 subroutines.
>
> The problem is that when I use only the subroutine CQUAD to produce the
> object file (.so) and then execute the ncl code, it works. Please see the
> following attachment:
>
> quad.f90,
> quad90.stub,
> ncl_F90_test_temple.ncl.
>
> While when I include the subroutine in a module structure exactly like the
> templet on P36 of the manual, it gave me some very tough error message,
> please check the following attachments:
>
> quad_module.f90,
> mquad90.stub,
> ncl_F90_test_temple_module.ncl
>
> error_message_ncl_exe.txt
> The NCL I am using is ncl-6.3.0, do you have some idea on what is the
> reason of this problem?
>
> Thanks very much in advance!
>
> Zhuxiao
>
>
>
>
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20160621/3e17679d/attachment.html 


More information about the ncl-talk mailing list