1.1. Loading Docker image
To load pre-built Docker image:
xzcat ~g2tomz/public/imas-installer-20180921112143.tar.xz | docker load
1.2. Demonstration 1: Python script
Start a new Docker container
docker run --interactive --tty --name imas imas-installer
In the container shell, execute:
module load imas imasdb test python /home/imas/imas-installer/src/$IMAS_VERSION/ual/$UAL_VERSION/examples/dd-v3/python/put_pf.py
On the host machine, execute:
docker cp imas:/home/imas/public/imasdb/test/3/0/ids_120001.characteristics /tmp/ docker cp imas:/home/imas/public/imasdb/test/3/0/ids_120001.datafile /tmp/ docker cp imas:/home/imas/public/imasdb/test/3/0/ids_120001.tree /tmp/
Transfer the generated IDSes to the Gateway:
scp /tmp/ids_120001.* login.eufus.eu:public/imasdb/test/3/0/
1.3. Demonstration 2: Kepler workflow
Start a new Docker container
docker run --interactive --tty --name imas imas-installer
In the container shell, execute:
module load imas kepler module load keplerdir imasdb test export USER=imas kepler -runwf -nogui -user imas /home/imas/simple-workflow.xml
On the host machine, execute:
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/
Transfer the generated IDSes to the Gateway:
scp /tmp/ids_10001.* login.eufus.eu:public/imasdb/test/3/0/