Merge branch 'fix-kcw' into 'develop'

Fix KCW breakage in CUDA builds.

See merge request QEF/q-e!1814
This commit is contained in:
Ye Luo 2022-04-23 16:11:30 +00:00
commit 3fb637cac3
3 changed files with 0 additions and 6 deletions

View File

@ -52,7 +52,6 @@ qe_add_library(qe_kcw ${src_kcw})
target_link_libraries( target_link_libraries(
qe_kcw qe_kcw
PRIVATE qe_pw PRIVATE qe_pw
qe_lax
qe_lr_modules qe_lr_modules
qe_modules qe_modules
qe_fftx qe_fftx
@ -63,7 +62,6 @@ target_link_libraries(
# kcw.x # kcw.x
########################################################### ###########################################################
set(src_kcw_x kcw.f90) set(src_kcw_x kcw.f90)
qe_enable_cuda_fortran("${src_kcw_x}")
qe_add_executable(qe_kcw_exe ${src_kcw_x}) qe_add_executable(qe_kcw_exe ${src_kcw_x})
set_target_properties(qe_kcw_exe PROPERTIES OUTPUT_NAME kcw.x) set_target_properties(qe_kcw_exe PROPERTIES OUTPUT_NAME kcw.x)
target_link_libraries(qe_kcw_exe PRIVATE qe_pw qe_lax qe_modules qe_kcw qe_xclib) target_link_libraries(qe_kcw_exe PRIVATE qe_pw qe_lax qe_modules qe_kcw qe_xclib)

View File

@ -29,8 +29,6 @@ PROGRAM kcw
! !
IMPLICIT NONE IMPLICIT NONE
! !
include 'laxlib.fh'
!
CHARACTER(LEN=9) :: code='KCW' CHARACTER(LEN=9) :: code='KCW'
! !
! 1) Initialize MPI, clocks, print initial messages ! 1) Initialize MPI, clocks, print initial messages

View File

@ -24,8 +24,6 @@ SUBROUTINE kcw_screen
! !
IMPLICIT NONE IMPLICIT NONE
! !
include 'laxlib.fh'
!
! 3) Set up for the KC calculation. ! 3) Set up for the KC calculation.
CALL kcw_setup_screen( ) CALL kcw_setup_screen( )
! !