[Q-e-developers] compiling svn version with -D__ENVIRON fails

Tone Kokalj tone.kokalj at ijs.si
Tue Apr 10 16:45:24 CEST 2012


Hi,

I noticed that compilation of the svn version of QE with the -D__ENVIRON
fails as follows:

make[2]: Entering directory `/home/tone/tmp/trunk/espresso/PW/src'
test -n "" && ( cd ../.. ; make -w  || exit 1) || :
mpif90 -O2 -assume byterecl -g -traceback -par-report0 -vec-report0 -nomodule -fpp -D__INTEL -D__FFTW3 -D__MPI -D__PARA -D__SCALAPACK -D__ENVIRON -I../include -I../../iotk/src -I../../Modules -I. -c clean_pw.f90
clean_pw.f90(61): error #7002: Error in opening the compiled module file.  Check INCLUDE paths.   [ENVIRON_BASE]
  USE environ_base,         ONLY : do_environ
------^
clean_pw.f90(198): error #6406: Conflicting attributes or multiple declaration of name.   [DO_ENVIRON]
  if (do_environ) CALL environ_clean()
------^
clean_pw.f90(198): error #6341: A logical data type is required in this context.   [DO_ENVIRON]
  if (do_environ) CALL environ_clean()
------^
clean_pw.f90(61): error #6580: Name in only-list does not exist.   [DO_ENVIRON]
  USE environ_base,         ONLY : do_environ
-----------------------------------^
compilation aborted for clean_pw.f90 (code 1)
make[2]: *** [clean_pw.o] Error 1
make[2]: Leaving directory `/home/tone/tmp/trunk/espresso/PW/src'
make[1]: *** [pw] Error 2
make[1]: Leaving directory `/home/tone/tmp/trunk/espresso/PW'
make: *** [pw] Error 2

By grepping the sources, it can be realized that the source code for the
environ_base module appears to be missing.

Regards, Tone

-- 
Anton Kokalj
J. Stefan Institute, Jamova 39, 1000 Ljubljana, Slovenia 
(tel: +386-1-477-3523 // fax:+386-1-477-3822)

Please, if possible, avoid sending me Word or PowerPoint attachments.
See:  http://www.gnu.org/philosophy/no-word-attachments.html




More information about the developers mailing list