With --enable-slow-machine, we often divide variables by a large number. We should make sure the result is larger than 0.
@@ -88,6 +88,8 @@ int main(int argc, char **argv)
#ifdef STARPU_SLOW_MACHINE
mb /= 100;
+ if (mb == 0)
+ mb = 1;
ntasks /= 100;
#endif