(Optional) Configuring a Shared Directory
If OpenMPI and IMB are deployed in a shared directory or file system, skip this procedure.
Procedure
- Use PuTTY to log in to the server where OpenMPI and IMB are installed as the root user.
- Run the following command on the server where OpenMPI and IMB are installed:
- vi /etc/exports
- 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)
- Press Esc, enter :wq!, and press Enter to save the changes and exit.
- systemctl restart nfs
- systemctl enable nfs
- Use PuTTY to log in to other servers as the root user.
- 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
Parent topic: Software Installation and Environment Configuration