Compilation and Installation
Procedure
- Use PuTTY to log in to the server as the root user.
- Go to the source package directory.
cd /path/to/sundials
- Decompress the installation package and go to the directory generated after the decompression.
tar xvf sundials-6.3.0.tar.gz cd sundials-6.3.0
- Create a build directory and go to it.
mkdir build cd build
- Create a build file.
export CC=clang CXX=clang++ FC=flang cmake .. -DCMAKE_INSTALL_PREFIX=/path/to/sundials -DEXAMPLES_INSTALL_PATH=/path/to/sundials/examples
- Perform the compilation and installation.
make -j make install
Parent topic: SUNDIALS 6.3.0 Porting Guide (Kylin V10)