Compiling root/geant3 code with gfortran 10

The latest gfortran compilers will fail to compile the legacy fortran code needed for the root-vmc code that supports geant3 simulations with root.
The fix is to add the following flags to the fortran build options:

-finit-local-zero -fno-strict-overflow -fallow-argument-mismatch -fallow-invalid-boz

ROOT Version: 6.22.06
Platform: fedora 33
Compiler: gcc/gfortran 10.2.1


Thanks for the input your fix might be helpful to others.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.