<div dir="ltr"><div dir="ltr"><div>Dave R,</div><div><br></div><div>This would be best answered by NCARG support.  Given their delayed response, I will offer my suggestions.</div><div><br></div>In the current NCL archive, there are no 6.5.0 binaries compiled for Intel fortran.  You probably downloaded a version compiled for GNU/GCC/gfortran.  This would explain all the missing symbols using the Intel compiler, things like '_gfortran_concat_string' and so on.  These symbols are in the GCC/gfortran runtime systems which I speculate you do not have installed.</div><div dir="ltr"><br></div><div>It may be possible to get a GCC/gfortran runtime system installed on your system.  Then if you compile user programs with ifort, you might be able to get an executable that uses mixed Intel and GNU runtime systems.  I might be a bit superstitious, but I try to avoid mixed runtime systems when possible.  This could easily lead to strange and obscure problems.  Testimonials to the robustness of mixed runtimes are conspicuously absent.   ;-)</div><div dir="ltr"><br></div><div>I recommend that you go ahead and build your own Intel-compiled version from source, using the NCARG-only options as described in the on-line install documentation.  Then you will get pure Intel user executables and avoid possible mixed runtime issues.</div><div><br></div><div>I have compiled full NCL from source, many times without too much trouble, most recently using Macports package manager which helps a lot.  NCARG only should be quite a bit easier.  There would be far fewer dependencies.  You may want to look into other package managers to simplify your build on RH6 Linux.</div><div dir="ltr"><div><br></div><div>--Dave A.</div><div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, May 3, 2019 at 3:28 PM Reynolds, David C CTR (US) via ncl-install <<a href="mailto:ncl-install@ucar.edu">ncl-install@ucar.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div lang="EN-US"><div class="gmail-m_-6656019166944044250WordSection1"><p>We have a legacy program built with the Intel fortran that uses the NCARG library on a RH6 linus system. The legacy program is not going to be rewritten.<u></u><u></u></p><p>The build that works uses the Intel 12 fortran compiler and a NCARG 6.1.2 library built from source with the Intel compiler. Only the not OPenDAP-enabled NCARG library is needed, not the full NCL library.<u></u><u></u></p><p>When trying to build the program with the precompiled  NCL Version 6.5.0 binaries the program build returns many unsatisfied externals such as:<u></u><u></u></p><pre>ifort -c  xiv_ob_inr_p.f<u></u><u></u></pre><pre>ifort -Bstatic -o ../bin/plotxy.exe arrows.o c_insty_ob.o c_insty_plt.o<u></u><u></u></pre><pre>c_pr_obs_p.o c_jvarty.o color.o colort.o colram.o cshade.o dpd_cpu.o equiv.o<u></u><u></u></pre><pre>fill.o flipk.o gbox.o ifill.o isolin.o leftjus.o ll_ij.o lnq2td.o<u></u><u></u></pre><pre>jvarty_fun.o maps.o maskland.o maxmin.o nblank.o nomask.o ob_get_type.o<u></u><u></u></pre><pre>p_lvl_find.o pl_innov.o prh2td.o plgrid.o plotlab.o plotob.o plotxy.o<u></u><u></u></pre><pre>q_cpu.o qprntn2.o readob.o rhdist.o rinnov.o rotang.o rsd_ina_p.o rsort.o<u></u><u></u></pre><pre>rstlen.o scale.o setup3.o setupg.o sfcplt.o shadad.o shadap.o shapre.o<u></u><u></u></pre><pre>stmlin.o stnplot.o uv2df1.o uvgrid1.o vectors.o wbarb.o wtitle.o<u></u><u></u></pre><pre>xiv_ob_rd_p.o xiv_ob_rd_s.o xiv_ob_ina_p.o xiv_ob_inr_p.o ../lib/libcoamps.a<u></u><u></u></pre><pre>-L/site/opt/ncarg/ncl-6.5.0/lib -lncarg -lncarg_gks -lncarg_c <u></u><u></u></pre><pre>/site/opt/ncarg/ncl-6.5.0/lib/libncarg.a(cpcldm.o): In function `cpcldm_':<u></u><u></u></pre><pre>cpcldm.f:(.text+0x55f): undefined reference to `_gfortran_concat_string'<u></u><u></u></pre><pre>cpcldm.f:(.text+0x58f): undefined reference to `_gfortran_concat_string'<u></u><u></u></pre><pre>cpcldm.f:(.text+0x5b9): undefined reference to `_gfortran_concat_string'<u></u><u></u></pre><pre>cpcldm.f:(.text+0x5e9): undefined reference to `_gfortran_concat_string'<u></u><u></u></pre><pre>cpcldm.f:(.text+0x613): undefined reference to `_gfortran_concat_string'<u></u><u></u></pre><pre>/site/opt/ncarg/ncl-6.5.0/lib/libncarg.a(cpcldm.o):cpcldm.f:(.text+0x643):<u></u><u></u></pre><pre>more undefined references to `_gfortran_concat_string' follow<u></u><u></u></pre><pre>/site/opt/ncarg/ncl-6.5.0/lib/libncarg.a(cpcldm.o): In function `cpcldm_':<u></u><u></u></pre><pre>cpcldm.f:(.text+0x2129): undefined reference to `_gfortran_string_len_trim'<u></u><u></u></pre><pre>/site/opt/ncarg/ncl-6.5.0/lib/libncarg.a(cpcldr.o): In function `cpcldr_':<u></u><u></u></pre><pre>cpcldr.f:(.text+0x472): undefined reference to `_gfortran_concat_string'<u></u><u></u></pre><pre>cpcldr.f:(.text+0x498): undefined reference to `_gfortran_concat_string'<u></u><u></u></pre><pre>cpcldr.f:(.text+0x4be): undefined reference to `_gfortran_concat_string'<u></u><u></u></pre><pre>cpcldr.f:(.text+0x4e4): undefined reference to `_gfortran_concat_string'<u></u><u></u></pre><pre>cpcldr.f:(.text+0x50a): undefined reference to `_gfortran_concat_string'<u></u><u></u></pre><pre>/site/opt/ncarg/ncl-6.5.0/lib/libncarg.a(cpcldr.o):cpcldr.f:(.text+0x530):<u></u><u></u></pre><pre>more undefined references to `_gfortran_concat_string' follow<u></u><u></u></pre><pre>The question is "is there an easy fix to this?"; such as a library specification<u></u><u></u></pre><pre>in the makefile for the progran or will I need to build the NCARG library from <u></u><u></u></pre><pre>source using our default Intel compilers?<u></u><u></u></pre><pre><u></u> <u></u></pre><pre>Any suggestions are welcomed.<u></u><u></u></pre><pre><u></u><br></pre><pre>-- Dave<u></u><u></u></pre><pre><u></u> <u></u></pre><pre>-----------------------------<u></u><u></u></pre><pre>Dave Reynolds<u></u><u></u></pre><pre>HPC Software Engineer<u></u><u></u></pre><pre>DeVine Consulting<u></u><u></u></pre><pre>FNMOC / US Navy<u></u><u></u></pre><pre><a href="mailto:david.reynolds4.ctr@navy.mil" target="_blank">david.reynolds4.ctr@navy.mil</a></pre></div></div>
</blockquote></div></div></div>