Page 1 of 1

Compilation failure on linux during lebedev_quadrature_cplx

Posted: Thu Sep 09, 2010 4:57 pm
by rpmuller
Just downloaded a new version of abinit-6.2.3. Compiling on a RHE 5.0 Linux system using gfortran 4.1.2 and gcc 4.1.2.

I'm getting the following error during compilation:

gfortran -DHAVE_CONFIG_H -I. -I../.. -I../../src/incs -I../../src/incs -ffree-form -J/home/rmuller/Programs/abinit-6.2.3/src/mods -I/home/rmuller/Programs/abinit-6.2.3/src/mods -O3 -fschedule-insns2 -march=nocona -mmmx -msse -msse2 -msse3 -mfpmath=sse -g -c -o m_lebedev.o m_lebedev.F90
m_lebedev.F90: In function ‘lebedev_quadrature_cplx’:
m_lebedev.F90:469: internal compiler error: in modified_type_die, at dwarf2out.c:8495
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugzilla.redhat.com/bugzilla> for instructions.
make[3]: *** [m_lebedev.o] Error 1

Has anyone seen this? Can anyone offer a workaround, such as downgrading to an earlier version of abinit?

Thanks in advance,

Rick

Re: Compilation failure on linux during lebedev_quadrature_c

Posted: Thu Sep 09, 2010 5:00 pm
by pouillon
Upgrading GCC to a newer version is a better solution. You won't be able to build Abinit with GCC 4.1.

Re: Compilation failure on linux during lebedev_quadrature_c

Posted: Thu Sep 09, 2010 5:10 pm
by rpmuller
Appears to work with abinit version 6.0.4.

Re: Compilation failure on linux during lebedev_quadrature_c

Posted: Thu Sep 09, 2010 9:21 pm
by pouillon
Please note that we don't support this old and incomplete version of gfortran, since it is not compatible with our development plans.

However, what I can suggest you is to recompile the routine manually without optimization. It may work. No guarantee at all, though.