Giter Club home page Giter Club logo

lwoniom's Introduction

lwONIOM

This repository contains a standalone implementation of a light-weight ONIOM interface.

The default CMake and meson builds compile a statically linked library (liblwoniom.a) that can be linked in other projects.

The library contains implementations for partitioning of a molecular system into the individual ONIOM fragments, including saturation of bonds with hydrogen linking atoms, and the reconstruction of respective energies, gradients and Hessian matrices.

Adhereing to the eponymous light-weight aspect, no potentials are implemented in the library itself as it is intended for the use in other codes. A standandalone command line app can be built with the -Dbuild_exe=true option, which offers a demonstration of input file formats and capabilities to test the ONIOM partition. main.f90 in app/ demonstrates the library's in-code usage.

Building the Project

Make sure you have the following dependencies installed:

  • CMake and make, or meson and ninja build systems
  • Fortran and C compilers (e.g., gfortran/gcc or ifort/icc)

Instructions

Follow these steps to build the project:

  1. Create a build directory and navigate to it

    mkdir _build
    cd _build
  2. Export the compilers (here for example ifort/icc) and depending on your chosen build system set up the build:

    • generate the build files using CMake:
      FC=ifort CC=icc cmake ..
    • generate the build files using meson:
      FC=ifort CC=icc meson ..

    If you wish to build the an app binary, add -Dbuild_exe=true to either the cmake or meson setup command.

  3. Depending on your chosen build system, build the project. If you have multiple cores/processors, you can speed up the build process by specifying the number of cores to use with the -j option. For example, to use 4 cores:

    • With CMake/make:
      make -j4
    • With meson/ninja:
      ninja -j4

Cleaning the Build

To clean the build files, simply delete the build directory:

rm -rf _build

lwoniom's People

Contributors

pprcht avatar paw61 avatar

Stargazers

Chrinide avatar Safaa Sader avatar

Watchers

 avatar  avatar

Forkers

chrinide

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.