Installing OPTIMIZED-ROUTINES
Procedure
- Use PuTTY to log in to the server as the root user.
- Run the following command to decompress the OPTIMIZED-ROUTINES installation package:
tar -xvf optimized-routines-20.02.tar.gz
- Run the following command to switch to the directory generated after decompression:
cd optimized-routines-20.02
- Run the following command to create the MATH directory:
mkdir -p /path/to/MATH
- Run the following command to copy the configuration file:
cp config.mk.dist config.mk
- Run the following command to perform compilation and installation:
make -j16
- Run the following command to copy the related library file:
cp -r ./build/* /path/to/MATH
- Run the following commands to add MATH to environment variables:
export PATH=/path/to/MATH/bin:$PATH export LD_LIBRARY_PATH=/path/to/MATH/lib:$LD_LIBRARY_PATH
Parent topic: Configuring the Compilation Environment