The Higher Education and Research forge

Home My Page Projects Code Snippets Project Openings Développement de WIMS
Summary Activity Forums Tracker Tasks Docs Surveys News SCM Files Listes Sympa

Forum: developers

Monitor Forum | Start New Thread Start New Thread
RE: wimstest and maxima [ Reply ]
By: Bernadette Perrin-Riou on 2015-06-15 17:59
In fact, in the test,
src/Interfaces/maxima is launched.
So wims is not launched at all.
To have the behaviour with wims, one should make the test
wims test file tt
where file is a file with inside
tt=!exec maxima 3+4


RE: wimstest and maxima [ Reply ]
By: Bernadette Perrin-Riou on 2015-06-15 17:53
You are right and the tests for the calculation software are not fiable.
I put them only because there are some environment variables I never remember !
I was more interested on the "wims command"

So I have no answer about your question.

wimstest and maxima [ Reply ]
By: Eric Reyssat on 2015-06-15 17:03

How to be sure that the tests in wimstest give the same result as executed from wims by the standard way ?
I found a strange behaviour in this respect with the classical memory problem of maxima : on some servers (64 bits ?) if we don't increase the value of rlimit_as in wims.c, the use of maxima isn't possible in wims, for instance the command 3+4; launched from directexec produces an error :

mmap: Cannot allocate memory
ensure_space: failed to validate 8589869056 bytes at 0x1000000000
(hint: Try "ulimit -a"; maybe you should increase memory limits.)
maxima: execution error or time out.

But the wimstest is still correctly executed (it creates a file containing the correct result "7").

Does any of you understand this difference ?