<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>Dear all,</div><div><br></div><div>I am trying to compile WPS with the option&nbsp;<b>PC Linux x86_64 (IA64 and Opteron), PGI compiler 5.2 or higher, DM parallel</b>&nbsp;(option 9) in a cluster machine to use GRIB2 format files. However, after configuring and compiling WPS the executable file ungrib.exe is not built in the WPS directory. I successfully &nbsp;compiled WRFV3 and all paths to netcdf, jasper, zlib and libpng are set in my bash file.</div><div><br></div><div><br></div><div>Bellow, follows the final part of a&nbsp;<b>./compile ungrib&nbsp;</b>that I did to try built ungrib.exe in the WPS directory (when I use&nbsp;<b>./compile</b>&nbsp;the files geogrid.exe and metgrid.exe are the unique archives built). &nbsp;Pay attention at the red lines which is indicative of some 'problem' to find some lib (g2_4).&nbsp;</div><div><br></div><div><br></div><div><div style="margin: 0px; font-size: 12px; font-family: Helvetica; ">/bin/rm -f ungrib.exe</div><div style="margin: 0px; font-size: 12px; font-family: Helvetica; ">pgf90 -o ungrib.exe&nbsp; misc_definitions_module.o debug_cio.o module_debug.o module_stringutil.o table.o module_datarray.o gridinfo.o new_storage.o filelist.o ungrib.o output.o rrpr.o rd_grib1.o file_delete.o datint.o rd_grib2.o&nbsp; \</div><div style="margin: 0px; font-size: 12px; font-family: Helvetica; "><span class="Apple-tab-span" style="white-space: pre; ">                        </span>-L./ngl -lw3 -lg2_4 \</div><div style="margin: 0px; font-size: 12px; font-family: Helvetica; "><span class="Apple-tab-span" style="white-space: pre; ">                        </span>-L/opt/jasper/lib -ljasper -L/opt/libpng/lib -lpng -L/opt/zlib/lib -lz \</div><div style="margin: 0px; font-size: 12px; font-family: Helvetica; "><span class="Apple-tab-span" style="white-space: pre; ">                        </span>-L. -lpgu</div><div style="margin: 0px; font-size: 12px; font-family: Helvetica; color: rgb(255, 64, 19); "><b>/usr/bin/ld: cannot find -lg2_4</b></div><div style="margin: 0px; font-size: 12px; font-family: Helvetica; color: rgb(255, 64, 19); "><b>make[1]: [ungrib.exe] Error 2 (ignored)</b></div><div style="margin: 0px; font-size: 12px; font-family: Helvetica; ">make[1]: Leaving directory `/home/veiga/MODELS/CLWRF/WPS/ungrib/src'</div><div style="margin: 0px; font-size: 12px; font-family: Helvetica; ">if [ -h ungrib.exe ] ; then \</div><div style="margin: 0px; font-size: 12px; font-family: Helvetica; ">&nbsp; &nbsp; &nbsp; &nbsp; /bin/rm -f ungrib.exe ; \</div><div style="margin: 0px; font-size: 12px; font-family: Helvetica; ">fi ; \</div><div style="margin: 0px; font-size: 12px; font-family: Helvetica; ">if [ -h ../ungrib.exe ] ; then \</div><div style="margin: 0px; font-size: 12px; font-family: Helvetica; "><span class="Apple-tab-span" style="white-space: pre; ">        </span>/bin/rm -f ../ungrib.exe ; \</div><div style="margin: 0px; font-size: 12px; font-family: Helvetica; ">fi ; \</div><div style="margin: 0px; font-size: 12px; font-family: Helvetica; ">if [ -e src/ungrib.exe ] ; then \</div><div style="margin: 0px; font-size: 12px; font-family: Helvetica; "><span class="Apple-tab-span" style="white-space: pre; ">        </span>ln -sf src/ungrib.exe . ; \</div><div style="margin: 0px; font-size: 12px; font-family: Helvetica; ">fi</div></div></div><div><br></div><div><br></div><div><div>What should be the solution for this problem ?</div><div><br></div><div>When I use option 8 (<b>NO GRIB2</b>) all executable files are built (ungrib.exe,&nbsp;geogrid.exe and metgrid.exe).&nbsp;</div></div><div><br></div><div>I attached the result of&nbsp;<b>./compile ungrib</b>&nbsp;(ungrib.out) and my configure.wps.&nbsp;</div><div><br></div><div>Thanks in advance,</div><div><br></div><div><br></div><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><span class="Apple-style-span" style="font-family: arial; font-size: small; "><div><span style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "><font color="#333333"><span style="background-color: rgb(255, 255, 255); ">José Augusto P. Veiga,&nbsp;</span><br><br>======================================<br>Universidade do Estado do Amazonas&nbsp;<br>Departamento de Meteorologia<br><span style="border-collapse: separate; font-family: arial; font-size: small; ">Escola Superior de Tecnologia (EST)</span><br>-----------------------------------------------------------------------------</font></span></div><div><span style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "><span style="border-collapse: separate; font-family: arial; font-size: small; "><font color="#333333">Av. Darcy Vargas, 1200, Manaus-AM Brasil<br>Work phone:&nbsp; &nbsp; (92) 3878 4323<br>Skype:<span style="background-color: rgb(255, 255, 255); ">&nbsp;veiga_j.a.p.</span><br></font></span></span></div><div><font color="#333333"><span style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">-----------------------------------------------------------------------------</span><br>CV:&nbsp;<a href="http://lattes.cnpq.br/4027612512091565" target="_blank"><font color="#333333" style="background-color: rgb(255, 255, 255); ">http://lattes.cnpq.br/4027612512091565</font></a><br>URL:<font style="background-color: rgb(255, 255, 0); "><a href="http://scientificmet.wordpress.com/" target="_blank">http://scientificmet.wordpress.com/</a></font></font></div><div><font color="#333333"><a href="http://nmet.wordpress.com/">http://nmet.wordpress.com/</a></font></div><div><font color="#333333"><span style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">-----------------------------------------------------------------------------</span></font></div></span></div></div></span></div></span></div></span></div></span></span>
</div>
</body></html>