[Gate-users] Gate-users Digest, Vol 157, Issue 16
Michael Ljungberg
michael.ljungberg at med.lu.se
Tue Jun 18 21:13:09 CEST 2019
Thank you all for good suggestions. I will make a try during the week.
/Michael
On 2019-06-17, 22:53, "Gate-users on behalf of gate-users-request at lists.opengatecollaboration.org" <gate-users-bounces at lists.opengatecollaboration.org on behalf of gate-users-request at lists.opengatecollaboration.org> wrote:
Send Gate-users mailing list submissions to
gate-users at lists.opengatecollaboration.org
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
or, via email, send a message with subject or body 'help' to
gate-users-request at lists.opengatecollaboration.org
You can reach the person managing the list at
gate-users-owner at lists.opengatecollaboration.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Gate-users digest..."
Today's Topics:
1. Visual on a MAC (Michael Ljungberg)
2. Re: Visual on a MAC (Mahdjoub Hamdi)
3. Re: Visual on a MAC (David Sarrut)
4. Re: Visual on a MAC (Nils Krah)
----------------------------------------------------------------------
Message: 1
Date: Mon, 17 Jun 2019 20:21:26 +0000
From: Michael Ljungberg <michael.ljungberg at med.lu.se>
To: "gate-users at lists.opengatecollaboration.org"
<gate-users at lists.opengatecollaboration.org>
Subject: [Gate-users] Visual on a MAC
Message-ID: <CAD24C76-D237-4775-A312-341EEC75997C at contoso.com>
Content-Type: text/plain; charset="utf-8"
Hi
I wonder what selection I should do on the ccmake of geant4 and gate in order to be able to visualize the geometry? I know one can use QT but how should I install this? I have the latest MacOS.
Hälsningar / Best Regards
Michael
________________________
Michael Ljungberg, PhD, professor
Department of Medical Radiation Physics
Lund University
Barngatan 4
SE-221 85 Lund
Phone: +46 46 173565
Cellular: +46 708 173115
http://www.msf.lu.se<http://www.msf.lu.se/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20190617/b44927a1/attachment-0001.html>
------------------------------
Message: 2
Date: Mon, 17 Jun 2019 20:39:25 +0000
From: Mahdjoub Hamdi <mahdjoub.hamdi at hotmail.fr>
To: Michael Ljungberg <michael.ljungberg at med.lu.se>,
"gate-users at lists.opengatecollaboration.org"
<gate-users at lists.opengatecollaboration.org>
Subject: Re: [Gate-users] Visual on a MAC
Message-ID:
<VE1PR09MB3101754BCEF7F409C5F15D18EFEB0 at VE1PR09MB3101.eurprd09.prod.outlook.com>
Content-Type: text/plain; charset="iso-8859-1"
Hi Hälsningar,
I used to install GATE on Linux Ubuntu, for visualizing simulation geometry you need at least to put 'GEANT4_USE_OPENGL_X11' to 'ON' . To use QT you need to install it (if it's not available on your machine).
Here is a link on how to install QT on MacOS, just follow the described steps.
https://doc.qt.io/archives/qt-4.8/install-mac.html
Then during the configuration of GEANT4 using CCMAKE put 'GEANT4_USE_QT' to 'ON' and in the variable 'QT_QMAKE_EXECUTABLE' enter the path to you're QT installation folder.
If you have any further questions don't hesitate to ask.
Mahdjoub,
St. Louis, MO, USA
________________________________
De : Gate-users <gate-users-bounces at lists.opengatecollaboration.org> de la part de Michael Ljungberg <michael.ljungberg at med.lu.se>
Envoyé : lundi 17 juin 2019 21:21
À : gate-users at lists.opengatecollaboration.org
Objet : [Gate-users] Visual on a MAC
Hi
I wonder what selection I should do on the ccmake of geant4 and gate in order to be able to visualize the geometry? I know one can use QT but how should I install this? I have the latest MacOS.
Hälsningar / Best Regards
Michael
________________________
Michael Ljungberg, PhD, professor
Department of Medical Radiation Physics
Lund University
Barngatan 4
SE-221 85 Lund
Phone: +46 46 173565
Cellular: +46 708 173115
http://www.msf.lu.se<http://www.msf.lu.se/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20190617/b7c9ab22/attachment-0001.html>
------------------------------
Message: 3
Date: Mon, 17 Jun 2019 16:39:24 -0400
From: David Sarrut <David.Sarrut at creatis.insa-lyon.fr>
To: Michael Ljungberg <michael.ljungberg at med.lu.se>
Cc: "gate-users at lists.opengatecollaboration.org"
<gate-users at lists.opengatecollaboration.org>
Subject: Re: [Gate-users] Visual on a MAC
Message-ID:
<CAKTJC4AkYAmh=_tTQ=hHLfzHR8ZRvZ8X6pWBDLRmNiveAHXa_w at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Hello Michael,
I just checked my installation: G4 (and thus Gate) use the qt version
installed with conda: https://anaconda.org/anaconda/qt
It is easy to install : conda install -c anaconda qt
You need to install anaconda before :
https://docs.anaconda.com/anaconda/install/mac-os/
once qt is installed, check in the G4 ccmake that Qt5Core_DIR (and other QT
related variables) are set to this qt conda version.
Surely other methods to install qt exist, but this one works for me.
HTH,
David
On Mon, Jun 17, 2019 at 4:21 PM Michael Ljungberg <
michael.ljungberg at med.lu.se> wrote:
> Hi
>
>
>
> I wonder what selection I should do on the ccmake of geant4 and gate in
> order to be able to visualize the geometry? I know one can use QT but how
> should I install this? I have the latest MacOS.
>
>
>
> Hälsningar / Best Regards
>
> Michael
> ________________________
> *Michael Ljungberg,* PhD, professor
> Department of Medical Radiation Physics
> Lund University
> Barngatan 4
> SE-221 85 Lund
> Phone: +46 46 173565
> Cellular: +46 708 173115
> http://www.msf.lu.se
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
--
David Sarrut, Phd
Directeur de recherche CNRS
CREATIS, UMR CNRS 5220, Inserm U1206
Centre de lutte contre le cancer Léon Bérard
28 rue Laënnec, 69373 Lyon cedex 08
Tel : 04 78 78 51 51 / 06 74 72 05 42
http://www.creatis.insa-lyon.fr/~dsarrut
_________________________________
"2 + 2 = 5, for extremely large values of 2"
_________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20190617/0ea95a36/attachment-0001.html>
------------------------------
Message: 4
Date: Mon, 17 Jun 2019 16:53:00 -0400
From: Nils Krah <nils.krah at creatis.insa-lyon.fr>
To: "=?utf-8?Q?gate-users=40lists.opengatecollaboration.org?="
<gate-users at lists.opengatecollaboration.org>
Subject: Re: [Gate-users] Visual on a MAC
Message-ID: <181f89f3-23c3-4e6d-9374-a9822cc36c37 at Spark>
Content-Type: text/plain; charset="utf-8"
Hi Michael,
I had similar issues. What worked for me was installing QT using conda. (https://anaconda.org) So you would do something like
$ conda install qt
My ccmake configuration then is:
Qt5Core_DIR /Users/nkrah/anaconda2/lib/cmake/Qt5Core
Qt5Gui_DIR /Users/nkrah/anaconda2/lib/cmake/Qt5Gui
Qt5OpenGL_DIR /Users/nkrah/anaconda2/lib/cmake/Qt5OpenGL
Qt5PrintSupport_DIR /Users/nkrah/anaconda2/lib/cmake/Qt5PrintSupport
Qt5Widgets_DIR /Users/nkrah/anaconda2/lib/cmake/Qt5Widgets
The same for the Geant4 compilation. On the other hand, using QT installed with brew did not work for me because of some dynamic library issues which I was unable to figure out.
I also installed XQuartz (https://www.xquartz.org) to have X11 on the MacOS system. This appears to be used by Geant4:
OPENGL_X11_INCLUDE_DIR /usr/X11R6/include
Let me know. We can also try to fiddle around together. I cannot really recall all the details - it was a bit of trial and error. Maybe other Gate on MacOS users have a technically more sound explanation than mine.
Hope it helps,
Nils
On 17 Jun 2019 at 16:21 -0400, Michael Ljungberg <michael.ljungberg at med.lu.se>, wrote:
> Hi
>
> I wonder what selection I should do on the ccmake of geant4 and gate in order to be able to visualize the geometry? I know one can use QT but how should I install this? I have the latest MacOS.
>
> Hälsningar / Best Regards
>
> Michael
> ________________________
> Michael Ljungberg, PhD, professor
> Department of Medical Radiation Physics
> Lund University
> Barngatan 4
> SE-221 85 Lund
> Phone: +46 46 173565
> Cellular: +46 708 173115
> http://www.msf.lu.se
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20190617/6eb3b3ee/attachment.html>
------------------------------
Subject: Digest Footer
_______________________________________________
Gate-users mailing list
Gate-users at lists.opengatecollaboration.org
http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
------------------------------
End of Gate-users Digest, Vol 157, Issue 16
*******************************************
More information about the Gate-users
mailing list