Configuration Description
Prerequisites
The installation packages have been uploaded to the server using an SFTP tool.
Configuration Process
No. |
Configuration Item |
Remarks |
|---|---|---|
1 |
Installing the BiSheng Compiler |
|
2 |
Installing Hyper MPI |
|
3 |
Installing CMake |
See Installing CMake. |
4 |
Installing zstd |
See Installing zstd. |
Configuring the Environment
- Use PuTTY to log in to the server as the root user.
- Edit the environment variable file.
vi ~/.bashrc
- Press i to enter the edit 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
Replace the previous installation paths with the actual ones.
- Press Esc, type :wq!, and press Enter to save the file and exit.
- Make the environment variables take effect.
source ~/.bashrc
Parent topic: Configuring the Compilation Environment