...
Info | ||
---|---|---|
| ||
ANAKIN: Is it possible to learn this power? Star Wars: Revenge of the Sith |
This tutorial is about working with IMAS in an isolated environment (containers), which you can instantiate anytime, copy and reuse with little effort on different machines. After this tutorial you will gain knowledge of:
...
- Create container:
~/.local/bin/udocker create --name=imas-gui imas/gui:3.24.0-4.2.0-2.5p4-3.0.5-4.6.5
- Run the default application (VNC server) with port mapping:
~/.local/bin/udocker run --publish 15901:5901 imas-gui
- In another terminal, open VNC viewer, connect to
localhost:15901
and useimas
as the password:vncviewer localhost:15901
- You will see XFCE4 Openbox desktop environment. Open terminal and run:
kepler
, with Kepler loading automatically (please wait until it is ready). - Design an example workflow like the one below (it reads , which will read pf_active IDS from shot 1 and run 1 as created by previous step):
- Run the workflow and notice that it fails due to lack of pulsefile with required content. This is because in the previous exercise you were running in the imas container, isolated from the imas-gui one.
- You can now do one of the following:
- Create the pulsefile again
- Run in another terminal in the Gateway:
~/.local/bin/udocker run imas /bin/bash
- Repeat step 4 from previous exercise
- Run in another terminal in the Gateway:
- Copy pulsefile between containers
- Run
cp ~/.udocker/containers/imas/ROOT/home/imas/public/imasdb/test/3/0/ids_10001.* ~/.udocker/containers/imas-gui/ROOT/home/imas/public/imasdb/test/3/0/
- Run
- Create the pulsefile again
- Start the workflow again. The expected result: