Put your source code in any directory you choose. Better put
is somewhere else other than the directory where mpi.h is
found. Better in its own directory.
Then use mpicc to compile the file. If it is called sample.c
then type 'mpicc -o sample sample.c'.
Good luck!
"Sent via BlackBerry from Smart"
-----Original Message-----
From: fuat sungur <futi78 hotmail.com>
Date: Sat, 26 Apr 2008 08:47:30
To:<lam lam-mpi.org>
Subject: LAM: Why does mpi.h give an error
hi, i am newbie of LAM MPI, and i installed it yesterday.
it is okey.
i can run the lamboot and mpirun command, so i see that they
works.
but i couldnt compile any mpi source code. When i try it,
"mpi.h" no such file... Then, i put my source code
same directory of mpi.h file then i changed the source code
that line with "mpi.h" , then i've tried again,
for this time this error would seemed :
...
...
mpi.h:1095: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '__ARGS'
mpi.h:1096: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '__ARGS'
---
how can i fix it? thanx for responses...
____________________________________________________________
_____
Live.com'u deneyin - hızlı ve kişiselleştirilmiş giriş
sayfanızla istediğiniz her şey tek bir yerde.
http://www.live.com/ge
tstarted
_______________________________________________
This list is archived at http://www.l
am-mpi.org/MailArchives/lam/
_______________________________________________
This list is archived at http://www.l
am-mpi.org/MailArchives/lam/ |