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

Running and Verifying SWAN

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. 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
  3. Run the following commands to go to the directory and create a soft link:
    cd refract
    ln -s /path/to/SWAN/swan4131/swan.exe ./
  4. 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.
    Figure 1 Result example