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 OpenBLAS dependencies |
|
4 |
Installing Gnuplot |
See Installing Gnuplot. |
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=/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 export INCLUDE=/path/to/hypermpi/hmpi/include export PATH=/path/to/hypermpi/hmpi/bin:/path/to/hypermpi/ucx/bin:$PATH export OPAL_PREFIX=/path/to/hypermpi/hmpi/ export LD_LIBRARY_PATH=/path/to/hypermpi/hmpi/lib:/path/to/hypermpi/ucx/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