+/* Copyright (c) 2013-2014. The SimGrid Team.
+ * All rights reserved. */
+
+/* This program is free software; you can redistribute it and/or modify it
+ * under the terms of the license (GNU LGPL) which comes with this package. */
+
#include "colls_private.h"
#include "coll_tuned_topo.h"
size = smpi_comm_size(comm);
rank = smpi_comm_rank(comm);
- xbt_assert( size > 1 );
+ if(size==1)return MPI_SUCCESS;
const double a_p16 = 3.2118e-6; /* [1 / byte] */
}
if( NULL != send_reqs ) free(send_reqs);
+ xbt_free(tree);
return (MPI_SUCCESS);
}