kdy
September 28, 2022, 6:26pm
1
Hi, I already installed root-6.26.06 on Ubuntu 22.04.
I also had installed pythia8 and root was built with pythia8 successfully.
recently I have to get pythia6 also. so I installed pythia6 first referenced https://root-forum.cern.ch/t/root-with-pythia6-and-pythia8/19211
pythia6.tar.gz
./makePythia6.linuxx8664(I use 64 bit Ubuntu)
pythia6 dir has…
and tried to rebuild root with pythia6.
when I was doing
cmake … Dall=ON
and my environment variables
Root didn’t recognize pythia6 several attempts.
Besides the instruction I added LD_LIBRARY_PATH:$PYTHIA6 (last line)
but the problem was not solved.
Does any solution exist? experts…
couet
September 29, 2022, 7:48am
2
Welcome to the root forum.
The post you linked to contains de recipe. that’s does not help ? I see @bellenot also help in the past with this. May be he has some ideas.
First, I don’t see any pythia6 library in your directory. Then, try to use something like this (for example):
cmake ... -Dall=ON -DPYTHIA6_INCDIR=$HOME/pythia6 -DPYTHIA6_LIBRARY=$HOME/pythia6/pythia6416.so
kdy
September 30, 2022, 6:15am
4
I’m trying to download also pythia-6.4.28.f.gz
following the instruction of mehlhase here
but the link cannot be accessed.
wget http://www.hepforge.org/archive/pythia6/pythia-6.4.28.f.gz
so I searched another web page here
and I clicked pythia6.428.code and downloaded this
Is pythia6428.f identical with http://www.hepforge.org/archive/pythia6/pythia-6.4.28.f.gz ??
and I have 1 more question.
my pythia8307 directory has lib directory
but pythia6 directory doesn’t have. Is that right?
I don’t know, did you try to compare them?
Yes
kdy
September 30, 2022, 7:18am
6
thx, You replied use the command
cmake … -Dall=ON -DPYTHIA6_INCDIR=$HOME/pythia6 -DPYTHIA6_LIBRARY=$HOME/pythia6/pythia6416.so
I’m tying also this. but my pythia6 directory doesn’t have pythia6416.so but has pythia6416.o
(See above!)
Is it right the command include pythia6416.so?
Did you build pythia6 yourself? Was there any error? Building pythia6 should produce a library (libPythia6.so)
kdy
September 30, 2022, 7:28am
8
Yes, I see
I did only this
wget https://root.cern.ch/download/pythia6.tar.gz
tar -zxvf pythia6.tar.gz
cd pythia6
./makePythia6.linuxx8664
and my pythia6 directory has…
more procedure should be done?
I’ll try and let you know
OK, here is what I get:
ubuntu@root-cmake-devel:~/rootdev$ wget https://root.cern.ch/download/pythia6.tar.gz
--2022-09-30 07:45:00-- https://root.cern.ch/download/pythia6.tar.gz
Resolving root.cern.ch (root.cern.ch)... 2001:1458:d00:55::100:c, 188.184.49.144
Connecting to root.cern.ch (root.cern.ch)|2001:1458:d00:55::100:c|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 567976 (555K) [application/x-gzip]
Saving to: ‘pythia6.tar.gz’
pythia6.tar.gz 100%[==================================================================================>] 554.66K --.-KB/s in 0.004s
2022-09-30 07:45:00 (148 MB/s) - ‘pythia6.tar.gz’ saved [567976/567976]
ubuntu@root-cmake-devel:~/rootdev$ tar -zxvf pythia6.tar.gz
pythia6/
pythia6/makePythia6.win
pythia6/makePythia6.sgi
pythia6/makePythia6.aix
pythia6/tpythia6_called_from_cc.F
pythia6/makePythia6.linux
pythia6/tarPythia6
pythia6/pythia6416.f
pythia6/makePythia6.wingcc
pythia6/makePythia6.macosx64
pythia6/makePythia6.linuxx8664
pythia6/makePythia6.macosxicc
pythia6/makePythia6.solaris
pythia6/makePythia6.macosx
pythia6/makePythia6.hpux
pythia6/makePythia6.alpha
pythia6/pythia6_common_address.c
ubuntu@root-cmake-devel:~/rootdev$ cd pythia6/
ubuntu@root-cmake-devel:~/rootdev/pythia6$ ./makePythia6.linuxx8664
pythia6416.f:10256:72:
10256 | 100 VINT(J)=VINTSV(J)
| 1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 100 at (1)
pythia6416.f:54209:72:
54209 | DO 440 J = I, N
| 1
Warning: Fortran 2018 deleted feature: Shared DO termination label 440 at (1)
pythia6416.f:54277:72:
54277 | DO 540 I = LOW, IGH
| 1
Warning: Fortran 2018 deleted feature: Shared DO termination label 540 at (1)
pythia6416.f:54502:72:
54502 | 220 SCALE(I) = 1.0D0
| 1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 220 at (1)
pythia6416.f:54708:72:
54708 | 100 SCALE = SCALE + DABS(AR(I,M-1)) + DABS(AI(I,M-1))
| 1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 100 at (1)
ubuntu@root-cmake-devel:~/rootdev/pythia6$ ls
libPythia6.so makePythia6.alpha makePythia6.macosx makePythia6.solaris pythia6416.o tpythia6_called_from_cc.F
main.c makePythia6.hpux makePythia6.macosx64 makePythia6.win pythia6_common_address.c tpythia6_called_from_cc.o
main.o makePythia6.linux makePythia6.macosxicc makePythia6.wingcc pythia6_common_address.o
makePythia6.aix makePythia6.linuxx8664 makePythia6.sgi pythia6416.f tarPythia6
ubuntu@root-cmake-devel:~/rootdev/pythia6$
As you can see, it produces libPythia6.so
kdy
September 30, 2022, 7:58am
11
omg…
Thank you very much.
I’ll do it again…
kdy
September 30, 2022, 3:04pm
12
Yes, I have an error.
I found a bug report that seems to be related to this issue. here
1 Like
kdy
October 2, 2022, 9:14am
13
I have same problem on my wsl2 Ubuntu22.04
./makePythia6.linuxx8664
idk What is needed!
someone have idea?
.
.
+update
I can do this process normally on Ubuntu 20.04
I want to success this on Ubuntu 22.04…
T.T
You should try to contact the Pythia author(s) at https://pythia.org/
system
Closed
October 17, 2022, 9:00am
15
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.