bonjour,
j'ai un petit probl�me dans l'utilisation de MPI
j'ai mis la biblioth�que MPI.h dans mon r�pertoire qui contient mon projet
et pui voila le petit code:
Code :
Code : S�lectionner tout - Visualiser dans une fen�tre � part
1
2
3
4
5
6
7
8
9 #include <stdio.h> #include "mpi.h" int main (int argc, char *argv[]) { int err; err = MPI_Init(&argc, &argv); printf("Hello world!\n" ); err = MPI_Finalize(); return 0; }
il me renvoie:
error C2065: 'MPI_Init' : undeclared identifier
error C2065: 'MPI_Finalize' : undeclared identifier
comment faire?
merci d'avance .
Partager