Code Monkey home page Code Monkey logo

planckton's Introduction

PlanckTon

test build_cpu build_gpu codecov License Contributors

PlanckTon enables exploration of the self-assembly of organic photovoltaic (OPV) compound mixtures under various conditions. Multiple simulation tools are tied together to reproducibly and accurately generate these structures. For managing large parameter spaces and submitting jobs to clusters, we recommend PlanckTon-flow which leverages the Signac framework.

The simulation tools used by PlanckTon are:

  • mBuild - builds compounds and initializes simulations

  • foyer - manages force-field information

  • HOOMD-blue - runs the simulations

How to use

Install

Using a container

PlanckTon provides containers with HOOMD compiled for cpu or gpu. If your system allows, we recommend gpu.

To use PlanckTon in a prebuilt container (using Singularity), run:

singularity pull docker://cmelab/planckton_gpu:latest
singularity exec planckton_gpu_latest.sif bash

Or using Docker, run:

docker pull cmelab/planckton_gpu:latest
docker run -it cmelab/planckton_gpu:latest

Custom install

To create a local environment with conda, run:

conda env create -f environment.yml
conda activate planckton

And to test your installation, run:

pytest

Run simulations

See example in planckton/tests/test_sim.py

How to Contribute

see Contributing guide

planckton's People

Contributors

jennyfothergill avatar evanmiller326 avatar pre-commit-ci[bot] avatar chrisjonesbsu avatar matty-jones 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.