whizard is hosted by Hepforge, IPPP Durham

Opened 15 years ago

Closed 15 years ago

Last modified 14 years ago

#34 closed defect (fixed)

LHAPDF not working with gfortran

Reported by: Juergen Reuter Owned by: ALL
Priority: P3 Milestone:
Component: configure Version: 2.0.0alpha
Severity: normal Keywords: external library usage
Cc:

Description

When using gfortran 4.5.0 as compiler the LHAPDF does not work. It compiles and runs but gives a result identically zero. I ranked this high in priority as gfortran is supposed to be the main compiler for WHIZARD.

Change History (4)

comment:1 Changed 15 years ago by Juergen Reuter

Priority: P2P3
Severity: majornormal

This happens when LHAPDF is found by the configure but not the corresponding routines in it, e.g. if the libraries needed for LHAPDF have not been (correctly) included. If one chooses the LHAPDF with the configure option LHAPDF_DIR=<your LHAPDF path>, the output is the correct one. WHIZARD should be stopping when trying to invoke an incompletely linked LHAPDF version.

comment:2 Changed 15 years ago by Juergen Reuter

Resolution: fixed
Status: newclosed

I included stronger error messages and stop statements in the lhapdf_dummy.f90 file. I admit that for developers it might be helpful to run WHIZARD thru with non-linked structure functions but one can easily uncomment the corresponding stop statements then. Has been resolved in r1207.

comment:3 Changed 15 years ago by ohl

Milestone: v2-compiles-gfortranv2.0-beta

comment:4 Changed 14 years ago by Juergen Reuter

Milestone: v2.0-beta

Milestone v2.0-beta deleted

Note: See TracTickets for help on using tickets.