Running and Verification
Procedure (Using Estuary as an Example)
- Use PuTTY to log in to the server as the root user.
- Create a test directory.
mkdir -p /path/to/FVCOM/test
- Go to the test directory.
cd /path/to/FVCOM/test
- Copy the test case to the current directory.
cp -r /path/to/FVCOM/FVCOM4.1/Examples/Estuary/ ./
- Go to the run directory.
cd ./Estuary/run
- Edit the test case input file.
- Open the test case input file.
vi tst_run.nml
- Press i to enter the edit 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.
- Go to the /path/to/FVCOM/test/Estuary/tstinp directory and run the following command:
dos2unix tst_grd.dat
- 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
- View the current directory. After the command is executed successfully, an .nc result file is generated.
ll

Parent topic: FVCOM 4.1 Porting Guide (openEuler 21.03)