Exemple #1
0
// 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
}
Exemple #2
0
func Barrier(comm MPI_Comm) int {
	ret := C.MPI_Barrier(comm)
	return int(ret)
}
Exemple #3
0
Fichier : mpi.go Projet : rwl/mpi
func Barrier(comm C.MPI_Comm) {
	//
	C.MPI_Barrier(comm)
}
Exemple #4
0
//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)
}