Git Product home page Git Product logo

opendf's Introduction

Overview

opendf is a condensed matter physics code that solves strongly correlated lattice problems (i.e. Hubbard model) in finite dimensions using dual fermion method. It requires an input of local Green's functions, hybridization functions and vertex functions that can be obtained either by DMFT or using exact diagonalization (see, for example, https://github.com/aeantipov/pomerol).

An example of exact diagonalization input data for one Hubbard atom is generated by scripts/gen_data_atomic.py.

Installation

Mac (using homebrew)
brew tap aeantipov/aeantipov
brew install opendf
Source installation

The installation is standard cmake-based. To compile (on POSIX os):

  • make some temporary directory, change to that directory and run : cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=${PATH_TO_INSTALL_LOCATION} ${PATH_TO_CODE}.
  • customize cmake options, if some dependencies are not found (see description below or run ccmake for experts). By default testing is enabled: it can be disabled with -DTesting=OFF.
  • make
  • make test (optional)
  • make install

Usage

hub_df_cubicNd --help

Dependencies:

  • c++11 - compatible c++ compiler
  • cmake
  • eigen3 (header-only) : http://eigen.tuxfamily.org/. CMake option: -DEIGEN3_INCLUDE_DIR=path_to_eigen3_headers.
  • fftw. Cmake option : -DFFTW_ROOT=path_to_fftw_prefix (that is before include or lib).
  • gftools (header-only; https://github.com/aeantipov/gftools; fetched automatically during build). Optionally can be fetched, installed and the location given by -DGFTOOLS_INCLUDE_DIR.
  • ALPSCore : http://alpscore.org/. CMake option : -DALPS_ROOT=path_to_alpscore_prefix. The following alpscore dependencies are required:
    • Boost. Cmake option : -DBOOST_ROOT=path_to_boost_prefix.
    • MPI
    • HDF5 . Cmake option : -DHDF5_ROOT=path_to_hdf5_prefix.
    • gtest for testing
    • Doxygen (optional)

NB: Since c++11 support is required for the code to work, c++ dependencies (in particular, alpscore and boost) are required to be compiled in c++11 mode.

License

GPLv2.

Academic usage.

Please cite AE Antipov, JPF LeBlanc, E Gull, Physics Procedia 68 (C), 43-51 (2015). DOI : 10.1016/j.phpro.2015.07.107.

Copyright

Andrey E. Antipov, (Andrey.E.Antipov[at]gmail[dot]com), 2015-present.

opendf's People

Contributors

aeantipov avatar jpfleblanc avatar kpwhall 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.