<div dir="ltr"><div><div><div><div><div><div><div>Well, I think you would have to send the fortran code: newcffi_singlegrid.f<br><br></div>Also, the output from the following.<br><br></div>%&gt; ncl -V<br></div>%&gt; gxx--version<br></div>%&gt; uname -a<br><br>=====<br></div>Further, based on a previous email, where you wrote &quot;new to NCL&quot;, I suggest that you invest looking at NCL tutorial at:<br>   <a href="http://www.ncl.ucar.edu/Document/Manuals/NCL_User_Guide/">http://www.ncl.ucar.edu/Document/Manuals/NCL_User_Guide/</a><br><br></div>Yes, it will take some time BUT you will learn NCL.<br><br></div>Good luck<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Mar 11, 2017 at 7:21 PM, dale zuri <span dir="ltr">&lt;<a href="mailto:dalezuri@gmail.com" target="_blank">dalezuri@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Hi,<br></div>WRAPIT didn&#39;t give any error. But, when I run ncl code, I get below printed warning. And also printed the WRAPIT -d output. <br><br></div><div>Please, help me to fix this bug?<br></div><div>Thank you,<br></div><div>Dale<br></div><div><br>;;;;;;;;;;;;;;;;;;;;;;;;;;;<br><br>warning:An error occurred loading the external file ./newcffi_singlegrid.so, file not loaded<br>dlopen(./newcffi_singlegrid.<wbr>so, 2): Symbol not found: _hin_<br>  Referenced from: ./newcffi_singlegrid.so<br>  Expected in: flat namespace<br> in ./newcffi_singlegrid.so<br>warning:error at line 9 in file canadafire_FWItestZeikcomp.ncl<br><br>fatal:syntax error: line 43 in file canadafire_FWItestZeikcomp.ncl before or near : <br>EX:<br>--^<br><br>fatal:error in statement<br>fatal:Syntax Error in block, block not executed<br><br></div>Output of WRAPIT -d<br>COMPILING newcffi_singlegrid.f<br>gfortran -m64 -fPIC -v -c -fno-second-underscore newcffi_singlegrid.f<br>Using built-in specs.<br>COLLECT_GCC=gfortran<br>Target: x86_64-apple-darwin15.6.0<br>Configured with: ../gcc-6.2.0/configure --enable-languages=c++,fortran --with-gmp=/usr/local<br>Thread model: posix<br>gcc version 6.2.0 (GCC) <br>COLLECT_GCC_OPTIONS=&#39;-m64&#39; &#39;-fPIC&#39; &#39;-v&#39; &#39;-c&#39; &#39;-fno-second-underscore&#39; &#39;-mmacosx-version-min=10.12.3&#39; &#39;-mtune=core2&#39;<br> /usr/local/libexec/gcc/x86_<wbr>64-apple-darwin15.6.0/6.2.0/<wbr>f951 newcffi_singlegrid.f -ffixed-form -fPIC -quiet -dumpbase newcffi_singlegrid.f -m64 -mmacosx-version-min=10.12.3 -mtune=core2 -auxbase newcffi_singlegrid -version -fPIC -fno-second-underscore -fintrinsic-modules-path /usr/local/lib/gcc/x86_64-<wbr>apple-darwin15.6.0/6.2.0/<wbr>finclude -o /var/folders/60/<wbr>qx8g2gvj169741yy29b3h0hm0000gn<wbr>/T//ccLtfHN9.s<br>GNU Fortran (GCC) version 6.2.0 (x86_64-apple-darwin15.6.0)<br>    compiled by GNU C version 6.2.0, GMP version 6.0.0, MPFR version 3.1.2-p10, MPC version 1.0.2, isl version none<br>GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072<br>GNU Fortran2008 (GCC) version 6.2.0 (x86_64-apple-darwin15.6.0)<br>    compiled by GNU C version 6.2.0, GMP version 6.0.0, MPFR version 3.1.2-p10, MPC version 1.0.2, isl version none<br>GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072<br>COLLECT_GCC_OPTIONS=&#39;-m64&#39; &#39;-fPIC&#39; &#39;-v&#39; &#39;-c&#39; &#39;-fno-second-underscore&#39; &#39;-mmacosx-version-min=10.12.3&#39; &#39;-mtune=core2&#39;<br> as -arch x86_64 -force_cpusubtype_ALL -o newcffi_singlegrid.o /var/folders/60/<wbr>qx8g2gvj169741yy29b3h0hm0000gn<wbr>/T//ccLtfHN9.s<br>COMPILER_PATH=/usr/local/<wbr>libexec/gcc/x86_64-apple-<wbr>darwin15.6.0/6.2.0/:/usr/<wbr>local/libexec/gcc/x86_64-<wbr>apple-darwin15.6.0/6.2.0/:/<wbr>usr/local/libexec/gcc/x86_64-<wbr>apple-darwin15.6.0/:/usr/<wbr>local/lib/gcc/x86_64-apple-<wbr>darwin15.6.0/6.2.0/:/usr/<wbr>local/lib/gcc/x86_64-apple-<wbr>darwin15.6.0/<br>LIBRARY_PATH=/usr/local/lib/<wbr>gcc/x86_64-apple-darwin15.6.0/<wbr>6.2.0/:/usr/local/lib/gcc/x86_<wbr>64-apple-darwin15.6.0/6.2.0/..<wbr>/../../<br>COLLECT_GCC_OPTIONS=&#39;-m64&#39; &#39;-fPIC&#39; &#39;-v&#39; &#39;-c&#39; &#39;-fno-second-underscore&#39; &#39;-mmacosx-version-min=10.12.3&#39; &#39;-mtune=core2&#39;<br>SHARED OBJECT NAME (SharedObj): newcffi_singlegrid.so<br>LINKER SUFFIX (ld_suffix): WRAPIT.o newcffi_singlegrid.o -o newcffi_singlegrid.so<br> <br>LINKING<br>gcc -m64 -bundle -flat_namespace -undefined suppress WRAPIT.o newcffi_singlegrid.o -o newcffi_singlegrid.so -lgfortran<br>END WRAPIT<br><br><br><div>Thank you<br></div><div><br><br><br></div></div>
<br>______________________________<wbr>_________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/<wbr>mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>