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

Running and Verification

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Go to the test directory.
    cd /path/to/MOOSE/moose/test/tests/preconditioners/hmg
  3. Perform the test.
    • Single node
      time -p mpirun --allow-run-as-root -n 8 /path/to/MOOSE/moose/test/moose_test-opt -i diffusion_hmg.i Mesh/dmg/dim=3 Mesh/dmg/nz=100 Outputs/file_base=diffusion_hmg_3d_out -log_view --error --error-unused --error[1]override --no-gdb-backtrac

    • Multiple nodes
      time -p mpirun --allow-run-as-root -n 16 --hostfile hostfile /path/to/MOOSE/moose/test/moose_test-opt -i diffusion_hmg.i Mesh/dmg/dim=3 Mesh/dmg/nz=100 Outputs/file_base=diffusion_hmg_3d_out -log_view --error --error[1]unused --error-override --no-gdb-backtrace

      The -np parameter indicates the total number of processes. Set this parameter based on the server configuration. For the multi-node configuration, --hostfile is the list of node names. Create a hostfile file in the current directory and write the host names of the nodes into the file.