Installing Spglib
Procedure
- Use PuTTY to log in to the server as the root user.
- Run the following command to decompress the Spglib installation package:
tar -xvf spglib-1.12.2.tar.gz
- Run the following command to switch to the directory generated after decompression:
cd spglib-1.12.2
- Run the following commands to create a build directory and switch to the directory:
mkdir build cd build
- Run the following command to perform configuration:
cmake .. -DCMAKE_INSTALL_PREFIX="/path/to/EXTRA/spglib112"
- Run the following commands to perform compilation:
make -j make install
Parent topic: Configuring the Compilation Environment