Deploy and Run OSCAR - aaruni96/maps GitHub Wiki

MaPS Installation

Required Software

First install the pre requisite software.

APT based systems (Debian/Ubuntu/Mint/etc)

sudo apt install git libcairo2-dev gcc python3-dev libgirepository1.0-dev libostree-dev python3-venv libcap-dev autoconf meson ostree

DNF based systems (Fedora/RHEL/CentOS/etc)

sudo dnf install git cairo-devel gcc python3-devel gobject-introspection-devel ostree-devel libcap-devel autoconf cairo-gobject-devel meson ostree

pacman based systems (Arch Linux/Endeavour OS/Manjaro/etc)

sudo pacman -Sy base-devel cairo git gobject-introspection-runtime python3 ostree meson

MaPS

Clone maps to somewhere convenient.

$ git clone https://github.com/aaruni96/maps.git && cd maps

Setup a python venv, and install the python dependencies.

$ python3 -m venv .venv
$ source .venv/bin/activate
$ pip install -r requirements.txt

Check that MaPS works

$ python src/maps --list

Deploy OSCAR

Once MaPS is running deploy and run OSCAR.

$ python src/maps -d org.oscar_system.oscar/x86_64/latest
$ python src/maps -r org.oscar_system.oscar/x86_64/latest

This will launch a shell inside the OSCAR runtime. Then launch julia inside the runtime.

root@runtime:~# julia

oscar