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) and
will 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. After
reinstalling 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
Weather Trends International, Inc.
This communication is privileged and may contain confidential information.
It's intended only for the use of the person or entity named above. If you
are 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.
[mailto:gembud-bounces@xxxxxxxxxxxxxxxx] On Behalf Of David Atkinson
Sent: Thursday, January 21, 2010 9:16 PM
Subject: [gembud] Errors in 5.11.4 compile under Ubuntu/Debian i686
In trying to compile Gempak 5.11.4 under Ubuntu the compile completes with a
few 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 is
plotted. 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:
/usr/include/bits/fcntl2.h:51: error: call to '__open_missing_mode'
declared with attribute error: open with O_CREAT in second argument needs 3
xmltransform.c:10:26: error: libxslt/xslt.h: No such file or directory
** various missing libraries like this **
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) and
the 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
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
email: datkinson @ iarc.uaf.edu