...
Create a container and start a shell in it:
Docker on your own computer:
Code Block language bash docker run --interactive --tty --name imas imas/fc2k
uDocker on Gateway:
Code Block language bash ~/.local/bin/udocker create --name=imas imas/fc2k ~/.local/bin/udocker run --user root imas pip install 'matplotlib<3' ~/.local/bin/udocker run --user root imas pip3 install 'matplotlib<3.1' ~/.local/bin/udocker run --user root imas apt-get install -y python-tk python3-tk ~/.local/bin/udocker run imas
Transfer the Kepler workflow into the container
Docker on your own computer:
Code Block scp login.eufus.eu:~g2tomz/public/simple-workflow.xml ./ docker cp simple-workflow.xml imas:simple-workflow.xml
uDocker on Gateway:
Code Block cp ~g2tomz/public/simple-workflow.xml ~/.udocker/containers/imas/ROOT/home/imas/
In the container shell, execute:
Code Block language bash cp $IMAS_PREFIX/models/mdsplus/ids_model.characteristics public/imasdb/test/3/0/ids_19998.characteristics cp $IMAS_PREFIX/models/mdsplus/ids_model.datafile public/imasdb/test/3/0/ids_19998.datafile cp $IMAS_PREFIX/models/mdsplus/ids_model.tree public/imasdb/test/3/0/ids_19998.tree kepler -runwf -nogui -user imas /home/imas/simple-workflow.xml
Transfer the results to the Gateway:
Docker on your own computer:
Code Block language bash docker cp imas:/home/imas/public/imasdb/test/3/0/ids_10001.characteristics /tmp/ docker cp imas:/home/imas/public/imasdb/test/3/0/ids_10001.datafile /tmp/ docker cp imas:/home/imas/public/imasdb/test/3/0/ids_10001.tree /tmp/ scp /tmp/ids_10001.* login.eufus.eu:public/imasdb/test/3/0/
uDocker on Gateway:
Code Block language bash cp ~/.udocker/containers/imas/ROOT/home/imas/public/imasdb/test/3/0/ids_10001.* ~/public/imasdb/test/3/0/
...