我要评分
获取效率
正确性
完整性
易理解

Compilation and Installation

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Run the following command to configure the environment variables:
    export CC=mpicc
    export CXX=mpicxx
    export F90=mpif90
    export F77=mpif77
    export FC=mpif90
  3. Run the following command to go to the scripts directory of MOOSE:
    cd  /path/to/MOOSE/moose/scripts
  4. Run the following command to install petsc:
    ./update_and_rebuild_petsc.sh
  5. Run the following command to install libmesh:
    ./update_and_rebuild_libmesh.sh
  6. Run the following command to go to the test directory:
    cd /path/to/MOOSE/moose/test
  7. Run the following command to perform the compilation:
    make -j 16