GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » General » miscellanous
icon4.gif  miscellanous [message #4301] Wed, 23 May 2007 03:34 Go to next message
George Serbanut is currently offline  George Serbanut
Messages: 4
Registered: May 2007
occasional visitor
From: *to.infn.it

Hi everyone,

Trying to understand why the PANDA software had a problem in compilation in Glasgow, I found an interesting issue which might be of a help for PANDA software users.

If the dynamic part of your institute/university web site, you might be in a surprise of not having PATH and LD_LIBRARY_PATH environment variables set accordingly. That's because hackers can make use of them to enter your computer. Otherwise, you should have in your PATH:

/bin:/usr/bin:/usr/local/bin:/sbin:/opt/bin:/usr/X11R6/bin

or something like that, and in your LD_LIBRARY_PATH

/lib:/usr/lib:/usr/local/lib:/usr/X11R6/lib

or something like that.

Before adding them into your shell rc file, ask you system administrator for the permission, or put them into a .sh file which you should load it by hand at the beginning of any session.

On the other hand, on SL3, by default, you won't have libXm.so installed and the configuration file provided with the PANDA software external packages (I mean g4env.sh) has the environment variables set to use this library. To get rid of this problem, there are two options:
1. compile and install LessTif (this software is generating libXm.so);
2. erase all related environment variables such as:

G4UI_BUILD_XM_SESSION
G4UI_USE_XM
G4VIS_BUILD_OPENGLXM_DRIVER
G4VIS_USE_OPENGLXM

before starting the compilation of the external packages. Don't worry, if you don't have any other error, your compilation should work perfectly with Geant4 and Geant3.

And, finally, I have few questions for the developers:
1. Does anyone know if VMC supports ghost worlds (parallel worlds)?
2. Why is the cbmsim.m4 from the repository configured ONLY for GSI and Giessen sites and not for general installation purpose?
3. Has anyone experienced any crash from ROOT when he/she tried to simulate a large number of events? If yes, is that our problem or ROOT developers problem?

I hope you haven't fallen asleep while reading this post. Smile

Cheers,
George
Re: miscellanous [message #4302 is a reply to message #4301] Wed, 23 May 2007 10:22 Go to previous messageGo to next message
Mohammad Al-Turany is currently offline  Mohammad Al-Turany
Messages: 518
Registered: April 2004
Location: GSI, Germany
first-grade participant
From: *gsi.de
Hallo George,

1. Does anyone know if VMC supports ghost worlds (parallel worlds)?
if you mean parallel proccessing then yes, one can use proof, I try it one year ago and it is working, there are some special configuration for proof which one has to do but in princple it is possible because every thing runs events wise.


2. Why is the cbmsim.m4 from the repository configured ONLY for GSI and Giessen sites and not for general installation purpose?

There is a special handling of the GSI cluster (because it is not standard) but not for Giessen, we assume that either you are at GSI or not! any way Cmake is running now and at some point we will through away the autoconf/automake completly.


3. Has anyone experienced any crash from ROOT when he/she tried to simulate a large number of events? If yes, is that our problem or ROOT developers problem?

up to now we did not see any crash which is related to large number of events, and in CBM we made three large data productions in the last two years without any problem, but if anybody see such a thing it would be nice to report it to us or in the fourm, with the error massegs.


regards

Mohammad
Re: miscellanous [message #4303 is a reply to message #4302] Wed, 23 May 2007 11:04 Go to previous messageGo to next message
George Serbanut is currently offline  George Serbanut
Messages: 4
Registered: May 2007
occasional visitor
From: *to.infn.it

Hi Mohammad,

1. Well, it wasn't exactly what I asked, but it is also a way to use parallel threads. I was referring to what GEANT4 is calling parallel worlds in its documentation. I don't know if the concept is introduced from 8.12 patch 01, but in 8.13 there is such a concept.

2. Maybe I'm missing the path toward PANDARoot CMake file. Can you tell me where exactly is located? I see for the moment only old autotools stuff.

3. That's a good news. I hope it will be the same for PANDARoot.

Just a small comment:
You said is GSI or whatever else. Then why the environment variables are pointed toward /opt? Shouldn't be pointing toward local directory? Or it's up to everybody to set them up as he/she likes. Also, starting with version 8.12 patch01, Geant4 has no more a separated directory for the hadronic physics lists (they are compiled together with the rest of the packages being now located in sources directory).

Cheers,
George
Re: miscellanous [message #4304 is a reply to message #4303] Wed, 23 May 2007 11:56 Go to previous message
Mohammad Al-Turany is currently offline  Mohammad Al-Turany
Messages: 518
Registered: April 2004
Location: GSI, Germany
first-grade participant
From: *gsi.de
Hi,

1. Well, it wasn't exactly what I asked, but it is also a way to use parallel threads. I was referring to what GEANT4 is calling parallel worlds in its documentation. I don't know if the concept is introduced from 8.12 patch 01, but in 8.13 there is such a concept.

Ok, I have no idea about this concept in G4, I have to read more to understand what you mean. But proof is not only threads it is parrallel proccessing distributing the jobs to different CPUs and we are planning to make a Proof cluster for CBM. which will enable the people to do parrallel proccessing interactivily.


2. Maybe I'm missing the path toward PANDARoot CMake file. Can you tell me where exactly is located? I see for the moment only old autotools stuff.

In pandaroot there is a directory cmake, also in each subdirectory there CMakeLists.txt.

To use this you have to define a SIMPATH variable to your external packages installation then create a build directory and from this directory call:

build> cmake (PATH TO PANDAROOT SRC)
build> . config.sh
build> make install


Just a small comment:
You said is GSI or whatever else. Then why the environment variables are pointed toward /opt? Shouldn't be pointing toward local directory? Or it's up to everybody to set them up as he/she likes.


As I said we will get rid of this


Also, starting with version 8.12 patch01, Geant4 has no more a separated directory for the hadronic physics lists (they are compiled together with the rest of the packages being now located in sources directory

Yes, and the VMC can use this it is not a problem, we are testing now the newest G4 and VMC at the GSI, and when we finish we will post a mail.



regards

Mohammad







Previous Topic: PandaROOT Wiki update
Next Topic: panda base classes
Goto Forum:
  


Current Time: Sun Dec 22 19:05:57 CET 2024

Total time taken to generate the page: 0.00456 seconds