***** COMMAND NOT FOUND </accelerator/rotation90Y false> ****

Hi everyone. This is my first post and I’m not a native English speaker, so please excuse me in advance if I make any mistakes.
I’m a beginner in Geant4. I installed version 11.2.2 on my 2019 MacBook Pro Sequioa 15.5. Since I’m studying medical physics, I’m trying to understand the medical_linac example found in examples/advanced. When I run it, I get the Linac geometry, but I also get the error below in the graphical interface.
I would like to be able to fix it, please. Thank you in advance.

/accelerator/rotation90Y false
***** COMMAND NOT FOUND </accelerator/rotation90Y false> *****

***** 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 -------

_Geant4 Version:_11.2.2
_Operating System:_MacOS Macbook Pro 2019 Sequoia 15.5
Compiler/Version:
CMake Version:


Yssouf

Hello,

This is a strange thing. It seems that between versions 11.1 and 11.2 the medical_linac example has been simplified fairly extensively, and the custom messenger commands, like /accelerator/rotation90Y, have mostly been removed. It seems that the vis.mac file wasn’t correctly changed and still has the old commands. What’s strange is that there doesn’t seem to be any reference to these (very significant) changes to the example in any of the release notes, as far as I can find.

This is a link to the v11.1 example if you would like to try running that:

Otherwise you’ll need to modify the vis.mac file yourself. I would recommend emailing the authors of this example, they may have more information for you.

1 Like

Thanks for your answer. It helped me to understand the problem and it’s okay now !

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.