Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
safl committed Apr 2, 2015
1 parent 4b0e8ba commit b3628dc
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 50 deletions.
1 change: 1 addition & 0 deletions doc/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Contents:
.. toctree::
:maxdepth: 2

install
tools
benchmarks

Expand Down
47 changes: 47 additions & 0 deletions doc/source/install.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
============
Installation
============

Benchpress is distributed via PyPi and Github. Which means that you can install it as a Python package (from PyPi) or use it directly from an unpacked tarball or git-clone from Github.com.
The installation method of choice is based on what you want to do with Benchpress. Recommendations are as follows.

* Install Benchpress as a Python packages from PyPi if your sole intent is to `run` benchmarks.
* Use benchpress directly from clone/tarball if you intend to modify it. Such as adding benchmarks, changing commands or benchmark suites.

.. note:: Benchpress is designed to work, with minimal friction, in an environment where the user has limited system permissions. Such as shared computing environments, clusters and supercomputers. A system-wide installation of Benchpress is therefore untested. However, it should work if write permission is assigned to Benchpress users for the ``benchmarks`` folder.


From pypi.python.org
--------------------

The following shows how to do a user-mode / local installation::

pip install benchpress --user

Extend your ``$PATH``, such that the commands (`bp_info`, `bp_run`, `bp_times`, `bp_compile`, `and bp_grapher`) are readily available::

export PATH=$PATH:$HOME/.local/bin

When you are done using Benchpress, purging it from your system is as easy as::

pip uninstall benchpress

From clone or tarball
---------------------

Clone the repos::

git clone git@bitbucket.org:bohrium/benchpress.git
cd benchpress

or download and unpack a tarball::

wget https://bitbucket.org/bohrium/benchpress/get/master.tar.gz
tar xzvf master.tar.gz
cd bohrium-benchpress-*

For Benchpress to operate correctly you `must` extend the two ``PATH`` and ``PYTHONPATH``. Extend ``PATH`` to include the subfolder ``bin`` and extend ``PYTHONPATH`` to include the subfolder ``module``. You can do this in whatever way your system requires, you will most likely be able to do the following::

source util/setbpenv.bash

Make sure you persists the changes.
50 changes: 0 additions & 50 deletions doc/source/tools.rst
Original file line number Diff line number Diff line change
@@ -1,54 +1,4 @@
=====
Tools
=====

Installation
============

Benchpress is distributed via PyPi and Github. Which means that you can install it as a Python package (from PyPi) or use it directly from an unpacked tarball or git-clone from Github.com.
The installation method of choice is based on what you want to do with Benchpress. Recommendations are as follows.

* Install Benchpress as a Python packages from PyPi if your sole intent is to `run` benchmarks.
* Use benchpress directly from clone/tarball if you intend to modify anything. Such as adding benchmarks, changing commands or benchmark suites.

.. note:: Benchpress is designed to work, with minimal friction, in an environment where the user has limited system permissions. Such as shared computing environments eg. clusters and supercomputers. A system-wide installation of Benchpress is untested, however, it should work if you assign write permission, for Benchpress users, to the ``benchmarks`` subfolder.


From pypi.python.org
--------------------

The following shows how to do a user-mode / local installation::

pip install benchpress --user

Extend your ``$PATH``, such that the commands (`bp_info`, `bp_run`, `bp_times`, `bp_compile`, `and bp_grapher`) are readily available::

export PATH=$PATH:$HOME/.local/bin

When you are done using Benchpress, purging it from your system is as easy as::

pip uninstall benchpress

From clone or tarball
---------------------

Clone the repos::

git clone git@bitbucket.org:bohrium/benchpress.git
cd benchpress

or download and unpack tarball::

wget https://bitbucket.org/bohrium/benchpress/get/master.tar.gz
tar xzvf master.tar.gz
cd bohrium-benchpress-*

For Benchpress to operate correctly you `must` extend the two ``PATH`` and ``PYTHONPATH``. Extend ``PATH`` to include the subfolder ``bin`` and extend ``PYTHONPATH`` to include the subfolder ``module``. You can do this in whatever way your system requires, you will most likely be able to do the following::

source util/setbpenv.bash

Make sure you persists the changes.

Usage
=====

Expand Down

0 comments on commit b3628dc

Please sign in to comment.