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

Oliviero Andreussi oliviero.andreussi at epfl.ch
Tue Apr 10 17:26:16 CEST 2012


Hi,

Indeed the Environ module is not yet a feature available to everybody. 
The code is going to be released soon, but not before the next release 
of QE. I couldn't see a reason why people should try to compile the code 
with the -D__ENVIRON option enabled without having access to the source, 
but if this bothers someone let me know and I will remove everything 
from the repository.

Oliviero

On 10/04/12 16:45, Tone Kokalj wrote:
> 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
>




More information about the developers mailing list