help: WRAPIT

From: Sha Feng <sfeng_at_nyahnyahspammersnyahnyah>
Date: Mon Mar 11 2013 - 18:00:50 MDT

Hi there,

When I am trying to call a fortran subroutine when running a ncl script,
the error information appears below.

+++++++++

Copyright (C) 1995-2012 - All Rights Reserved

 University Corporation for Atmospheric Research

 NCAR Command Language Version 6.1.0

 The use of this software is governed by a License Agreement.

 See http://www.ncl.ucar.edu/ for more details.

fatal:syntax error: procedure area_wgt_avg_4D is not defined in package
SMOOTHING_4D

fatal:error at line 121 in file A2_create_LSF_d03_smoothing.ncl

fatal:Syntax Error in block, block not executed

fatal:error at line 775 in file A2_create_LSF_d03_smoothing.ncl

++++++++

In the ncl script, the related lines are listed below:

==============


external SMOOTHING_4D "./area_wgt_avg_4D.so"


SMOOTHING_4D::area_wgt_avg_4D(u_p,dim(0),dim(1),dimu(2),dimu(3),dx,dx,u_p@
_FillValue,len,u_L)


==============

Below is the output for run WRAPIT to create area_wgt_avg_4D.so file.

+++++++++++

$ WRAPIT -in -m64 area_wgt_avg_4D.stub area_wgt_avg_4D.f90

WRAPIT Version: 120209

/opt/intel/bin/ifort

/opt/intel/bin/ifort

COMPILING area_wgt_avg_4D.f90

LINKING

END WRAPIT

+++++++++++

Does anyone have clues to fix this issue?

Thanks,

Sha

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Mon Mar 11 16:00:56 2013

This archive was generated by hypermail 2.1.8 : Wed Mar 13 2013 - 14:19:38 MDT