List Info

Thread: LAM: Why does mpi.h give an error




LAM: Why does mpi.h give an error
country flaguser name
Turkey
2008-04-26 03:47:30
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/
Re: LAM: Why does mpi.h give an error
user name
2008-04-26 04:20:40
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 <futi78hotmail.com>

Date: Sat, 26 Apr 2008 08:47:30 
To:<lamlam-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/
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )