#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
Priority: | P2 → P3 |
---|---|
Severity: | major → normal |
comment:2 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
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
Milestone: | v2-compiles-gfortran → v2.0-beta |
---|
Note: See
TracTickets for help on using
tickets.
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.