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-10-28 08:30:40


On Oct 28, 2004, at 6:21 AM, Nelson Brito wrote:

> I am trying to compile lam-mpi with intel compilers but i can't build
> some of
> the stuff under the tools dir... i compiled with gnu compilers but i
> need intel
> because i want to compile amber (a software for molecular dinamics)!!
>
> I get lots of errors for some simbols not found!! here is an example:
>
> laminfo.o(.text+0x856c): In function `out(std::string const&,
> std::string
> const&, std::string const&)':
> : undefined reference to `std::ostream::operator<<(std::ostream&
> (*)(std::ostream&))'

 From this error message, this looks like it might be a problem with
your C++ compiler...?

Can you compile/link/run a simple (non-MPI) C++ program that uses cout?
  Perhaps something like:

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

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