Rate This Document
Findability
Accuracy
Completeness
Readability

Running and Verification

  • Determine the number of running processes based on the server configuration.
  • If multiple nodes are running, configure the network environment:
    • In the /etc/hosts file, add the IP addresses and host names of the servers.
    • Enable password-free SSH login between the servers.
    • Disable the firewall and ensure that clients and servers are not disconnected.

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Go to the working directory.
    cd /path/to/NEMO/NEMO/releases/release-3.6/NEMOGCM/CONFIG/MY_AMM12/EXP00
  3. Upload AMM12_v3.6.tar to /path/to/NEMO/NEMO/releases/release-3.6/NEMOGCM/CONFIG/MY_AMM12/EXP00.
  4. Decompress the file.
    tar -vxf AMM12_v3.6.tar
    gunzip *.gz */*.gz
    rm domain_def.xml field_def.xml namelist_ref -f
    ln -s ../../SHARED/domain_def.xml ./domain_def.xml
    ln -s ../../SHARED/field_def.xml ./field_def.xml
    ln -s ../../SHARED/namelist_ref ./namelist_ref
  5. Create a host file.
    1. Create a host file.
      vi hostfile
    2. Press i to enter the edit mode and add the following content:
      node1
      node2
    3. Press Esc, type :wq!, and press Enter to save the file and exit.
  6. Start the NEMO program.
    { time mpirun --allow-run-as-root -np 16 -N 8 -hostfile hostfile --mca btl ^openib ./opa ; } 2>&1 | tee -a NEMO.log
    Table 1 Parameter description

    Parameter

    Description

    -np

    Total number of processes used in the test.

    -N

    Number of processes running on each server.

    --hostfile

    Name of the node to be used.

    If you want to run the program on a single node, delete the --hostfile parameter.

    If the information shown in the following figure is displayed at the end of the ocean.output log generated by NEMO, the NEMO program stops normally.

    Check the value of real (unit: s) in the NEMO.log file. A larger value indicates lower performance.