MPI clusteren fordítási hiba

Fórumok

Sziasztok!

Összekalapáltam egy Ubuntu clustert MPICH2-vel az alap része a rendszernek működik is és az egyszerűbb példa programokat sikerült is lefordítanom és futtatnom, de sajnos a pmandel-t nem tudom.
Elég sokat rágódtam már rajta, de egyszerűen nem vagyok képes megtalálni a hiba okát ezért ide is felteszem a nyígomat hátha valaki találkozott már a hibával, vagy meg tudja oldani.

Segítségeteket előre is nagyon köszönöm.

A probléma:

A parancs, hogy fordítsa le a pmandel nevű c állományt:
mpicc -o /mirror/mpich2-1.0.8/examples/pmandel /mirror/mpich2-1.0.8/examples/pmandel.c
és az utána következő hiba üzemet:
/mirror/mpich2-1.0.8/examples/pmandel.c: In function âmainâ:
/mirror/mpich2-1.0.8/examples/pmandel.c:279: warning: passing argument 2 of âbindâ from incompatible pointer type
/mirror/mpich2-1.0.8/examples/pmandel.c:282: warning: passing argument 2 of âbindâ from incompatible pointer type
/mirror/mpich2-1.0.8/examples/pmandel.c:296: warning: passing argument 2 of âgetsocknameâ from incompatible pointer type
/tmp/ccJ7B5ut.o: In function `exponential_complex':
pmandel.c:(.text+0x30e7): undefined reference to `exp'
pmandel.c:(.text+0x30f5): undefined reference to `cos'
pmandel.c:(.text+0x3106): undefined reference to `sin'
/tmp/ccJ7B5ut.o: In function `absolute_complex':
pmandel.c:(.text+0x32f1): undefined reference to `sqrt'
collect2: ld returned 1 exit status

Ezután vissza kapom a konzolt :(

Válaszaitokat várom.

Üdvözlettel
Csatári Zsolt

Hozzászólások

csak azt tudnam hogy egy forditasi hiba miatt miert mpi cluster a topic neve - igy valoszinuleg sokkal kevesebb ember fog ide tevedni, mint amugy.