[Gate-users] Problem with job splitter installation

S. Saghamanesh s.saghamanesh at yahoo.com
Sat Dec 20 15:02:36 CET 2014


Dear Hermann,
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. Based on the directions in Gate manual, I should add two environment variables in my ".bashrc" file as below, am I right?
export GC_DOT_GATE_DIR=/somedir/  >>  (I set it to /home/soman/Gate/gate_v7/cluster_tools/jobsplitter)export GC_GATE_EXE_DIR=/somedir/bin/Linux-g++/   >> (I set it to /home/soman/Gate/gate_v7/cluster_tools/jobsplitter)
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, if any, on this.- Soman 

     On Tuesday, December 16, 2014 2:25 PM, Hermann Fuchs <hermann.fuchs at meduniwien.ac.at> wrote:
   

 Hi,

at our place the following procedure worked on Scientific Linux 6 and Ubuntu 14.04 LTS.

go to /opt/simulation/gate6_1/cluster_tools/jobsplittercd /opt/simulation/gate6_1/cluster_tools/jobsplitter
make sure Gate paths are setsource /opt/simulation/gate6_1/env_gate.sh
compilemake
Copy the library to the correct placecp /opt/simulation/gate6_1/cluster_tools/jobsplitter/tmp/Linux-g++/gjs/libgjs.so /opt/simulation/gate6_1/cluster_tools/jobsplitter/bin/Linux-g++
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/simulation/gate6_1/cluster_tools/jobsplitter/tmp/Linux-g++/gjs

Cheers,
Hermann

On Wed, 2014-12-10 at 14:08 +0000, S. Saghamanesh wrote:
 Hi,

 
 


 I get this error when I try to make job splitter in its directory:

 
 


 Compiling GateMacfileParser.cc...
 ./src/GateMacfileParser.cc: In constructor ‘GateMacfileParser::GateMacfileParser(G4String, G4int, G4int, G4String*)’:
 ./src/GateMacfileParser.cc:41:26: error: ‘getpid’ was not declared in this scope
 make: *** [tmp/GateMacfileParser.o] Error 1
 


 
 


 What is it about? Does anybody know what's the procedure of installing job splitter?

 
 


 Thanks

 - Soman
 


 
 


_______________________________________________
Gate-users mailing list
Gate-users at lists.opengatecollaboration.org
http://lists.opengatecollaboration.org/mailman/listinfo/gate-users



| -- -------------
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 at meduniwien.ac.at
 |


_______________________________________________
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/mailman/private/gate-users/attachments/20141220/b9ff0bae/attachment.html>


More information about the Gate-users mailing list