Rate This Document
Findability
Accuracy
Completeness
Readability

Loading the OpenHPC Basic Environment

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Run the following command to install lmod-ohpc:

    yum install lmod-ohpc

  3. Run the following command for the installation to take effect:

    source /etc/profile.d/lmod.sh

  4. Modify the /root/.bashrc file.
    1. Open /root/.bashrc.

      vi /root/.bashrc

    2. Press i to enter the insert mode and modify the file as follows:
      module use /opt/ohpc/pub/modulefiles/
      module use /opt/ohpc/pub/moduledeps/gnu8/
      module use /opt/ohpc/pub/moduledeps/gnu8-openmpi3/
    3. Press Esc, type :wq!, and press Enter to save the file and exit.
  5. Run the following command to make the environment variables take effect:

    source /root/.bashrc