Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Demonstration 2: Kepler workflow

 

  • Create a container and start a shell in it:

    • Docker on your own computer:

      Code Block
      languagebash
      docker run --interactive --tty --name imas imas/fc2k
    • uDocker on Gateway:

      Code Block
      languagebash
      ~/.local/bin/udocker create --name=imas imas/fc2k
      ~/.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
    languagebash
    kepler -runwf -nogui -user imas /home/imas/simple-workflow.xml
  • Transfer the results to the Gateway:

    • Docker on your own computer:

      Code Block
      languagebash
      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
      languagebash
      cp ~/.udocker/containers/imas/ROOT/home/imas/public/imasdb/test/3/0/ids_10001.* ~/public/imasdb/test/3/0/

...