This is an old revision of the document!


See also oar-docker.

Pierre

I'm currently using Debian 8 (jessie) as my operating system, and since I do not like to install python packages in my system outside of Debian packaging, I use the –user option of pip.

But first I need to install pip from Debian… Then I use it to install the latest version from python:

$ sudo apt-get install python-pip
$ pip install --user --upgrade pip

I can then install oar-docker

$ pip install --user oar-docker

Then I use oardocker directly in OAR sources:

$ cd scm/OAR/oar/
$ oardocker init -e jessie
[...]
$ oardocker build
[...]
[...]
[...]
$ oardocker install .
[...]
$ oardocker start -v $PWD:/mnt
[...]

Then I can play with my nodes:

$ oardocker connect frontend
docker$ oarsub -I
[...]

And even update my install of OAR (does not survive a oardocker stop/start)

$ oardocker connect server
docker$ sudo -s -H
root$ cd /mnt
root$ make server-clean server-install
[...]

Finally, the drawgantt svg web interface is here: http://localhost:48080/drawgantt-svg/

Pierre Neyron 2015/05/06 18:23

wiki/how_i_work_with_oar-docker.1430930548.txt.gz · Last modified: 2015/05/06 18:42 by neyron
Recent changes RSS feed GNU Free Documentation License 1.3 Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki