我要评分
获取效率
正确性
完整性
易理解

(Optional) Configuring a Shared Directory

If OpenMPI and IMB are deployed in a shared directory or file system, skip this procedure.

Procedure

  1. Use PuTTY to log in to the server where OpenMPI and IMB are installed as the root user.
  2. Run the following command on the server where OpenMPI and IMB are installed:
    1. vi /etc/exports
    2. Press i to enter the editing mode and add the following content to the end of the /etc/exports file:
      /home *(rw,no_root_squash,sync)
    3. Press Esc, enter :wq!, and press Enter to save the changes and exit.
    4. systemctl restart nfs
    5. systemctl enable nfs
  3. Use PuTTY to log in to other servers as the root user.
  4. Run the following commands on other test nodes to share the directory with other test nodes:

    mkdir /home/OpenMPI

    mkdir /home/mpi-benchmarks-master

    mount -t nfs NFS server IP address:/home/OpenMPI /home/OpenMPI

    mount -t nfs NFS server IP address:/home/mpi-benchmarks-master /home/mpi-benchmarks-master