Rate This Document
Findability
Accuracy
Completeness
Readability

Installing OPTIMIZED-ROUTINES

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Run the following command to decompress the OPTIMIZED-ROUTINES installation package:
    tar -xvf optimized-routines-20.02.tar.gz
  3. Run the following command to switch to the directory generated after decompression:
    cd optimized-routines-20.02
  4. Run the following command to create the MATH directory:
    mkdir -p /path/to/MATH
  5. Run the following command to copy the configuration file:
    cp config.mk.dist config.mk
  6. Run the following command to perform compilation and installation:
    make -j16
  7. Run the following command to copy the related library file:
    cp -r ./build/* /path/to/MATH
  8. 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