// Barrier calls MPI_Barrier func Barrier(comm Comm) error { perr := C.MPI_Barrier(comm) if perr != 0 { return errors.New("Error calling Barrier") } return nil }
func Barrier(comm MPI_Comm) int { ret := C.MPI_Barrier(comm) return int(ret) }
func Barrier(comm C.MPI_Comm) { // C.MPI_Barrier(comm) }
//Barrier //Blocks until all processes have reached this routine. func Barrier(comm Comm) int { err := C.MPI_Barrier(C.MPI_Comm(comm)) return int(err) }