compiling error when ELPA is used

Questions regarding the compilation of VASP on various platforms: hardware, compilers and libraries, etc.


Moderators: Global Moderator, Moderator

Post Reply
Message
Author
sergey_lisenkov1
Newbie
Newbie
Posts: 24
Joined: Tue Nov 12, 2019 7:55 am

compiling error when ELPA is used

#1 Post by sergey_lisenkov1 » 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.

jonathan_lahnsteiner2
Global Moderator
Global Moderator
Posts: 215
Joined: Fri Jul 01, 2022 2:17 pm

Re: compiling error when ELPA is used

#2 Post by jonathan_lahnsteiner2 » Tue May 14, 2024 6:58 am

Dear sergey_lisenkov1,

The problem you are reporting is already on the list for known issues.
There is also another user reporting this problem in this forum post.
There will be a fix for this problem in an upcoming vasp release.

Maybe you could supply us with some details, on what compiler versions you are using?

Thank you for reporting the issue.

All the best Jonathan Jonathan

sergey_lisenkov1
Newbie
Newbie
Posts: 24
Joined: Tue Nov 12, 2019 7:55 am

Re: compiling error when ELPA is used

#3 Post by sergey_lisenkov1 » Tue May 14, 2024 3:59 pm

Thanks, Jonathan!

I was using Intel compilers (intel 2023.0.0)

Post Reply