[CP2K-user] [CP2K:20074] Compile CP2K with elpa failed

jiyuan wei weijiyuanbit at gmail.com
Wed Mar 27 09:02:18 UTC 2024


Dear developers, 
I encountered an error while installing CP2K on Ubuntu 20.04:
Error: Symbol 'elpa_2stage_real_nvidia_gpu' at (1) has no IMPLICIT type; 
did you mean 'elpa_2stage_real_gpu'?
../src/elpa_constants.F90:58:102:

   58 |   integer(kind=C_INT), parameter           :: 
ELPA_2STAGE_COMPLEX_GPU = ELPA_2STAGE_COMPLEX_NVIDIA_GPU
      |                                                                     
                                 1
Error: Symbol 'elpa_2stage_complex_nvidia_gpu' at (1) has no IMPLICIT type; 
did you mean 'elpa_2stage_complex_gpu'?
make[1]: *** 
[Makefile:75928:src/libelpa_openmp_public_la-elpa_constants.lo] 错误 1
make[1]: 
离开目录“/home/weijiyuan/cp2k/cp2k-2024.1/tools/toolchain/build/elpa-2023.05.001/build_cpu”
make: *** [Makefile:90907:install] 错误 2
How can I fix these?

-- 
You received this message because you are subscribed to the Google Groups "cp2k" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cp2k+unsubscribe at googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cp2k/590a14f7-a892-4041-bcf0-baee3d423773n%40googlegroups.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20240327/6faf0912/attachment-0001.htm>
-------------- next part --------------
make  install-am
make[1]: 进入目录“/home/weijiyuan/cp2k/cp2k-2024.1/tools/toolchain/build/elpa-2023.05.001/build_cpu”
  PPFC     src/GPU/CUDA/libelpa_openmp_private_la-mod_cuda.lo
  PPFC     src/libelpa_openmp_private_la-elpa_generated_fortran_interfaces.lo
  PPFC     src/GPU/ROCm/libelpa_openmp_private_la-mod_hip.lo
  PPFC     src/helpers/libelpa_openmp_private_la-mod_omp.lo
  PPFC     src/GPU/OpenMP/libelpa_openmp_private_la-mod_openmp_offload.lo
  PPFC     src/GPU/libelpa_openmp_private_la-mod_vendor_agnostic_general_layer.lo
  PPFC     src/GPU/libelpa_openmp_private_la-mod_vendor_agnostic_blas_layer.lo
  PPFC     src/GPU/libelpa_openmp_private_la-mod_vendor_agnostic_solver_layer.lo
  PPFC     src/GPU/libelpa_openmp_private_la-mod_vendor_agnostic_layer.lo
  PPFC     src/general/libelpa_openmp_private_la-elpa_utilities.lo
  PPFC     src/GPU/SYCL/libelpa_openmp_private_la-mod_sycl.lo
  PPFC     src/libelpa_openmp_public_la-elpa_constants.lo
./src/fortran_constants.F90:2:35:

    2 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:4:35:

    4 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:6:35:

    6 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:8:35:

    8 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:10:35:

   10 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:12:35:

   12 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:14:35:

   14 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:16:35:

   16 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:18:35:

   18 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:20:35:

   20 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:22:35:

   22 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:24:35:

   24 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:26:35:

   26 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:30:35:

   30 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:34:35:

   34 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:37:1:

   37 | )
      | 1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:40:35:

   40 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:42:35:

   42 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:44:35:

   44 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:46:35:

   46 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:48:35:

   48 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:50:35:

   50 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:52:35:

   52 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:54:35:

   54 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:56:35:

   56 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:58:35:

   58 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:60:35:

   60 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:62:35:

   62 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:64:35:

   64 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:66:35:

   66 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:68:35:

   68 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:70:35:

   70 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:72:35:

   72 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:74:35:

   74 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:76:35:

   76 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:78:35:

   78 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:80:35:

   80 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:82:35:

   82 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:84:35:

   84 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:86:35:

   86 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:88:35:

   88 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:90:35:

   90 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:92:35:

   92 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:94:35:

   94 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:96:35:

   96 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:98:35:

   98 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:100:35:

  100 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:102:35:

  102 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:104:35:

  104 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:106:35:

  106 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:108:35:

  108 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:110:35:

  110 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:112:35:

  112 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:114:35:

  114 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:116:35:

  116 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:118:35:

  118 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:120:35:

  120 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:122:35:

  122 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:125:1:

  125 | )
      | 1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:128:35:

  128 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:130:35:

  130 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:132:35:

  132 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:134:35:

  134 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:136:35:

  136 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:138:35:

  138 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:140:35:

  140 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:142:35:

  142 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:144:35:

  144 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:146:35:

  146 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:148:35:

  148 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:150:35:

  150 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:152:35:

  152 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:154:35:

  154 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:156:35:

  156 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:158:35:

  158 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:160:35:

  160 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:162:35:

  162 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:164:35:

  164 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:166:35:

  166 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:168:35:

  168 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:170:35:

  170 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:172:35:

  172 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:174:35:

  174 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:176:35:

  176 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:178:35:

  178 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:181:1:

  181 | )
      | 1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:184:35:

  184 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:186:35:

  186 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:188:35:

  188 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:190:35:

  190 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:192:35:

  192 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:194:35:

  194 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:196:35:

  196 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:198:35:

  198 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:200:35:

  200 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:202:35:

  202 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:204:35:

  204 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:206:35:

  206 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:208:35:

  208 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:210:35:

  210 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:212:35:

  212 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:214:35:

  214 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:216:35:

  216 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:218:35:

  218 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:220:35:

  220 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:224:35:

  224 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:226:35:

  226 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:230:35:

  230 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:232:35:

  232 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:234:35:

  234 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:236:35:

  236 |  integer(kind=C_INT), parameter ::
      |                                   1
Error: Invalid character in name at (1)
./src/fortran_constants.F90:239:1:

  239 | )
      | 1
Error: Invalid character in name at (1)
../src/elpa_constants.F90:57:99:

   57 |   integer(kind=C_INT), parameter           :: ELPA_2STAGE_REAL_GPU    = ELPA_2STAGE_REAL_NVIDIA_GPU
      |                                                                                                   1
Error: Symbol 'elpa_2stage_real_nvidia_gpu' at (1) has no IMPLICIT type; did you mean 'elpa_2stage_real_gpu'?
../src/elpa_constants.F90:58:102:

   58 |   integer(kind=C_INT), parameter           :: ELPA_2STAGE_COMPLEX_GPU = ELPA_2STAGE_COMPLEX_NVIDIA_GPU
      |                                                                                                      1
Error: Symbol 'elpa_2stage_complex_nvidia_gpu' at (1) has no IMPLICIT type; did you mean 'elpa_2stage_complex_gpu'?
make[1]: *** [Makefile:75928:src/libelpa_openmp_public_la-elpa_constants.lo] 错误 1
make[1]: 离开目录“/home/weijiyuan/cp2k/cp2k-2024.1/tools/toolchain/build/elpa-2023.05.001/build_cpu”
make: *** [Makefile:90907:install] 错误 2


More information about the CP2K-user mailing list