OpenJij needs cmake >= 3.12.2
Install newest CMake
$ brew install cmake or $ pip install cmake
# if you installed old version by apt-get $ apt-get purge cmake # install cmake $ wget https://cmake.org/files/v3.13/cmake-3.13.2.tar.gz $ tar xvf cmake-3.13.2.tar.gz $ cd cmake-3.13.2 $ ./bootstrap && make && sudo make install
$ pip install openjij
$ git clone firstname.lastname@example.org:OpenJij/OpenJij.git $ cd openjij $ python setup.py install
It has been reported that the installation of OpenJij may fail on Windows. We recommend using Linux through WSL.
If a CUDA compiler is found during installation, OpenJij will automatically compile for the GPU. Compiling for GPU is planned to be optional, but it is not yet implemented (2019/11).