GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Event Generators » pythia compilation
pythia compilation [message #9425] Sat, 19 September 2009 11:03 Go to next message
donghee is currently offline  donghee
Messages: 385
Registered: January 2009
Location: Germnay
first-grade participant
From: *cern.ch
Dear all,

I have some trouble during pythia compilation.

I'm trying to compile pythia scripts using july09 fairsoft version
under etch64 bit machine.

When I do ./job.sh example, I have got following error messages.
First and last sentences look like this....
Quote:


compilation...
/usr/bin/ld: Warning: size of symbol `pyint6_' changed from 1608 in /tmp/ccUR3mvM.o to 14028 in /misc/cbmsoft/Etch64/jul09/fairsoft/generators/pythia6/pythia6319.o
/misc/cbmsoft/Etch64/jul09/fairsoft/generators/pythia6/pythia6319.o: In function `pytest_':
pythia6319.f:(.text+0x106a): undefined reference to `_gfortran_st_write'
pythia6319.f:(.text+0x10aa): undefined reference to `_gfortran_transfer_real'
pythia6319.f:(.text+0x10e9): undefined reference to `_gfortran_transfer_real'

................................

/misc/cbmsoft/Etch64/jul09/fairsoft/generators/pythia6/pythia6319.o: In function `pytime_':
pythia6319.f:(.text+0x2dc47e): undefined reference to `_gfortran_idate_i4'
pythia6319.f:(.text+0x2dc4d4): undefined reference to `_gfortran_itime_i4'
collect2: ld returned 1 exit status
++++++++++++++COMPILATION FINISHED++++++++++++++++++



I think that I have a problem to access g77 fortran compiler.
I found already cernlib in
export CERN_ROOT=/cern/2006-etch64-g77

I guess that I have to set this path in job.sh....
Could you probably show me how do I to perform that in job.sh?

Donghee







[Updated on: Sat, 19 September 2009 11:04]

Report message to a moderator

Re: pythia compilation [message #9426 is a reply to message #9425] Sat, 19 September 2009 13:51 Go to previous messageGo to next message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *0-87-r.retail.telecomitalia.it
It seems that pythia between the external packages is compiled with gfortran, while you are using cernlib (CERN_ROOT) compiled with g77.
Try to use gfortran for both.
Re: pythia compilation [message #9427 is a reply to message #9426] Sat, 19 September 2009 15:25 Go to previous message
donghee is currently offline  donghee
Messages: 385
Registered: January 2009
Location: Germnay
first-grade participant
From: *cern.ch
Dear all and stefano,

Changing from g77 to gfortran works!
Compilation seems to be OK, I have an executable file.
But just one warning sentence, something like this.

Quote:


compilation...
/usr/bin/ld: Warning: size of symbol `pyint6_' changed from 1608 in /tmp/ccDg4lg9.o to 14028 in /misc/cbmsoft/Etch64/jul09/fairsoft/generators/pythia6/pythia6319.o
++++++++++++++COMPILATION FINISHED++++++++++++++++++



Anyhow event should be generated without problem....
Thanks a lot!

Cheers
Donghee
Previous Topic: Meaning of fSeed for dpm_gen__ in PndDpmDirect
Next Topic: Splitting of output file with random generator in pythia macro
Goto Forum:
  


Current Time: Sun Dec 01 05:28:54 CET 2024

Total time taken to generate the page: 0.00756 seconds