Problem 1654

Summary: Fortran code for DPMJET2.5 in Hadr02 example does not compile with gfortran 4.9
Product: Examples/Extended Reporter: Nicola Mori <mori>
Component: hadronic/Hadr00,01,02Assignee: Vladimir.Ivantchenko
Status: RESOLVED WONTFIX    
Severity: trivial CC: mori
Priority: P5    
Version: 10.0   
Hardware: PC   
OS: Linux   
Attachments: Build log for dpmjet2_5

Description Nicola Mori 2014-07-08 11:14:36 CEST
Created attachment 275 [details]
Build log for dpmjet2_5

I'm trying to compile the Hadr02 example with support for DPMJET2.5 with gfortran 4.9. I get a lot of warnings and errors (reported in the attached file). Since I'm not a Fortran expert I don't know how to fix them, but some of them seem related to data size so a non-careful fix could break something. With which version of gfortran this example has been tested?
Thanks.
Comment 1 Nicola Mori 2014-07-20 21:44:01 CEST
I have been able to compile by adding the flags "-fdefault-double-8 -std=legacy", which remove all the errors and almost all the warnings, although I don't know if the code still behave correctly with these compiler settings...
Comment 2 Vladimir.Ivantchenko 2014-07-23 17:20:47 CEST
Hello Nicola,

many thanks for the proposal. It will be evaluated.

Vladimir
Comment 3 Vladimir.Ivantchenko 2015-02-03 09:40:46 CET
Hello,

After discussion within Geant4 hadronic working group it was decided to drop DPMJET interface from Geant4 distribution. Reasons: currently FTF provides simulation of ion/ion interactions at high energies; FLUKA provides more advanced ion/ion simulation than old version used in this interface; Geant4 cannot distribute old FLUKA code.

Sorry for inconvenience.

VI
Comment 4 Nicola Mori 2015-02-03 09:47:45 CET
No problem, Vladimir. I understand and agree with your motivations. I'll use FTF.