Configuration Description
Prerequisites
The installation packages are 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 HDF5 |
See Installing HDF5. |
4 |
Installing NetCDF-C |
See Installing NetCDF-C. |
5 |
Installing NetCDF-Fortran |
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.1-aarch64-linux/bin:$PATH export LD_LIBRARY_PATH=/opt/compiler/bisheng-compiler-1.3.1-aarch64-linux/lib:$LD_LIBRARY_PATH export INCLUDE=/path/to/install/hmpi/include export PATH=/path/to/install/hmpi/bin:/path/to/install/ucx/bin:$PATH export OPAL_PREFIX=/path/to/install/hmpi/ export LD_LIBRARY_PATH=/path/to/install/hmpi/lib:/path/to/install/ucx/lib:$LD_LIBRARY_PATH
Replace the previous installation paths with the actual ones.
- Press Esc, enter :wq!, and press Enter to save the changes and exit.
- Make the environment variables take effect.
source ~/.bashrc
Parent topic: Configuring the Compilation Environment