LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2004-07-30 09:53:41


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.

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):

-----
#include <iostream>
using namespace std;
int main(int argc, char* argv[]) {
   cout << "Hello, world!" << endl;
   return 0;
}
-----

On Jul 30, 2004, at 10:16 AM, Karl Hahn wrote:

> Hi Tim,
>
>> Do you have a complete installation of binutils and g++ in recent
>> enough versions to support lam 7.1? Or, maybe you are testing a
>> total different linux installation from what others have used?
>
> $ g++ --version
> g++ (GCC) 3.3.1
> Copyright (C) 2003 Free Software Foundation, Inc.
> [...]
>
> Binutils (I think ld and as are part of it):
>
> $ ld --version
> GNU ld 2.11.90.0.8
> Copyright 2001 Free Software Foundation, Inc.
> [...]
> Supported emulations:
> elf64_ia64
>
> $ as --version
> GNU assembler 2.11.90.0.8
> Copyright 2001 Free Software Foundation, Inc.
> [...]
> This assembler was configured for a target of `ia64-redhat-linux'.
>
> $ uname -a
> Linux itnode3 2.4.21 #5 SMP Mon Nov 24 17:52:15 CET 2003 ia64 unknown
>
> The linux installation is a RedHat 7.3 (as far as I know,
> BTW: how can I get the Linux distribution, e.g. Suse, Redhat?).
>
> I have access to it since yesterday, so I don't exactly
> know what is installed :-)
>
> Bye and thanks,
> Charlie
> _______________________________________________
> This list is archived at http://www.lam-mpi.org/MailArchives/lam/
>

-- 
{+} Jeff Squyres
{+} jsquyres_at_[hidden]
{+} http://www.lam-mpi.org/