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: 2003-05-11 05:42:51


On Sat, 10 May 2003, Vo Kim Son wrote:

> When I compile it with the command below :
> >hcc -o test test.c
> Then the error I received is :
> >/usr/bin/ld : can not find -laio
> >collect2 : ld returned 1 exit status

I'm afraid that I'm not familiar with the Engineering Scientific software
package -- but I assume you mean RedHat version 8.0, and that you
installed LAM via an RPM?

If this is the case, then you are probably simply missing the RPM with the
aio library. This will likely be in another RPM on your distro's CD's.

If you installed LAM from source, be wary of sharing a single LAM
installation between machines with Linux distributions (or even different
versions of the same Linux distribution). LAM's configure script will
highly customize LAM for the environment that it finds *on the machine
that it is run*. If you configure/compile/install LAM on machine A, and
then try to run it on machine B (where B has a different setup than A), it
might not work.

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