Fortran compilation  [SOLVED]

option, parallelism,...

Moderators: jbeuken, Jordan, pouillon

Forum rules
Please have a look at ~abinit/doc/config/ in the source package for detailed and up-to-date information about the configuration of Abinit 8 builds.
For a video explanation on how to build Abinit 7.x for Linux, please go to:
IMPORTANT: when an answer solves your problem, please check the little green V-like button on its upper-right corner to accept it.
Post Reply
Posts: 3
Joined: Fri Apr 02, 2021 2:27 pm

Fortran compilation  [SOLVED]

Post by vdananic » Fri Apr 02, 2021 2:43 pm

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 ./
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

Error: Type mismatch between actual argument at (1) and actual argument at (2) (REAL(4)/REAL(8)).

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.

User avatar
Site Admin
Posts: 33
Joined: Thu Sep 17, 2009 9:49 am

Re: Fortran compilation

Post by admin » Fri Apr 02, 2021 4:25 pm


already solved on forum :



Post Reply