Help with STACK/Maxima

Help with STACK/Maxima

Nosūtīja Miro Iliaš
Atbilžu skaits: 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 ? 




Vidējais novērtējums:Useful (1)
Atbildot uz Miro Iliaš

Re: Help with STACK/Maxima

Nosūtīja Tim Hunt
Core developers attēls Documentation writers attēls Particularly helpful Moodlers attēls Peer reviewers attēls Plugin developers attēls
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.
Atbildot uz Tim Hunt

Re: Help with STACK/Maxima

Nosūtīja 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