vasp_gpu compile error
Posted: Fri Jun 02, 2023 2:08 am
Hello VASP team,
I have the following error when I am compiling the vasp_gpu version. How can I solve this problem and what do you suggest?
hamil_gpu.F(205): error #6683: A kind type parameter must be a compile-time constant. [C_INTPTR_T]
INTEGER(c_intptr_t) CR1_GPU,CR2_GPU
------------^
hamil_gpu.F(206): error #6683: A kind type parameter must be a compile-time constant. [C_INTPTR_T]
INTEGER(c_intptr_t) CW1_GPU,CW2_GPU
------------^
hamil_gpu.F(207): error #6683: A kind type parameter must be a compile-time constant. [C_INTPTR_T]
INTEGER(c_intptr_t) SV_GPU
------------^
hamil_gpu.F(208): error #6683: A kind type parameter must be a compile-time constant. [C_INTPTR_T]
INTEGER(c_intptr_t) DATAKE_GPU
------------^
compilation aborted for hamil_gpu.f90 (code 1)
make[2]: *** [makefile:169: hamil_gpu.o] Error 1
make[2]: Leaving directory '/home/a1230066/software/vasp.5.4.4_modules/build/gpu'
cp: cannot stat 'vasp': No such file or directory
make[1]: *** [makefile:142: all] Error 1
make[1]: Leaving directory '/home/a1230066/software/vasp.5.4.4_modules/build/gpu'
make: *** [makefile:10: gpu] Error 2
Than you for your help!
Best Regards,
Xiaowan
I have the following error when I am compiling the vasp_gpu version. How can I solve this problem and what do you suggest?
hamil_gpu.F(205): error #6683: A kind type parameter must be a compile-time constant. [C_INTPTR_T]
INTEGER(c_intptr_t) CR1_GPU,CR2_GPU
------------^
hamil_gpu.F(206): error #6683: A kind type parameter must be a compile-time constant. [C_INTPTR_T]
INTEGER(c_intptr_t) CW1_GPU,CW2_GPU
------------^
hamil_gpu.F(207): error #6683: A kind type parameter must be a compile-time constant. [C_INTPTR_T]
INTEGER(c_intptr_t) SV_GPU
------------^
hamil_gpu.F(208): error #6683: A kind type parameter must be a compile-time constant. [C_INTPTR_T]
INTEGER(c_intptr_t) DATAKE_GPU
------------^
compilation aborted for hamil_gpu.f90 (code 1)
make[2]: *** [makefile:169: hamil_gpu.o] Error 1
make[2]: Leaving directory '/home/a1230066/software/vasp.5.4.4_modules/build/gpu'
cp: cannot stat 'vasp': No such file or directory
make[1]: *** [makefile:142: all] Error 1
make[1]: Leaving directory '/home/a1230066/software/vasp.5.4.4_modules/build/gpu'
make: *** [makefile:10: gpu] Error 2
Than you for your help!
Best Regards,
Xiaowan