Save the simulation result without OpenGL GLX

Asked by Milly Ro on 2020-11-20

Hello,

I have the following question: how can I save my simulation result (for examply for script pack_cloud.py from GitLab https://gitlab.com/yade-dev/trunk/-/blob/master/examples/test/pack-cloud.py but with my own particle distribution) without graphics drivers. It seems that the server I am usig for YADE does not have the necessary graphics driver, because I have got the error "OpenGL GLX extension not supported by display". Since I do not have administrator rights, I cannot install anything myself. Actually I do not need the graphic representation of my simulation, but only the result/calculation.

P.S. I am working on Ubuntu 16.04.6 LTS (GNU/Linux 4.4.0-178-generic x86_64) and my YADE version is 1.20.0.

Best regards,
Milly

Question information

Language:
English Edit question
Status:
Needs information
For:
Yade Edit question
Assignee:
No assignee Edit question
Last query:
2020-11-20
Last reply:
2020-11-20
Jan Stránský (honzik) said : #1

Hello,

what is the problem? saving result? running simulation itself? ... ?
As you said, normally you do not need the graphics for "crunching numbers"..
Can you test the scenario locally?

> P.S. I am working on Ubuntu 16.04.6 LTS (GNU/Linux 4.4.0-178-generic x86_64) and my YADE version is 1.20.0.

consider updating both OS and Yade. Old version is not a problem for general questions/problems, but might become a bigger problem for specific problems, fixes etc.

cheers
Jan

Milly Ro (milly93) said : #2

Hello Jan,

thank you for your reply. The problem ist that I cannot get any results (numbers) because of this error with OpenGL. The process of calculation stops as soon as the simulation window cannot be open.

Best regards,
Milly

Jérôme Duriez (jduriez) said : #3

Maybe I did not get your question. This being said

- saving the current state of a simulation in order to be able to relaunch it after closing and reopening Yade is obtained using O.save: https://yade-dem.org/doc/yade.wrapper.html#yade.wrapper.Omega.save

- inkoking Yade with yade* -n (where yade* = yade or yadedaily or ..) cancels the call to Graphical User Interface

Can you help with this problem?

Provide an answer of your own, or ask Milly Ro for more information if necessary.

To post a message you must log in.