Running and Verification
Procedure
- Use PuTTY to log in to the server as the root user.
- Run the following commands to decompress the compute instance files:
cd /path/to/CASE tar xzvf v6-50-specific-inputs-180430.tgz tar xzvf CAMx6-x-test_run-inputs_met-140402.tgz tar xzvf CAMx6-30-test_run-inputs_other-160408.tgz
- Run the following commands to copy the test script:
cd runfiles cp CAMx_v6.50.midwest.36.12.20020506-07.MPICH2.job openmpi4.job
- Run the following command to modify the test script:
- Open the test script.
vi openmpi4.job
- Press i to enter the insert mode and modify the test script. Pay attention to the information in bold.
set EXEC = "/path/to/CAMX/CAMX_v6-50/CAMx.v6.50.openMPI.gfortranomp" cat << ieof > nodes 192.168.47.111 set NUMPROCS = 96 #mpdboot -n $RING -f nodes --verbose if( ! { mpirun --allow-run-as-root --mca btl_openib_allow_ib 1 -machinefile nodes -np $NUMPROCS $EXEC } ) then #mpdallexit exit endif - Press Esc, type :wq!, and press Enter to save the file and exit.
- Open the test script.
- Run the compute instances.
./openmpi4.job
Check the value of days/ns in the last Info:Benchmark time in the log. The unit is days/ns. A smaller value indicates better performance. You can also convert the value to the value of ns/days. A higher value indicates better performance.
Figure 1 shows the command output.
Parent topic: CAMx 6.50 Porting Guide (CentOS 7.6)
