Fortran compilation

Dear all,
I am struggling with the compilation of abinit.
Architecture: x86_64
gcc version: 10.2.1 20210130 (Mageia 10.2.1-0.20210130.1.mga8)

After successful execution of ./configure, the fallback script ./build-abinit-fallbacks.sh
persistently ends with the messages such as:

mpif90 -I. -g -O2 -I/home/vladimir/abinit-9.4.0/fallbacks/install_fb/gnu/10.2/hdf5/1.10.6/include -I/home/vladimir/abinit-9.4.0/fallbacks/install_fb/gnu/10.2/netcdf4/4.6.3/include -c -o netcdf4.o …/…/fortran/netcdf4.f90
netcdf4_func.f90:730:75:

Error: Type mismatch between actual argument at (1) and actual argument at (2) (REAL(4)/REAL(8)).
netcdf4_func.f90:720:75:
etc.etc.

I suppose I should somewhere somehow pass the option -fallow-argument-mismatch, but after
numerous tries I didn’t figure out where and how I should pass this option to mpif90.

Thank you.

Hi,

already solved on forum :

https://discourse.abinit.org/t/gfortran-complex-real-cast-complaint/67/1

use FCFLAGS_EXTRA