TRACE_smpi_collective_out(rank, -1, __FUNCTION__);
smpi_bench_begin();
}
+
+ smpi_mpi_init();
+
return MPI_SUCCESS;
}
if (function == NULL || op == NULL) {
retval = MPI_ERR_ARG;
} else {
- *op = smpi_op_new(function, commute);
+ *op = smpi_op_new(function, (commute!=0));
retval = MPI_SUCCESS;
}
return retval;