Giter Club home page Giter Club logo

deisa's Introduction

DEISA: Dask-Enabled In Situ Analytics

DEISA is a library that ensures coupling MPI simulation codes with Dask analytics.

DEISA plugin is built on PDI Data Interface.

Requirements

DEISA as a PDI plugin requires the PDI Data Interface to be installed with python support.

DEISA requires Dask and Dask Distributed deisa verion that has been adapted to work with the new introduced concepts in DEISA

Installation

Check here for spack installation.

Or it can be installed on top of PDI by running:

  cmake -DCMAKE_INSTALL_PREFIX=$HOME/local/  -DPython3_EXECUTABLE=~/.conda/envs/yourenv/bin/python3.8  ../
  make install

How it works ?

A simulation can be instrumented with PDI to make its internal data available for DEISA thus Dask . At the beginning each simulation process reads the yaml configuration file and loads the DEISA and the MPI plugins of PDI.

Internally, a DEISA Bridge is created per MPI process, and they connect to Dask. The bridge which is associated with the process rank 0, reads the deisa_virtual_arrays section in the yaml file and send it to the DASK client. Once a piece of data is shared with PDI, the Bridge checks if it is included in the contract then it sends it to a worker that has been chosen in a round-robin fashion with a specific key, else it returns.

DEISA python library implements a DEISA Adaptor. This component is used from the Dask client-side to create Dask arrays describing the data generated by the simulation. The DEISA Adaptor waits for contract to be sent from the DEISA Bridge in MPI rank 0, it selects needed data and sign back the contract. It uses the information containted in the contract to create Dask arrays, that can be retrieved by calling get_deisa_arrays() method then select the needed array.

Example :

An example is included in this repository, it includes the submission scripts that suppose a previous spack installation.

deisa's People

Contributors

gueroudjiamal avatar tpadioleau avatar jbigot avatar

Stargazers

Robin Kennedy-Reid avatar

Watchers

 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.