Package Details: madgraph-pythia8-interface 1.0-9

Git Clone URL: https://aur.archlinux.org/madgraph-pythia8-interface.git (read-only, click to copy)
Package Base: madgraph-pythia8-interface
Description: MadGraph Pythia8 interface
Upstream URL: http://madgraph.hep.uiuc.edu/
Licenses: MIT
Submitter: JP-Ellis
Maintainer: None
Last Packager: ronin
Votes: 0
Popularity: 0.000000
First Submitted: 2017-03-17 06:09
Last Updated: 2021-04-08 08:40

Pinned Comments

ronin commented on 2021-04-08 05:55

This package still have some issues:

1. You need to copy the COMPATIBILITY file to /usr so it can proceed to build.
2. The build fails unfortunately, I am not sure but I think that when it starts to build, it is looking for "Pythia" and not "pythia"

If you can offer help comments and suggestions, please reply below.

EDIT: Highly likely that this package does not support 8.3 version of pythia8 yet too but not sure.

Here is the output of the error:

==> Starting build()...
------------------------------------------------
MG5aMC_PY8_interface compilation output log:
b'/usr/bin/g++ main89.cc -o main89 -I/usr/include -I/usr/include -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fPIC -DGZIP -I/usr/include -fopenmp -DOPENMP -I/usr/include -L/usr/lib -Wl,-rpath,/usr/lib -lz -L/usr/lib -Wl,-rpath,/usr/lib -lpythia8 -ldl -L/usr/lib -Wl,-rpath,/usr/lib -lHepMC3 -DHEPMC3\nmain89.cc: In function \xe2\x80\x98int main(int, char**)\xe2\x80\x99:\nmain89.cc:185:28: error: cannot convert \xe2\x80\x98Pythia8::amcnlo_unitarised_interface*\xe2\x80\x99 to \xe2\x80\x98Pythia8::UserHooksPtr\xe2\x80\x99 {aka \xe2\x80\x98std::shared_ptr<Pythia8::UserHooks>\xe2\x80\x99}\n  185 |     pythia.setUserHooksPtr(setting);\n      |                            ^~~~~~~\n      |                            |\n      |                            Pythia8::amcnlo_unitarised_interface*\nIn file included from /usr/include/Pythia8Plugins/HepMC2.h:21,\n                 from main89.cc:11:\n/usr/include/Pythia8/Pythia.h:136:37: note:   initializing argument 1 of \xe2\x80\x98bool Pythia8::Pythia::setUserHooksPtr(Pythia8::UserHooksPtr)\xe2\x80\x99\n  136 |   bool setUserHooksPtr(UserHooksPtr userHooksPtrIn) {\n      |                        ~~~~~~~~~~~~~^~~~~~~~~~~~~~\nmain89.cc:203:28: error: cannot convert \xe2\x80\x98Pythia8::JetMatchingMadgraph*\xe2\x80\x99 to \xe2\x80\x98Pythia8::UserHooksPtr\xe2\x80\x99 {aka \xe2\x80\x98std::shared_ptr<Pythia8::UserHooks>\xe2\x80\x99}\n  203 |     pythia.setUserHooksPtr(matching);\n      |                            ^~~~~~~~\n      |                            |\n      |                            Pythia8::JetMatchingMadgraph*\nIn file included from /usr/include/Pythia8Plugins/HepMC2.h:21,\n                 from main89.cc:11:\n/usr/include/Pythia8/Pythia.h:136:37: note:   initializing argument 1 of \xe2\x80\x98bool Pythia8::Pythia::setUserHooksPtr(Pythia8::UserHooksPtr)\xe2\x80\x99\n  136 |   bool setUserHooksPtr(UserHooksPtr userHooksPtrIn) {\n      |                        ~~~~~~~~~~~~~^~~~~~~~~~~~~~\nmake: *** [Makefile:76: main89] Error 1\n'
------------------------------------------------
Error during the compilation of MG5aMC_PY8_interface:
b'/usr/bin/g++ main89.cc -o main89 -I/usr/include -I/usr/include -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fPIC -DGZIP -I/usr/include -fopenmp -DOPENMP -I/usr/include -L/usr/lib -Wl,-rpath,/usr/lib -lz -L/usr/lib -Wl,-rpath,/usr/lib -lpythia8 -ldl -L/usr/lib -Wl,-rpath,/usr/lib -lHepMC3 -DHEPMC3\nmain89.cc: In function \xe2\x80\x98int main(int, char**)\xe2\x80\x99:\nmain89.cc:185:28: error: cannot convert \xe2\x80\x98Pythia8::amcnlo_unitarised_interface*\xe2\x80\x99 to \xe2\x80\x98Pythia8::UserHooksPtr\xe2\x80\x99 {aka \xe2\x80\x98std::shared_ptr<Pythia8::UserHooks>\xe2\x80\x99}\n  185 |     pythia.setUserHooksPtr(setting);\n      |                            ^~~~~~~\n      |                            |\n      |                            Pythia8::amcnlo_unitarised_interface*\nIn file included from /usr/include/Pythia8Plugins/HepMC2.h:21,\n                 from main89.cc:11:\n/usr/include/Pythia8/Pythia.h:136:37: note:   initializing argument 1 of \xe2\x80\x98bool Pythia8::Pythia::setUserHooksPtr(Pythia8::UserHooksPtr)\xe2\x80\x99\n  136 |   bool setUserHooksPtr(UserHooksPtr userHooksPtrIn) {\n      |                        ~~~~~~~~~~~~~^~~~~~~~~~~~~~\nmain89.cc:203:28: error: cannot convert \xe2\x80\x98Pythia8::JetMatchingMadgraph*\xe2\x80\x99 to \xe2\x80\x98Pythia8::UserHooksPtr\xe2\x80\x99 {aka \xe2\x80\x98std::shared_ptr<Pythia8::UserHooks>\xe2\x80\x99}\n  203 |     pythia.setUserHooksPtr(matching);\n      |                            ^~~~~~~~\n      |                            |\n      |                            Pythia8::JetMatchingMadgraph*\nIn file included from /usr/include/Pythia8Plugins/HepMC2.h:21,\n                 from main89.cc:11:\n/usr/include/Pythia8/Pythia.h:136:37: note:   initializing argument 1 of \xe2\x80\x98bool Pythia8::Pythia::setUserHooksPtr(Pythia8::UserHooksPtr)\xe2\x80\x99\n  136 |   bool setUserHooksPtr(UserHooksPtr userHooksPtrIn) {\n      |                        ~~~~~~~~~~~~~^~~~~~~~~~~~~~\nmake: *** [Makefile:76: main89] Error 1\n'
==> ERROR: A failure occurred in build().

Latest Comments

ronin commented on 2021-04-08 05:55

This package still have some issues:

1. You need to copy the COMPATIBILITY file to /usr so it can proceed to build.
2. The build fails unfortunately, I am not sure but I think that when it starts to build, it is looking for "Pythia" and not "pythia"

If you can offer help comments and suggestions, please reply below.

EDIT: Highly likely that this package does not support 8.3 version of pythia8 yet too but not sure.

Here is the output of the error:

==> Starting build()...
------------------------------------------------
MG5aMC_PY8_interface compilation output log:
b'/usr/bin/g++ main89.cc -o main89 -I/usr/include -I/usr/include -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fPIC -DGZIP -I/usr/include -fopenmp -DOPENMP -I/usr/include -L/usr/lib -Wl,-rpath,/usr/lib -lz -L/usr/lib -Wl,-rpath,/usr/lib -lpythia8 -ldl -L/usr/lib -Wl,-rpath,/usr/lib -lHepMC3 -DHEPMC3\nmain89.cc: In function \xe2\x80\x98int main(int, char**)\xe2\x80\x99:\nmain89.cc:185:28: error: cannot convert \xe2\x80\x98Pythia8::amcnlo_unitarised_interface*\xe2\x80\x99 to \xe2\x80\x98Pythia8::UserHooksPtr\xe2\x80\x99 {aka \xe2\x80\x98std::shared_ptr<Pythia8::UserHooks>\xe2\x80\x99}\n  185 |     pythia.setUserHooksPtr(setting);\n      |                            ^~~~~~~\n      |                            |\n      |                            Pythia8::amcnlo_unitarised_interface*\nIn file included from /usr/include/Pythia8Plugins/HepMC2.h:21,\n                 from main89.cc:11:\n/usr/include/Pythia8/Pythia.h:136:37: note:   initializing argument 1 of \xe2\x80\x98bool Pythia8::Pythia::setUserHooksPtr(Pythia8::UserHooksPtr)\xe2\x80\x99\n  136 |   bool setUserHooksPtr(UserHooksPtr userHooksPtrIn) {\n      |                        ~~~~~~~~~~~~~^~~~~~~~~~~~~~\nmain89.cc:203:28: error: cannot convert \xe2\x80\x98Pythia8::JetMatchingMadgraph*\xe2\x80\x99 to \xe2\x80\x98Pythia8::UserHooksPtr\xe2\x80\x99 {aka \xe2\x80\x98std::shared_ptr<Pythia8::UserHooks>\xe2\x80\x99}\n  203 |     pythia.setUserHooksPtr(matching);\n      |                            ^~~~~~~~\n      |                            |\n      |                            Pythia8::JetMatchingMadgraph*\nIn file included from /usr/include/Pythia8Plugins/HepMC2.h:21,\n                 from main89.cc:11:\n/usr/include/Pythia8/Pythia.h:136:37: note:   initializing argument 1 of \xe2\x80\x98bool Pythia8::Pythia::setUserHooksPtr(Pythia8::UserHooksPtr)\xe2\x80\x99\n  136 |   bool setUserHooksPtr(UserHooksPtr userHooksPtrIn) {\n      |                        ~~~~~~~~~~~~~^~~~~~~~~~~~~~\nmake: *** [Makefile:76: main89] Error 1\n'
------------------------------------------------
Error during the compilation of MG5aMC_PY8_interface:
b'/usr/bin/g++ main89.cc -o main89 -I/usr/include -I/usr/include -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fPIC -DGZIP -I/usr/include -fopenmp -DOPENMP -I/usr/include -L/usr/lib -Wl,-rpath,/usr/lib -lz -L/usr/lib -Wl,-rpath,/usr/lib -lpythia8 -ldl -L/usr/lib -Wl,-rpath,/usr/lib -lHepMC3 -DHEPMC3\nmain89.cc: In function \xe2\x80\x98int main(int, char**)\xe2\x80\x99:\nmain89.cc:185:28: error: cannot convert \xe2\x80\x98Pythia8::amcnlo_unitarised_interface*\xe2\x80\x99 to \xe2\x80\x98Pythia8::UserHooksPtr\xe2\x80\x99 {aka \xe2\x80\x98std::shared_ptr<Pythia8::UserHooks>\xe2\x80\x99}\n  185 |     pythia.setUserHooksPtr(setting);\n      |                            ^~~~~~~\n      |                            |\n      |                            Pythia8::amcnlo_unitarised_interface*\nIn file included from /usr/include/Pythia8Plugins/HepMC2.h:21,\n                 from main89.cc:11:\n/usr/include/Pythia8/Pythia.h:136:37: note:   initializing argument 1 of \xe2\x80\x98bool Pythia8::Pythia::setUserHooksPtr(Pythia8::UserHooksPtr)\xe2\x80\x99\n  136 |   bool setUserHooksPtr(UserHooksPtr userHooksPtrIn) {\n      |                        ~~~~~~~~~~~~~^~~~~~~~~~~~~~\nmain89.cc:203:28: error: cannot convert \xe2\x80\x98Pythia8::JetMatchingMadgraph*\xe2\x80\x99 to \xe2\x80\x98Pythia8::UserHooksPtr\xe2\x80\x99 {aka \xe2\x80\x98std::shared_ptr<Pythia8::UserHooks>\xe2\x80\x99}\n  203 |     pythia.setUserHooksPtr(matching);\n      |                            ^~~~~~~~\n      |                            |\n      |                            Pythia8::JetMatchingMadgraph*\nIn file included from /usr/include/Pythia8Plugins/HepMC2.h:21,\n                 from main89.cc:11:\n/usr/include/Pythia8/Pythia.h:136:37: note:   initializing argument 1 of \xe2\x80\x98bool Pythia8::Pythia::setUserHooksPtr(Pythia8::UserHooksPtr)\xe2\x80\x99\n  136 |   bool setUserHooksPtr(UserHooksPtr userHooksPtrIn) {\n      |                        ~~~~~~~~~~~~~^~~~~~~~~~~~~~\nmake: *** [Makefile:76: main89] Error 1\n'
==> ERROR: A failure occurred in build().

JP-Ellis commented on 2017-04-02 00:25

Thanks, the package has been updated.

kgizdov commented on 2017-04-02 00:18

pythia8 is soon to be deleted. Please remove this dependency. pythia is now up to date with a new maintainer