2004-12-27 11:56:33 +03:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2004-2005 The Trustees of Indiana University.
|
|
|
|
* All rights reserved.
|
|
|
|
* Copyright (c) 2004-2005 The Trustees of the University of Tennessee.
|
|
|
|
* All rights reserved.
|
|
|
|
* Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
|
|
|
* University of Stuttgart. All rights reserved.
|
2005-03-24 15:43:37 +03:00
|
|
|
* Copyright (c) 2004-2005 The Regents of the University of California.
|
|
|
|
* All rights reserved.
|
2004-12-27 11:56:33 +03:00
|
|
|
* $COPYRIGHT$
|
|
|
|
*
|
|
|
|
* Additional copyrights may follow
|
|
|
|
*
|
|
|
|
* $HEADER$
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "ompi_config.h"
|
|
|
|
#include "coll_hierarch.h"
|
|
|
|
|
|
|
|
#include "mpi.h"
|
2005-08-13 01:42:07 +04:00
|
|
|
#include "ompi/include/constants.h"
|
2005-07-04 03:31:27 +04:00
|
|
|
#include "opal/util/output.h"
|
2004-12-27 11:56:33 +03:00
|
|
|
#include "mca/coll/coll.h"
|
|
|
|
#include "mca/coll/base/base.h"
|
|
|
|
#include "coll_hierarch.h"
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
* barrier_intra
|
|
|
|
*
|
|
|
|
* Function: - barrier using O(N) algorithm
|
|
|
|
* Accepts: - same as MPI_Barrier()
|
|
|
|
* Returns: - MPI_SUCCESS or error code
|
|
|
|
*/
|
|
|
|
int mca_coll_hierarch_barrier_intra(struct ompi_communicator_t *comm)
|
|
|
|
{
|
2005-07-04 03:31:27 +04:00
|
|
|
opal_output_verbose(10, mca_coll_base_output, "In hierarch barrier_intra");
|
2005-10-11 21:29:59 +04:00
|
|
|
return MPI_SUCCESS;
|
2004-12-27 11:56:33 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
|