Compiling and Installing Code_Saturne
- Use PuTTY to log in to the server as the root user.
- Run the following commands to decompress the Code_Saturne installation package:
tar -xvf v6.0.2.tar.gz
- Run the following command to switch to the directory generated after decompression:
cd code_saturne-6.0.2
- Run the following command to start bootstrap:
./sbin/bootstrap
- Run the following command to perform configuration:
CC=mpicc FC=mpifort CXX=mpicxx ./configure --prefix=/path/to/CODE_SATURNE --with-blas-lib=/usr/lib64 --with-hdf5=/path/to/HDF5 --with-scotch=/path/to/SCOTCH --with-metis=/path/to/METIS --with-med=/path/to/MED --enable-shared --with-mpi CXXFLAGS="-O3 -std=c++11 -march=armv8.2-a -mtune=tsv110"
- Run the following commands to perform compilation and installation:
make -j 32 make install
- Run the following command to set the Code_Saturne environment variable:
export PATH=/path/to/CODE_SATURNE/bin:$PATH
- Run the following command to check whether Code_Saturne is installed successfully:
which code_saturne
If the following information is displayed, the installation is successful:
/path/to/CODE_SATURNE/bin/code_saturne
Parent topic: Code_Saturne 6.0.2 Porting Guide (CentOS 7.6)