<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div><br>
</div>
Hi Pete,
<div><br>
</div>
<div>I am not an expert in all this installation issues, but I cannot find</div>
<div>an obvious error you might have made.</div>
<div>Now let me ask, what exactly is the error you find? I didn’t fully</div>
<div>understand your first eMail and simply responded to your question</div>
<div>on starting or adding a script file. </div>
<div>Note, to check if the installation was successful is easiest done by</div>
<div>starting Gate as I wrote in my first response <b>AND</b> (!!) also to run</div>
<div>the benchmarks and/or examples provided with the GATE-</div>
<div>distribution.</div>
<div>Feel free to let us know what you find and whether it works.</div>
<div><br>
</div>
<div>Kind regards,</div>
<div><br>
</div>
<div>Uwe Pietrzyk<br>
<div>
<div><span style="orphans: 2; widows: 2;">/----------------------------------------------------------------------</span></div>
<div style="orphans: 2; widows: 2;">Prof. Dr. Uwe Pietrzyk<br>
Diplom-Physiker<br>
Institut für Neurowissenschaften und Medizin / INM-4<br>
Forschungszentrum Jülich GmbH<br>
52425 Jülich<br>
Tel: +49-2461-61 4763<br>
Fax: +49-2461-61 2820<br>
Mobil: +49-162-103-4871<br>
eMail: <a href="mailto:U.Pietrzyk@fz-juelich.de">U.Pietrzyk@fz-juelich.de</a><br>
<a href="http://www.fz-juelich.de/inm/inm-4/DE/Home/home_node.html">http://www.fz-juelich.de/inm/inm-4/DE/Home/home_node.html</a><br>
&<br>
Bergische Universität Wuppertal<br>
Fachbereich C - Physik / D.08.01<br>
Gaußstr. 20<br>
42097 Wuppertal<br>
Tel: +49-(0)202-439-3523<br>
Fax: +49-(0)202-439-2811<br>
eMail: <a href="mailto:Uwe.Pietrzyk@physik.uni-wuppertal.de">Uwe.Pietrzyk@physik.uni-wuppertal.de</a><br>
<a href="http://www.medizinphysik.uni-wuppertal.de/">http://www.medizinphysik.uni-wuppertal.de</a><br>
----------------------------------------------------------------------/</div>
</div>
<br>
<div>
<div>On 15 Sep 2015, at 10:20, Pete Z. Wu <<a href="mailto:pzw@ns.ph.liv.ac.uk">pzw@ns.ph.liv.ac.uk</a>> wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div style="font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">
Hi Uwe,<br>
<br>
Thanks for the prompt response to my post. To clarify, I installed Gate (version 7.1) from source code. The commands used during the configuration process are as follows:<br>
<br>
cmake -DCMAKE_INSTALL_PREFIX=/usr/local/gate_v7.1-install -DGATE_DOWNLOAD_BENCHMARKS_DATA=ON /usr/local/gate_v7.1<br>
cmake -DCMAKE_INSTALL_PREFIX=/usr/local/gate_v7.1-install -DGATE_DOWNLOAD_EXAMPLES_DATA=OFF /usr/local/gate_v7.1<br>
cmake -DCMAKE_INSTALL_PREFIX=/usr/local/gate_v7.1-install -DGATE_USE_ECAT7=OFF /usr/local/gate_v7.1<br>
cmake -DCMAKE_INSTALL_PREFIX=/usr/local/gate_v7.1-install -DGATE_USE_GEANT4_UIVIS=ON /usr/local/gate_v7.1<br>
cmake -DCMAKE_INSTALL_PREFIX=/usr/local/gate_v7.1-install -DGATE_USE_GPU=OFF /usr/local/gate_v7.1<br>
cmake -DCMAKE_INSTALL_PREFIX=/usr/local/gate_v7.1-install -DGATE_USE_LMF=OFF /usr/local/gate_v7.1<br>
cmake -DCMAKE_INSTALL_PREFIX=/usr/local/gate_v7.1-install -DGATE_USE_OPTICAL=OFF /usr/local/gate_v7.1<br>
cmake -DCMAKE_INSTALL_PREFIX=/usr/local/gate_v7.1-install -DGATE_USE_SYSTEM_CLHEP=OFF /usr/local/gate_v7.1<br>
<br>
<br>
After setting up all the flags as shown i.e USE_GPU=OFF etc. I ran the “make –j4” command and “make install” command in sequence as shown below. I did not get any error messages during these two stages either.<br>
<br>
make -j4<br>
make install<br>
<br>
Now, as I understand if these two stages are successful (as it appears to be in my case) the installation should be OK. However, when I try to run Gate from the terminal I get an error message. I should be grateful if you could confirm to me that the procedure
I have listed above in this email is correct. I should also mention that both ROOT and GEANT4 are working on my macbook.<br>
<br>
Many thanks,<br>
Pete<br>
<br>
<br>
<br>
<br>
<br>
Quoting "Pietrzyk, Uwe" <<a href="mailto:u.pietrzyk@fz-juelich.de">u.pietrzyk@fz-juelich.de</a>>:<br>
<br>
<blockquote type="cite">Hi Pete,<br>
<br>
nit sure, whether I understood your question correctly, but the following<br>
lines I copied from a terminal window may be helpful for you:<br>
<br>
medmac23 1 --> cd /Applications/gate_v7.1-install/bin<br>
medmac23 2 --> ll<br>
total 15368<br>
-rwxr-xr-x 1 upietrzyk admin 7860824 May 8 14:23 Gate*<br>
-rwxr-xr-x@ 1 upietrzyk admin 113 May 8 14:37 env_gate.csh*<br>
<br>
medmac23 3 --> pwd<br>
/Applications/gate_v7.1-install/bin<br>
<br>
medmac23 4 --> more env_gate.csh<br>
source /Applications/geant4.10.01-install/bin/geant4.csh<br>
setenv PATH ${PATH}:/Applications/gate_v7.1-install/bin<br>
medmac23 5 --><br>
<br>
medmac23 5 --> source env_gate.csh<br>
<br>
medmac23 8 --> which Gate<br>
./Gate<br>
<br>
medmac23 7 --> Gate<br>
[G4]<br>
[G4] *************************************************************<br>
[G4] Geant4 version Name: geant4-10-01 (5-December-2014)<br>
[G4] Copyright : Geant4 Collaboration<br>
[G4] Reference : NIM A 506 (2003), 250-303<br>
[G4] WWW : <a href="http://cern.ch/geant4">http://cern.ch/geant4</a><br>
[G4] *************************************************************<br>
[G4]<br>
[Core-0] Initialization of geometry<br>
[Core-0] Initialization of physics<br>
[Core-0] Initialization of actors<br>
[Core-0]<br>
[Core-0] **********************************************************************<br>
[Core-0] GATE version name: gate_v7.1<br>
[Core-0] Copyright : OpenGATE Collaboration<br>
[Core-0] Reference : Phys. Med. Biol. 49 (2004) 4543-4561<br>
[Core-0] Reference : Phys. Med. Biol. 56 (2011) 881-901<br>
[Core-0] WWW : <a href="http://www.opengatecollaboration.org">
http://www.opengatecollaboration.org</a><br>
[Core-0] **********************************************************************<br>
[Core-0]<br>
[Core-0] You are using Geant4 version 10.1.0<br>
Idle> exit<br>
Graphics systems deleted.<br>
Visualization Manager deleting...<br>
<br>
<br>
Kind regards and best wishes,<br>
<br>
Uwe Pietrzyk<br>
<br>
/----------------------------------------------------------------------<br>
Prof. Dr. Uwe Pietrzyk<br>
Diplom-Physiker<br>
Institut für Neurowissenschaften und Medizin / INM-4<br>
Forschungszentrum Jülich GmbH<br>
52425 Jülich<br>
Tel: +49-2461-61 4763<br>
Fax: +49-2461-61 2820<br>
Mobil: +49-162-103-4871<br>
eMail:<span class="Apple-converted-space"> </span><a href="mailto:U.Pietrzyk@fz-juelich.de">U.Pietrzyk@fz-juelich.de</a><<a href="mailto:U.Pietrzyk@fz-juelich.de">mailto:U.Pietrzyk@fz-juelich.de</a>><br>
<a href="http://www.fz-juelich.de/inm/inm-4/DE/Home/home_node.html">http://www.fz-juelich.de/inm/inm-4/DE/Home/home_node.html</a><br>
&<br>
Bergische Universität Wuppertal<br>
Fachbereich C - Physik / D.08.01<br>
Gaußstr. 20<br>
42097 Wuppertal<br>
Tel: +49-(0)202-439-3523<br>
Fax: +49-(0)202-439-2811<br>
eMail:<span class="Apple-converted-space"> </span><a href="mailto:Uwe.Pietrzyk@physik.uni-wuppertal.de">Uwe.Pietrzyk@physik.uni-wuppertal.de</a><<a href="mailto:Uwe.Pietrzyk@physik.uni-wuppertal.de">mailto:Uwe.Pietrzyk@physik.uni-wuppertal.de</a>><br>
<a href="http://www.medizinphysik.uni-wuppertal.de<http://www.medizinphysik.uni-wuppertal.de/>">http://www.medizinphysik.uni-wuppertal.de<http://www.medizinphysik.uni-wuppertal.de/></a><br>
----------------------------------------------------------------------/<br>
<br>
On 15 Sep 2015, at 08:06, Pete Z. Wu <<a href="mailto:pzw@ns.ph.liv.ac.uk">pzw@ns.ph.liv.ac.uk</a><<a href="mailto:pzw@ns.ph.liv.ac.uk">mailto:pzw@ns.ph.liv.ac.uk</a>>> wrote:<br>
<br>
Dear GATE expert,<br>
<br>
I’m new to GATE. I recently installed gate_v7.1 on my MacBook Pro. During the configuration, building and installation stages I did not get any error messages, everything seams to be done quite smoothly. After the installation was completed I needed to write
the source script i.e. .sh file into my .bashrc file. However, I’m not sure where this file should be. It does not appear to be in either the installation or build directories i.e. gate_v7.1-build or gate_v7.1-install.<br>
<br>
I should be very grateful if you would let me know explicitly how I should source the .sh script in my .bashrc file.<br>
<br>
Many thanks,<br>
Pete<br>
<br>
_______________________________________________<br>
Gate-users mailing list<br>
<a href="mailto:Gate-users@lists.opengatecollaboration.org">Gate-users@lists.opengatecollaboration.org</a><<a href="mailto:Gate-users@lists.opengatecollaboration.org">mailto:Gate-users@lists.opengatecollaboration.org</a>><br>
<a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a><br>
<br>
<br>
<br>
------------------------------------------------------------------------------------------------<br>
------------------------------------------------------------------------------------------------<br>
Forschungszentrum Juelich GmbH<br>
52425 Juelich<br>
Sitz der Gesellschaft: Juelich<br>
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498<br>
Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher<br>
Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender),<br>
Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,<br>
Prof. Dr. Sebastian M. Schmidt<br>
------------------------------------------------------------------------------------------------<br>
------------------------------------------------------------------------------------------------</blockquote>
</div>
</blockquote>
</div>
<br>
</div>
</body>
</html>