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 commands to create and go to the working directory:
    mkdir /path/to/WW3_TEST
    cd /path/to/WW3_TEST
  3. Download the test case and copy it to the /path/to/WW3_TEST directory.
  4. Run the following commands to decompress the package:
    tar -xvf ww3_from_ftp.v6.07.tar.gz
    cd cases
  5. Run the following commands to set environment variables:
    source /path/to/WAVEWATCH/WW3-6.07.1/env_ww3.sh
    export ww3_dir=/path/to/WAVEWATCH/WW3-6.07.1/model
  6. Run the following commands to modify the mww3_case_01 file:
    1. Open mww3_case_01.
      vi  mww3_case_01
    2. Press i to enter the insert mode and modify the file as follows:
      Line 61:
      #cd /scratch1/portfolios/NCEPDEV/ocean/noscrub/Henrique.Alves/WW3_CASES/cases
      Line 65:
      #module load intel mpt grads
      Line 72:
      compstr="Gnu"
      Line 143:
      #ww3_dir='echo $case_dir | sed 's/\/cases\/*//g''
      Line 138:
      proc=96
      Line 420:
      mpirun --allow-run-as-root --mca btl ^openib -np $proc --hostfile /path/to/WW3_TEST/hostfile $path_e/ww3_multi
    3. Press Esc, type :wq!, and press Enter to save the file and exit.
  7. Run the following command to create a host file:
    1. Create host.
      vi hostfile
    2. Press i to enter the insert mode and add the following content:
      node1
      node2
    3. Press Esc, type :wq!, and press Enter to save the file and exit.
  8. Open another login window and use PuTTY to log in to node 2 as the root user.
  9. 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.
  10. On node 1, run the following command to start the WAVEWATCH III program:
    ./mww3_case_01
    If the information shown in Figure 1 is displayed when the WAVEWATCH III program is complete, the WAVEWATCH III program is running properly.
    Figure 1 Result example

    Check the value of Elapsed time in the work_case_01/log.mww3 log file. The unit is second. A smaller value indicates better performance.

    Figure 2 shows the command output.

    Figure 2 Result example