Running and Verification
- Determine the number of running processes based on the server configuration.
- If multiple nodes are running, configure the network environment:
- In the /etc/hosts file, add the IP addresses and host names of the servers.
- Enable password-free SSH login between the servers.
- Disable the firewall and ensure that clients and servers are not disconnected.
Procedure
- Use PuTTY to log in to the server as the root user.
- Go to the working directory.
cd /path/to/ROMS/ROMSProjects/upwelling
- Start the program.
mpirun --allow-run-as-root -n 8 ./romsM roms_upwelling.in
Check the value of Node# CPU: (unit: s) in the log file. A smaller value indicates higher performance.
Figure 1 shows the command output.
Parent topic: ROMS 4.0 Porting Guide (openEuler 21.03)
