Hi Jeff,
> The linux distro / version is typically in a text file named
> /etc/issue. There's other places it lives, but that's a common spot.
$ less /etc/issue
Red Hat Linux Advanced Server release 2.1AS (Derry)
> I think an acid test you might want to try is to compile and run a
> simple "hello world" in C++ -- outside of MPI -- to see if your C++
> compiler and support libraries are installed properly. LAM uses a
> little C++, so it requires that you can compile, link, and run C++
> programs properly. Try compiling and running the following (forgive
> typos -- I'm typing this off the top of my head directly in my mail
> client):
You are right - something weird is going on here :-/
Okay, semms to be no problem of LAM. :-)
Has anybody seen something like that?
$ g++ -o xxx xxx.cc
$ ./xxx
./xxx: error while loading shared libraries: libstdc++.so.5: cannot open
shared object file: No such file or directory
$ which g++
/sw/gcc/bin/g++
$ echo $LD_LIBRARY_PATH
$ export LD_LIRARY_PATH=/sw/gcc/lib (the so lib is there)
$ ./xxx
./xxx: error while loading shared libraries: libstdc++.so.5: cannot open
shared object file: No such file or directory
$ echo $LD_LIBRARY_PATH
(??? haven't I set it?)
(Okay, try a new bash)
$ bash
$ export LD_LIBRARY_PATH=/sw/gcc/lib
$ echo $LD_LIBRARY_PATH
/sw/gcc/lib
$ ./xxx
Hello, world!
?!?
Haven't seen anything like this before ...
Charlie
|