我要评分
获取效率
正确性
完整性
易理解

Running and Verifying the Estuary Case

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Run the following commands to create a test directory:
    mkdir -p /path/to/FVCOM/test
  3. Switch to the test directory.
    cd/path/to/FVCOM/test
  4. Run the following command to copy the test case to the current directory:
    cp -r /path/to/FVCOM/FVCOM4.1/Examples/Estuary/ ./
  5. Run the following command to switch to the run directory:
    cd ./Estuary/run
  6. Run the following command to edit the case input file:
    1. Open the test case input file.
      vi tst_run.nml
    2. Press i to enter the insert mode and add single quotation marks to tst_grd.dat.
      GRID_FILE = 'tst_grd.dat'
    3. Press Esc, type :wq!, and press Enter to save the file and exit.
  7. Run the following command to run the test:
    time mpirun -n 24 --allow-run-as-root --bind-to core /path/to/FVCOM/FVCOM4.1/FVCOM_source/fvcom --casename=tst
  8. Run the following command to view the current directory. After the command is executed successfully, the .nc result file is generated.
    
          
    Figure 1 Result example