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 01:01:41


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