Closed msarvi closed 3 years ago
Hello,
To find the issue and replicate the error:
1) What is your distro?
cat /proc/version
2) Do you have any issues during the easy_gate.sh run?
3) Did you run the installation of cluster tools (HTcondor) at the end?
4) Do you have any display executing
gjs -h
5) If the error appear for splitting job, do you properly export the two needed environment variable:
export GC_DOT_GATE_DIR=/somedir/
export GC_GATE_EXE_DIR=/usr/local/GATE/Gate-9.0-install/bin
Thank you
Dear Alxaline, My linux version 5.4.0-58-generic and gcc version is 9.3.0 ubuntu 9.3.0-17 ubuntu1~20.04 . I had no problem in running easy_gate.sh in shell then i run HTcondor correctlly same as you but when i run gjs -h in shell i see # At the end, i export both path correctly. It make me confuse.
Dear msarvi,
Thank for you reply. In order to investigate more, can you post a screenshot with the two export variable in terminal and the command line use for splitting job. Then the explicit error.
Best regards
Dear Alxaline,
First of all, I just say Thank you for your help with my issue. I have a GATE code that is in a ghaebi folder which is on the desktop. I wanted to execute this code in the cluster so I had put the path of my GATE code as an "export GC_DOT_GATE_DIR ". Then change a path of "export GC_GATE_EXE_DIR" same as you. The picture below is about this part. After, I changed my path to the job splitter folder and use your instruction like below. But, I have faced this problem again.
Many thanks, M.sarvi
Dear msarvi,
1) In top of your condor.script, do you have the variable getenv = true? :
gedit /usr/local/GATE/Gate-9.0/cluster_tools/jobsplitter/script/condor.script
if not add the variable getenv = true:
##############################################################
#
# Standard script for Condor in ClusterGATE
# Supply this script to the job splitter command line.
# following keywords
# GC_EXEC
# GC_MACRO
# will be replaced by actual values.
# Do not remove any of them!
#
# The user can edit anything before the "#GJS PART"
# except the line with $GC_EXEC
#
# JDB 3.8.2005
#
##############################################################
getenv = true
Executable = $GC_EXEC
universe = vanilla
request_memory = 2G
......
2) Is your holeGeo.mac inside your jobsplitter directory? If not put the full path.
Try again the gjs command line and tell me if it has changed.
Best regards
Dear Alaxline,
getenv = true
to the first line. I have searched Mailing List on the opengate website it was a command :
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/gate/Progs/Gate/gate_v6.0_p01/cluster_tools/jobsplitter/tmp/Linux-g++/gjs
.
I think the problem is the gjs path. when we use the gjs command the shell didn't run the gjs file which is located in the jobsplitter folder. would you mind, please take a look at this?.
sincerely, msarvi
Hello msarvi,
you forgot the ./
before the gjs command line for exec the Gate splitter.
Here a small example:
without : ./
with correct execution: ./
Best regards
Dear Alxaline,
first of all, I just can say thank you. I correct my mistake in ./gjs
. after execution again I have (core dump) although I set environment variables as your order and add startDAQCluster to my macro.
Best regards
Dear msarvi
1) First screenshot means you don't have set the variable (maybe do not have source GC_GATE_EXE_DIR
or GC_DOT_GATE_DIR
. You use openmosix instead of condor and no script is used. Bad test maybe
2) Second one your right with the ./gjs
for exec gjs but you set a .
for the condorscript. So the result is an floating point exception. It's not an exec, you need the path to the script. So no .
and just the path -condorscript /script/condor.script
From what i see, the command line need to be:
./gjs -numberofsplits 8 -clusterplatform condor -condorscript /script/condor.script /home/messi/Desktop/ghaebi/holeGeo.mac
Best regards
Dear Alxaline,
Many thanks for your replies. I used your command line but again the Floating point exception (core dumped)
pops.
I must note that I used /gate/application/startDAQCluster
but I didn't used /gate/cluster/setTimeSplitHalflife
because the
isotope half-life is larger than acquisition time and I simulate many CTscan systems.
sincerely, msarvi
Dear msarvi,
The problem is inherent to the Gate macro. Maybe something with the definition of the beginning and the end of the acquisition. Ask on the OpenGate mailing list to have help with your macro.
Best regards,
Issue is closed due to inactivity.
Feel free to re-open.
Hi, As i run gjs command in shell i have an error core dump. I think the problem is about gjs path for GATE