Rate This Document
Findability
Accuracy
Completeness
Readability

Compiling and Installing Code_Saturne

  1. Use PuTTY to log in to the server as the root user.
  2. Run the following commands to decompress the Code_Saturne installation package:
    tar -xvf v6.0.2.tar.gz
  3. Run the following command to switch to the directory generated after decompression:
    cd code_saturne-6.0.2
  4. Run the following command to start bootstrap:
    ./sbin/bootstrap
  5. 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"
  6. Run the following commands to perform compilation and installation:
    make -j 32
    make install
  7. Run the following command to set the Code_Saturne environment variable:
    export PATH=/path/to/CODE_SATURNE/bin:$PATH
  8. 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