You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I run the script above using mpirun, I got this error message:
Traceback (most recent call last):
File "/home/gagliard/phamx494/mpi4pyscf/__init__.py", line 32, in <module>
mpi.pool.wait()
File "/home/gagliard/phamx494/mpi4pyscf/tools/mpi_pool.py", line 111, in wait
ans = self.function(*task) # task = worker_args
File "/home/gagliard/phamx494/mpi4pyscf/tools/mpi.py", line 565, in _distribute_call
return fn(dev, *args, **kwargs)
File "/home/gagliard/phamx494/mpi4pyscf/pbc/df/mdf_jk.py", line 78, in get_jk
vj, vk = mdf_jk.get_jk(mydf, dm, hermi, kpt, kpt_band, with_j, with_k, exxdiv)
File "/home/gagliard/phamx494/pyscf/pyscf/pbc/df/mdf_jk.py", line 90, in get_jk
vj1, vk1 = df_jk.get_jk(mydf, dm, hermi, kpt, kpts_band, with_j, with_k, None)
File "/home/gagliard/phamx494/pyscf/pyscf/pbc/df/df_jk.py", line 257, in get_jk
mydf.build(kpts_band=kpts_band)
File "/home/gagliard/phamx494/mpi4pyscf/pbc/df/df.py", line 43, in build
log.debug('MPI info (rank, host, pid) %s', mpi.platform_info())
File "/home/gagliard/phamx494/mpi4pyscf/tools/mpi.py", line 737, in platform_info
return pool.apply(info, (), ())
File "/home/gagliard/phamx494/mpi4pyscf/tools/mpi_pool.py", line 123, in apply
self.wait()
File "/home/gagliard/phamx494/mpi4pyscf/tools/mpi_pool.py", line 111, in wait
ans = self.function(*task) # task = worker_args
TypeError: info() takes 0 positional arguments but 2 were given
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "He2.py", line 4, in <module>
from mpi4pyscf.pbc import df as mpidf
File "/home/gagliard/phamx494/mpi4pyscf/__init__.py", line 34, in <module>
traceback.print_exc(err)
File "/home/gagliard/phamx494/anaconda/lib/python3.6/traceback.py", line 159, in print_exc
print_exception(*sys.exc_info(), limit=limit, file=file, chain=chain)
File "/home/gagliard/phamx494/anaconda/lib/python3.6/traceback.py", line 100, in print_exception
type(value), value, tb, limit=limit).format(chain=chain):
File "/home/gagliard/phamx494/anaconda/lib/python3.6/traceback.py", line 497, in __init__
capture_locals=capture_locals)
File "/home/gagliard/phamx494/anaconda/lib/python3.6/traceback.py", line 332, in extract
if limit >= 0:
TypeError: '>=' not supported between instances of 'TypeError' and 'int'
Not sure where it goes wrong with the new update.
Thank you
The text was updated successfully, but these errors were encountered:
sunqm
added a commit
to sunqm/mpi4pyscf
that referenced
this issue
Feb 22, 2019
Hello,
Recently, I have updated the lasted PySCF 1.6 and mpi4pyscf. As a result, mpi4pyscf didn't work.
Not sure where it goes wrong with the new update.
Thank you
The text was updated successfully, but these errors were encountered: