NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
Hi Evan, Thanks for the response. Go to <http://people.iarc.uaf.edu/~datkinson/GEMPAK/>and find the make.out, install.out and clean.out and the .gem file I've been trying my grid routines on.
I actually have gempak installed on another computer in the office and verified that I can get data from that specific gem file, so I don't think it is the data file and so I continued looking into the make errors.
I also tried altering various limits as per this site: <http://www.atmos.albany.edu/facstaff/rmctc/gempak/>After installing more libraries I reduced the number of errors a fair bit, and now the errors seem to be converging on two things: HDF5 and libxml2. But - libxml2 and libxslt are both present in /usr/lib, which is in the main path. As you look through make.out it finds things associated with libxml2, but then it stops finding them. I even tried copying libxml2.a and libxslt.a to every single subdirectory in the GEM install package - didn't work because I think it is looking for them in new lib directories it's making under the os/linux subdirectory it sets up. There is an environmental variable being reset incorrectly somewhere, as per this discussion I came across: - okay I can't find it now (I saw it on the GEMBUD list from 2001) but it described environmental variables not being set properly during the make process such that previously found libraries disappeared, as mine have.
I was looking into installing g77 and re-running the build, but we figured that g77 should be a perfect subset of gfortran (or maybe not).
I've cc'd this to support-gempak@xxxxxxxxxxxxxxxx Thanks Evan. Dave A. Evan Lowery wrote:
Hi Dave, Can you send me a sample GEMPAK grid file that you've experienced problems. I have GEMPAK installed on an Ubuntu 32-bit server at home (9.10 Karmic) andwill try to replicate your error.I want to try the following: 1) Test a sample grid file you provide to try and replicate your error on an Ubuntu 32-bit server and Cent-OS Server 2) Compare *.out files to see if there are any differences. From what I remember I had little if any error messages in the *.out files. I've run into the error you're experiencing "grid cannot be found" when using GDDIAG on a CentOS 32-bit server. It was very odd that GDINFO would see the grid, but GDDIAG didn’t. The main problem with that GEMPAK installation was that it compiled with gfortran instead of g77. Afterreinstalling GEMPAK with g77, that problem was resolved.Reinstalling with g77 took several attempts because of an oversight on my end. The GEMPAK user account set GEMPAK environmental variables each time I logged in (Gemenviron in a previous GEMPAK build). One of the environmental variables was "USE_GFORTRAN=1". So even though the newer GEMPAK build Gemenviron had "USE_G77=1", GFORTRAN was actually used to install GEMPAK. After 3 or 4 tries I finally realized what was going on and got it installed correctly. Evan Applications Meteorologist Weather Trends International, Inc. Phone 610-807-3197 http://www.wxtrends.comThis communication is privileged and may contain confidential information. It's intended only for the use of the person or entity named above. If youare not the intended recipient, do not distribute or copy this communication. If you have received this communication in error, please notify the sender immediately and return the original to the email address above. © Copyright 2010 Weather Trends International, Inc. -----Original Message----- From: gembud-bounces@xxxxxxxxxxxxxxxx [mailto:gembud-bounces@xxxxxxxxxxxxxxxx] On Behalf Of David Atkinson Sent: Thursday, January 21, 2010 9:16 PM To: gembud@xxxxxxxxxxxxxxxx Subject: [gembud] Errors in 5.11.4 compile under Ubuntu/Debian i686 Hello, In trying to compile Gempak 5.11.4 under Ubuntu the compile completes with afew errors and installs okay. Programs like SFLIST work fine. GDINFO works fine to read a gem grid. However the plotters do not find the required variables, even after verifying their presence with GDINFO. They will start a GPLT process and generate a window, but no variable isplotted. GDPLOT will even produce a political basemap, but again no variable is found or plotted. The error issued predictably is [DG -7] Input grid TMPK ^1001180000F006 @500 %PRES cannot be found. gfortran was used (g77 is unavailable now for later releases of Ubuntu - this version is 9.10 Karmic) The errors in make.out fall into three categories: First type:/usr/include/bits/fcntl2.h:51: error: call to '__open_missing_mode' declared with attribute error: open with O_CREAT in second argument needs 3arguments Second type: xmltransform.c:10:26: error: libxslt/xslt.h: No such file or directory ** various missing libraries like this ** Third type: Warnings that looked problematic, dealing with a need for "End expression in Do loop at (1) must be integer" So - I rather suspect that libraries are missing or aren't properly up to date (eg the first error type). The Ubuntu version 9.10 was released late fall 2009, so it is pretty new. I followed the installation info and installed motif (and not lesstif) andthe other development libraries, to the extent I recognized them. Clearly something is yet missing.Here are the packages I installed under Ubuntu/debian: > libmotif-dev (these include various dependencies such as libmotif3) > libxp-dev > libxt-dev > libpng12-dev I have attached the make.out, install.out and clean.out files, along with output from GDINFO and a screenshot of the GDCNTR failure. Thanks for any help Dave Atkinson. -- David E. Atkinson, PhD Assistant Professor of Atmospheric Sciences International Arctic Research Center 930 Koyukuk Drive P.O. Box 757335 University of Alaska Fairbanks Fairbanks AK 99775-7335 tel: +1.907.474.1126 fax: +1.907.474.2643 email: datkinson @ iarc.uaf.edu
-- David E. Atkinson, PhD Assistant Professor of Atmospheric Sciences International Arctic Research Center 930 Koyukuk Drive P.O. Box 757335 University of Alaska Fairbanks Fairbanks AK 99775-7335 tel: +1.907.474.1126 fax: +1.907.474.2643 email: datkinson @ iarc.uaf.edu
gembud
archives: