pythia compilation [message #9425] |
Sat, 19 September 2009 11:03 |
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 #9427 is a reply to message #9426] |
Sat, 19 September 2009 15:25 |
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
|
|
|