Installing ParMETIS
Procedure
- Use PuTTY to log in to the server as the root user.
- Run the following command to decompress the ParMETIS installation package:
tar -xvf parmetis-4.0.3.tar.gz
- Run the following command to switch to the directory containing the decompressed files:
cd parmetis-4.0.3
- Run the following command to modify the metis/include/metis.h file:
- Open metis/include/metis.h.
vi metis/include/metis.h
- Press i to enter the insert mode and modify the content in line 33.
#define IDXTYPEWIDTH 64
- Press Esc, type :wq!, and press Enter to save the file and exit.
- Open metis/include/metis.h.
- Run the following command to install CMake.
yum install cmake -y
- 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
- 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
Parent topic: Configuring the Compilation Environment