Running and Verifying SWAN
Procedure
- Use PuTTY to log in to the server as the root user.
- Run the following commands to create a test case directory and upload the test case package to the directory:
mkdir -p /path/to/SWAN/swan-testcse cd /path/to/SWAN/swan-testcse tar -zxvf refrac.tar.gz
- Run the following commands to go to the directory and create a soft link:
cd refract ln -s /path/to/SWAN/swan4131/swan.exe ./
- Run the following commands to run the case:
cp a11refr.swn INPUT time mpirun --allow-run-as-root -np 40 ./swan.exe
Figure 1 shows an example of the CPU running time.
Parent topic: SWAN 41.31 Porting Guide (CentOS 7.6)
