<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><pre class="" style="background-color: rgb(255, 255, 255);"><i class="">Hi all,
</i><i class="">I want to call Fortran in NCL to read in data, but it shows errors on my Mac while
</i><i class="">run WRAPIT, would you please help me find out the reasons?</i></pre><pre class="" style="background-color: rgb(255, 255, 255);"><i class="">Thanks !</i></pre><pre class="" style="background-color: rgb(255, 255, 255);"><pre class=""><i class="">error 1,while WRAPTI </i><span class="" style="font-family: Menlo; font-size: 11px;"> sum_q_total</span><i class="">.stub </i><span class="" style="font-family: Menlo; font-size: 11px;"> sum_q_total</span><i class="">.f90,shows:</i></pre></pre><p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">WRAPIT Version: 120209</span></p>
<p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">In file included from <b class="">/Users/yangrui/soft/ncl-6.3.0/include/ncarg/hlu/hlu.h:49:</b>,</span></p>
<p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> from <b class="">WRAPIT.c:9</b>:</span></p>
<p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><b class="">WRAPIT.c:</b> In function '<b class="">sum_q_total_W</b>':</span></p>
<p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><b class="">WRAPIT.c:133:10:</b> </span><span style="font-variant-ligatures: no-common-ligatures; color: #d53bd3" class=""><b class="">warning: </b></span><span style="font-variant-ligatures: no-common-ligatures" class="">implicit declaration of function '<b class="">sum_q_total_</b>' [</span><span style="font-variant-ligatures: no-common-ligatures; color: #d53bd3" class=""><b class="">-Wimplicit-function-declaration</b></span><span style="font-variant-ligatures: no-common-ligatures" class="">]</span></p>
<p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> NGCALLF(</span><span style="font-variant-ligatures: no-common-ligatures; color: #d53bd3" class=""><b class="">s</b></span><span style="font-variant-ligatures: no-common-ligatures" class="">um_q_total,SUM_Q_TOTAL)(nlev,sn,ew,t,q,sumforq);</span></p>
<p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> </span><span style="font-variant-ligatures: no-common-ligatures; color: #d53bd3" class=""><b class="">^</b></span></p>
<p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><b class="">/Users/yangrui/soft/ncl-6.3.0/include/ncarg/c.h:31:29:</b> </span><span style="font-variant-ligatures: no-common-ligatures; color: #34bbc7" class=""><b class="">note: </b></span><span style="font-variant-ligatures: no-common-ligatures" class="">in definition of macro '<b class="">NGCALLF</b>'</span></p>
<p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> #define NGCALLF(reg,caps) </span><span style="font-variant-ligatures: no-common-ligatures; color: #34bbc7" class=""><b class="">reg</b></span><span style="font-variant-ligatures: no-common-ligatures" class="">##_</span></p>
<p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> </span><span style="font-variant-ligatures: no-common-ligatures; color: #34bbc7" class=""><b class="">^~~</b></span></p>
<p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">COMPILING sum_q_total.f90</span></p>
<p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">LINKING</span></p>
<p style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">END WRAPIT</span></p><div class=""><pre class="" style="background-color: rgb(255, 255, 255);"><i class="">error 2,</i><i class="">while run nil sum_q_total.ncl:</i></pre><pre class="" style="background-color: rgb(255, 255, 255);"><i class=""><p style="margin: 0px; font-style: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">dyld: Library not loaded: /usr/local/lib/libgfortran.3.dylib</span></p>
<p style="margin: 0px; font-style: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> Referenced from: /Users/yangrui/soft/ncl-6.3.0/bin/ncl</span></p>
<p style="margin: 0px; font-style: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> Reason: image not found</span></p>
<p style="margin: 0px; font-style: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Trace/BPT trap: 5</span></p></i></pre></div></body></html>