64-bit RH3 GrADS?

Arlindo da Silva dasilva at ALUM.MIT.EDU
Tue Aug 14 14:35:38 EDT 2007


On 7/19/07, Gary Strand <strandwg at ucar.edu> wrote:
> I'm trying to build/use GrADS 1.9b4 on a 64-bit RH3 system.
>
> The primary problem is that 'gradsdods' fails with a "missing" shared
> object library:
>
> gradsdods: error while loading shared libraries: libcom_err.so.3:
> cannot open shared object file: No such file or directory
>

These error messages could be a bit misleading sometimes. I've been
able to run a 32-bit on a 64-bit machine by providing .so from a
32-bit machine. To experiment, create a local directory to place your
supplemental .so and set LD_LIBRARY_PATH accordingly. For example,

mkdir $HOME/lib
setenv LD_LIBRARY_PATH $HOME/lib:$LD_LIBRARY_PATH
(omit the last :$LD_LIBRARY_PATH if you do not have it set already)
gradods

Then  copy the 32 bit .so's to $HOME/lib and start gradsdods.  In my
case, running Mandriva 2007.1, I needed to suplement the 64-bit ditro
with:

libstdc++-libc6.2-2.so.3
libXaw.so.7

from a 32-bit machine. The libstdc++ is essential for gradsdods, the
gradsnc/gradshdf do not use it.

> I suspect the error is actually because 'libcom_err.so.3' is a 64-bit
> version, and 'gradsdods' (as from the downloadable binaries) is 32-bit.
>

You may try to drop this one in as well, but I suspect that the
libstdc++ (from gcc 2.9x) may do the trick.

> I've been trying to build GrADS from the source, however, I'm running
> a number of show-stopping problems.
>
> Has anyone had any success with 'gradsdods' on a 64-bit RH3 system?
>

This can be tricky as it will needs internal patches in grads, and
there are people at NRL working on it. I heard it is worth it as it
runs much faster.

  Good Luck,

       Arlindo

--
Arlindo da Silva
dasilva at alum.mit.edu



More information about the gradsusr mailing list