Skip to content

Commit

Permalink
fix blocksize for get_h2eff_df
Browse files Browse the repository at this point in the history
  • Loading branch information
cjknight committed Aug 6, 2024
1 parent 82a8f32 commit 2b91767
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion my_pyscf/mcscf/las_ao2mo.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def get_h2eff_gpu (las,mo_coeff):
mo_cas = mo_coeff[:,ncore:nocc]
if gpu: libgpu.libgpu_push_mo_coeff(gpu,mo_coeff.copy(),mo_coeff.size)
naux = las.with_df.get_naoaux ()
if gpu: blksize = 50
if gpu: blksize = las.with_df.blockdim
else:
mem_eris = 8*(nao+nmo)*ncas*ncas*ncas / 1e6
mem_eris += 8*lib.num_threads ()*nao*nmo / 1e6
Expand Down

0 comments on commit 2b91767

Please sign in to comment.