Configuring the Compilation Environment
Prerequisites
The installation packages are uploaded to the server using an SFTP tool.
Configuration Process
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
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: BWA 0.7.17 Porting Guide (openEuler 21.03)