Moving SPBench
==============

.. _moving:

Here we discuss how to move SPBench somewhere else, which could be another directory or another computer.

There is no easy way to move the entire SPBench since all libraries are installed locally. 
So if its path is changed in any way, you have to reinstall all the libraries again, using the ``./spbench install`` command.

However, there is also a very common situation: a user has created new benchmarks in SPBench, or modified existing benchmarks and wants to move just these benchmarks to run on a remote machine.

For these scenarios, there is a simple solution. Just copy the ``/benchmarks`` directory and replace it in the root of SPBench on the other machine. 
Of course, SPBench needs to be installed on this other machine as well.

.. figure:: img/move_benchmark.jpg
   :align: center
   :alt: Moving benchmark ilustration
