Running and Verification
Procedure
- Use PuTTY to log in to the server as the root user.
- Run the following command to go to the RUNS directory:
cd /path/to/BIFROST/Bifrost_bench_v1.1.1/RUNS
- Run the following command to create a hostfile file:
- Create hostfile.
vi hostfile
- 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.
- Press Esc, type :wq!, and press Enter to save the file and exit.
- Create hostfile.
- Open another login window and use PuTTY to log in to node 2 as the root user.
- On node 2, run the following command to configure environment variables:
- Open .bashrc.
vi /root/.bashrc
- 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
- Press Esc, type :wq!, and press Enter to save the file and exit.
- Open .bashrc.
- 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.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.
Parent topic: Bifrost V1.1.1 Porting Guide (CentOS 7.6)

