Hi Paolo,

El 06/10/2017 a las 10:59, Paolo Giannozzi escribió:
 $ grep finclude make.inc
IFLAGS         = -I$(TOPDIR)/include -I$(TOPDIR)/FoX/finclude -I../include/ -I/opt/intel/mkl/include

is $(TOPDIR)/FoX/finclude there, and does it contain compiled modules?

I see the cause of this problem. I was using, like for qe-6.1, the following call to configure:

./configure --with-scalapack=intel ARCH=x86_64 F90=ifort MPIF90=mpiifort LIBDIRS="/opt/intel/composer_xe_2015.1.133/mkl/lib/intel64 /opt/fftw-3.2.2/lib" IFLAGS="-I/opt/fftw-3.2.2/include -I../include"

This explains that, although $(TOPDIR)/FoX/finclude does contain many modules,
$ grep finclude make.inc
gives nothing, as indeed in make.inc I have this:

IFLAGS         = -I/opt/fftw-3.2.2/include -I../include

I thus have added -I../FoX/finclude to the configure call and that problem disappears.
Now I find a new one, as I get these other errors:

pw_restart_new.f90(18): error #7002: Error in opening the compiled module file.  Check INCLUDE paths.   [FOX_WXML]
  USE qes_module
------^
pw_restart_new.f90(142): error #6618: The INTERFACE/CONTAINS stack is full. This means that modules are being 'used' in a circular way.   [QES_LIBS_MODULE]
      ALLOCATE( ngk_g( nkstot ) )
^
pw_restart_new.f90(142): error #6618: The INTERFACE/CONTAINS stack is full. This means that modules are being 'used' in a circular way.   [FOX_WXML]
      ALLOCATE( ngk_g( nkstot ) )
^
pw_restart_new.f90(116): error #7002: Error in opening the compiled module file.  Check INCLUDE paths.   [FOX_WXML]       USE qexsd_input,          ONLY : qexsd_init_k_points_ibz, qexsd_init_occupations, qexsd_init_smearing
----------^
pw_restart_new.f90(696): error #6618: The INTERFACE/CONTAINS stack is full. This means that modules are being 'used' in a circular way.   [FOX_WXML]
      ierr = 0
^
pw_restart_new.f90(677): error #7002: Error in opening the compiled module file.  Check INCLUDE paths.   [FOX_WXML]       USE qes_libs_module,      ONLY : qes_write_input, qes_write_output, qes_write_parallel_info, &
----------^

I verified that qes_module.mod does appear in Modules directory. Which can be the problem then?
Regards,

--
José C. Conesa
Instituto de Catálisis y Petroleoquímica, CSIC
Marie Curie 2, Madrid, Spain
www.icp.csic.es
Tel. (+34)915854766

_______________________________________________
Pw_forum mailing list
Pw_forum@pwscf.org
http://pwscf.org/mailman/listinfo/pw_forum

Reply via email to