installation of pythia-pgs fails

Bug #1202197 reported by stefano de nicola
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
pythia/pgs package for MadGraph
Fix Committed
Undecided
Unassigned

Bug Description

While installing pythia-psg from mg5, i get the following error message:

gfortran -fno-automatic -o examples/olympics examples/pgs_olympics.f \
            -L./lib -lpgslib -ltauola \
            -lstdhep -lexthep -lFmcfio -L../../libraries/pylib/lib -lpythiaext; chmod +x examples/olympics
/usr/bin/ld: cannot find -lpythiaext
collect2: error: ld returned 1 exit status
chmod: cannot access `examples/olympics': No such file or directory
make[2]: *** [examples/olympics] Error 1
make[2]: Leaving directory `/afs/cern.ch/user/s/sdenicol/MadGraph5_v1_5_11/pythia-pgs/libraries/PGS4'
make[1]: *** [../libraries/PGS4/examples/olympics] Error 2
make[1]: Leaving directory `/afs/cern.ch/user/s/sdenicol/MadGraph5_v1_5_11/pythia-pgs/src'
make: *** [all] Error 2

After looking at other (seemingly unresolved) posts on similar problems, I have updated Python, Root and gcc to the latest versions and I have tried changing 64 bits to 32 (even if my sistem si 64) in pythia-pgs/src/make_opts .
Neither of these attempts seem to produce any changes.
Please let me know if there is a way around this...

Revision history for this message
Ivana Mustac (ivana-mustac) wrote :

Hi,

I have the same issue: I have made a fresh installation of the recent version of MadGraph5, v1.5.11, and when I want to install pythia-pgs in mg5, I get the error

----- Now compiling examples/olympics -----

gfortran -fno-automatic -o examples/olympics examples/pgs_olympics.f \
            -L./lib -lpgslib -ltauola \
            -lstdhep -lexthep -lFmcfio -L../../libraries/pylib/lib -lpythiaext; chmod +x examples/olympics
/usr/bin/ld: cannot find -lpythiaext
collect2: error: ld returned 1 exit status
chmod: cannot access ‘examples/olympics’: No such file or directory
make[2]: *** [examples/olympics] Error 1
make[2]: Leaving directory `/home/ivana/MadGraph5_v1_5_11/pythia-pgs/libraries/PGS4'
make[1]: *** [../libraries/PGS4/examples/olympics] Error 2
make[1]: Leaving directory `/home/ivana/MadGraph5_v1_5_11/pythia-pgs/src'
make: *** [all] Error 2

which appears to be the same one as reported above. I have the latest compiler versions, and none of the Makefile modifications suggested in similar bug reports fixed the issue.

Up until now I have used the previous version of MadGraph5 (v1.4.8.2) on an older Linux installation, where I had no such issues. Is there any way to resolve this without reverting to an older version of mg5?

Thank you for your help!

Revision history for this message
James Saxon (jsaxon-c) wrote :

I also confirm this problem. I was simply re-building pythia on lxplus5.

It had worked fine for me, before with the same MadGraph 5 version and environment.

Thanks!!
Jamie

Revision history for this message
stefano de nicola (sd544) wrote : Re: [Bug 1202197] Re: installation of pythia-pgs fails

Hi Jason, someone told me this fix that worked for me:

After uncompressing the tar file, instead of doing

mg5> install pythia-pgs ,

manually comment out the line

-fno-second-underscore

from

pythia-pgs/libraries/PGS4/src/stdhep-dir/mcfio/arch_mcfio

and

pythia-pgs/libraries/PGS4/src/stdhep-dir/src/stdhep_Arch

and then type

cd pythia-pgs/src
make libpythia
make

hope this helps.

Stefano

On Jul 29 2013, James Saxon wrote:

>I also confirm this problem. I was simply re-building pythia on
>lxplus5.
>
>It had worked fine for me, before with the same MadGraph 5 version and
>environment.
>
>Thanks!!
>Jamie
>
>

Revision history for this message
Ezequiel Alvarez (sequi76) wrote :

Stefano,

you are a great one! This solved a long issue for me, since I always was using back an old pythia-pgs directory that was working and could never compile a new one! I always use Fedora, and seems that this is an issue for Fedora may be, because other users do not have this issue.

One add-on or clarification to what you said: you have to comment the lines CONTAINING the "-fno-second-underscore", since the line says more things, and there are many of them. You can just comment out the one corresponding to your distribution, or just comment out all of them.

I have checked that now compiles correctly, and also does the matching of ttbar+j correctly.

Regards, Ezequiel.

Revision history for this message
stefano de nicola (sd544) wrote :

Ok, glad this was helpful!
Cheers,

Stefano

On 2013-08-15 15:56, Ezequiel Alvarez wrote:
> Stefano,
>
> you are a great one! This solved a long issue for me, since I always
> was using back an old pythia-pgs directory that was working and could
> never compile a new one! I always use Fedora, and seems that this is
> an issue for Fedora may be, because other users do not have this issue.
>
> One add-on or clarification to what you said: you have to comment the
> lines CONTAINING the "-fno-second-underscore", since the line says more
> things, and there are many of them. You can just comment out the one
> corresponding to your distribution, or just comment out all of them.
>
> I have checked that now compiles correctly, and also does the matching
> of ttbar+j correctly.
>
> Regards, Ezequiel.
>
> --
> You received this bug notification because you are subscribed to the
> bug
> report.
> https://bugs.launchpad.net/bugs/1202197
>
> Title:
> installation of pythia-pgs fails
>
> Status in pythia/pgs package for MadGraph:
> New
>
> Bug description:
> While installing pythia-psg from mg5, i get the following error
> message:
>
> gfortran -fno-automatic -o examples/olympics examples/pgs_olympics.f
> \
> -L./lib -lpgslib -ltauola \
> -lstdhep -lexthep -lFmcfio -L../../libraries/pylib/lib
> -lpythiaext; chmod +x examples/olympics
> /usr/bin/ld: cannot find -lpythiaext
> collect2: error: ld returned 1 exit status
> chmod: cannot access `examples/olympics': No such file or directory
> make[2]: *** [examples/olympics] Error 1
> make[2]: Leaving directory
> `/afs/cern.ch/user/s/sdenicol/MadGraph5_v1_5_11/pythia-pgs/libraries/PGS4'
> make[1]: *** [../libraries/PGS4/examples/olympics] Error 2
> make[1]: Leaving directory
> `/afs/cern.ch/user/s/sdenicol/MadGraph5_v1_5_11/pythia-pgs/src'
> make: *** [all] Error 2
>
> After looking at other (seemingly unresolved) posts on similar
> problems, I have updated Python, Root and gcc to the latest versions
> and I have tried changing 64 bits to 32 (even if my sistem si 64) in
> pythia-pgs/src/make_opts .
> Neither of these attempts seem to produce any changes.
> Please let me know if there is a way around this...
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/pythia-pgs-for-mg/+bug/1202197/+subscriptions

Revision history for this message
Sida Lu (llxy7) wrote :

Hi stefano,

Have you tried Oliver's solution in #10 of Question #227090? I had exactly the same problem as you some days ago, but now it seems that my pythia works well.

Wish this will help,

Sida

Revision history for this message
Olivier Mattelaer (olivier-mattelaer) wrote :

HI Guys,

Sorry looks like that I didn't receive notification for bugs/question which are posted with this project. I hope that this is fixed now.
Thanks Stefano for the fix. I'll look at when this is needed in order to include automatically when needed.

Cheers,

Olivier

Revision history for this message
Olivier Mattelaer (olivier-mattelaer) wrote :

Now, this should be done automatically in the version 2.0.1 of MG5_aMC@NLO

Cheers,

Olivier

Changed in pythia-pgs-for-mg:
status: New → Fix Committed
Revision history for this message
stefano de nicola (sd544) wrote :

Hi Olivier, thank you very much, best

Stefano

On 2014-01-06 10:03, Olivier Mattelaer wrote:
> Now, this should be done automatically in the version 2.0.1 of
> MG5_aMC@NLO
>
> Cheers,
>
> Olivier
>
> ** Changed in: pythia-pgs-for-mg
> Status: New => Fix Committed
>
> --
> You received this bug notification because you are subscribed to the
> bug
> report.
> https://bugs.launchpad.net/bugs/1202197
>
> Title:
> installation of pythia-pgs fails
>
> Status in pythia/pgs package for MadGraph:
> Fix Committed
>
> Bug description:
> While installing pythia-psg from mg5, i get the following error
> message:
>
> gfortran -fno-automatic -o examples/olympics examples/pgs_olympics.f
> \
> -L./lib -lpgslib -ltauola \
> -lstdhep -lexthep -lFmcfio -L../../libraries/pylib/lib
> -lpythiaext; chmod +x examples/olympics
> /usr/bin/ld: cannot find -lpythiaext
> collect2: error: ld returned 1 exit status
> chmod: cannot access `examples/olympics': No such file or directory
> make[2]: *** [examples/olympics] Error 1
> make[2]: Leaving directory
> `/afs/cern.ch/user/s/sdenicol/MadGraph5_v1_5_11/pythia-pgs/libraries/PGS4'
> make[1]: *** [../libraries/PGS4/examples/olympics] Error 2
> make[1]: Leaving directory
> `/afs/cern.ch/user/s/sdenicol/MadGraph5_v1_5_11/pythia-pgs/src'
> make: *** [all] Error 2
>
> After looking at other (seemingly unresolved) posts on similar
> problems, I have updated Python, Root and gcc to the latest versions
> and I have tried changing 64 bits to 32 (even if my sistem si 64) in
> pythia-pgs/src/make_opts .
> Neither of these attempts seem to produce any changes.
> Please let me know if there is a way around this...
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/pythia-pgs-for-mg/+bug/1202197/+subscriptions

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.