compiling error when ELPA is used
Posted: Mon May 13, 2024 2:21 pm
Hello,
I noticed that if I turn on ELPA, then there is a compilation issue with the scala.F :
fpp -f_com=no -free -w0 scala.F scala.f90 -DHOST=\"Nautilus\" -DMPI -DMPI_BLOCK=8000 -Duse_collective -DscaLAPACK -DCACHE_SIZE=4000 -Davoidalloc -Dvasp6 -Duse_bse_te -Dtbdyn -Dfock_dblbuf -DBUILD_INFO -DLAPACK36 -DDFTD4 -DUSELIBXC -DELPA -DNGZhalf
mpiifort -c -free -names lowercase -assume byterecl -w -O2 -xAVX2 -I/include/fftw -I/p/home/sergeyl/arch/intel/lib/dftd4/include/dftd4/intel-2021.9.0/ -I/p/home/sergeyl/arch/intel/lib/libxc-6.2.2/include/ -I/p/home/sergeyl/arch/intel/lib/elpa-2023.05.001/include/elpa-2023.05.001/modules/ -c scala.f90
scala.F(2306): error #9022: The argument to C_LOC must be a variable with the POINTER or TARGET attribute. [A]
CALL c_f_pointer(c_loc(A(1)),EP,[NP,NQ])
--------------------------------^
scala.F(2307): error #9022: The argument to C_LOC must be a variable with the POINTER or TARGET attribute. [Z]
CALL c_f_pointer(c_loc(Z),EZ,[NP,NQ])
--------------------------------^
scala.F(6750): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [SCALA]
USE scala
------------^
scala.F(6754): error #6457: This derived type name has not been declared. [COMMUNIC]
TYPE(communic) :: MY_COMM
-------------^
scala.F(6775): error #6404: This name does not have a type, and must have an explicit type. [MY_COMM]
CALL M_sum_z(MY_COMM,COVL(1,1),NBANDS*NSTRIP)
---------------------^
scala.F(6779): error #6404: This name does not have a type, and must have an explicit type. [LELPA]
IF (LELPA) THEN
------------^
scala.F(6779): error #6341: A logical data type is required in this context. [LELPA]
IF (LELPA) THEN
------------^
scala.F(6781): error #6404: This name does not have a type, and must have an explicit type. [DESCSTD]
CALL DISTRI_SLICE_HERM(COVL(1,1),NBANDS,NBANDSK,COVL2(1),DESCSTD,NPOS,NPOS+NSTRIP-1)
-----------------------------------------------------------------------^
scala.F(6809): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [SCALA]
USE scala
------------^
scala.F(6812): error #6457: This derived type name has not been declared. [COMMUNIC]
TYPE(communic) :: MY_COMM
-------------^
scala.F(6827): error #6404: This name does not have a type, and must have an explicit type. [MY_COMM]
CALL M_sum_z(MY_COMM,COVL(1,1),NBANDS*NSTRIP)
---------------------^
scala.F(6830): error #6404: This name does not have a type, and must have an explicit type. [DESCSTD]
CALL DISTRI_SLICE_HERM(COVL(1,1),NBANDS,NBANDSK,COVL2(1),DESCSTD,NPOS,NPOS+NSTRIP-1)
--------------------------------------------------------------------^
scala.F(6847): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [SCALA]
USE scala
------------^
scala.F(6850): error #6457: This derived type name has not been declared. [COMMUNIC]
TYPE(communic) :: MY_COMM
-------------^
scala.F(6866): error #6404: This name does not have a type, and must have an explicit type. [MY_COMM]
CALL M_sum_z(MY_COMM,COVL(1,1),NBANDS*NSTRIP)
---------------------^
scala.F(6890): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [SCALA]
USE scala
------------^
scala.F(6894): error #6457: This derived type name has not been declared. [COMMUNIC]
TYPE(communic) :: MY_COMM
-------------^
scala.F(6911): error #6404: This name does not have a type, and must have an explicit type. [MY_COMM]
IF (MY_COMM%NODE_ME==MY_COMM%IONODE) THEN
------------^
scala.F(6920): error #6404: This name does not have a type, and must have an explicit type. [LELPA]
IF (LELPA) THEN
------------^
scala.F(6920): error #6341: A logical data type is required in this context. [LELPA]
IF (LELPA) THEN
------------^
scala.F(6921): error #6404: This name does not have a type, and must have an explicit type. [DESCSTD]
CALL DISTRI_SLICE_HERM(COVL(1,1),NBANDS,NBANDSK,COVL2(1),DESCSTD,NPOS,NPOS+NSTRIP-1)
--------------------------------------------------------------------^
scala.F(6948): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [SCALA]
USE scala
------------^
scala.F(6952): error #6457: This derived type name has not been declared. [COMMUNIC]
TYPE(communic) :: MY_COMM
-------------^
scala.F(6975): error #6404: This name does not have a type, and must have an explicit type. [DESCSTD]
CALL RECON_SLICE(COVL_GLOBAL(1,1),LDTRAN,NIN,COVL(1),DESCSTD,NPOS,NPOS+NOUT-1)
---------------------------------------------------------------^
scala.F(6978): error #6404: This name does not have a type, and must have an explicit type. [MY_COMM]
CALL M_sum_z(MY_COMM,COVL_GLOBAL(1,1),LDTRAN*NOUT)
-----------------------^
scala.F(7017): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [SCALA]
USE scala
------------^
scala.F(7021): error #6457: This derived type name has not been declared. [COMMUNIC]
TYPE(communic) :: MY_COMM
-------------^
scala.F(7037): error #6404: This name does not have a type, and must have an explicit type. [DESCSTD]
CALL RECON_SLICE_HERM(COVL_GLOBAL(1,1),LDTRAN,NIN,COVL(1),DESCSTD,NPOS,NPOS+NOUT-1)
--------------------------------------------------------------------^
scala.F(7039): error #6404: This name does not have a type, and must have an explicit type. [MY_COMM]
CALL M_sum_z(MY_COMM,COVL_GLOBAL(1,1),LDTRAN*NOUT)
-----------------------^
scala.F(7073): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [SCALA]
USE scala
------------^
scala.f90(6963): catastrophic error: Too many errors, exiting
This is using Intel compilers (2023.0.0) and Intel MPI.
I noticed that if I turn on ELPA, then there is a compilation issue with the scala.F :
fpp -f_com=no -free -w0 scala.F scala.f90 -DHOST=\"Nautilus\" -DMPI -DMPI_BLOCK=8000 -Duse_collective -DscaLAPACK -DCACHE_SIZE=4000 -Davoidalloc -Dvasp6 -Duse_bse_te -Dtbdyn -Dfock_dblbuf -DBUILD_INFO -DLAPACK36 -DDFTD4 -DUSELIBXC -DELPA -DNGZhalf
mpiifort -c -free -names lowercase -assume byterecl -w -O2 -xAVX2 -I/include/fftw -I/p/home/sergeyl/arch/intel/lib/dftd4/include/dftd4/intel-2021.9.0/ -I/p/home/sergeyl/arch/intel/lib/libxc-6.2.2/include/ -I/p/home/sergeyl/arch/intel/lib/elpa-2023.05.001/include/elpa-2023.05.001/modules/ -c scala.f90
scala.F(2306): error #9022: The argument to C_LOC must be a variable with the POINTER or TARGET attribute. [A]
CALL c_f_pointer(c_loc(A(1)),EP,[NP,NQ])
--------------------------------^
scala.F(2307): error #9022: The argument to C_LOC must be a variable with the POINTER or TARGET attribute. [Z]
CALL c_f_pointer(c_loc(Z),EZ,[NP,NQ])
--------------------------------^
scala.F(6750): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [SCALA]
USE scala
------------^
scala.F(6754): error #6457: This derived type name has not been declared. [COMMUNIC]
TYPE(communic) :: MY_COMM
-------------^
scala.F(6775): error #6404: This name does not have a type, and must have an explicit type. [MY_COMM]
CALL M_sum_z(MY_COMM,COVL(1,1),NBANDS*NSTRIP)
---------------------^
scala.F(6779): error #6404: This name does not have a type, and must have an explicit type. [LELPA]
IF (LELPA) THEN
------------^
scala.F(6779): error #6341: A logical data type is required in this context. [LELPA]
IF (LELPA) THEN
------------^
scala.F(6781): error #6404: This name does not have a type, and must have an explicit type. [DESCSTD]
CALL DISTRI_SLICE_HERM(COVL(1,1),NBANDS,NBANDSK,COVL2(1),DESCSTD,NPOS,NPOS+NSTRIP-1)
-----------------------------------------------------------------------^
scala.F(6809): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [SCALA]
USE scala
------------^
scala.F(6812): error #6457: This derived type name has not been declared. [COMMUNIC]
TYPE(communic) :: MY_COMM
-------------^
scala.F(6827): error #6404: This name does not have a type, and must have an explicit type. [MY_COMM]
CALL M_sum_z(MY_COMM,COVL(1,1),NBANDS*NSTRIP)
---------------------^
scala.F(6830): error #6404: This name does not have a type, and must have an explicit type. [DESCSTD]
CALL DISTRI_SLICE_HERM(COVL(1,1),NBANDS,NBANDSK,COVL2(1),DESCSTD,NPOS,NPOS+NSTRIP-1)
--------------------------------------------------------------------^
scala.F(6847): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [SCALA]
USE scala
------------^
scala.F(6850): error #6457: This derived type name has not been declared. [COMMUNIC]
TYPE(communic) :: MY_COMM
-------------^
scala.F(6866): error #6404: This name does not have a type, and must have an explicit type. [MY_COMM]
CALL M_sum_z(MY_COMM,COVL(1,1),NBANDS*NSTRIP)
---------------------^
scala.F(6890): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [SCALA]
USE scala
------------^
scala.F(6894): error #6457: This derived type name has not been declared. [COMMUNIC]
TYPE(communic) :: MY_COMM
-------------^
scala.F(6911): error #6404: This name does not have a type, and must have an explicit type. [MY_COMM]
IF (MY_COMM%NODE_ME==MY_COMM%IONODE) THEN
------------^
scala.F(6920): error #6404: This name does not have a type, and must have an explicit type. [LELPA]
IF (LELPA) THEN
------------^
scala.F(6920): error #6341: A logical data type is required in this context. [LELPA]
IF (LELPA) THEN
------------^
scala.F(6921): error #6404: This name does not have a type, and must have an explicit type. [DESCSTD]
CALL DISTRI_SLICE_HERM(COVL(1,1),NBANDS,NBANDSK,COVL2(1),DESCSTD,NPOS,NPOS+NSTRIP-1)
--------------------------------------------------------------------^
scala.F(6948): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [SCALA]
USE scala
------------^
scala.F(6952): error #6457: This derived type name has not been declared. [COMMUNIC]
TYPE(communic) :: MY_COMM
-------------^
scala.F(6975): error #6404: This name does not have a type, and must have an explicit type. [DESCSTD]
CALL RECON_SLICE(COVL_GLOBAL(1,1),LDTRAN,NIN,COVL(1),DESCSTD,NPOS,NPOS+NOUT-1)
---------------------------------------------------------------^
scala.F(6978): error #6404: This name does not have a type, and must have an explicit type. [MY_COMM]
CALL M_sum_z(MY_COMM,COVL_GLOBAL(1,1),LDTRAN*NOUT)
-----------------------^
scala.F(7017): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [SCALA]
USE scala
------------^
scala.F(7021): error #6457: This derived type name has not been declared. [COMMUNIC]
TYPE(communic) :: MY_COMM
-------------^
scala.F(7037): error #6404: This name does not have a type, and must have an explicit type. [DESCSTD]
CALL RECON_SLICE_HERM(COVL_GLOBAL(1,1),LDTRAN,NIN,COVL(1),DESCSTD,NPOS,NPOS+NOUT-1)
--------------------------------------------------------------------^
scala.F(7039): error #6404: This name does not have a type, and must have an explicit type. [MY_COMM]
CALL M_sum_z(MY_COMM,COVL_GLOBAL(1,1),LDTRAN*NOUT)
-----------------------^
scala.F(7073): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [SCALA]
USE scala
------------^
scala.f90(6963): catastrophic error: Too many errors, exiting
This is using Intel compilers (2023.0.0) and Intel MPI.