Rate This Document
Findability
Accuracy
Completeness
Readability

Configuration Description

Prerequisites

The installation packages have been 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.

2

Installing Hyper MPI

See Hyper MPI 1.0.2 Operation Guide.

4

Installing FFTW

See Installing FFTW.

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 insert mode and run the following commands to load the BiSheng Compiler and Hyper MPI environment variables.
    export PATH=/path/to/BISHENG/bin:/path/to/HMPI/bin:$PATH
    export LD_LIBRARY_PATH=/path/to/BISHENG/lib:/path/to/HMPI/lib:$LD_LIBRARY_PATH
  4. Press Esc, type :wq!, and press Enter to save the file and exit.
  5. Make the environment variables take effect.
    source  ~/.bashrc

    When installing the BiSheng Compiler, specify the compilation parameter.

    CC=clang CXX=clang++ FC=flang