I am running an example /extended/eventgenerator/exgps/ with geant4 version 11.0.0. The code compiles and builds the target successfully. But when I hit ./exgps vis.mac in the Linux terminal, it throws me the following error,
/vis/open OGL 600x600-0+0
***** COMMAND NOT FOUND </vis/open OGL 600x600-0+0> *****
***** Batch is interrupted!! *****
-------- WWWW ------- G4Exception-START -------- WWWW -------
*** G4Exception : UIMAN0123
issued by : G4UImanager::ApplyCommand
Command aborted (100)
Error code : 100
*** This is just a warning message. ***
-------- WWWW -------- G4Exception-END --------- WWWW -------
I haven’t changed anything on the example code. Can you please point me out how to remove these errors?
Geant4 version: 11.0.0
gcc version: 9.3.0
Red Hat Enterprise Linux Server release 7.9
Hi. You do not need to type ./exgps vis.mac. Just type ./exgps
That will put you into interactive mode with the graphics initialized. (Calling exgps without a macro will automatically run vis.mac. You do not want to run vis.mac in batch mode.)
That’s interesting. When I type ./exgps, the program works properly. If I type ./exgps vis.mac I get the same errors you do. I have Geant4 10.0.2 built using opengl and qt.