help: WRAPIT

From: Sha Feng <sfeng_at_nyahnyahspammersnyahnyah>
Date: Fri Jul 15 2011 - 09:12:24 MDT

Hi ncl-talkers,

Link problem is fixed and file jointFtoNCL.so is created. Thanks! New problems:

I add

external jointFtoNCL "./jointFtoNCL.so" at the beginning of ncl script.

jointFtoNCL::writeNCLascii (CPTh_mon_ts(0,:),LRTh_mon_ts(0,:), CPTh_mon_ts(1,:), LRTh_mon_ts(1,:), 45, 45) in the ncl script.

run:
$ncl test.ncl

fatal:syntax error: procedure writeNCLascii is not defined in package jointFtoNCL

fatal:error at line 145 in file test.ncl

fatal:Syntax Error in block, block not executed
fatal:error at line 186 in file test.ncl
----------------
 
line 145: jointFtoNCL::writeNCLascii (CPTh_mon_ts(0,:),LRTh_mon_ts(0,:), CPTh_mon_ts(1,:), LRTh_mon_ts(1,:), 45, 45)
line 186: end

Should I use the same file name for the Fortran subroutine file and the stub file?

Sha
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Fri Jul 15 09:13:10 2011

This archive was generated by hypermail 2.1.8 : Mon Jul 18 2011 - 15:57:57 MDT