+/* 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 <math.h>
req_ptr = reqs;
- send_offset = recv_offset = (rank % two_dsize) * block_size * num_procs;
+ recv_offset = (rank % two_dsize) * block_size * num_procs;
smpi_mpi_sendrecv(send_buff, send_count * num_procs, send_type, rank, tag,
tmp_buff1 + recv_offset, num_procs * recv_count,