<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">Hi,</span><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">
did you have compiled your NetCDF library with gfortran?</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">I recommend you to check that you have defined with path in environment variable $NETCDF.</div>
<div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)"><br></div><br><div class="gmail_quote">2012/8/20 Zhou, Ying <span dir="ltr"><<a href="mailto:ying.zhou@emory.edu" target="_blank">ying.zhou@emory.edu</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div style="direction:ltr;font-size:10pt;font-family:Tahoma">
<p>Hi WRF-users,</p>
<div style="font-size:16px;font-family:Times New Roman">
<div>
<div style="direction:ltr;font-size:10pt;font-family:Tahoma">
<div style="font-size:16px;font-family:Times New Roman">
<div>
<div style="direction:ltr;font-size:10pt;font-family:Tahoma">
<p> </p>
<p>I am trying to compile WRF V3.4.1. The WRF part compiled without problem. However, when I tried to compile WPS, I only see ungrib.exe. Neither geogrid.exe nor metgrid.exe was generated. I have gfortran compiler on Linux x86_64 system. In the compile.log,
I got a lot of messages on "undefined reference", such as "libnetcdff.so: undefined reference to `_gfortran_copy_string' " and "libnetcdff.so: undefined reference to `_gfortran_internal_malloc64' ". I am not sure whether this means something is not right
with my netcdf library, even though WRF compiled succefully.</p>
<p> </p>
<p>wrfhelp suggested that I modify the last line in WRF_LIBS in configure.wps by adding -lnetcdff before -lnetcdf, so it looks like -L$(NETCDF)/lib -lnetcdff -lnetcdf However, this did not solve the problem either.</p>
<p> </p>
<p>Note that WPSV3.4.1 added an option for Linux x86_64 with gfortran compiler when I typed ./configure, which was what I selected. I also tried version 3.4, in which I modified the arch/configure.defaults file for my system. However, this did not solve my
problem either.</p>
<p> </p>
<p>If you have any suggestions on how to solve this problem, please let me know. Thanks in advance!</p>
<p> </p>
<p>Best,</p>
<p>Ying </p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<hr>
<font face="Arial" color="Gray" size="1"><br>
This e-mail message (including any attachments) is for the sole use of<br>
the intended recipient(s) and may contain confidential and privileged<br>
information. If the reader of this message is not the intended<br>
recipient, you are hereby notified that any dissemination, distribution<br>
or copying of this message (including any attachments) is strictly<br>
prohibited.<br>
<br>
If you have received this message in error, please contact<br>
the sender by reply e-mail message and destroy all copies of the<br>
original message (including attachments).<br>
</font>
</div>
<br>_______________________________________________<br>
Wrf-users mailing list<br>
<a href="mailto:Wrf-users@ucar.edu">Wrf-users@ucar.edu</a><br>
<a href="http://mailman.ucar.edu/mailman/listinfo/wrf-users" target="_blank">http://mailman.ucar.edu/mailman/listinfo/wrf-users</a><br>
<br></blockquote></div><br>