1 #ifndef __CS_PARALL_H__
2 #define __CS_PARALL_H__
421 #if defined(HAVE_MPI_IN_PLACE)
428 MPI_Allreduce(MPI_IN_PLACE, cpt, n,
CS_MPI_GNUM, MPI_SUM,
433 #elif defined(HAVE_MPI)
441 #define cs_parall_counter(_cpt, _n)
453 #if defined(HAVE_MPI_IN_PLACE)
460 MPI_Allreduce(MPI_IN_PLACE, cpt, n,
CS_MPI_LNUM, MPI_MAX,
465 #elif defined(HAVE_MPI)
473 #define cs_parall_counter_max(_cpt, _n)
486 #if defined(HAVE_MPI_IN_PLACE)
499 #elif defined(HAVE_MPI)
508 #define cs_parall_sum(_n, _datatype, _val);
521 #if defined(HAVE_MPI_IN_PLACE)
534 #elif defined(HAVE_MPI)
543 #define cs_parall_max(_n, _datatype, _val);
556 #if defined(HAVE_MPI_IN_PLACE)
569 #elif defined(HAVE_MPI)
578 #define cs_parall_min(_n, _datatype, _val);