[Gate-users] compilation of GATE in a cluster
Samuel BURG
samuel_burg at yahoo.fr
Fri Nov 23 14:44:43 CET 2007
Jonathan,
Maybe you can compute time-of-flight from the data in the Root file generated by Gate. In Root file you should found position and time of each event, this way you should be able to calculate T-O-F.
Best regards,
Samuel Burg
kam kim <kimkam007 at gmail.com> a écrit : Dear Samuel,
Thank you very much for your email. I got some information about problems on the compilation of GEANT4 using low gcc version(<3.3). Since the gcc version in my linux cluster is 3.2, I installed gcc4.2.2 in my home directory. Using this gcc, I installed CLHEP2.0.3.1, GEANT4.9.1p02. I got an error when I installed ROOT. It seems that this error is a known bug and can be fixed. Hopefully, this time I can install GATE.
By the way, do you have any idea about the calculation of time of flight of a gamma photon travelling from the point of the annihilation to a crystal or a detector?
Best regards,
Jonathan
On 11/21/07, Samuel BURG <samuel_burg at yahoo.fr> wrote: Hi Jonathan,
I have had a look in your last Gate-log's. It realy seams that you have an issue with the compilation and link of your Gate. This has nothing to do with your macro files.
Gate 3.1.x should compil with gcc 3.2.x. On my computer I have used gcc-4.1.2, x86_64, and on my cluster I've used gcc 3.x? (don't remember sub-version), x86.
You should have a look in the logs of your compilation about any errors.
Good luck,
Samuel Burg
kam kim <kimkam007 at gmail.com> a écrit : Dear Samuel,
I am thinking if there is something wrong with the linux version on the cluster---Red Hat 3.2.3-58. But which can only affect the compilation of GATE. I am really getting stucky. I'm checking with the adminstrator about whether the cluster has some librarys such as openGL. Do you have any other suggestions?
Thank you very much.
Best regards,
Jonathan
On 10/26/07, kam kim <kimkam007 at gmail.com> wrote: Dear Samuel,
I tried this mac and got the output of Gate in a log-file. Attached are the log-file and a file including environmental variables before I performed Gate.
Thanks,
Jonathan
On 10/26/07, Samuel BURG <samuel_burg at yahoo.fr > wrote: All right,
your macro files are good.
try this one ("an-other-benchmarkPET.mac "), and copy-past the output in a log-file, so we can try to figure out what's happening with your gate.
also show us the environment variables you set before to launch gate.
best regards,
Samuel
kam kim <kimkam007 at gmail.com > a écrit :
Dear Samuel,
I used your benchmarkPET.mac file and got almost the same problem. As you suggested, attached are a tar file including all mac files and a file named benchmarkPET.log including the output of Gate. I also attached a file including the environmental variable setup in the cluster, which is named cluster.env. I hope that these files will give you more information to help me figure out the problem.
Thank you very much.
Best regards,
Jonathan
On 10/26/07, Samuel BURG <samuel_burg at yahoo.fr > wrote: Dear Jonathan,
I have test my benchmarkPET.mac, right out-of-the box from gate-v3.1.2, and it run exactly as it should, so it seams that your benchmarkPET.mac file has been corrupted.
Check if the command :
"/run/initialize"
is call BEFORE the command :
"/control/execute digitizer.mac"
in your benchmarkPET.mac file.
For now, I don't see other explaination of your problem.
So,
1) can you send me all your *.mac file in a tar.gz file ?
2) try the benchmarkPET.mac file I've attached to this mail.
3) if there is error remaining copy-past all the output of Gate in a file and send it to us.
Regards,
Samuel
kam kim <kimkam007 at gmail.com > a écrit : Dear Samuel;
When I run Gate benchmarkPET.mac, I got errors as follows:
***** COMMAND NOT FOUND </gate/digitizer/Singles/insert adder> *****
and
***** COMMAND NOT FOUND </gate/output/ascii/setOutFileHitsFlag 0> *****
Then I looked at GATE-USER talk. I noticed that you answered a similiar question to MJ. But in my case, the linking gate was successfully done and root version is 5.14. Could you please help me out? Thanks in advance.
Best regards,
Jonathan
On 10/18/07, Samuel BURG <samuel_burg at yahoo.fr > wrote: Dear Kam Kim,
I sugjest you to upgrade to version 3.1.2, as last month in a mail from one of the main developer we can read this:
<<<<
Dear
Gaters,
To perform correctly the compressed voxel capabilities and the gamma
backtoback emission with the last Gate version (
3.1.2), you must use
the
patch which is provided
with this e-mail;
Sorry for these
inconveniences.
All the best
Sebastien
<<<<<
in fact this patch has already been apply on the Gate v3.1.2 available from the download area.
Second point is that g++/gcc version can matter in compilation error, but I'm not sure it will solve your specific problem.
Hope this will help,
best regards,
Samuel
kam kim <kimkam007 at gmail.com> a écrit : Dear Samuel;
Thank you for your email.
In my local linux system, I installed CLHEP1.9.2.2, root5.14, geant4.8.0.p01 and gate_v3.1.1. It seems that this comibination works well, and then I decided to install them into a linux cluster. One possibility could be that linux-gcc or linux-g++ in the cluster is different from that in my local linux system. I don't know whether this would cause any problem.
Best regards,
Jonathan
On 10/17/07, Samuel BURG <samuel_burg at yahoo.fr > wrote: Well,
it seems you have a problem with the version of Geant4.
you should restart the install with the good versions :
Gate 3.1.1 + Geant4 8.1p2 + Root 5.12 + clhep 1.9.2.3
or
Gate 3.1.2 + Geant4 9.0 + Root 5.14 + clhep 1.9.3.1 / 2.0.3.1
don't mix the versions.
Regards,
Samuel
kam kim < kimkam007 at gmail.com > a écrit :
Dear All,
When I tried to install gate_v3.1.1 in a linux cluster, I got an error as follows:
src/GateCompressedVoxelOutput.cc:97: no method 'G4Material::GetMaterialTable'
src/GateCompressedVoxelOutPut.cc:130: no method 'G4Material::GetMaterialTable'
src/GateCompressedVoxelOutput.cc:131: invalid use of undefined type 'struct G4Material'
make: *** Error 1
I should point out that I successfully installed root-5.14, CLHEP1.9.2.2 and geant4.8.0.p01 in the cluster.
Any suggestion would be appreciated.
Best regards,
Jonathan
_______________________________________________
Gate-users mailing list
Gate-users at lists.healthgrid.org
http://lists.healthgrid.org/mailman/listinfo/gate-users
---------------------------------
Stockage illimité de vos mails avec Yahoo! Mail. Changez aujourd'hui de mail !
---------------------------------
Stockage illimité de vos mails avec Yahoo! Mail. Changez aujourd'hui de mail !
---------------------------------
Stockage illimité de vos mails avec Yahoo! Mail. Changez aujourd'hui de mail !
PATH=/usr/local/mpich-1.2.5..12-intel/bin:/usr/local/gm-1.6.5/bin:/usr/local/clustersuite-20040816/silver/bin:/usr/local/clustersuite-20040816/moab/bin:/usr/local/pbs-2.3.12-14/bin:/usr/local/intel-8.0-20040412/bin:/usr/local/pgi-5.1.3/linux86/5.1/bin:/usr/local/modules-env-3.1.6-6/bin:/usr/kerberos/bin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin:/home/zhibin/.GATE/ROOT5.14/bin:/home/zhibin/.GATE/autoconf/bin:/home/zhibin/geant4/bin/Linux-g++:.:/home/zhibin/geant4/bin/Linux-g++:/home/zhibin/.GATE/ROOT5.14/bin:/home/zhibin/.GATE/autoconf/bin:/home/zhibin/geant4/bin/Linux-g++:.:/home/zhibin/geant4/bin/Linux-g++:/home/zhibin/.GATE/gate_v3.1.2::/home/zhibin/.GATE/ROOT5.14/bin:/home/zhibin/.GATE/autoconf/bin:/home/zhibin/geant4/bin/Linux-g++::/home/zhibin/geant4/bin/Linux-g++
LANG=en_US.UTF-8
PBS_O_HOME=/home/zhibin
PBS_O_LANG=en_US.UTF-8
PBS_O_LOGNAME=zhibin
PBS_O_PATH=/usr/local/mpich-1.2.5..12-intel/bin:/usr/local/gm-1.6.5/bin:/usr/local/clustersuite-20040816/ silver/bin:/usr/local/clustersuite-20040816/moab/bin:/usr/local/pbs- 2.3.12-14/bin:/usr/local/intel-8.0-20040412/bin:/usr/local/pgi-5.1.3/linux86/5.1/bin:/usr/local/modules-env-3.1.6-6/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/zhibin/.GATE/ROOT5.14/bin:.:/home/zhibin/.GATE/autoconf/bin:.:/home/zhibin/.GATE/ROOT5.14/bin:/home/zhibin/.GATE/autoconf/bin:.:/home/zhibin/geant4/bin/Linux-g++:/home/zhibin/.GATE/ROOT5.14/bin:/home/zhibin/.GATE/autoconf/bin:/home/zhibin/geant4/bin/Linux-g++::/home/zhibin/geant4/bin/Linux-g++
PBS_O_MAIL=/var/mail/zhibin
PBS_O_SHELL=/bin/tcsh
PBS_O_HOST=wiglaf.phys.cwru.edu
PBS_O_WORKDIR=/home/zhibin
PBS_O_QUEUE=batch
HOME=/home/zhibin
LOGNAME=zhibin
PBS_JOBNAME=STDIN
PBS_JOBID=8002.heorot.phys.cwru.edu
PBS_QUEUE=parallel
SHELL=/bin/tcsh
USER=zhibin
PBS_JOBCOOKIE=90E2C29AC84EF94099C3CF9CFCD851FB
PBS_NODENUM=0
PBS_TASKNUM=1
PBS_MOMPORT=15003
PBS_NODEFILE=/var/spool/pbs/aux/ 8002.heorot.phys.cwru.edu
PBS_ENVIRONMENT=PBS_INTERACTIVE
TERM=xterm
HOSTTYPE=i386-linux
VENDOR=intel
OSTYPE=linux
MACHTYPE=i386
SHLVL=1
PWD=/home/zhibin/.GATE/gate_v3.1.2/TEST-GATE
GROUP=rwb
HOST=node22
LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:
G_BROKEN_FILENAMES=1
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
SUPPORTED=en_US.UTF-8:en_US:en
LESSOPEN=|/usr/bin/lesspipe.sh %s
LANGVAR=en_US.UTF-8
MANPATH=/usr/local/mpich-1.2.5..12-intel/man:/usr/local/clustersuite-20040816/moab/man:/usr/local/clustersuite-20040816/silver/man:/usr/local/pbs-2.3.12-14/man:/usr/local/intel-8.0-20040412/man:/usr/local/pgi-5.1.3/linux86/5.1/man:/usr/local/modules-env-3.1.6-6/man:
MODULESHOME=/usr/local/modules-env-3.1.6-6
MODULE_VERSION=3.1.6
MODULE_VERSION_STACK=3.1.6
MODULEPATH=/usr/local/modules-env-3.1.6-6/version:/usr/local/modules-env-3.1.6-6/modulefiles:/usr/local/share/modulefiles:/usr/share/modulefiles:
LOADEDMODULES=modules:pgi:intel-compilers:pbs:clustersuite:gm:mpi:mkl
_MODULESBEGINENV_=/home/zhibin/.modulesbeginenv
_LMFILES_=/usr/local/modules-env-3.1.6-6/modulefiles/modules:/usr/local/share/modulefiles/pgi:/usr/local/share/modulefiles/intel-compilers:/usr/local/share/modulefiles/pbs:/usr/local/share/modulefiles/clustersuite:/usr/local/share/modulefiles/gm:/usr/local/share/modulefiles/mpi:/usr/local/share/modulefiles/mkl
LD_LIBRARY_PATH=/home/zhibin/.GATE/ROOT5.14/lib/root:/home/zhibin/.GATE/CLHEP2.0.3.1/lib
PGI=/usr/local/pgi-5.1.3
LM_LICENSE_FILE=28518 at foyer2.osc.edu:/usr/local/pgi-5.1.3/license.dat
IA64ROOT=/usr/local/intel- 8.0-20040412/
GCCROOT=/usr
PBS_HOME=/var/spool/pbs
PBS_INSTALL=/usr/local/pbs-2.3.12-14
SILVERHOMEDIR=/var/spool/moab
MOABHOMEDIR=/var/spool/moab
MPI_FFLAGS=-I/usr/local/mpich-1.2.5..12-intel/include
MPI_F90FLAGS=-I/usr/local/mpich-1.2.5..12-intel/include
MPI_CXXFLAGS=-I/usr/local/mpich-1.2.5..12-intel/include
MPI_CFLAGS=-I/usr/local/mpich-1.2.5..12-intel/include
MPI_LIBS="-L/usr/local/mpich-1.2.5..12-intel/lib -lmpich -L/usr/local/gm/lib -lgm "
MKL=-L/usr/local/mkl-7.0.17/mkl70/lib/32 -lmkl -lmkl_lapack32 -lmkl_lapack64 -lguide
MKL_HOME=/usr/local/mkl-7.0.17
OMP_NUM_THREADS=1
MKL_STATIC=-L/usr/local/mkl-7.0.17 /mkl70/lib/32 -lmkl_lapack -lmkl_ia32 -lguide
PVM_RSH=/usr/bin/rsh
PVM_ROOT=/usr/share/pvm3
QTDIR=/usr/lib/qt-3.1
TMPDIR=/tmp/pbstmp.8002.heorot.phys.cwru.edu
ENVIRONMENT=BATCH
HOSTNAME=node22
GATEHOME=/home/zhibin/.GATE/gate_v3.1.2
ROOTSYS=/home/zhibin/.GATE/ROOT5.14
XMFLAGS= -I/usr/X11R6/include
XMLIBS= -lXm -lXpm
XAWFLAGS=
XAWLIBS=
G4WORKDIR=/home/zhibin/geant4
G4VERSION=9.0
G4SYSTEM=Linux-g++
G4INSTALL=/home/zhibin/.GATE/geant4.9.0/src/geant4
G4INCLUDE=/home/zhibin/.GATE/geant4.9.0/include/geant4
G4LIB=/home/zhibin/.GATE/geant4.9.0/lib/geant4
G4LEVELGAMMADATA=/home/zhibin/.GATE/geant4.9.0-data/PhotonEvaporation2.0
G4RADIOACTIVEDATA=/home/zhibin/.GATE/geant4.9.0-data/RadioactiveDecay3.2
G4LEDATA=/home/zhibin/.GATE/geant4.9.0-data/G4EMLOW4.3
G4NEUTRONHPDATA=/home/zhibin/.GATE/geant4.9.0-data/G4NDL0.2
CLHEP_BASE_DIR=/home/zhibin/.GATE/CLHEP2.0.3.1
CLHEP_INCLUDE_DIR=/home/zhibin/.GATE/CLHEP2.0.3.1/include
CLHEP_LIB_DIR=/home/zhibin/.GATE/CLHEP2.0.3.1/lib
CLHEP_LIB=CLHEP
G4VIS_BUILD_DAWN_DRIVER=1
G4VIS_BUILD_OPENGLX_DRIVER=1
G4VIS_BUILD_OPENGLXM_DRIVER=1
G4VIS_BUILD_RAYTRACERX_DRIVER=1
G4VIS_BUILD_VRML_DRIVER=1
G4VIS_USE_DAWN=1
G4VIS_USE_OPENGLX=1
G4VIS_USE_OPENGLXM=1
G4VIS_USE_RAYTRACERX=1
G4VIS_USE_VRML=1< br>G4LIB_BUILD_STATIC=1
G4LIB_USE_GRANULAR=1
G4UI_USE_TCSH=1
---------------------------------
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail
_______________________________________________
Gate-users mailing list
Gate-users at lists.healthgrid.org
http://lists.healthgrid.org/mailman/listinfo/gate-users
---------------------------------
Yahoo! Mail : un mail innovant avec Messenger compatible Windows Live + stockage illimité.
---------------------------------
Yahoo! Mail : un mail innovant avec Messenger compatible Windows Live + stockage illimité.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20071123/4268c583/attachment.htm>
More information about the Gate-users
mailing list