Giter Site home page Giter Site logo

mbpol_cuda_devel's Introduction

MBPol CUDA development repository

This repository contains a standalone code to evaluate two body interactions on CUDA.

It can be customized through CMakeLists.txt to either use the CUDA kernel twobodyForceNN.cu which for now is just empty or use twobodyForce.cu that contains the MBPol implementation of the polynomials.

This works as a starting point for working on the Neural Nets implementation following the Python version available on Github at https://github.com/paesanilab/NeuralNets/tree/master/testcase_forCUDA.

We will need to create the Neural Net architecture with CuDNN, load the weights already trained in Python and then evaluate the network to compute the Energy of the two body interaction.

This wrapper already defines the positions of the atoms of 2 water molecules and copies them to the device. Check twobodyForce.cu for an example of how the data can be used from CUDA.

Requirements

(already installed on daisy)

  • CUDA >= 7
  • Boost
  • CMake

Compilation

  • Checkout this repository

  • (optional) edit CMakeLists.txt to choose if you want to build Polynomials or Neural Nets (empty for now)

  • create a folder named build/ inside the repository folder

  • enter the build/ folder

  • run CMake with:

      cmake ..
    
  • run make

  • execute the code with ./run_test

mbpol_cuda_devel's People

Contributors

yazhai avatar zonca avatar

Watchers

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