jcmgray / quimb

A python library for quantum information and many-body calculations including tensor networks.
http://quimb.readthedocs.io
Other
455 stars 107 forks source link

"For the moment, quimb programs using `get_mpi_pool` need to be explicitly launched using `quimb-mpi-python`." #172

Open ikhompyutha opened 1 year ago

ikhompyutha commented 1 year ago

What is your issue?

Hello,

When running through this example, I get the following error when trying to run pool = qu.linalg.mpi_launcher.get_mpi_pool()

image

What would be the solution to this? I believe this might potentially affect other examples using the get_mpi_pool() function. Currently I am using quimb verision 1.4.3.dev73+g5b3c7c1.

jcmgray commented 1 year ago

The mpi spawning behavior of quimb is due to be removed at some point. Which means running the get_mpi_pool examples in a notebook rather than under quimb-mpi-python is currently not supported. Apologies for the confusion.