Skip to content

Instantly share code, notes, and snippets.

@VioletVivirand
Last active October 19, 2021 00:22
Show Gist options
  • Save VioletVivirand/961e5025c621234b571af200b469d3fa to your computer and use it in GitHub Desktop.
Save VioletVivirand/961e5025c621234b571af200b469d3fa to your computer and use it in GitHub Desktop.
KinBot installation (Under construction)

KinBot Installation

πŸ‘·β€β™€οΈπŸš§πŸš§πŸš§πŸ‘· To strangers: this is a DRAFT. Don't do the same things as me!

Dependencies:

CMake3 offline installation

Install:

Dependencies:

$ yum install rhash-1.3.4-2.el7.x86_64.rpm
$ yum install libuv-1.42.0-2.el7.x86_64.rpm
$ yum install libzstd-1.5.0-1.el7.x86_64.rpm
$ yum install cmake3-3.17.5-1.el7.x86_64.rpm cmake3-3.17.5-1.el7.x86_64.rpm
# Build Open Babel
## Create Python Virtual Environment
If not, building process will find the Python intepretor by searching `python` and get Python 2.
```bash
# Create Python Virtual Environment
$ python3 -m venv .
# Activate it
$ source ./bin/activate
```
## Build Open Babel
Directory structure:
```bash
.
β”œβ”€β”€ build
└── openbabel-3.1.1
```
Build:
```bash
$ cd build
$ cmake3 ../openbabel-3.1.1 \
-DCMAKE_INSTALL_PREFIX=~/.openbabel \
-DPYTHON_BINDINGS=ON
$ make
# Error 1: no more space.
# Error 2: CMakeFiles/plugin_forcefields.dir/forcefields/forcefieldgaff.cpp.o:: File unrecognizable: File truncated
$ make install
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment