Running and Verifying the Estuary Case
Procedure
- Use PuTTY to log in to the server as the root user.
- Run the following commands to create a test directory:
mkdir -p /path/to/FVCOM/test
- Switch to the test directory.
cd/path/to/FVCOM/test
- Run the following command to copy the test case to the current directory:
cp -r /path/to/FVCOM/FVCOM4.1/Examples/Estuary/ ./
- Run the following command to switch to the run directory:
cd ./Estuary/run
- Run the following command to edit the case input file:
- Open the test case input file.
vi tst_run.nml
- Press i to enter the insert mode and add single quotation marks to tst_grd.dat.
GRID_FILE = 'tst_grd.dat'
- Press Esc, type :wq!, and press Enter to save the file and exit.
- Open the test case input file.
- 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
- 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
Parent topic: Running and Verifying FVCOM