Hi Loris,

Can you share the full easyconfig file, so we can try to reproduce your problem?

What you're trying makes sense, and should work, but I may be overlooking something...


regards,

Kenneth

On 26/08/2025 16:55, 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


Reply via email to