Skip to content

Problems with optimised maxima in the pool #24

@ggschmidt

Description

@ggschmidt

Hello
I can not solve my problems with optimised-maxima

I build an optimised maxima-image with

load("/var/lib/maximapool/2016122100/maximalocal.mac");
load("/var/lib/maximapool/2016122100/maxima/stackmaxima.mac");
load(stats);
load(distrib);
load(descriptive);
:lisp (si::save-system "/var/lib/maxima-optimised")  

without error messages (installed gcc before)

The maxima-image is four time-sized to the normal one

(on ubuntu and also on debain, as there is a unsolved problem with loading stats-modul on ubuntu 16.04 and 17.04)
actual I talk about Debain (using also gcl for maxima)

I can start maxima with
/usr/lib/..../maxima -eval '(cl-user::run)'
but then I get the response
Warning :argument a not recognized
I can not get rid of (as in another thread here).
After that maxima or opimised maxima work correct. In optimised I can evaluate
ATAlgEquiv(x^2-1,(x-1)*(x+1)); so stack-modules are loaded.

But I am not sure if the pool takes care about this first-line message (finally it does not work), so I start maxima and maxima_opimised with the script located in /usr/bin/
I modified the script, so I am able to start maxima or the optimised image.

when I use
su tomcat8
I can start via script the maxima-optimised an then evaluate

I get

Maxima restarted.

an then the prompt

(%i5) (does the pool care about the number??)

load("/var/lib/maximapool/2016122100/maximalocal.mac"); --> is ok (even this is not necessary anymore as it is already loaded in the image)
1+1; --> is ok
concat("--COMPLETED--k","ill--PROCESS--"); --> is ok
ATAlgEquiv(x^2-1,(x-1)*(x+1)); --> is ok, stack modules are loaded

everything seems as with "normal maxima" (stack loaded via localmac)

But when I do this via the Maxima-Pool Health test

Executing command-line: max_v3 (this is the version loading otpimised image)

Waiting for target text: '(%i1)'

Maxima restarted. (where does this come from?)

(%i5)

Timeout!

When I start the normal image everything is ok. (both health test, evaluating strings etc.)

###############
To solve my problems I really tried a lot.

But for example I can not unterstand the meaning of these lines following
e.g. is %ix replaced with the output of maxima, compared, simply written?
In the normal maxima I can write nonsens like xxx or yyy and it works. They seem to be without any effect.

Input the load command after this, if defined.

#process.started = Maxima restarted.
#maxima.ready.for.use = (%i5)
maxima.ready.for.use = Maxima restarted.
#maxima.ready.for.load = (%i1)

The process has loaded when this appears. On old versions of STACK use the fi$

#maxima.ready.for.use = Stack-Maxima started
#maxima.ready.for.use = STACK-Maxima started
#maxima.ready.for.load = xxxx
#maxima.ready.for.use = yyyy

Here some command lines I tried.
I could not find good answer for
Warning :argument a not recognized
As all google for maxima start options/command line ... ends in Maxima interactive documentation.

#command.line = /var/lib/maximapool/%%VERSION%%/maxima-optimised
#command.line = /var/lib/maximapool/2016122100/maxima
#command.line = /var/lib/max_opti/max_optimised -eval '(cl-user::run)' -f -- "$@"
#command.line = /var/lib/max_opti/max_optimised -eval '(cl-user::run)'
#command.line = /usr/lib/maxima/5.38.1/binary-gcl/maxima -eval '(cl-user::run)'
command.line = max_v3

Thanks for any help

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions