[ncl-talk] Problem with using WRAPIT

杨瑞 yangrui at mail.iap.ac.cn
Sun Jul 17 05:15:20 MDT 2016


Hi all,
I want to call Fortran in NCL to read in data, but it shows errors on my Mac while
run WRAPIT, would you please help me find out the reasons?
Thanks !
error 1,while WRAPTI  sum_q_total.stub  sum_q_total.f90,shows:
WRAPIT Version: 120209
In file included from /Users/yangrui/soft/ncl-6.3.0/include/ncarg/hlu/hlu.h:49:,
                 from WRAPIT.c:9:
WRAPIT.c: In function 'sum_q_total_W':
WRAPIT.c:133:10: warning: implicit declaration of function 'sum_q_total_' [-Wimplicit-function-declaration]
  NGCALLF(sum_q_total,SUM_Q_TOTAL)(nlev,sn,ew,t,q,sumforq);
          ^
/Users/yangrui/soft/ncl-6.3.0/include/ncarg/c.h:31:29: note: in definition of macro 'NGCALLF'
 #define NGCALLF(reg,caps)   reg##_
                             ^~~
COMPILING sum_q_total.f90
LINKING
END WRAPIT
error 2,while run nil sum_q_total.ncl:
dyld: Library not loaded: /usr/local/lib/libgfortran.3.dylib

  Referenced from: /Users/yangrui/soft/ncl-6.3.0/bin/ncl

  Reason: image not found

Trace/BPT trap: 5
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20160717/dac0979b/attachment.html 


More information about the ncl-talk mailing list