Open scandey opened 4 years ago
Hi,
It looks like the docker does not support openGL. Googling tells me, that this requires the creation of a new dockerfile with openGL support. An example what would need to be added might be here:
https://antrg.com/blog/2018/11/28/reproducible-opengl/
When I find the time I will do it, but not in the immediate future. If you have time, feel free to modify the Dockerfile yourself. It is in the config subdirectory.
Best, Andreas
I am attempting to run the experimental docker image on a Mac OSX 10.14.6 host. XQuartz is properly setup, as geomega works without any issues. When I attempt to run the sample visualization code, I get a series of errors to do with OpenGL.
From a new Docker image, running
cd $MEGALIB/resource/examples/cosima/macro
andcosima -m Visualize.mac Visualize.source
appears to work till "Execute macro...!". Some OpenGL errors are mentioned, but then the simulation proceeds regardless. After storing about 5 events, a final error is given and nothing is displayed. The final error isERROR: G4VisCommandsViewerSave::SetNewValue: no current viewer.
. The rest of the errors from the top of the output are shown below.If there are additional logs for OGL or MEGAlib I should include, please let me know.