<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hi David,<div><br></div><div>This means that metgrid can’t find libnetcdff.so.5. On linux you can also run “ldd metgrid.exe” to check this. Maybe the location of your libnetcdff.so.5 library is no longer in the system search path (environment variable LD_LIBRARY_PATH - should contain <span style="font-family: Calibri, sans-serif; font-size: 14px;">/usr/local/netcdf/lib in your case)?</span></div><div><span style="font-family: Calibri, sans-serif; font-size: 14px;"><br></span></div><div><span style="font-family: Calibri, sans-serif; font-size: 14px;">Cheers</span></div><div><span style="font-family: Calibri, sans-serif; font-size: 14px;"><br></span></div><div><span style="font-family: Calibri, sans-serif; font-size: 14px;">Dom</span></div><div><br><div><div>On 16/10/2014, at 3:53 pm, David Smith <<a href="mailto:dsmith@uvi.edu">dsmith@uvi.edu</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; font-size: 14px; font-family: Calibri, sans-serif;">
<div>
<div>
<div>Hi,</div>
<div><br>
</div>
<div> I successfully ran ungrib for a recent 3-day forecast, but when I tried to run metgrid, I got the following error.</div>
<div><br>
</div>
<div>
<div>./metgrid.exe: error while loading shared libraries: libnetcdff.so.5: cannot open shared object file: No such file or directory</div>
</div>
<div><br>
</div>
<div> Does this mean metgrid can't find libnetcdff.so.5 , or that libnetcdff.so.5 can't find a file or directory? One suggestion I found on wrfforum for a similar error suggested that the NETCDF environment was not properly set. But it was during the
original compilation and metgrid has run without any errors for all previous runs. Does anyone have an idea of what might have happened to cause this error? (There was no other major installation/compilation that I know of that might have clobbered some
links. I did try doing soft links to all the relevant libnetcdff.so.5 files below, but that didn't help. </div>
<div><br>
</div>
<div>Thanks for any ideas.</div>
<div><br>
</div>
<div><br>
</div>
<div>
<div>/aspendata/install/netcdf-fortran-4.2/fortran/.libs/libnetcdff.so.5</div>
<div>/aspendata/install/netcdf-fortran-4.2/fortran/.libs/libnetcdff.so.5.3.1</div>
<div>/usr/local/netcdf/lib/libnetcdff.so.5</div>
<div>/usr/local/netcdf/lib/libnetcdff.so.5.1.0</div>
<div>/usr/local/netcdf-4.1.3/fortran/.libs/libnetcdff.so.5</div>
<div>/usr/local/netcdf-4.1.3/fortran/.libs/libnetcdff.so.5.1.0</div>
<div>/usr/local/netcdf-4.1.3/fortran/.libs/libnetcdff.so.5.1.0T</div>
<div>/usr/local/netcdf-4.2.1.1/gcc/lib/libnetcdff.so.5</div>
<div>/usr/local/netcdf-4.2.1.1/gcc/lib/libnetcdff.so.5.3.1</div>
<div>/usr/local/savenetcdf-4.1.3/gcc/lib/libnetcdff.so.5</div>
<div>/usr/local/savenetcdf-4.1.3/gcc/lib/libnetcdff.so.5.1.0</div>
<div>/usr/local/savenetcdf-4.1.3/intel/lib/libnetcdff.so.5</div>
<div>/usr/local/savenetcdf-4.1.3/intel/lib/libnetcdff.so.5.1.0</div>
</div>
<div><br>
</div>
<div>
<div><font class="Apple-style-span" color="rgb(0, 0, 0)"><font class="Apple-style-span" face="Calibri">Dr. David J Smith</font></font></div>
<div><font class="Apple-style-span" color="rgb(0, 0, 0)"><font class="Apple-style-span" face="Calibri">College of Science and Mathematics</font></font></div>
<div><font class="Apple-style-span" color="rgb(0, 0, 0)"><font class="Apple-style-span" face="Calibri">University of the Virgin Islands</font></font></div>
<div><font class="Apple-style-span" color="rgb(0, 0, 0)"><font class="Apple-style-span" face="Calibri">St. Thomas, VI 00802</font></font></div>
<div><font class="Apple-style-span" color="rgb(0, 0, 0)"><font class="Apple-style-span" face="Calibri">340 693-1257</font></font></div>
<div><font class="Apple-style-span" color="rgb(0, 0, 0)"><font class="Apple-style-span" face="Calibri"><a href="mailto:dsmith@uvi.edu">dsmith@uvi.edu</a></font></font></div>
</div>
</div>
</div>
<div><br>
</div>
</div>
_______________________________________________<br>Wrf-users mailing list<br><a href="mailto:Wrf-users@ucar.edu">Wrf-users@ucar.edu</a><br>http://mailman.ucar.edu/mailman/listinfo/wrf-users<br></blockquote></div><br></div></body></html>