Skip to content

Commit

Permalink
default max_memory in pspace fn
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewRHermes committed Sep 28, 2023
1 parent 843ec6c commit 99c9412
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions my_pyscf/fci/csf.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ def pspace (fci, h1e, eri, norb, nelec, transformer, hdiag_det=None, hdiag_csf=N
reduced the default pspace size by a factor of 2.'''
if norb > 63:
raise NotImplementedError('norb > 63')
if max_memory is None: max_memory=2000

t0 = (lib.logger.process_clock (), lib.logger.perf_counter ())
neleca, nelecb = _unpack_nelec(nelec)
Expand Down

0 comments on commit 99c9412

Please sign in to comment.