i have successfully installed mpich2 ,and .net framework
then i had also sucessfully executed pi.exe by just double clicking it
i dont know how to execute programs by cmd prompt
i have example program as,
int main( int argc, char *argv )
MPI_Init( &argc, &argv );
printf( "Hello World\n" );
please can u guide me in successfully executing the above program
also i dont know no in what extension to save the above program
You can save your program as normal C/C++ file.
If you have Visual studio installed, the following link has the detailed information about how to set, compile and execute a MPI program:
Note that the tutorial is about the V2 HPC SDK, for V3 the MSMPI has its own msi installation package. And also note that the PATH to mpi.h and libs are changed too.