GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » General » New external packages and major update of FairRoot
New external packages and major update of FairRoot [message #5461] Fri, 23 November 2007 12:02 Go 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
Hi,

The new external packages are available from cbmroot.gsi.de. The SVN is also updated today (r 1863) please take care that due to the majer changes in ROOT and VMC, Pandaroot (>=r1863) will not work properly with older releases of the external packages (mainly G4 part) among the new features:

1. Pythia as external decayer for G3 and G4 (see /gconfig/DecayConfig.C)

2. User decay (phase space)(see macro gconfig/UserDecay.C)

3. Track and visualization in OpenGL (see macro /macro/run/drawGLTracks.C)

4. The same configuration file for cuts and processes for G3 and G4 (see macro gconfig/UserCuts.C)

if you install the new external packages please be carefull to remove your old build directory completly and build again:

Set your SIMPATH to the new external packages
in your new build directory:
build> cmake (PATH TO PANDAROOT SOURCE)
build> . config.sh
build> make install

have a lot of fun compiling the whole stuff!

Mohammad
Re: New external packages and major update of FairRoot [message #5462 is a reply to message #5461] Fri, 23 November 2007 12:12 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
Hi again,

I forget to say that the new external packages are already installed at the GSI:

/misc/cbmsoft/Debian3.1/development (to be used from lxi's)

also if some of you use the ETCH64 or 32 at the GSI you can use:

/misc/cbmsoft/Etch64/development
or
/misc/cbmsoft/Etch32/development


regards

Mohammad
Re: New external packages and major update of FairRoot [message #5463 is a reply to message #5462] Fri, 23 November 2007 16:00 Go to previous messageGo to next message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *physik.uni-giessen.de
Hi,
I tried to compile the tar file here in Gießen (Gentoo), but geant3 gives me the following error message:

gphys/gdalet.F
gphys/gdalitzcbm.F
gphys/gdecay.F
minicern/dzare1.F
In file minicern/zebra/q_jbit.inc:65

Included at minicern/dzare1.F:50

JBIT(IZW,IZP) = AND(RSHIFT(IZW,IZP-1),1)
1
Error: 'i' argument of 'and' intrinsic at (1) must be INTEGER or LOGICAL
make: *** [/.automount/ophelia.physik.uni-giessen.de/root/local/cbmsoft/cbmsoft_de vel/transport/geant3_r220/tgt_linux/minicern/dzare1.o] Error 1
*** ERROR: Geant3 could not be created.


Does somebody know what it means (and hopefully how to fix it)?
icon14.gif  Re: New external packages and major update of FairRoot [message #5464 is a reply to message #5461] Fri, 23 November 2007 17:55 Go to previous messageGo to next message
Andrea Fontana is currently offline  Andrea Fontana
Messages: 32
Registered: May 2007
continuous participant
From: *PV.INFN.IT
Dear Mohammad,
many thanks for this important update. I have compiled the
external packages and the pandaroot svn head on my SLC 4.5
without problems at the first attemp.

Details of my linux, if it might be useful:
Linux wunala.pv.infn.it 2.6.9-55.0.12.EL.cernsmp #1 SMP
Mon Nov 5 17:34:28 CET 2007 i686 i686 i386 GNU/Linux

Moreover I have tried the geane exercises from the tutorial
directory and everything seems to work correctly!

Care must be taken if running old macros (not from the svn
for instance) that I kept locally for test: renaming Cbm->Pnd
has to be done also here. Next week we will do other
installations on our machines.

Ciao and have a nice weekend Wink

Andrea
Re: New external packages and major update of FairRoot [message #5465 is a reply to message #5463] Fri, 23 November 2007 19:09 Go to previous messageGo to next message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *physik.uni-giessen.de
Moreover, before starting the geant3 compilation I found that I have the following errors:

mv: cannot stat `xsneut.dat': No such file or directory
mv: cannot stat `chetc.dat': No such file or directory


and I have many many warnings like:

ggeom/gvlong.F
ggeom/gvpsqr.F
ggeom/gvsafe.F
In file ggeom/gvsafe.F:73

IF (SLATE(10)) 101,102,103
1
Warning: Obsolete: arithmetic IF statement at (1)


before the error.

Just taking a look into the "old" geant3, I have seen that now there is not anymore the geant3/config directory, where I set my f77 compiler in the Makefile.linux (that in my case is g77-3.4.6).
I found that the Makefile.linux is the ROOT one (in root/etc/vmc), I modifed it there and now it seems to work (before it was the g77 of gcc 4.1.1)... without those warnings and without that error... but of course now I have to recompile root.
I will let you know when and if I will succeed or not.

In each case the errors:

mv: cannot stat `xsneut.dat': No such file or directory
mv: cannot stat `chetc.dat': No such file or directory


are still there, of course.
Re: New external packages and major update of FairRoot [message #5466 is a reply to message #5465] Fri, 23 November 2007 19:18 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: *dip.t-dialin.net
Hi,

As far as I know Florian use Gentoo and it works without problems for him! any way the files xsneut.dat and chetc.dat are in the tar file (transport)! so are you sure you unpack the stuff with tar zxvf option?

Mohammad
Re: New external packages and major update of FairRoot [message #5467 is a reply to message #5466] Sat, 24 November 2007 10:37 Go to previous messageGo to next message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *dip.t-dialin.net
Hi,
unfortunately the gentoo is a not stable distribution, it depends on who has installed it and how.

In each case, for the "missing files" the explanation is easy. They are moved, so if you try to repeat the compilation because some error has occurred, then they are not anymore in the original place (so the error) but at the proper place... nothing to worry about.

About my previous error, it was connected to the fact my g77 was linked to gcc 4.1.1 (the reason of the many warnings): I linked it to gcc 3.4.6 and now everything is fine... almost.

Now I have the last error connected to the missing libg2c.so in gcc 4:

/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/l d: cannot find -lg2c
collect2: ld returned 1 exit status
make: *** [/.automount/ophelia.physik.uni-giessen.de/root/local/cbmsoft/cbmsoft_de vel/transport/geant3_r220/lib/tgt_linux/libgeant321.so] Error 1
*** ERROR: Geant3 could not be created.
*** End installation of external packages with Errors***


In the previous installation I have corrected it by modifying a line in the transport/geant3/config/Makefile.linux:

SHLIB = -L /usr/lib/gcc/i686-pc-linux-gnu/3.4.6 -lg2c

The only problem is that now the directory transport/geant3/config does not exist anymore, and the geant3/Makefile seems linked to the ROOT_ETCDIR (root/etc/vmc)... so now I have no idea on how and where to set the correct path of my libg2c.so ... before it was much easier.

Heeeelppppp....

Re: New external packages and major update of FairRoot [message #5468 is a reply to message #5467] Sat, 24 November 2007 12:27 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: *dip.t-dialin.net
Hi Stefano,

It seems that you have a very nice and user friendly system! so take a look to the Makefile.linux in root/etc/vmc, e.g:

etc/vmc/Makefile.linux:SHLIB = -lg2c

maybe you can change it there.

Mohammad

Re: New external packages and major update of FairRoot [message #5469 is a reply to message #5468] Sat, 24 November 2007 12:49 Go to previous messageGo to next message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *dip.t-dialin.net
Quote:

It seems that you have a very nice and user friendly system!


I suppose I have to thank our administrators...

Mmm yes you are right,
I found that the Makefile.linux was linked to root/etc/vmc, but I was looking wrongly the one in the root/config. I am getting old, I know...

I will let you know if I will succeed now or not (crossing my fingers).

Bye


Re: New external packages and major update of FairRoot [message #5470 is a reply to message #5469] Sun, 25 November 2007 11:40 Go to previous messageGo to next message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *dip.t-dialin.net
Now here in Gießen it works, with both Geant3 and Geant4.
icon14.gif  Re: New external packages and major update of FairRoot [message #5473 is a reply to message #5461] Sun, 25 November 2007 21:49 Go to previous message
Johan Messchendorp is currently offline  Johan Messchendorp
Messages: 693
Registered: April 2007
Location: University of Groningen
first-grade participant

From: *adsl.xs4all.nl
Thumbs up at KVI as well....

Thanks,

Johan.


Johan Messchendorp
University of Groningen/KVI
Zernikelaan 25
NL-9747 AA Groningen
The Netherlands
tel. +31-503633558
fax +31-503634003
Previous Topic: common particle data access
Next Topic: CbmRootManager
Goto Forum:
  


Current Time: Mon Nov 25 04:01:17 CET 2024

Total time taken to generate the page: 0.00712 seconds