X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/bdeaec9600899662589831e10bcee4d714ffb72a..7b0e57abc89ceead0703f08dcbba30fbe9914771:/src/smpi/colls/bcast-SMP-linear.c diff --git a/src/smpi/colls/bcast-SMP-linear.c b/src/smpi/colls/bcast-SMP-linear.c index aa865eba92..ee7e3d2a66 100644 --- a/src/smpi/colls/bcast-SMP-linear.c +++ b/src/smpi/colls/bcast-SMP-linear.c @@ -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;