- This topic has 1 reply, 2 voices, and was last updated 9 months, 1 week ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Home › Forums › FABRIC General Questions and Discussion › cannot install mpi4py
Hi,
When I ran “pip install mpi4py” to install mpi4py, errors “Failed to build mpi4py ERROR: Failed building wheel for mpi4py” pops out.
The image I used is ‘default_ubuntu_22’.
And would it be possible for me to know how to ssh to the node directly and use terminal to run command interactively? It is inconvenient to use node.execute() to run command.
Thank you!
Hello Ze,
If VM is created via JH, in the list of Nodes/VM, there is a column which displays the SSH command that can be used to SSH to VM. Please use the SSH command to VMs.
Also, following commands may be useful to install mpi4py.
sudo apt update -y
sudo apt-get -y install python3-pip
sudo apt install mpich
sudo apt install libopenmpi-dev
sudo pip3 install mpi4py
NOTE: Please refer to https://learn.fabric-testbed.net/knowledge-base/generating-ssh-configuration-and-ssh-keys/#using-ssh-to-access-your-vms for more guidance on SSH to VMs.
Thanks,
Komal