FairRootGroup / FairSoft

Repository for installation routines of the external software required by FairRoot
GNU Lesser General Public License v3.0
14 stars 61 forks source link

Disable ROOT Fortran support? #542

Open YanzhaoW opened 2 weeks ago

YanzhaoW commented 2 weeks ago

Hi,

I'm trying to build FairSoft in a Debian buster system (lxir136). I can't get a successful compilation unless I disable ROOT support to Fortran, which is the default from ROOT.

Is there any reason that we need this Fortran support from ROOT?

PS: Is it also possible we enable MT support of Geant4?

dennisklein commented 2 weeks ago

What error do you get with fortran enabled? I will clarify with our group why and for what this is needed and report back.

Is it also possible we enable MT support of Geant4?

Yes, we have a configuration option for this (-DGEANT4MT=ON. Check the comment column in the table that is printed during CMake configuration phase.

YanzhaoW commented 2 weeks ago

Hi,

The error is related to the compilation of h2root, which needs a very old Fortran compiler (g77).

I don't have the error message currently at hand. I may post the error messages here in a few days.

fuhlig1 commented 1 day ago

Hi @YanzhaoW,

FairSoft builds without problems for Debian Buster. We have several FairSoft versions installed at /cvmfs/fairsoft.gsi.de/debian10/fairsoft/ including the latest version jan24p1. Instead of g77 which is really outdated for the compilation of h2root gfortran is used. I crosschecked and the h2root binary is installed for all our FairSoft installations on CVMFS.