lukegeo

5 Reputation

2 Badges

14 years, 104 days

MaplePrimes Activity


These are questions asked by lukegeo

I'm running calculations like this:

    N:=10000;
    f := (i,j)-> (some complicated procedure depending on i and j);
    M:= Matrix([Threads:-Seq([Threads:-Seq( f(i,j), j=1..N)], i=1..N)]);

I have a server with 20 cores, but each core has two threads, so this code should max out all 40 threads. But what I notice is only at most 20 threads being used at a time. 

I checked kernelopts(numcpus) returns 20. 

Does anyone have any advice on how to maximize my resource usage?

Hi! I have been searching the forum, but with no luck.  How do I get maple to handle graphs with multiple edges between vertices?  I can't seem to find a function for this.  Does one exist?  I tried to do this by coloring the edges, but they just get re-colored.

EE1:=[1, 2], [3, 1], [2, 3], [4, 5], [6, 4], [5, 6], [7, 8], [9, 7], [8, 9];
EE2:=[2, 3], [4, 2], [3, 4], [5, 6], [7, 5], [6, 7], [1, 8], [9, 1], [8, 9];
EE3:=[3, 4], [5, 3], [4, 5], [6, 7...
Page 1 of 1