[Wrf-users] geogrid and metgrid does not compile

진종훈 jinjonghun at gmail.com
Mon Aug 20 18:04:55 MDT 2012


Hi,
did you have compiled your NetCDF library with gfortran?
I recommend you to check that you have defined with path in environment
variable $NETCDF.


2012/8/20 Zhou, Ying <ying.zhou at emory.edu>

>  Hi WRF-users,
>
>
>
> 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.
>
>
>
> 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.
>
>
>
> 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.
>
>
>
> If you have any suggestions on how to solve this problem, please let me
> know. Thanks in advance!
>
>
>
> Best,
>
> Ying
>
> ------------------------------
>
> This e-mail message (including any attachments) is for the sole use of
> the intended recipient(s) and may contain confidential and privileged
> information. If the reader of this message is not the intended
> recipient, you are hereby notified that any dissemination, distribution
> or copying of this message (including any attachments) is strictly
> prohibited.
>
> If you have received this message in error, please contact
> the sender by reply e-mail message and destroy all copies of the
> original message (including attachments).
>
> _______________________________________________
> Wrf-users mailing list
> Wrf-users at ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/wrf-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/wrf-users/attachments/20120821/6b3c569e/attachment.html 


More information about the Wrf-users mailing list