Hi Alan, Alan O'Cais <[email protected]> writes:
> Hi Loris, > > Remember that it will only get propagated if the software actually > uses FFLAGS, perhaps it listens to F90FLAGS or something else? You may > even need to use preconfigopts to set something that works? Good point. Grepping for F90FLAGS turns up some hits in m4 files. So what kind of thing might I need to set via preconfigopts? Cheers, Loris > Alan > > On 26-Aug-25 4:55 PM, Loris Bennett wrote: >> Hi, >> >> I am compiling some old Fortan code (CFOUR) and am getting the error >> >> Error: Type mismatch between actual argument at (1) and actual argument >> at (2) (INTEGER(8)/REAL(8)) >> >> as also discussed here: >> >> https://github.com/easybuilders/easybuild-easyconfigs/issues/15770 >> >> I have added >> >> toolchainopts = { >> 'extra_fflags': '-fallow-argument-mismatch', >> } >> >> to my EC, but I still get >> >> Error: Type mismatch between actual argument at (1) and actual argument >> at (2) (INTEGER(8)/REAL(8)). >> gfortran -O2 -ftree-vectorize -march=native -fno-math-errno -cpp >> -ffixed-line-length-none -ffree-line-length-none -fdefault-integer-8 -DINT64 >> -I.. -I.././include -c dgedi.f >> >> Apparently the extra option for FFLAGS is not being propagated. >> >> What am I doing wrong? >> >> Cheers, >> >> Loris >> > -- Dr. Loris Bennett (Herr/Mr) FUB-IT, Freie Universität Berlin

