Rate This Document
Findability
Accuracy
Completeness
Readability

Compilation and Installation

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Create and go to the main program installation directory.
    mkdir -p /path/to/SPECFEM3D_GLOBE
    cd /path/to/SPECFEM3D_GLOBE
  3. Decompress the source package and go to the source code directory.
    tar -xzvf specfem3d_globe-7.0.0.tar.gz
    cd specfem3d_globe-7.0.0
  4. Generate a configuration file.
    ./configure FC=mpif90 CC=mpicc CXX=mpicxx
  5. Modify the Par_file file.
    1. Open the Par_file file.
      vi DATA/Par_file
    2. Press i to enter the edit mode and modify lines 23 and 24 of the file.

      Before the modification:

      NPROC_XI = 2
      NPROC_ETA = 2

      After the modification:

      NPROC_XI = 8
      NPROC_ETA = 8

      After performing 5.a, press Esc, type :set nu, and press Enter to display the line number.

    3. Press Esc, enter :wq!, and press Enter to save the changes and exit.
  6. Perform the compilation.
    make