Skip to Content.
Sympa Menu

forum - Re: [abinit-forum] ABINITv5.4.3 pgi compiler error: defs_fftdata.F90

forum@abinit.org

Subject: The ABINIT Users Mailing List ( CLOSED )

List archive

Re: [abinit-forum] ABINITv5.4.3 pgi compiler error: defs_fftdata.F90


Chronological Thread 
  • From: Xavier Gonze <gonze@pcpm.ucl.ac.be>
  • To: forum@abinit.org
  • Subject: Re: [abinit-forum] ABINITv5.4.3 pgi compiler error: defs_fftdata.F90
  • Date: Tue, 4 Sep 2007 08:05:08 +0200

Dear Kris,

v5.4.3 has been tested with a very old version (4.0 , 32 bits) of the PGI compiler, and it worked.

If v5.4.2 was fine for you, I suggest that you copy the defs_fftdata.F90 from v5.4.2 to v5.4.3, and recompile.
Nothing else should be changed. Actually, it would help if you could look at this module (it is very simple),
and try to find a workaround for your compiler on top of v5.4.3, that might be portable, and return it to me...
The problem with the v5.4.2 version on the MacOSX was that the line defining ifftdata was too long,
so one had to split it ... as done in v5.4.3 .

If nothing based on a module with parameter array is really portable accross platforms,
one will have to use to a routine for initializing the array ifftdata .

Best regards,
Xavier


On 04 Sep 2007, at 01:36, Kris Andersen wrote:

In compiling abinit version 5.4.3 with the pgi compiler, I get the following error message for defs_fftdata.F90. Is there a simple fix?

make[1]: Entering directory `/workspace/kreander/abinit-5.4.3/pgi/ src/defs'
mpif90 -DHAVE_CONFIG_H -I. -I../../../src/defs -I../.. -I../defs - I../../../src/defs/../defs -O2 -Mextend -c -o defs_fftdata.o ../../../src/defs/defs_fftdata.F90
PGF90-S-0004-Array reference not a named constant array
(../../../src/defs/defs_fftdata.F90: 98)
PGF90-S-0004-Array reference not a named constant array
(../../../src/defs/defs_fftdata.F90: 98)
0 inform, 0 warnings, 2 severes, 0 fatal for defs_fftdata
make[1]: *** [defs_fftdata.o] Error 2

This seems to be related to a recent discussion by Matthieu Verstraete and Xavier Gonze on the developer mailing list? (subject: [abinit-developer] fftdata)

My version of pgif90 is,

$ mpif90 -V
pgf90 7.0-7 64-bit target on x86-64 Linux

Thanks for the help.

--
Kristopher E. Andersen http://www.physics.nau.edu/~andersen/
Northern Arizona University kris.andersen@nau.edu
Department of Physics and Astronomy (928) 523-7202





Archive powered by MHonArc 2.6.16.

Top of Page