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

Running and Verification

Procedure (Using Estuary as an Example)

  1. Use PuTTY to log in to the server as the root user.
  2. Create a test directory.
    mkdir -p /path/to/FVCOM/test
  3. Go to the test directory.
    cd /path/to/FVCOM/test
  4. Copy the test case to the current directory.
    cp -r /path/to/FVCOM/FVCOM4.1/Examples/Estuary/ ./
  5. Go to the run directory.
    cd ./Estuary/run
  6. Edit the test case input file.
    1. Open the test case input file.
      vi tst_run.nml
    2. Press i to enter the edit 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. Go to the /path/to/FVCOM/test/Estuary/tstinp directory and run the following command:
    dos2unix tst_grd.dat
  8. Go to the /path/to/FVCOM/test/Estuary/run directory and run the following command:
    time mpirun -n 24 --allow-run-as-root --bind-to core /path/to/FVCOM/FVCOM4.1/FVCOM_source/fvcom --casename=tst
  9. View the current directory. After the command is executed successfully, an .nc result file is generated.

    ll