1. cannot install mpi4py

cannot install mpi4py

Home Forums FABRIC General Questions and Discussion cannot install mpi4py

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #6577
    Ze Yang
    Participant

      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! 

      #6581
      Komal Thareja
      Participant

        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

        1 user thanked author for this post.
      Viewing 2 posts - 1 through 2 (of 2 total)
      • You must be logged in to reply to this topic.