GithubHelp home page GithubHelp logo

jinghong-zhang / ipie Goto Github PK

View Code? Open in Web Editor NEW

This project forked from joonholee-group/ipie

1.0 0.0 0.0 72.84 MB

ipie stands for Intelligent Python-based Imaginary-time Evolution with a focus on simplicity and speed.

License: Apache License 2.0

Shell 0.07% Python 99.08% C 0.54% CMake 0.02% Cython 0.29%

ipie's Introduction

https://github.com/linusjoonho/ipie/blob/main/logo.png

ipie stands for Intelligent Python-based Imaginary-time Evolution with a focus on simplicity and speed.

ipie inherits a lot of QMC features from pauxy.

http://readthedocs.org/projects/ipie/badge/?version=latest https://img.shields.io/badge/paper%20%28v0%29-arXiv%3A2209.04015-B31B1B

Copyright by Joonho Lee ([email protected]) Our first release paper can be found at https://pubs.acs.org/doi/10.1021/acs.jctc.2c00934

Features

ipie currently supports:

  • estimation of the ground state energy of ab-initio systems using phaseless AFQMC with support for CPUs and GPUs.
  • simple data analysis.
  • other legacy functionalities available in pauxy such as the ground state and finite-temperature energies and properties (via backpropagation) of the ab initio, UEG, Hubbard, and Hubbard-Holstein models.

Installation

Linux and Mac OS wheels are available for installation via pip

$ pip install ipie

For develpment you can instead clone the repository

$ git clone https://github.com/linusjoonho/ipie.git

and run the following in the top-level ipie directory

$ pip install -r requirements.txt
$ pip install -e .

Requirements

To build ipie with MPI support (via mpi4py) do:

$ pip install -e .[mpi]

Note that mpi4py requires a working MPI installation to be built on your machine. This it is often the trickiest dependency to setup correctly.

One of the easiest ways (if you are using pip to install ipie wheels) is via conda:

conda install openmpi

which will just install the OpenMPI library. We refer users to the mpi4py documentation for alternative ways of building mpi4py and the required MPI library.

Further requirements are listed in requirements.txt.

GPU Support

Cupy is is required when running calculations on GPUs which can be install following the instructions here .

Cuda aware MPI may be installed via conda-forge.

Running the Test Suite

ipie contains unit tests and some longer driver tests that can be run using pytest by running:

$ pytest -v

in the base of the repo. Some longer parallel tests are also run through the CI. See .github/workflows/ci.yml for more details.

Documentation

Documentation and tutorials are available at readthedocs.

http://readthedocs.org/projects/ipie/badge/?version=latest

ipie's People

Contributors

fdmalone avatar linusjoonho avatar ncrubin avatar scemama avatar jiangtong1000 avatar ankit76 avatar jsspencer avatar

Stargazers

David 창모 Yang 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.