none
mpi sample pgm execution RRS feed

  • Question

  • i have successfully installed mpich2 ,and .net framework

    then i had also sucessfully executed pi.exe by just double clicking it

    ......................ok

    but

    i dont know how to execute programs by cmd prompt

    i have example program as,

     

    #include "mpi.h"

    #include <stdio.h>

    int main( int argc, char *argv[] )

    {

    MPI_Init( &argc, &argv );

    printf( "Hello World\n" );

    MPI_Finalize();

    return 0;

    }

    please can u guide me in successfully executing  the above program

    also i dont know no in what extension to save the above program


    farooq
    Wednesday, October 13, 2010 6:49 AM

Answers