Giter VIP home page Giter VIP logo

xdec's Introduction

XDEC-PRI : eXtended DEC-MP2 using the Resolution of Identity approximation

General installation instructions

Note (april 2020): A static binary for the libint interface is provided for osx

  1. Compile + install libint: https://github.com/evaleev/libint
  2. Compile the libint wrapper for python
  3. Set environment variables according to instructions in section.

Detailed installation on fram.sigma2.no

  1. Load required modules:

'GMP/6.1.2-GCCcore-8.3.0 => GMP/6.1.2-GCCcore-7.3.0'

'module load Boost/1.68.0-intel-2018b-Python-3.6.6'

'module load Anaconda3/2019.07'

  1. Clone libint:

'git clone https://github.com/evaleev/libint.git'

2a. From inside libint-folder:

'./autogen.sh'

2b. Make a build-directory outside of the libint-tree, enter it and run

'/path/to/libint/configure CC=gcc CXX=g++ CXXFLAGS="-O3" --with-pic --with-cxxgen-optflags="-O3" --prefix=$HOME/libint_install/

2c. Run

'make' optionally with '-jN' for parallel compilation

2d. Run

'make install'

  1. Clone Pybind11:

'git clone https://github.com/pybind/pybind11.git'

  1. Clone the XDEC repository:
  2. Install the libint wrapper:

'c++ -O3 -Wall -shared -fPIC -std=c++11 lwrap.cpp -o lwrappython3-config --extension-suffix -I/cluster/software/Anaconda3/2019.07/include/python3.7m/ -I/cluster/home/[username]/pybind11/include/ -I/cluster/home/[username]/include -I/cluster/home/[username]/libint_install/include -L/cluster/home/[username]/libint_install/lib -L/cluster/home/[username]/lib -L/usr/local/lib -I/usr/local/include -lm -lgmpxx -lgmp -lint2'

xdec's People

Contributors

einaur avatar

Watchers

Thomas Bondo Pedersen avatar Audun Skau Hansen avatar

xdec's Issues

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.