[Gate-users] Install GATE in Mac os Mavericks

pmcorreia at ua.pt pmcorreia at ua.pt
Thu Mar 13 16:20:25 CET 2014


Dear all

I finally managed how to run Gate in OSX 10.9, with graphical output.

I follow your recomendations Mojca, I reinstalled geant4.9.6 with macports, with the option +opengl_x11, like this

- sudo port install geant4.9.6+opengl_11

After that, I reinstalled gate with macports

- sudo port install gate

Now when I run my macro file, the previous errors related with the OGLS doesn't appear, and I got the correct visualizer output.
Thank you all!

It might be useful if someone can compile this information and make it accessible in the GATE webpage, as an installation guide for MacOS users.

Best regards, Pedro
________________________________________
De: Mojca Miklavec <mojca.miklavec.lists at gmail.com>
Enviado: quinta-feira, 13 de Março de 2014 14:26
Para: pmcorreia at ua.pt
Cc: Marc Chamberland; David Sarrut; Gate Users
Assunto: Re: [Gate-users] Install GATE in Mac os Mavericks

On Wed, Mar 12, 2014 at 8:45 PM, pmcorreia at ua.pt wrote:
> Dear all
>
> Is this related with the fact that I cannot have any OpenGL visualizer in Gate installed in OS X 10.9?
>
> When I type
> /vis/open OGLS
>
> I get
>
> ERROR: G4VisCommandSceneHandlerCreate::SetNewValue: could not find fallback graphics system.
> ERROR: G4VisCommandViewerCreate::SetNewValue: no scene handlers.
>   Create a scene handler with "/vis/sceneHandler/create"

Hmmm. I can reproduce this error when calling the command from
terminal (it works inside Qt though). I'm not sure if the reason lies
in the lack of some backends (you could try to compile geant4 with
+opengl_x11 for example – Gate will probably need to be recompiled,
but I'm not sure) or if it's some "bug" in Gate (or maybe even in
Geant4).

It shouldn't have happened. And once you have "Gate --qt" working,
this won't be an issue.

But it would be nice if one of developers could look into it. I'll try
to see if installing X11 helps in any way.

> And when I start Gate with "Gate --qt" I have the crash problem described by Marc.

You can work around the problem in the way that Marc described it. I
would really like to see the upstream sources to be fixed, but if
nobody from the Gate development team answers withing a few days or if
you need assistance applying the patch, I'll change the Portfile.

Mojca



More information about the Gate-users mailing list