Home » PANDA » PandaRoot » General » Preparation for next week
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
|
|
|
Goto Forum:
Current Time: Tue Jan 14 20:22:44 CET 2025
Total time taken to generate the page: 0.00808 seconds
|