Hi Kenneth, Kenneth Hoste <[email protected]> writes:
> Hi Loris, > > Can you share the full easyconfig file, so we can try to reproduce > your problem? Sure: easyblock = 'ConfigureMake' name = 'CFOUR' version = "2.1" homepage = 'http://www.staff.uni-mainz.de/harding/' description = """CFOUR (Coupled-Cluster techniques for Computational Chemistry) is a program package for performing high-level quantum chemical calculations on atoms and molecules.""" toolchain = {'name': 'foss', 'version': '2024a'} toolchainopts = { 'extra_fflags': '-fallow-argument-mismatch', } sources = ['%(namelower)s-public-v%(version_major_minor)s.tar.gz'] checksums = ['468338fa121a5bef53853df21829cb45ed2f5b40c582a7692c4017c55b19c919'] dependencies = [ # ('zlib', '1.2.11'), ] sanity_check_paths = { 'files': ["bin/qcfour"], 'dirs': ["bin", "lib"] } moduleclass = 'chem' > What you're trying makes sense, and should work, but I may be > overlooking something... Thanks for having a look. Cheers, Loris > 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 >> > > -- Dr. Loris Bennett (Herr/Mr) FUB-IT, Freie Universität Berlin

