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 HDF5 |
See Installing HDF5. |
4 |
Installing NetCDF-C |
See Installing NetCDF-C. |
5 |
Installing NetCDF-Fortran |
|
6 |
Installing PnetCDF |
See Installing PnetCDF. |
7 |
Installing OpenBLAS |
See Installing OpenBLAS. |
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 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
- Press Esc, type :wq!, and press Enter to save the file and exit.
- Make the environment variables take effect.
source ~/.bashrc
When installing the BiSheng Compiler, specify the compilation parameter.
CC=clang CXX=clang++ FC=flang
Parent topic: Configuring the Compilation Environment