[mvapich-discuss] examples_collchk issue

Dhabaleswar Panda panda at cse.ohio-state.edu
Fri May 1 00:29:41 EDT 2009


Thanks for your report. This example file and the associated directory are
inherited from MPICH2. We have informed the MPICH2 team about this and
they are taking a look at it. As soon as this is resolved by the MPICH2
team, we will reflect this in MVAPICH2 distribution.

Thanks,

DK

On Thu, 30 Apr 2009, Arthur Yuldashev wrote:

> *This message was transferred with a trial version of CommuniGate(r) Pro*
>
> Hello!
>
> It seems that we've found a bug in some of examples provided with
> mvapich2-1.2.
> For instance in time_alltoallv.c there are following strings of code:
>
>       if ( argv != NULL && argv[1] != NULL )
>           block_size = atoi( argv[1] );
>       else
>           block_size = 1;
>
>       if ( argv != NULL && argv[2] != NULL )
>           num_itr = atoi( argv[2] );
>       else
>           num_itr = 1;
>
>
> We ran it without any command line arguments resulting in argv[1] equal
> to NULL,
> but argv[2] was equal to one of environment variables.
> So atoi(argv[2]) was equal to 0 resulting in 0 number of iterations,
> not 1 as supposed.
> And so actually no MPI_Alltoallv communications were done.
>
> Best regards,
> Arthur Yuldashev
>
>
> _______________________________________________
> mvapich-discuss mailing list
> mvapich-discuss at cse.ohio-state.edu
> http://mail.cse.ohio-state.edu/mailman/listinfo/mvapich-discuss
>



More information about the mvapich-discuss mailing list