Installing OPTIMIZED-ROUTINES
Procedure
- Use PuTTY to log in to the server as the root user.
- Decompress the OPTIMIZED-ROUTINES installation package.
tar -xvf optimized-routines-20.02.tar.gz
- Go to the directory generated after the decompression.
cd optimized-routines-20.02
- Create a MATH directory.
mkdir -p /path/to/MATH
- Copy the configuration file.
cp config.mk.dist config.mk
- Modify the config.mk file.
- Perform the compilation and installation.
make
- Copy the library file.
cp -r ./build/* /path/to/MATH
- Add MATH to the 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
