<div dir="ltr"><div class="gmail_default" style="font-size:small">In the future, please start a new email thread when you have a new question. Also, NCL usage questions should be posted to <a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a>.  All follow-up questions should be posted back to the list as well.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Could you try WRAPIT on a small test program, so we can see if that works?</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Go to:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default"><a href="http://www.ncl.ucar.edu/Document/Tools/WRAPIT.shtml#Example_2">http://www.ncl.ucar.edu/Document/Tools/WRAPIT.shtml#Example_2</a><br></div><div class="gmail_default"><br></div><div class="gmail_default">and download the ex02.f and ex02.ncl files.</div><div class="gmail_default"><br></div><div class="gmail_default">Then, try executing:</div><div class="gmail_default"><br></div><div class="gmail_default">WRAPIT -in -d ex02.f</div><div class="gmail_default"><br></div><div class="gmail_default">Let us know what happens.</div><div class="gmail_default"><br></div><div class="gmail_default">Thanks,</div><div class="gmail_default"><br></div><div class="gmail_default">--Mary</div><div class="gmail_default"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Sep 22, 2017 at 5:38 AM, 王忍之 <span dir="ltr"><<a href="mailto:rzwang@nuist.edu.cn" target="_blank">rzwang@nuist.edu.cn</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto" style="color:rgb(34,34,34);font-family:arial,sans-serif">Thank you ,Mary.</div><div dir="auto" style="color:rgb(34,34,34);font-family:arial,sans-serif">I has sccessed of build NCL. It have '${NCARG_ROOT}/bin/ncl'  exist. And It can plot examples. </div><div dir="auto" style="color:rgb(34,34,34);font-family:arial,sans-serif"><span style="color:rgb(102,0,0)">My environment variable NCARG_ROOT=/nuist/u/home/dawn/<wbr>ncl.</span><br></div><div dir="auto" style="color:rgb(34,34,34);font-family:arial,sans-serif"><br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif">When I use 'WRAPIT' compile external shared library. I used this comand to  compile.</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif"><font color="#0000ff">' WRAPIT -in ver03.stub ver03.f90 '</font></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif"><font color="#0000ff"><br></font></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif">And run .ncl script call it. The errror is following: </div><div style="color:rgb(34,34,34);font-family:arial,sans-serif"><div><font color="#ff0000">warning:An error occurred loading the external file ./ver03.so, file not loaded</font></div><div><font color="#ff0000">./ver03.so: undefined symbol: NclGetArgValue</font></div></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif"><font color="#ff0000"><br></font></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif"><font color="#000000">I run </font><font color="#0000ff">'WRAPIT -in -d ver03.stub ver03.f90</font><span style="color:rgb(0,0,0)"> ', the output is:</span></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif"><span style="color:rgb(0,0,0)">..............................<wbr>..............</span></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif"><div><font color="#0000ff">WRAPIT Version: 120209</font></div><div><font color="#0000ff">/nuist/p/public/app/intel/inte<wbr>l2016/compilers_and_libraries_<wbr>2016.1.150/linux/bin/intel64/<wbr>ifort</font></div><div><font color="#0000ff">OPERATING SYSTEM: Linux</font></div><div><font color="#0000ff">nbits = 64</font></div><div><font color="#0000ff">FORTRAN COMPILER (f90c): ifort</font></div><div><font color="#0000ff">FORTRAN COMPILER OPTIONS (fopts):  -fPIC -c -CB -V</font></div><div><font color="#0000ff">cc -fPIC -c -I/nuist/u/home/dawn/ncl/inclu<wbr>de WRAPIT.c</font></div><div><font color="#0000ff">COMPILING ver03.f90</font></div><div><font color="#0000ff">ifort -fPIC -c -CB -V ver03.f90</font></div><div><font color="#0000ff">Intel(R) Fortran Intel(R) 64 Compiler for applications running on Intel(R) 64, Version 16.0.1.150 Build 20151021</font></div><div><font color="#0000ff">Copyright (C) 1985-2015 Intel Corporation.  All rights reserved.</font></div><div><font color="#0000ff"><br></font></div><div><font color="#0000ff"> Intel(R) Fortran 16.0-1585</font></div><div><font color="#0000ff">SHARED OBJECT NAME (SharedObj): ver03.so</font></div><div><font color="#0000ff">LINKER SUFFIX (ld_suffix): WRAPIT.o ver03.o -o ver03.so</font></div><div><font color="#0000ff"><br></font></div><div><font color="#0000ff">LINKING</font></div><div><font color="#0000ff">ifort -shared WRAPIT.o ver03.o -o ver03.so</font></div><div><font color="#0000ff">END WRAPIT</font></div><div><font color="#660000">..............................<wbr>...............</font></div><div><font color="#660000"> And I tried add library PATH.</font></div><div><font color="#0000ff">' WRAPIT -in -L ${NCARG_ROOT}/lib -l ncl -l hlu -l ncarg -l ncarg_c -l ncarg_gks -l nfp -l ngmath  ver03.stub ver03.f90'</font><br></div><div><span style="color:rgb(102,0,0)">And it's output is :</span></div><div><div><div><font color="#ff0000">warning:An error occurred loading the external file ./ver03.so, file not loaded</font></div><div><font color="#ff0000">./ver03.so: undefined symbol: drelhum_</font></div></div><div><br></div><div>I'm confused, Why it is . It don't know how to do. <span style="color:rgb(51,51,51);font-family:"PingFang SC","Lantinghei SC","Microsoft YaHei",arial,宋体,sans-serif,tahoma;white-space:pre-wrap">Waiting for your reply!</span></div><div style="color:rgb(102,0,0)"><br></div></div><div style="color:rgb(0,0,0)">Dawn Wang</div></div><br><br><blockquote name="replyContent" class="m_7212290825820087525ReferenceQuote" style="padding-left:5px;margin-left:5px;border-left:#b6b6b6 2px solid;margin-right:0">-----原始邮件-----<br>
<b>发件人:</b><span id="m_7212290825820087525rc_from">"Mary Haley" <<a href="mailto:haley@ucar.edu" target="_blank">haley@ucar.edu</a>></span><br>
<b>发送时间:</b><span id="m_7212290825820087525rc_senttime">2017-09-21 23:45:03 (星期四)</span><br>
<b>收件人:</b> "王忍之" <<a href="mailto:rzwang@nuist.edu.cn" target="_blank">rzwang@nuist.edu.cn</a>><br>
<b>抄送:</b> "<a href="mailto:ncl-install@ucar.edu" target="_blank">ncl-install@ucar.edu</a>" <<a href="mailto:ncl-install@ucar.edu" target="_blank">ncl-install@ucar.edu</a>><br>
<b>主题:</b> Re: [ncl-install] Don't Compiled out 'ncl' exe file from build NCL and NCAR Graphics from source code<div><div class="h5"><br><br><div dir="ltr"><div class="gmail_default" style="font-size:small">Dear Renzhi Wang,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Did you type "make Everything" from the top level NCL source code tree, and save the output to a file? If so, can you email the file to <a href="mailto:ncl-install@ucar.edu" target="_blank">ncl-install@ucar.edu</a>? Also, please email the $NCARG/config/Site.local file.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">My guess is that the make system is trying to build support for handling HDF-EOS files, but it can't find the required HDF-EOS include files.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">--Mary</div><div class="gmail_default" style="font-size:small"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 20, 2017 at 7:33 AM, 王忍之 <span dir="ltr"><<a href="mailto:rzwang@nuist.edu.cn" target="_blank">rzwang@nuist.edu.cn</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="m_7212290825820087525HOEnZb"><div class="m_7212290825820087525h5">Hello:<div>  I compile NCL6.4.0 use Intel(16.0.1) Compiler in Redhat 6.2 OS. I compiled another directory until enter ${NCARG}/ni/src/ncl directory. Run 'make' command,have this problem:</div><div>``````````````</div><div>  <font color="#ff0000">ar: creating libncl.a</font></div><div><font color="#ff0000">  ar: NclHDFEOS.o: No such file or directory</font></div><div><font color="#ff0000">  make: *** [libncl.a] Error 1</font></div><div>```````````</div><div> And,I add something in Makefile, like:</div><div> Line 818:</div><div>   <font color="#0000ff">$(CC) -c<span style="background-color:rgb(255,255,255)"> </span><span style="background-color:rgb(255,0,0)">-o scanapi.o</span> $(API_DEFS) $(CFLAGS)  $<</font></div><div><font color="#0000ff"> </font><span style="background-color:rgb(255,255,255)">Line 823:</span></div><div><font color="#0000ff">    $(CC) -c <span style="background-color:rgb(255,0,0)">-o parseapi.o</span> $(API_DEFS) $(CFLAGS)   $<</font></div><div><font color="#0000ff"> </font>Line 981:</div><div><font color="#0000ff">    </font><span style="color:rgb(0,0,255)">$(CC) -c <span style="background-color:rgb(255,0,0)">-o NclHDF.o</span> $(HDFDEFINES) $(HDF4_NETCDF) $(CFLAGS) NclHDF.c $<</span></div><div><span style="color:rgb(0,0,255)"> </span>Line 988:</div><div><span style="color:rgb(0,0,255)">    $(CC) -c<span style="background-color:rgb(255,0,0)"> -o NclHDFEOS.o</span> $(HDFDEFINES) $(HDF4_NETCDF) $(CFLAGS)  NclHDFEOS.c $<</span></div><div> then,compile again ,no error, But have many warnings!!!</div><div><br></div><div><font color="#ff0000">icc: warning #10145: no action performed for file 'Ncl.o'</font></div><div><font color="#ff0000">icc: warning #10145: no action performed for file 'io.o'</font></div><div><font color="#ff0000">icc: warning #10145: no action performed for file 'NclHLUObj.o'</font></div><div><font color="#ff0000">icc: warning #10145: no action performed for file 'NclApi.o'</font></div><div><font color="#ff0000">icc: warning #10145: no action performed for file 'guiFuncs.o'</font></div><div><font color="#ff0000">icc: warning #10145: no action performed for file 'NclDriver.o'</font></div><div><font color="#ff0000">.........etc.</font></div><div>Finally,this directory no 'ncl' file <span style="font-family:arial,sans-serif;font-size:13px;white-space:nowrap">be produced. I tried many times but failed.</span></div><div><span style="font-family:arial,sans-serif;font-size:13px;white-space:nowrap">Can you help me hou to do? thank you.</span></div><div><span style="font-family:arial,sans-serif;font-size:13px;white-space:nowrap">                                                                                                                                                                                                                                         Sincerely ,  Renzhi Wang</span></div></div></div><br>______________________________<wbr>_________________<br>
ncl-install mailing list<br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-install" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailma<wbr>n/listinfo/ncl-install</a><br>
<br></blockquote></div><br></div>
</div></div></blockquote></blockquote></div><br></div>