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

Running and Verification

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Go to the test directory.
    cd /path/to/SPECFEM3D_ GLOBE/specfem3d_globe-7.0.0
  3. Perform the single-node test.
    mpirun --allow-run-as-root -np 64 --mca btl ^openib ./bin/xmeshfem3D
    mpirun --allow-run-as-root -np 64 --mca btl ^openib ./bin/xspecfem3D
    vim OUTPUT_FILES/output_solver.txt

    If the following information is displayed, the running is successful:

  4. If the test must be performed on more than one node, edit the hostfile file.
    1. Open the hostfile file.
      vi hostfile
    2. Press i to enter the edit mode and modify the file as follows:
      Node1
      Node2

      Node1 and Node2 are the node names. Change them based on the site requirements and ensure that the nodes can ping each other.

    3. Press Esc, enter :wq!, and press Enter to save the changes and exit.
  5. Perform the multiple-node test.
    mpirun --allow-run-as-root -x PATH=$PATH -x LD_LIBRARY_PATH=$LD_LIBRARY_PATH --hostfile hostfile -np 32 –N 16 --mca btl ^openib ./bin/xmeshfem3D
    mpirun --allow-run-as-root -x PATH=$PATH -x LD_LIBRARY_PATH=$LD_LIBRARY_PATH –np 32 -N 16 --mca btl ^openib ./bin/xspecfem3D

    Parameter

    Description

    -np

    Total number of processes used in the test.

    -N

    Number of processes running on each server.

    --hostfile

    Name of the node to be used.