<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div id="yui_3_16_0_1_1419081719114_3390" dir="ltr"><span id="yui_3_16_0_1_1419081719114_3453"><font size="2" id="yui_3_16_0_1_1419081719114_3576">Dear Hermann,</font></span></div><div id="yui_3_16_0_1_1419081719114_3390" dir="ltr"><span><font size="2"><br></font></span></div><div id="yui_3_16_0_1_1419081719114_3390" dir="ltr"><span id="yui_3_16_0_1_1419081719114_3452"><font size="2" id="yui_3_16_0_1_1419081719114_3572">Thanks for your note. My problem is that my system can't find the "env_gate.sh". I even don't have a cmake file in the "job splitter" directory to compile. </font></span></div><div id="yui_3_16_0_1_1419081719114_3390" dir="ltr"><span id="yui_3_16_0_1_1419081719114_10732"><font size="2" id="yui_3_16_0_1_1419081719114_10731">Based on the directions in Gate manual, I should add two environment variables in my ".bashrc" file as below, am I right?</font></span></div><div id="yui_3_16_0_1_1419081719114_3390" dir="ltr"><span><font size="2"><br></font></span></div><div id="yui_3_16_0_1_1419081719114_3390" dir="ltr" class="" style=""><font size="2" class="" style="" id="yui_3_16_0_1_1419081719114_4660">export GC_DOT_GATE_DIR=/somedir/  >>  (I set it to </font><span style="font-size: small;" class="" id="yui_3_16_0_1_1419081719114_8642">/home/soman/Gate/gate_v7/cluster_tools/jobsplitter)</span></div><div id="yui_3_16_0_1_1419081719114_3390" dir="ltr"><font size="2"></font></div><div id="yui_3_16_0_1_1419081719114_3390" dir="ltr" class="" style=""><font size="2" class="" style="" id="yui_3_16_0_1_1419081719114_4037">export GC_GATE_EXE_DIR=/somedir/bin/Linux-g++/   >> (</font><font size="2" class="" id="yui_3_16_0_1_1419081719114_4660" style="">I set it to </font><span class="" id="yui_3_16_0_1_1419081719114_8642" style="font-size: small;">/home/soman/Gate/gate_v7/cluster_tools/jobsplitter)</span></div><div id="yui_3_16_0_1_1419081719114_3390" dir="ltr" class="" style=""><br></div><div id="yui_3_16_0_1_1419081719114_3390" dir="ltr" class="" style=""><font size="2" class="" style="" id="yui_3_16_0_1_1419081719114_5314">However, when I go into above path in a terminal and write source env_gate.sh, my system can't find env_gate.sh. I don't know what's the problem. Thanks for any idea of yours and also ideas of other users, </font><span style="font-size: small;" class="">if any,</span><span style="font-size: small;" class=""> on this.</span></div><div id="yui_3_16_0_1_1419081719114_3390" dir="ltr" class="" style=""><font size="2" class="" style="" id="yui_3_16_0_1_1419081719114_10730">- Soman</font></div> <div class="qtdSeparateBR"><br><br></div><div class="yahoo_quoted" style="display: block;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div dir="ltr"> <font size="2" face="Arial"> On Tuesday, December 16, 2014 2:25 PM, Hermann Fuchs <hermann.fuchs@meduniwien.ac.at> wrote:<br> </font> </div>  <br><br> <div class="y_msg_container"><div id="yiv6214733651"><div>
Hi,<br clear="none">
<br clear="none">
at our place the following procedure worked on Scientific Linux 6 and Ubuntu 14.04 LTS.<br clear="none">
<br clear="none">
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 clear="none">
<br clear="none">
Cheers,<br clear="none">
Hermann<br clear="none">
<br clear="none">
On Wed, 2014-12-10 at 14:08 +0000, S. Saghamanesh wrote:
<blockquote type="CITE">
    Hi,
</blockquote>
<blockquote type="CITE">
    <div class="yiv6214733651yqt6400374327" id="yiv6214733651yqtfd22749"><br clear="none">
    <br clear="none">
</div></blockquote><div class="yiv6214733651yqt6400374327" id="yiv6214733651yqtfd66471">
<blockquote type="CITE">
    I get this error when I try to make job splitter in its directory:
</blockquote>
<blockquote type="CITE">
    <br clear="none">
    <br clear="none">
</blockquote>
<blockquote type="CITE">
    Compiling GateMacfileParser.cc...<br clear="none">
    ./src/GateMacfileParser.cc: In constructor ‘GateMacfileParser::GateMacfileParser(G4String, G4int, G4int, G4String*)’:<br clear="none">
    ./src/GateMacfileParser.cc:41:26: error: ‘getpid’ was not declared in this scope<br clear="none">
    make: *** [tmp/GateMacfileParser.o] Error 1<br clear="none">
    <br clear="none">
</blockquote>
<blockquote type="CITE">
    <br clear="none">
    <br clear="none">
</blockquote>
<blockquote type="CITE">
    What is it about? Does anybody know what's the procedure of installing job splitter?
</blockquote>
<blockquote type="CITE">
    <br clear="none">
    <br clear="none">
</blockquote>
<blockquote type="CITE">
    Thanks
</blockquote>
</div><blockquote type="CITE"><div class="yiv6214733651yqt6400374327" id="yiv6214733651yqtfd45353">
    - Soman</div><br clear="none">
    <br clear="none">
</blockquote>
<blockquote type="CITE">
    <br clear="none">
    <br clear="none">
</blockquote>
<blockquote type="CITE">
<pre>_______________________________________________
Gate-users mailing list
<a rel="nofollow" shape="rect" ymailto="mailto:Gate-users@lists.opengatecollaboration.org" target="_blank" href="mailto:Gate-users@lists.opengatecollaboration.org">Gate-users@lists.opengatecollaboration.org</a>
<a rel="nofollow" shape="rect" target="_blank" href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a>
</pre>
</blockquote>
<br clear="none">
<table cellspacing="0" cellpadding="0" width="100%"><tbody><tr><td colspan="1" rowspan="1">
-- 
<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. hermann.fuchs@meduniwien.ac.at
</pre><div class="yiv6214733651yqt6400374327" id="yiv6214733651yqtfd56695">
</div></td></tr></tbody></table><div class="yiv6214733651yqt6400374327" id="yiv6214733651yqtfd08167">
</div></div></div><br>_______________________________________________<br clear="none">Gate-users mailing list<br clear="none"><a shape="rect" ymailto="mailto:Gate-users@lists.opengatecollaboration.org" href="mailto:Gate-users@lists.opengatecollaboration.org">Gate-users@lists.opengatecollaboration.org</a><br clear="none"><a shape="rect" href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users" target="_blank">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a><br><br></div>  </div> </div>  </div> </div></body></html>