[Wrf-users] ARWpost for GrADS application
Young, Jeremy, K
jeremy.young868 at topper.wku.edu
Thu Nov 10 16:42:01 MST 2011
I've seen a similar error message before when attempting to compile ARWpost. I fixed this problem by adding the following to the configure.arwp file:
--LDFLAGS should now have -L/path/to/netcdf/lib -lnetcdf -lnetcdff
--CPPFLAGS should now have -I/path/to/netcdf/include and -R/path/to/netcdf/lib
--Change the "-O" flags to match that of netcdf during compile, probably "-O2".
Changing the optimization flags, LDFLAGS and CPPFLAGS will likely fix your problem. The-R/path/to/netcdf/lib will eliminate another problem that I ran into when trying to run ARWpost.exe in which an error message saying that there was an "error opening shared libraries ...". If you see this message, you can use a command like " ln -s /path/to/netcdf/lib/libnetcdf* ." issued from the ARWpost directory to link the necessary libraries and allow them to be referenced.
I hope this helps.
Climate Research Lab
Western Kentucky University
From: wrf-users-bounces at ucar.edu [mailto:wrf-users-bounces at ucar.edu] On Behalf Of Jason Padovani Ginies
Sent: Thursday, November 10, 2011 1:08 PM
To: wrf-users at ucar.edu
Subject: [Wrf-users] ARWpost for GrADS application
I am having trouble compiling ARWposts. When I try to compile I get lots of error messages looking like this:
input_module.f:(.text+0x40f): undefined reference to `ncvgt_'
and eventually are confronted with a final error message saying:
make: [ARWpost.exe] Error 1 (ignored)
Some research has led me to believe that the netCDF on the system might causing this problem and that I might have to re-compile that
Is there any way to go around this perhaps another method of converting wrf output in a format readable by GrADS?
Jason Padovani Ginies
Final Year B.Sc. student
Department of Physics
University of Malta
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Wrf-users