static void prod_func(void* a, void* b, int* length, MPI_Datatype* datatype) {
if(*datatype == MPI_SHORT) {
APPLY_FUNC(a, b, length, short, PROD_OP);
static void prod_func(void* a, void* b, int* length, MPI_Datatype* datatype) {
if(*datatype == MPI_SHORT) {
APPLY_FUNC(a, b, length, short, PROD_OP);