Coder Social home page Coder Social logo

aiida-code-registry's Introduction

AiiDA code registry

THIS IS WORK IN PROGRESS - PULL REQUESTS & SUGGESTIONS HIGHLY WELCOME

This repository collects configurations of simulation codes on public compute resources for quick and easy setup in AiiDA.

Using the AiiDA code registry

In the following we'll take the example of Piz Daint, a HPC system at the Swiss National Supercomputing Centre.

verdi computer setup

  1. Navigate to the daint.cscs.ch folder in the GitHub web interface
  2. Select the partition you would like to run on, for example hybrid
  3. Click on the computer-setup.yaml file and click on the "Raw" button to get a direct link to the file

Now use this link to set up the computer directly via the verdi command line:

verdi computer setup --config https://raw.githubusercontent.com/aiidateam/aiida-code-registry/master/daint.cscs.ch/hybrid/computer-setup.yaml

You can overwrite any of the parameters provided in the yaml file by appending the corresponding option to the command, e.g. --label my-computer-label to overwrite the default computer label daint-hybrid.

Note: Alternatively, you can first create a local clone of the aiida-code-registry and pass the the local file path of the yaml file to the --config option.

verdi computer configure

Some computers require specific configuration options (e.g. to jump over a login node) and provide a dedicated computer-configure.yaml file.

You'll find it in the same folder:

verdi computer configure ssh daint-hybrid --config https://raw.githubusercontent.com/aiidateam/aiida-code-registry/master/daint.cscs.ch/hybrid/computer-configure.yaml

At this point, you should be able to successfully run:

verdi computer test daint-hybrid

verdi code setup

The daint.cscs.ch folder contains a codes subfolder with configuration files for individual codes.

Just pick the ones you need and set them up:

verdi code setup --config https://raw.githubusercontent.com/aiidateam/aiida-code-registry/master/daint.cscs.ch/codes/cp2k-8.1-hybrid.yaml

Note: You will be prompted for the computer label (which you can avoid by appending --computer daint-hybrid to the command).

Contributing to this repository

We highly appreciate help in keeping the configurations up to date and adding new simulation codes & computers.

  1. Fork this repository
  2. Add your computer / code
  3. Create a Pull Request

aiida-code-registry's People

Contributors

cpignedoli avatar csadorf avatar ltalirz avatar mbercx avatar mpougin avatar pre-commit-ci[bot] avatar superstar54 avatar unkcpz avatar yakutovicha avatar

Watchers

 avatar  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.