Rate This Document
Findability
Accuracy
Completeness
Readability

Installing ParMETIS

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Run the following command to decompress the ParMETIS installation package:
    tar -xvf parmetis-4.0.3.tar.gz
  3. Run the following command to switch to the directory containing the decompressed files:
    cd parmetis-4.0.3
  4. Run the following command to modify the metis/include/metis.h file:
    1. Open metis/include/metis.h.
      vi metis/include/metis.h
    2. Press i to enter the insert mode and modify the content in line 33.
      #define IDXTYPEWIDTH 64
    3. Press Esc, type :wq!, and press Enter to save the file and exit.
  5. Run the following command to install CMake.
    yum install cmake -y
  6. Run the following commands to go to the metis directory and compile and install METIS:
    cd metis/
    make config shared=1 prefix=/path/to/METIS
    make install
  7. Run the following commands to go to the upper-layer directory and perform compilation and installation:
    cd ../
    make config shared=1 prefix=/path/to/METIS
    make install