You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 and cosima -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 is ERROR: 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.
...
Execute macro...!
parameter value (OGL) is not listed in the candidate List.
ERROR: G4VisCommandViewerCreate::SetNewValue: no scene handlers.
Create a scene handler with "/vis/sceneHandler/create"
/tracking/storeTrajectory 1
Attributes available for modeling and filtering with
"/vis/modeling/trajectories/create/drawByAttribute" and
"/vis/filtering/trajectories/create/attributeFilter" commands:
G4TrajectoriesModel:
Event ID (EventID): G4int
Run ID (RunID): G4int
G4Trajectory:
Charge (Ch): unit: e+ (G4double)
Track ID (ID): G4int
Initial kinetic energy (IKE): G4BestUnit (G4double)
Initial momentum magnitude (IMag): G4BestUnit (G4double)
Initial momentum (IMom): G4BestUnit (G4ThreeVector)
No. of points (NTP): G4int
PDG Encoding (PDG): G4int
Parent ID (PID): G4int
Particle Name (PN): G4String
G4TrajectoryPoint:
Position (Pos): G4BestUnit (G4ThreeVector)
WARNING: Trajectory storing has been requested. This action may be
reversed with "/tracking/storeTrajectory 0".
WARNING: The current scene "scene-0" has no models.
WARNING: The current scene "scene-0" has no models.
WARNING: The current scene "scene-0" has no models.
ERROR: No current sceneHandler. Please create one.
ERROR: Viewer "none" not found - "/vis/viewer/list" to see possibilities.
ERROR: G4VisCommandsViewerSet::SetNewValue: no current viewer.
ERROR: G4VisCommandsViewerSet::SetNewValue: no current viewer.
ERROR: G4VisCommandsViewerSet::SetNewValue: no current viewer.
ERROR: G4VisCommandsViewerZoom::SetNewValue: no current viewer.
ERROR: G4VisCommandsViewerSet::SetNewValue: no current viewer.
...
The text was updated successfully, but these errors were encountered:
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:
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.
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.
The text was updated successfully, but these errors were encountered: