Rate This Document
Findability
Accuracy
Completeness
Readability

Running and Verification

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Run the following command to go to the RUNS directory:
    cd /path/to/BIFROST/Bifrost_bench_v1.1.1/RUNS
  3. Run the following command to create a hostfile file:
    1. Create hostfile.
      vi hostfile
    2. Press i to enter the insert mode and add the following content:
      node1
      node2

      In the preceding command, node1 and node2 are the host names of the test servers. Change them based on the site requirements.

    3. Press Esc, type :wq!, and press Enter to save the file and exit.
  4. Open another login window and use PuTTY to log in to node 2 as the root user.
  5. On node 2, run the following command to configure environment variables:
    1. Open .bashrc.
      vi /root/.bashrc
    2. Press i to enter the insert mode, and add the following content to the end of the .bashrc file:
      export PATH=/path/to/GNU/bin:/path/to/OPENMPI/bin:$PATH
      export LD_LIBRARY_PATH=/path/to/GNU/lib64:/path/to/OPENMPI/lib:$LD_LIBRARY_PATH
    3. Press Esc, type :wq!, and press Enter to save the file and exit.
  6. On node 1, run the following command to start the Bifrost program:
    mpirun --allow-run-as-root -np 192 -N 96 -hostfile hostfile photo_tr.x 2>&1 | tee -a Bifrost.out
    Table 1 Parameters

    Parameter

    Description

    -np

    Total number of processes in use

    -N

    Number of processes running on each server

    -hostfile

    Host name of the node in use

    If the information shown in Figure 1 is displayed at the end of the generated log file Bifrost.out after 500 iterations, the Bifrost program is running properly.
    Figure 1 Result example

    Check the value of Mz/s (unit: Mz/s) in the Bifrost.out log. A greater value indicates better performance.

    Figure 2 shows the command output.

    Figure 2 Result example