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