compilation error on Fedora 30, Abinit version 8.10.3  [SOLVED]

HPC, IBM, Mac OS, Windows, ...

Moderators: jbeuken, Jordan, gmatteo

Forum rules
Please have a look at ~abinit/doc/config/build-config.ac in the source package for detailed and up-to-date information about the configuration of Abinit builds.
For a video explanation on how to build Abinit 7 for Linux, please go to: http://www.youtube.com/watch?v=DppLQ-KQA68.
IMPORTANT: when an answer solves your problem, please check the little green button on its upper-right corner to accept it.
Post Reply
standa
Posts: 1
Joined: Fri Nov 29, 2019 12:10 pm

compilation error on Fedora 30, Abinit version 8.10.3  [SOLVED]

Post by standa » Fri Nov 29, 2019 2:38 pm

Dear Abinit user/developers,

after upgrading to Fedora 30 distribution I'm not able to compile the abinit source code (8.10.3 version). Configure with options set to
./configure CC=mpicc CXX=mpic++ FC=mpif90
went without errors. Unfortunately, during make process the following error appears:

mpif90 -DHAVE_CONFIG_H -I. -I../.. -I../../src/77_ddb -I../../src/77_ddb -I../../src/32_util -I../../src/32_util -I../../src/44_abitools -I../../src/44_abitools -I../../src/27_toolbox_oop -I../../src/27_toolbox_oop -I../../src/44_abitypes_defs -I../../src/44_abitypes_defs -I../../src/72_response -I../../src/72_response -I../../src/16_hideleave -I../../src/16_hideleave -I../../src/42_parser -I../../src/42_parser -I../../src/55_abiutil -I../../src/55_abiutil -I../../src/41_geometry -I../../src/41_geometry -I../../src/45_geomoptim -I../../src/45_geomoptim -I../../src/12_hide_mpi -I../../src/12_hide_mpi -I../../src/10_defs -I../../src/10_defs -I../../src/14_hidewrite -I../../src/14_hidewrite -I../../src/57_iovars -I../../src/57_iovars -I../../src/28_numeric_noabirule -I../../src/28_numeric_noabirule -I../../src/incs -I../../src/incs -I/home/standa/work2/tmp/abinit-8.10.3/fallbacks/exports/include -ffree-form -J/home/standa/work2/tmp/abinit-8.10.3/src/mods -O2 -mtune=native -march=native -g -ffree-line-length-none -c -o m_polynomial_coeff.o m_polynomial_coeff.F90
m_polynomial_coeff.F90:2883:67:

2800 | do icoeff1=icoeff,ncoeff+nstr
| 2
......
2883 | & index_coeff,list_combination,icoeff1,max_power_strain,&
| 1
Error: Variable ‘icoeff1’ at (1) not definable inside loop beginning at (2) as INTENT(INOUT) argument to subroutine ‘computecombinationfromlist’
m_polynomial_coeff.F90:2643:26:

2553 | do icoeff1=icoeff,ncoeff+nstr
| 2
......
2643 | & icoeff1,icoeff_tot,natom,ncoeff,nstr,ncoeff_out,nrpt,nsym,power_disp+1,&
| 1
Error: Variable ‘icoeff1’ at (1) not definable inside loop beginning at (2) as INTENT(INOUT) argument to subroutine ‘computenorder’
make[3]: *** [Makefile:1021: m_polynomial_coeff.o] Error 1
make[3]: Leaving directory '/home/standa/work2/tmp/abinit-8.10.3/src/78_effpot'
make[2]: *** [Makefile:934: all-recursive] Error 1
make[2]: Leaving directory '/home/standa/work2/tmp/abinit-8.10.3/src'
make[1]: *** [Makefile:2323: all-recursive] Error 1
make[1]: Leaving directory '/home/standa/work2/tmp/abinit-8.10.3'
make: *** [Makefile:2252: all] Error 2


Fedora 30 comes with mpicc/mpic++ /mpif90 version 9.2.1 20190827 (Red Hat 9.2.1-1).

Could you, please, help me what to do in order to compile abinit source code?

Thank you very much,

Standa

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

Re: compilation error on Fedora 30, Abinit version 8.10.3

Post by admin » Sat Jan 25, 2020 4:29 pm

resolved in version 9.0.1 ( dispo soon, end of january )
jmb

Post Reply