-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #95 from issp-center-dev/python3-autodoc
Update to Python3 & TRIQS3.0.x
- Loading branch information
Showing
202 changed files
with
368,126 additions
and
372,476 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,36 @@ | ||
FROM shinaoka/triqs1.4_dmft_alps | ||
FROM flatironinstitute/triqs | ||
|
||
RUN sudo apt update && sudo apt install vim make --yes | ||
|
||
# Copy host directory | ||
COPY ./ $HOME/src/DCore | ||
RUN echo $HOME | ||
COPY ./ /home/triqs/src/DCore | ||
RUN sudo chown -R triqs /home/triqs/src | ||
RUN ls -la /home/triqs/src | ||
|
||
# Install TRIQS/HubbardI | ||
WORKDIR /home/triqs/src | ||
RUN git clone https://github.com/TRIQS/hubbardI.git | ||
RUN mkdir hubbardI.build | ||
WORKDIR /home/triqs/src/hubbardI.build | ||
RUN cmake -DCMAKE_CXX_COMPILER=mpicxx ../hubbardI | ||
RUN make && sudo make install | ||
|
||
# Install pip & some python libraries | ||
ENV PATH $PATH:/home/triqs/.local/bin | ||
RUN curl -kL https://bootstrap.pypa.io/get-pip.py | python3 | ||
RUN pip3 install sphinx wild_sphinx_theme matplotlib pytest numpy -U --user | ||
|
||
# Install DCore | ||
WORKDIR /home/triqs/src/DCore | ||
RUN ls -la | ||
RUN python3 setup.py install --user | ||
|
||
RUN pip install sphinx wild-sphinx-theme | ||
# Workaround for a bug in docutils 0.15 | ||
RUN pip install -U docutils==0.14 | ||
# Build doc | ||
RUN python3 -m dcore.option_tables doc/reference | ||
RUN sphinx-build -b html doc html | ||
RUN find /home/triqs/src/DCore/html | ||
|
||
WORKDIR $HOME/src/DCore | ||
RUN mkdir $HOME/build/DCore | ||
WORKDIR $HOME/build/DCore | ||
ENV CTEST_OUTPUT_ON_FAILURE=1 | ||
RUN cmake -DCMAKE_VERBOSE_MAKEFILE=ON $HOME/src/DCore -DTRIQS_PATH=$HOME/opt/triqs -DCMAKE_INSTALL_PREFIX=$HOME/opt/DCore -DBUILD_DOC=ON \ | ||
&& make -j 2 all && make -j 2 install | ||
RUN find . | ||
# Run tests | ||
#RUN pytest tests/non-mpi/*/*.py | ||
#RUN pytest tests/mpi/*/*.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
.. index:: DFTTools | ||
|
||
.. module:: dcore | ||
|
||
DCore | ||
===== | ||
|
||
integrated **D**\ MFT software for **Cor**\ related **e**\ lectrons | ||
|
||
What is DCore? | ||
-------------- | ||
|
||
`DCore <https://github.com/issp-center-dev/DCore>`_ is aimed at model calculations and ab-initio calculations by the dynamical mean-field theory (DMFT). | ||
This package consists of programs with text-based and hdf5-based interface. | ||
These programs enable users to perform DMFT calculations and analyze results without writing computer code. | ||
|
||
License | ||
------- | ||
|
||
The DCore package is published under the | ||
`GNU General Public License, version 3 <http://www.gnu.org/licenses/gpl.html>`_. | ||
|
||
The following files are from the TRIQS (Toolbox for Research on Interacting Quantum Systems). | ||
|
||
- https://github.com/issp-center-dev/DCore/blob/develop/python/impurity_solvers/triqs_hubbard_I_impl.py | ||
- https://github.com/issp-center-dev/DCore/tree/develop/python/converters | ||
|
||
We would like to express our sincere gratitude to TRIQS's developers. | ||
|
||
This package of ver.1.0 was developed under the support of "Project for advancement of software usability in materials science" by The Institute for Solid State Physics, The University of Tokyo. The copyright of DCore ver.1.0 belongs to The University of Tokyo. | ||
|
||
Authors & Quotation | ||
------------------- | ||
|
||
**Developers**: | ||
|
||
- ver. 2.0 | ||
|
||
H. Shinaoka, J. Otsuki, K. Yoshimi, M. Kawamura, N. Takemori, Y. Motoyama | ||
|
||
- ver. 1.1 (released on 2019/1/25) | ||
|
||
- ver. 1.0 (released on 2018/3/24) | ||
|
||
H. Shinaoka, J. Otsuki, K. Yoshimi, M. Kawamura, T. Kato | ||
|
||
**Related papers**: | ||
This package depends on TRIQS libraries and applications. | ||
Please cite relevant papers for these original libraries. | ||
|
||
* `TRIQS libraries <https://triqs.github.io/triqs/2.1.x/about.html>`_ | ||
* `TRIQS/DFTTools <https://triqs.github.io/dft_tools/2.1.x/about.html>`_ | ||
|
||
In addition to the above two libraries, you may use impurity solvers listed below. | ||
|
||
* `TRIQS/cthyb <https://triqs.github.io/cthyb/2.1.x/about.html>`_ | ||
* `TRIQS/hubbardI <https://triqs.github.io/triqs/1.4/applications/hubbardI/about.html>`_ | ||
* `ALPS/CT-HYB <https://github.com/ALPSCore/CT-HYB/wiki/Citation>`_ | ||
* `ALPS/CT-HYB-SEGMENT <https://github.com/ALPSCore/CT-HYB-SEGMENT>`_ | ||
|
||
For some of them, they provide a BibTeX entry for each paper in the above cites. | ||
|
||
GitHub repository | ||
----------------- | ||
|
||
You can download the source code of **DCore** from https://github.com/issp-center-dev/DCore. | ||
|
||
Contents | ||
----------------- | ||
:doc:`Contents <contents>` | ||
|
||
Disclaimer | ||
---------- | ||
|
||
The program is provided as is, i.e. WITHOUT ANY WARRANTY of any kind, as | ||
stated in the license. In particular, its authors and contributors will take | ||
no responsibility for any possible bugs or any improper use of these programs, | ||
including those resulting in incorrect scientific publications. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.