How do you compile it ?
The command line
mpicc -o myprog myprog.c
should work.
If not, check if your mpicc wrapper
and your installation are in phase:
mpicc -showme
I hope that helps,
Jerome
Irshad Ahmed wrote:
> Hi there ,
> I'm new to LAM . I've install LAM and i am using Redhat Linux 7.3
> i am using k-develop, when i compile the program, i face errors of
> mpi.h is not found.
>
> I have the following code fragment :
>
> #include <stdio.h>
> #include <mpi.h>
> main(int argc , char **argv)
> {
> MPI_Init(&argc,&argv);
> MPI_Finalize();
> }
>
>
>
>
> Ahmed irshad
>
> ------------------------------------------------------------------------
> Do you Yahoo!?
> The New Yahoo! Search
> <http://us.rd.yahoo.com/search/mailsig/*http://search.yahoo.com> -
> Faster. Easier. Bingo.
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> This list is archived at http://www.lam-mpi.org/MailArchives/lam/
|