Problems using MPI capabilities #1363
Unanswered
RomanArmenta
asked this question in
Q&A
Replies: 1 comment 1 reply
-
I believe you have a too new version of jax with an older version of netket or mpi4jax. pip install -U netket mpi4jax flax chex optax should fix it |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone. I have been working with Netket for some time now, but I have never used its MPI capabilities because I'm unfamiliar with it. If I run the following code in the terminal, I get an error.
If I run this code with
mpirun -np 2 python3 my_code.py
, I get the following error:So this arises some questions:
1- Am I doing the coding right or it is an installation problem?
2- Can I take advantage of MPI capabilities to run two - or more - optimization processes? I mean, if I want to get the ground state of two different set of parameters of the J1-J2 model, can I do it at the same time with MPI?
Beta Was this translation helpful? Give feedback.
All reactions