Running and Verification
Procedure
- Use PuTTY to log in to the server as the root user.
- Go to the test directory.
cd /path/to/MOOSE/moose/test/tests/preconditioners/hmg
- 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.

- Single node
Parent topic: MOOSE 1.0.0 Porting Guide (openEuler 21.03)