Skip to content
Snippets Groups Projects

Fix for periodic calculations with GPUs

Merged Xavier Andrade requested to merge fix_gpu_periodic into develop
2 files
+ 30
5
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -1016,6 +1016,14 @@ contains
end if
apply = .false.
end if
if(hamiltonian_base_projector_self_overlap(this%hm_base) .and. accel_is_enabled()) then
if(.not. warning_shown) then
call messages_write('Cannot use CUDA or OpenCL as some pseudopotentials overlap with themselves.')
call messages_warning()
end if
apply = .false.
end if
warning_shown = .true.
Loading