Compile grads-src-2.0.a0 on x86_64 error
Oliver König
oliver at WINDFINDER.COM
Wed Feb 13 09:32:19 EST 2008
Hello,
on Dell Poweredge 1950 Debian Linux (stable/etch) Kernel 2.6.18 SMP x86_64 I
compiled wgrib2 and I am pretty sure that it works. I had previously compiled
the supplibs-2.0.1 and grads-2.0 but I never managed to display grib2 data in
grads2.
So I decided to try again by installing the supplibs-2.0.1 (instead of
compiling) and compile grads-2.0. this is what I did:
######## Install supplibs ########
$ cd /var/grads
$ tar xvfz supplibs-2.0.1-x86_64-unknown-linux-gnu.tar.gz
$ ln -s supplibs-2.0.1 supplibs
$ export SUPPLIBS=/var/grads/supplibs-2.0.1/x86_64-unknown-linux-gnu
######## Compile grads2 ########
$ tar xvfz grads-src-2.0.a0.tar.gz
$ cd grads-src-2.0.a0
$ ./configure
+----------------------------------+
| |
| Configuration Summary |
| |
| + readline enabled |
| + printim enabled |
| + netcdf enabled |
| + hdf4 enabled |
| + grib2 enabled |
| + GUI enabled |
| |
| Build Summary |
| |
| + grads enabled |
| + gradsdap enabled |
| (both grid & stn interfaces) |
| |
| - Dynamic linking disabled |
| |
+----------------------------------+
$ make
$ make check
$ make install prefix=/var/grads/grads2
$ cp /var/grads/wgrib2/wgrib2 /var/grads/grads2/bin
######## Test grads2 ########
$ wget
ftp://ftpprd.ncep.noaa.gov/pub/data/nccf/com/gfs/prod/gfs.2008021300/gfs.t00z.sfluxgrbf09.grib2
$ g2ctl.pl -verf gfs.t00z.sfluxgrbf09.grib2 > gfs2.ctl
$ /var/grads/grads2/bin/gribmap -i gfs2.ctl
$ /var/grads/grads2/bin/grads -b
ga-> open gfs2
ga-> set t 2
ga-> d ugrd10m
Cannot contour grid - all undefined values
ga-> d tmpsfc
Cannot contour grid - all undefined values
So, in the end I get the same result as I did with compiling the supplibs:
grads does not display grib2 data! on x86_64 bit operating system.
On i686 these very same instructions worked with the only difference that i
used the supplibs for i686. Can anyone help? thanks!
Regards,
--
Oliver könig
More information about the gradsusr
mailing list