<div dir="ltr"><div><div><div>Hi Gaters,<br><br></div>I get a similar problem when trying to compile Jobsplitter on Gate v7.0<br></div><br>-I first go into /opt/GATE_7_0/gate_v7.0/cluster_tools/jobsplitter<br></div>-Then I set the Gate path<br><div>
<div><pre>source /PATH_TO/root_v5.XX/bin/thisroot.sh
export PATH=$PATH:/PATH_TO/<a href="http://2.1.3.1/CLHEP/bin">2.1.3.1/CLHEP/bin</a>
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/PATH_TO/<a href="http://2.1.3.1/CLHEP/lib">2.1.3.1/CLHEP/lib</a>
source /PATH_TO/geant4.9.6.p03-install/bin/geant4.sh
export PATH=$PATH:/PATH_TO/gate.7.0-install/bin<br><br></pre><pre>-and when I try to compile it with make, I get this kind of errors for those 2 libraries:<br><br>/opt/geant4.9.6.p03/geant4.9.6.p03-install/bin/../include/Geant4/G4PhysicalConstants.hh:60: error: ‘CLHEP’ has not been declared<br>/opt/geant4.9.6.p03/geant4.9.6.p03-install/bin/../include/Geant4/G4SystemOfUnits.hh:140: error: ‘CLHEP’ has not been declared<br><br></pre><pre>Is it an error on seting the path of CLHEP? (I shall precise that Gate is installed properly and that the results of the benchmarks are correct)<br><br></pre><pre>Thank you in advance,<br><br></pre><pre>Matthieu<br></pre></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2014-12-16 11:54 GMT+01:00 Hermann Fuchs <span dir="ltr"><<a href="mailto:hermann.fuchs@meduniwien.ac.at" target="_blank">hermann.fuchs@meduniwien.ac.at</a>></span>:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>
<div>
Hi,<br>
<br>
at our place the following procedure worked on Scientific Linux 6 and Ubuntu 14.04 LTS.<br>
<br>
go to /opt/simulation/gate6_1/cluster_tools/jobsplitter
<pre>cd /opt/simulation/gate6_1/cluster_tools/jobsplitter
</pre>
make sure Gate paths are set
<pre>source /opt/simulation/gate6_1/env_gate.sh
</pre>
compile
<pre>make
</pre>
Copy the library to the correct place
<pre>cp /opt/simulation/gate6_1/cluster_tools/jobsplitter/tmp/Linux-g++/gjs/libgjs.so /opt/simulation/gate6_1/cluster_tools/jobsplitter/bin/Linux-g++
</pre>
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/simulation/gate6_1/cluster_tools/jobsplitter/tmp/Linux-g++/gjs<br>
<br>
Cheers,<br>
Hermann<br>
<br>
On Wed, 2014-12-10 at 14:08 +0000, S. Saghamanesh wrote:
<blockquote type="CITE">
Hi,
</blockquote>
<blockquote type="CITE">
<br>
<br>
</blockquote>
<blockquote type="CITE">
I get this error when I try to make job splitter in its directory:
</blockquote>
<blockquote type="CITE">
<br>
<br>
</blockquote>
<blockquote type="CITE">
Compiling GateMacfileParser.cc...<br>
./src/GateMacfileParser.cc: In constructor ‘GateMacfileParser::GateMacfileParser(G4String, G4int, G4int, G4String*)’:<br>
./src/GateMacfileParser.cc:41:26: error: ‘getpid’ was not declared in this scope<br>
make: *** [tmp/GateMacfileParser.o] Error 1<br>
<br>
</blockquote>
<blockquote type="CITE">
<br>
<br>
</blockquote>
<blockquote type="CITE">
What is it about? Does anybody know what's the procedure of installing job splitter?
</blockquote>
<blockquote type="CITE">
<br>
<br>
</blockquote>
<blockquote type="CITE">
Thanks
</blockquote>
<blockquote type="CITE">
- Soman<br>
<br>
</blockquote>
<blockquote type="CITE">
<br>
<br>
</blockquote>
<blockquote type="CITE">
<pre>_______________________________________________
Gate-users mailing list
<a href="mailto:Gate-users@lists.opengatecollaboration.org" target="_blank">Gate-users@lists.opengatecollaboration.org</a>
<a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users" target="_blank">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a>
</pre>
</blockquote>
<br>
<table cellpadding="0" cellspacing="0" width="100%">
<tbody><tr>
<td>
--
<pre>-------------
DI Hermann Fuchs
Christian Doppler Laboratory for Medical Radiation Research for Radiation Oncology
Department of Radiation Oncology
Medical University Vienna
Währinger Gürtel 18-20
A-1090 Wien
Tel. + 43 / 1 / 40 400 72710
Mail. <a href="mailto:hermann.fuchs@meduniwien.ac.at" target="_blank">hermann.fuchs@meduniwien.ac.at</a>
</pre>
</td>
</tr>
</tbody></table>
</div>
<br>_______________________________________________<br>
Gate-users mailing list<br>
<a href="mailto:Gate-users@lists.opengatecollaboration.org">Gate-users@lists.opengatecollaboration.org</a><br>
<a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users" target="_blank">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a><br></blockquote></div></div>