installing.rst 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. .. _installing:
  2. Installing
  3. ==========
  4. There are a few things you have to do to install QCGPU.
  5. Prerequisites
  6. -------------
  7. - `OpenCL`_ (Ensure that an OpenCL implementation is installed for your
  8. platform and that ``clinfo`` or some other diagnostic command will
  9. run).
  10. - `Python`_ (Version 2.7 or later).
  11. Installing from PyPI
  12. --------------------
  13. This library is distributed on `PyPI`_ and can be installed using pip:
  14. .. code:: bash
  15. $ pip install qcgpu
  16. If you run into any issues, you should try installing from source.
  17. Installing from Source
  18. ----------------------
  19. You can install QCGPU from the source. First, clone the repository off
  20. GitHub:
  21. .. code:: bash
  22. $ git clone https://github.com/qcgpu/qcgpu
  23. Then you will need to ``cd`` into the directory, and install the
  24. requirements.
  25. .. code:: bash
  26. $ pip install -r requirements.txt
  27. And finally you can install:
  28. .. code:: bash
  29. $ python setup.py install
  30. .. _OpenCL: https://www.khronos.org/opencl/
  31. .. _Python: https://www.python.org/
  32. .. _PyPI: https://pypi.python.org/pypi/qcgpu