Help with STACK/Maxima

Help with STACK/Maxima

by Miro Iliaš -
Number of replies: 2

Hello,

on our Moodle 3.9.3+, running on CentOS 7 Linux, with php 7.2.33 we installed STACK 4.3.7 question with Maxima and use the default setting - see attached STACK-setting.pdf. 

However, the performance of STACK question is very slow. On top of it, the STACK heathcheck - see "STACK helthcheck.pdf" - shows plenty of warning.

I tried to speed up Maxima (https://eformation.univ-grenoble-alpes.fr/question/type/stack/doc/doc.php/CAS/Optimising_Maxima.md ) for SBCL, but this gave me errors in Healthcheck.

Any help please, what STACK/Maxima parameters must be changed to have good performance ? 




Average of ratings: Useful (1)
In reply to Miro Iliaš

Re: Help with STACK/Maxima

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
Well, you need to get maxima optimised as documented. That makes a huge difference. We use RHEL 7, essentially the same as Cent OS, and those steps work for us. The healcheck should be your friend in achieving that.

Then, if you need more than that, you should look at https://github.com/maths/stack_util_maximapool.
Average of ratings: Useful (1)
In reply to Tim Hunt

Re: Help with STACK/Maxima

by Miro Iliaš -

Dear Tim,

thanks for your hints, finally I made the STACK/Maxima optimized, see pdf's below.

My short recipe:

In the STACK healthcheck, I first  clicked on "Create Maxima image". Then I copied "Maxima shell command" (here

timeout --kill-after=10s 10s /var/moodledata_lms-ext/stack/maxima_opt_auto) into STACK's "Maxima command". 
In STACK settting also I changed Platform type to "Linux (optimized)". 
Best, Miro