Giter VIP home page Giter VIP logo

wrappie's Introduction

wrappie - still in BETA - user interface might change

logo_wrappie

wrappie is a tool for automated deployment of applications using containers, bash wrappers and modules.
Containers are used under the hood while users interact with modules, resulting in the typical user experience of a HPC shared system.

Find it on GitHub

IMPORTANT UPDATE

May 2021: the original developers of Singularity have released a tool that includes most (if not all) functionalities of wrappie: Singularity Registry HPC, or shpc. Our team will evaluate this tool prior to further developing wrappie.

Software requirements

Quick start

Lines 20-26 of the wrappie script provide values for the following variables:

  • basedir: default base-name for the following two variables
  • rootdir: upper level path for the directory tree of packages (containers and wrappers). The tree has the default format: basedir/containers/tool/tag/
  • moduledir: upper level path for the directory tree of modules, default format basedir/modulefiles/tool/tag
  • workdir: directory(ies) to be bound mounted in containers. Can be comma separated list, only used to display information

You can specify customised values for these variables either in the shell environment, or by editing those lines in wrappie.

Write a text file, e.g. see examples/dummy_list, of this form:

docker://ubuntu:18.04
- ls
- pwd

i.e. containing image addresses, followed by a dashed list of commands you will need to run from that image. If the image has GPU capabilities, just add a dashed item GPU as the first item for the image.
Lines starting with # will be ignored.

Finally run wrappie:

./wrappie examples/dummy_list

At the end of the process (non Pawsey HPC systems only), an output will advise on a couple of variable definitions to be added in your ~/.bash_profile, something like:

For proper functioning of this setup, ensure these two definitions are in your ~/.bash_profile :

##############################
module use [..]
export SINGULARITY_BINDPATH=$SINGULARITY_BINDPATH,[..]
##############################

Pawsey HPC systems

To install wrappie, a maali cygnet file is available in the extras/ directory.

At runtime, wrappie can recognise if it is being run on Pawsey systems, and adjust the installation paths accordingly:

  • for regular users, the basedir will be set to $MYGROUP/software/$PAWSEY_OS
  • for super user maali, system paths will be set

Useful resources

Checkout this alternative tool to install containerised applications, including bash wrappers and modules:

TO-DO

  • port the code-base to Python
  • port package recipes to YAML
  • ..

Authors

Marco De La Pierre [email protected]
Audrey Stott [email protected]
Sarah Beecroft [email protected]

wrappie's People

Contributors

marcodelapierre avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.