<div dir="ltr"><div><font face="楷体,楷体_GB2312">Hello,<br><br></font></div><font face="楷体,楷体_GB2312">I
am a newbie in DFT calculation and I am trying to compile Espresso
5.2.1 on our cluster. ./configure runs smoothly but some error occurs
when make. like this...<br><br> mpif90 -O2 -assume byterecl -g
-traceback -nomodule -fpp -D__INTEL -D__FFTW -D__MPI -D__PARA
-D__SCALAPACK -I../../iotk/src -I../../Modules -c
add_vhub_to_deeq.f90<br>mpif90 -O2 -assume byterecl -g -traceback
-nomodule -fpp -D__INTEL -D__FFTW -D__MPI -D__PARA -D__SCALAPACK
-I../../iotk/src -I../../Modules -c realus.f90<br>fortcom: Error: realus.f90, line 63: This entity cannot be PUBLIC since its derived type is PRIVATE. [TABP]<br> TYPE(realsp_augmentation),POINTER :: tabp(:) => null()<br>---------------------------------------^<br>fortcom: Error: realus.f90, line 65: This entity cannot be PUBLIC since its derived type is PRIVATE. [TABS]<br> TYPE(realsp_augmentation),POINTER :: tabs(:) => null()<br>---------------------------------------^<br>fortcom:
Error: realus.f90, line 204: This procedure cannot be PUBLIC since it
has argument(s) whose derived type(s) are PRIVATE. [TABP]<br> SUBROUTINE qpointlist(dfft, tabp)<br>--------------------------------^<br>fortcom:
Error: realus.f90, line 391: A pointer dummy argument with the
INTENT(IN) attribute shall not appear as an actual argument if the
associated dummy argument has the INTENT(OUT) or INTENT(INOUT)
attribute. [TABP]<br> CALL real_space_q( nt, ia, mbia, tabp )<br>------------------------------------------^<br>compilation aborted for realus.f90 (code 1)<br>make[2]: *** [realus.o] 错误 1 (错误 is error in Chinese)<br>make[2]: Leaving directory `/home/jiye/QE/PW/src' <br>make[1]: *** [pw] 错误 1<br>make[1]: Leaving directory `/home/jiye/QE/PW'<br>make: *** [pw] 错误 1<br><br>I'
ve also tried several other versions, only 4.1.3 could make
successfully with "--disable-shared", however, pw.x doesn't work for all
examples. The math library is intel MKL and I've tried both ifort and
gfortran as compiler and -O0 optimize level. </font><font face="楷体,楷体_GB2312"><font face="楷体,楷体_GB2312">(I've searched the archive to find solutions and tried to use internal libraries yet not helpful.)<br><br></font>Please see my make.sys file
for details. I would appreciate any help.</font><br clear="all"><br>Best,<br><br>Ye Ji
</div>