LAM/MPI logo

LAM/MPI General User's Mailing List Archives

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

From: Vo Kim Son (vks81_at_[hidden])
Date: 2003-05-11 03:32:29


Thanks your recommend .
I've read this problem in LAM FAQ and I've renamed to
te.c but that problem still appears , even when I
compile by
>mpicc -o te te.c
What should I do now ?
I just want to compile it and run it on localhost .
lamboot is OK .
Thank you very much . BYE .

--- Vidya Kotamraju <vidyakr_at_[hidden]> wrote:
> Hi,
> One possible reason could be that "test" is an
> in-built command in Linux.
> Maybe it would work by renaming the program and the
> executable.
> Vidya.
>
> On Sunday 11 May 2003 11:31, you wrote:
> > Hi there ,
> > I'm new to LAM . I've install LAM from package
> > Engineering Scientific in Linux 8.0 .
> >
> > I have the following code fragment :
> > >#include <stdio.h>
> > >#include <mpi.h>
> > >main(int argc , char **argv) {
> > >MPI_Init(&argc,&argv);
> > >MPI_Finalize();
> > >}
> >
> > 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
> >
> > But it still run well on other PCs .
> > Please help me .
> > Thank you very much .
> >
> > __________________________________
> > Do you Yahoo!?
> > The New Yahoo! Search - Faster. Easier. Bingo.
> > http://search.yahoo.com
> > _______________________________________________
> > This list is archived at
> http://www.lam-mpi.org/MailArchives/lam/
>
> --
>
---------------------------------------------------------------------
> If your happiness depends on what somebody else
> does, I guess you do
> have a problem.
> -- Richard Bach, "Illusions"
>
---------------------------------------------------------------------
> Kotamraju Vidya
> Physical Oceanography Division,
> National Institute of Oceanography,
> Dona Paula, Goa 403 004, India.
> Ph.: +91-832-2456700 *4400 (O)
> +91-832-2541756 (R)
> e-mail: vidyakr_at_[hidden]
> _______________________________________________
> This list is archived at
http://www.lam-mpi.org/MailArchives/lam/

__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com