<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p>Hi Muhammad,</p>
<p><br>
</p>
<p>General remark: we ask users to keep the conversation on the mailing list. Other users with similar issues may find it helpful to see whether your issue got resolved or not (and if yes: how). Also: if the first responder (in this case: me) does not have
time to answer your follow-up question, then maybe someone else may answer. I admit that sometimes I myself use "reply" instead of "reply-to-all" by accident, but when I find out that that happened (only one person received it) then I just send the same message
again to the list.</p>
<p><br>
</p>
<p>About the fatal error that you report: it looks like you try to compile with GATE_USE_ECAT enabled. Do you really need it? If not, then switch it off (in ccmake), and then rerun make.</p>
<p><br>
</p>
<p>ECAT is very old software that is not officially maintained by GATE. We provide a version of the ecat source code on our website and offer the GATE_USE_ECAT flag in cmake, but in principle you are kind of on your own to make it work. That said: if you really
really really do need ECAT, then make sure that you compiled and installed the ECAT library (congrats if you succeed!). Before running ccmake, the environment variable ECAT7_HOME should point to the ECAT installation/build directory, and check that "$ECAT7_HOME/include"
contains matrix.h and other header files, and "$ECAT7_HOME/lib" contains the library files (.a or .so files). A very similar story holds for "LMF".</p>
<p><br>
</p>
<p>Good luck,</p>
<p>David Boersma<br>
</p>
<p><br>
</p>
<p><br>
</p>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>Von:</b> Muhammad Afzaal Sadaqat <muhammadafzaalsadaqat786@gmail.com><br>
<b>Gesendet:</b> Donnerstag, 9. Jänner 2020 17:55:46<br>
<b>An:</b> David Boersma<br>
<b>Betreff:</b> Re: [Gate-users] GATE installation</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div>Thanks David for your reply, i followed your steps it really helped a lot.</div>
<div>Now i am facing problem with following "make" command <br>
<pre><span class="gmail-n">make</span> <span class="gmail-o">-</span><span class="gmail-n">jN</span> <span class="gmail-p">(</span><span class="gmail-n">N</span> <span class="gmail-ow">is</span> <span class="gmail-n">the</span> <span class="gmail-n">number</span> <span class="gmail-n">of</span> <span class="gmail-n">processor</span><span class="gmail-p">(</span><span class="gmail-n">s</span><span class="gmail-p">)</span> <span class="gmail-ow">in</span> <span class="gmail-n">your</span> <span class="gmail-n">PC</span><span class="gmail-p">)<br></span></pre>
<pre><span class="gmail-p">After sometime of its execution, 35% fatal error occured (screenshot is attached).<br></span></pre>
<pre><span class="gmail-p">Kindly solve this issue as soon as possible i will be thankful to you.<br></span></pre>
<pre><span class="gmail-p"><br></span></pre>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Wed, Jan 8, 2020 at 6:15 PM David Boersma <<a href="mailto:david.boersma@acmit.at">david.boersma@acmit.at</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<div id="gmail-m_-704366263881559484divtagdefaultwrapper" style="font-size:12pt;color:rgb(0,0,0);font-family:Calibri,Helvetica,sans-serif" dir="ltr">
<p>Hi Muhammad,</p>
<p><br>
</p>
<p>I assume that you are following these instructions:<br>
</p>
<p><a href="https://opengate.readthedocs.io/en/latest/compilation_instructions.html" id="gmail-m_-704366263881559484LPlnk767717" target="_blank">https://opengate.readthedocs.io/en/latest/compilation_instructions.html</a></p>
<p><br>
</p>
<p>Correct?</p>
<p><br>
</p>
<p>From the error message in your first mail it looks like like you are using the same build directory for Geant4 and for Gate. When compiling from source, each package should be built in a separate build directory.
<br>
</p>
<p><br>
</p>
<p>In the error message of your second mail it looks like ccmake cannot find the Geant4 build information. As explained in sections 4.3 and 4.4, you should run the following two commands *before* running ccmake in your Gate build directory:</p>
<p><br>
</p>
<p><span>source /PATH_TO/geant4.10.05-install/bin/geant4.sh</span></p>
<p><span>source /PATH_TO/root_v6.xx/bin/thisroot.sh</span></p>
<p><br>
</p>
<p>Here the "/PATH_TO/.../" paths should be replaced with with the directories where you *installed* (not built) geant4 and ROOT, respectively.<br>
</p>
<p><br>
</p>
<p>So could you please try the following:</p>
<ul style="margin-bottom:0px;margin-top:0px">
<li>start a new shell (or a new terminal window)</li><li>run those two source commands (geant4 and ROOT)</li><li>create a new build directory for Gate v8.2 with "mkdir"</li><li>cd into that (empty) build directory</li><li>then run: ccmake /PATH_TO/gate_v8.2</li></ul>
<p>(where you replace "/PATH_TO/gate_v8.2" with the full path to the source directory as you got it from unpacking the source tar ball).</p>
<p><br>
</p>
<p>And if that seems to run successfully, continue with make, make install, and run some Gate examples from GateContrib.
<span>😊</span></p>
<p><br>
</p>
<p>Hope that helps, good luck!</p>
<p>David<br>
</p>
</div>
<hr style="display:inline-block;width:98%">
<div id="gmail-m_-704366263881559484divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>Von:</b> Gate-users <<a href="mailto:gate-users-bounces@lists.opengatecollaboration.org" target="_blank">gate-users-bounces@lists.opengatecollaboration.org</a>>
im Auftrag von Muhammad Afzaal Sadaqat <<a href="mailto:muhammadafzaalsadaqat786@gmail.com" target="_blank">muhammadafzaalsadaqat786@gmail.com</a>><br>
<b>Gesendet:</b> Dienstag, 7. Jänner 2020 14:59:29<br>
<b>An:</b> <a href="mailto:gate-users@lists.opengatecollaboration.org" target="_blank">
gate-users@lists.opengatecollaboration.org</a><br>
<b>Betreff:</b> [Gate-users] GATE installation</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div>Dear Gate Users,</div>
<div>I have downloaded GATE v8.2 from <br>
<pre><a rel="nofollow" href="http://www.opengatecollaboration.org/GATE80" target="_blank">http://www.opengatecollaboration.org/GATE80</a><br></pre>
<pre>then <br></pre>
<p>Unzip and untar the downloaded file: </p>
tar -xzf gate_v8.2.tar.gz <br>
</div>
<div>
<p>In the same directory, i created two directories to build and install GATE: </p>
<pre>mkdir gate_v8.2-build
mkdir gate_v8.2-install<br></pre>
<pre>After that I moved into the GATE build directory:
</pre>
cd gate_v8.0-build <br>
</div>
<div>when i wrote this command <br>
</div>
<div>
<pre>ccmake ../ Geant4_DIR /home/afzaal/geant4/geant4.10.05.p01-build<br></pre>
<pre>in above command i also gave the Geant4 directory where its build files are located.<br><br><br></pre>
<pre>but i am getting the following error (screenshot attached)<br><br></pre>
</div>
</div>
</div>
</div>
_______________________________________________<br>
Gate-users mailing list<br>
<a href="mailto:Gate-users@lists.opengatecollaboration.org" target="_blank">Gate-users@lists.opengatecollaboration.org</a><br>
<a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users" rel="noreferrer" target="_blank">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a></blockquote>
</div>
</div>
</body>
</html>