<

Question: Bug in Grid:-Map and Grid:-Seq ?

Hi all,

 

I think the developers should pay attention to this problem.

 

This simple expression with Threads:-Map executed perfectly on my machine with 8-threaded CPU and 16 GB RAM:

Threads:-Map(proc (i) options operator, arrow; ln(i)/2. end proc, [`$`(1 .. 10^7)]);

 

But the similar expression with Grid:-Map never be executed:

Grid:-Map(proc (i) options operator, arrow; ln(i)/2. end proc, [`$`(1 .. 10^7)]);

Maple or freezed, or crashed every time. Although the consuming of memory is not reached even 50%.

 

The similar problem exist for Grid:-Seq too. With `$`(1 .. 3*10^6) Grid:-Map and Grid:-Seq executed normally. With `$`(1 .. 5*10^6) - 50/50. But not with `$`(1 .. 10^7).

 

Is this a real bug of Grid:-Map and Grid:-Seq ?

Or is exist a way to fix this problem?

 

Thanks.

 

Updated:

I got a new error behavior of Grid:-Map in this case instead crash or freeze:

Grid:-Launch(numnodes = 8);

st := time[real](); Grid:-Map(proc (i) options operator, arrow; ln(i)/2. end proc, [`$`(1 .. 10^7)]);

time[real]()-st;

print(`output redirected...`); # input placeholder

`System error, `, "bad id"
2267.482

 

I hope this helps developers to fix this bug.

Please Wait...