Running and Verification
Procedure
- Use PuTTY to log in to the server as the root user.
- Run the following command to start a benchmark test:
cd /path/to/MOM/MOM6-examples/ocean_only/benchmark/
- Run the following commands to modify the case scale:
cat << EOF >> MOM_override #override NIGLOBAL = 720 #override NJGLOBAL = 360 EOF
- Run the following commands to modify the case time:
cat << EOF >> input.nml &ocean_solo_nml months = 0 days = 20 / EOF - Run the following command to create a RESTART directory:
mkdir RESTART
- Run the following command to start a benchmark test:
{ time -p mpirun --allow-run-as-root -np 128 -mca btl ^openib ../../build/gnu/ocean_only/repro/MOM6 > mom.log ;} 2>>mom.logView the value of real in the mom.log log. A smaller value indicates a higher performance.
Figure 1 shows an example output.
Parent topic: MOM 6 Porting Guide (CentOS 7.6)
