segfault

160 Reputation

6 Badges

3 years, 295 days

MaplePrimes Activity


These are questions asked by segfault

If I compare Maple 2024 and Maple 2022 on the exact same worksheet, Maple 2022 executes twice as fast as Maple 2024.

For my kind of work this is very serious. I have programs that can take 10 or more days to complete calcuations, therefore what Maple 2022 will calculate in 10 days, Maple 2024 takes 20 days. It has wasted a LOT of my time, whatever the reason is.

Here is the code: 
1) MM must be a high order series expansion with complex arguments so that simplification is not trivial. Use any such asymptotic expansion.
NOTE: I can supply an expansion for a developer through official Maple support, but cannot release it publicly as it is part of a future publication. It is easy enough for anyone to create a complex expansion, with difficult simplification.
2) The simplification of the expansion must at least take a couple of minutes at e.g. Order=10 for the comparison to make sense.
3) Then run the program for Maple 2022 and Maple 2024 respectively and note execution time.
4) This was run on Linux.

As you will see the Maple 2024 calculation takes twice as long as the Maple 2022 calculation. 
SEE RESULTS AT END OF PROGRAM.

testorder:=6;                             # Enter the expansion order here.
MM:=??:                                   # Enter the expansion here.
series(MM, x = 0, testorder):
convert(%, polynom):
map(simplify, %):
#collect(%, x, simplify):
simplify(%):

                        testorder := 6

RESULTS:

OPTION1 Calculation time for series MM,

Maple 2024
O(4):   Linux Wall-Clock Time: 1.000 seconds
O(6):   Linux Wall-Clock Time: 11.000 seconds
O(8):   Linux Wall-Clock Time: 153.000 seconds
O(10): Linux Wall-Clock Time: 2135.000 seconds 
O(12): Linux Wall-Clock Time:  19593.000 seconds

Maple 2022
O(4):   Linux Wall-Clock Time: 0.000 seconds
O(6):   Linux Wall-Clock Time: 9.000 seconds
O(8):   Linux Wall-Clock Time: 88.000 seconds
O(10): Linux Wall-Clock Time: 1062.000 seconds 
O(12): Linux Wall-Clock Time: 8987.000 seconds

This never happened to me before.

Without any changes made in the worksheet, and just executing it again, suddenly Maple 24 gives me all output that starts with

typesetting:-mprintslash

etc

What the heck is this ? and where has the normal output suddenly gone to ?

Before this change Maple did not want to stop an execution on a limit. I had to kill the mserver which then allowed me to save the docuemnt. After that the document has all this unusable typeset nonsense as output.

I opened a new page and pasted the commands into that document. Problem remains the same, so it seems to be something in the system wide config that was changed.

Here is what is causing the problem:

What I noticed  is that my output is now "Line Printer" as default. How did that happen ? I never did that. It must be a consequence of the infinite limit calculation that could not be interrupted (whish Maple will fix their break and interrupt commands).

So how do I set all output to Maple Output. I see no such ability in config. It states there that "Output Display" is set to "Maple Output" , but every new document has line printer as output !!!

Totally unusable now.

The Maple 2024 default Document is largely unreadable to me. the multiplication sign is a minute dot that I miss most of the time on very high resolution monitors.

What really works well for me is Maple Input as was used in Maple 9.5. A Pleasure to work with. Using Maple 2024 it is a real pain to "go figure" all the time.

I tried the Global Config, but there is no way to set the default font and the defualt color so I can get the exact same text and color as Maple 9.5.
After I set the colors to bright red, and change to Monospace 12 font and use mapleinput, all is well.
However there is no way to save this setup as the configuration has no way to set font and color. It does set mapleinput at least.

So how do I fix this GLOBALLY so I dont have to run into Maple2024's microscopic math.

I am just wondering why something that has been bothering me since Maple V up to including Maple 2024 has never been resolved properly.

Why is it so difficult for maple to solve a dead obvious and simple expression e.g.

sqrt(cos(gamma)^(5/3)/sin(2*gamma)^(5/3));

You can use algsubs to tell maple to use an elementary identity to substitute the double angle away, but even then it refuses to simplify the remaining fraction which is elementary at most.

So, when will e.g. this simple multiple generational issue be addressed  so maple can do the obvious simplifications.

There are much more severe examples concerning trigonometric functions under square roots, which was left out in this case to show just one issue.

Is it possible to set a worksheet or maple up to only express trigonometric functions as sines? This is very helpful for certain exotic coordinate systems. Meaning cos(x)=sqrt(1-sin(x)^2)  and NOT equivalently  adding Pi/2 to the argument cos(x)=sin(x+Pi/2).
It is completely useless and futile to do algsubs, as Maple will later just revert back to cosines, so you want to do it in the headers so output is always expressed as sines in the document by default.

Basically you want to set something in the header of a worksheeet to always use expsincos on output, and then in addition cos(x)=k sqrt(1-sin(x)^2)   k\e{1,-1} on the output.

1 2 3 4 5 6 7 Last Page 1 of 9