int main( int argc, char *argv[] )
{
int rank, size;
- int chunk = 4096;
int i,j;
int *sb;
int *rb;
if ( argv[i][0] != '-' )
continue;
switch(argv[i][1]) {
- case 'm':
- chunk = atoi(argv[++i]);
- break;
default:
fprintf(stderr,"Unrecognized argument %s\n",
argv[i]);
/*
- SMPI addition : we want to test all three alltoall algorithms, thus we use three diffrent sizes
- this is the code that handles these cases
+ SMPI addition: we want to test all three alltoall algorithms, thus we use
+ three different sizes. This is the code that handles these cases:
+
if (sendsize < 200 && size > 12) {
retval =
smpi_coll_tuned_alltoall_bruck(sendbuf, sendcount, sendtype,
recvbuf, recvcount, recvtype,
comm);
}
-
-
*/