Rate This Document
Findability
Accuracy
Completeness
Readability

Configuring the Compilation Environment

Prerequisites

The installation packages are uploaded to the server using an SFTP tool.

Configuration Process

Table 1 Configuration process

No.

Configuration Item

Remarks

1

Installing the BiSheng Compiler

See Installing and Using BiSheng Compiler.

Configuring the Environment

  1. Use PuTTY to log in to the server as the root user.
  2. Edit the environment variable file.
    vi ~/.bashrc
  3. Press i to enter the edit mode and run the following commands to load the BiSheng Compiler and Hyper MPI environment variables.
    export PATH=/opt/compiler/bisheng-compiler-1.3.3-aarch64-linux/bin:$PATH
    export LD_LIBRARY_PATH=/opt/compiler/bisheng-compiler-1.3.3-aarch64-linux/lib:$LD_LIBRARY_PATH

    Replace the previous installation paths with the actual ones.

  4. Press Esc, type :wq!, and press Enter to save the file and exit.
  5. Make the environment variables take effect.
    source  ~/.bashrc