Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
these assertions were a bit strong
[simgrid.git] / src / smpi / colls / bcast-SMP-linear.c
index aa865eb..ee7e3d2 100644 (file)
@@ -32,9 +32,6 @@ int smpi_coll_tuned_bcast_SMP_linear(void *buf, int count,
   // if the number of cores is one, the platform may be simulated with 1 node = 1 core
   if (num_core == 1) num_core = NUM_CORE;
 
-  if(size%num_core)
-    THROWF(arg_error,0, "bcast SMP linear can't be used with non multiple of num_core=%d number of processes!",num_core);
-
   int segment = bcast_SMP_linear_segment_byte / extent;
   segment =  segment == 0 ? 1 :segment; 
   int pipe_length = count / segment;