+/* 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"
/*****************************************************************************
int dst_tree_root, rank_tree_root, send_offset, recv_offset;
int rank, num_procs, j, k, dst, curr_size, max_size;
int last_recv_count = 0, tmp_mask, tree_root, num_procs_completed;
- int tag = 1, mask = 1, i = 0;
+ int tag = COLL_TAG_ALLTOALL, mask = 1, i = 0;
char *tmp_buff;
char *send_ptr = (char *) send_buff;