Preparation for next week [message #5643] |
Wed, 16 January 2008 16:01 |
Jens Sören Lange
Messages: 193 Registered: June 2005
|
first-grade participant |
From: *physik.uni-giessen.de
|
|
Hi all,
as just discussed on the meeting, this is the preparation for next week's workshop (in particular for Klaus Goetzen's tutorial on Monday afternoon).
1.) install the "new" external packages of 23.11.2007
(if you haven't done so yet)
http://cbmroot.gsi.de/installation/External%20Packages.htm
2.) svn co https://subversion.gsi.de/fairroot/pandaroot
on FRIDAY AFTERNOON
> mkdir build
> cd build
> cmake ../pandaroot
> . config.sh
> make install
3.) download the binaries of root 5.14
http://root.cern.ch/root/Version514.html
4.) try to compile EvtGen against root 5.14
(please don't try root 5.17 from the external packages,
it will not work)
see
http://panda-wiki.gsi.de/cgi-bin/view/Computing/EvtGen
cd pandaroot/pgenerators/EvtGen
. configure
Enter Name of c++ compiler (type "gcc", or your c++ compiler name)
Enter name of fortran compiler (type "g77", or your fortran compiler name)
Enter any other options that you would like to use in compilation (just press Enter)
Please enter any others that you would like to use (just press Enter)
make
make bin
cd test
../testEvtGen test1 1000
see you all next week
Soeren
|
|
|
Re: Preparation for next week [message #5646 is a reply to message #5643] |
Wed, 16 January 2008 17:00 |
Mohammad Al-Turany
Messages: 518 Registered: April 2004 Location: GSI, Germany
|
first-grade participant |
From: *gsi.de
|
|
Hi,
I found the problem with EvtGen and root newer than 5.16, in ROOT they redesign the libraries and split some functionality in different libraries, any way to compile EvtGen with the new ROOT just follow steps in the wiki and when you call configure:
Enter Name of c++ compiler (type "gcc", or your c++ compiler name)
Enter name of fortran compiler (type "g77", or your fortran compiler name)
Enter any other options that you would like to use in compilation (just press Enter)
Please enter any others that you would like to use : -lRIO -lSQL -lNet
and then continue as written in the wiki.
P.S: This works with g77, with gfortran (suse 10.3, Fedora 8 ) I still have some problem but with the gfortran and cernlib.
regards
Mohammad
[Updated on: Wed, 16 January 2008 17:01] Report message to a moderator
|
|
|
|
|
|
|
|
Re: Preparation for next week [message #5667 is a reply to message #5666] |
Sat, 19 January 2008 22:14 |
Mohammad Al-Turany
Messages: 518 Registered: April 2004 Location: GSI, Germany
|
first-grade participant |
From: *dip.t-dialin.net
|
|
Hi,
As Soeren wrote, one can use EvtGen with gfortran, for that one has to have cernlib compiled with gfortran, Unfortunately gfortran 4.1 (FedoraCore 8, SL4) is not binary compatible with gfortran 4.2 (Suse 10.3, FC9 ), which means we have to recompile cernlib at least for gfortran 4.2. Any way, I did it already and I think now we can run EvtGen on all systems with cernlib 2006:
1- gfortran 4.1: (SL4, FC8 )
you can download the binary distribution of cernlib directly from cern:
http://cernlib.web.cern.ch/cernlib/version.html
2. gfortran 4.2 (FC9, suse 10.3)
you can download it from the fairroot web page:
http://fairroot.gsi.de/download/cernlib.gfortran42.tar.gz
after unpacking the cernlib you should follow the wiki on how to recompile EvtGen, when configuring it :
Enter Name of c++ compiler (type "gcc", or your c++ compiler name)
Enter name of fortran compiler (type "g77", or your fortran compiler name)
Enter any other options that you would like to use in compilation (just press Enter)
Please enter any others that you would like to use : -lRIO -lSQL -lNet -lgfortran
after this and before compiling, edit the file config.mk and remove -lg2c from the line:
EVTSYSLIB=-lg2c -lnsl
and then continue as written in the wiki.
I will try to write a howto compile cernlib with gfortran in the wiki.
regards
Mohammad
|
|
|
|
|