MPI_Toss as discussed - 98466

Solution Posted by
mariatutor

mariatutor

Rating : (3)B+
Solution Detail
Price: $1.00
Request Description
0
Solution Description

int main( int argc, char *argv[] )
{
    int my_rank;
    int comm_sz;
    int used_sz;
    long long int num_tosses;
    long long int num_hits;
    long long int toss;
    double x;
    double y;
    struct drand48_data seed;
    double local_start;
    double local_finish;
    double local_elapsed;
    double elapsed;
 &nbs

Attachments
MPI_Toss.c
MPI_Toss.c