-
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 #65 from issp-center-dev/release
Release v2.0.0
- Loading branch information
Showing
155 changed files
with
3,594 additions
and
422 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 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,63 @@ | ||
# This is a pull request, finish. | ||
if [ "_$TRAVIS_PULL_REQUEST" != "_false" ] ;then | ||
echo "This is a pull request, do nothing." | ||
exit 0; | ||
fi | ||
# build doc if and only if master, develop, xxx-autodoc, and tag | ||
feature_branch=${TRAVIS_BRANCH%-autodoc} | ||
|
||
if [ "_$TRAVIS_BRANCH" == "_master" ]; then | ||
echo "This is the master branch, deploy docs." | ||
elif [ "_$TRAVIS_BRANCH" == "_develop" ]; then | ||
echo "This is the develop branch, deploy docs." | ||
elif [ "_${feature_branch}" != "_${TRAVIS_BRANCH}" ]; then | ||
echo "This is an auto-documented branch, deploy docs." | ||
elif [ -n "$TRAVIS_TAG" ]; then | ||
echo "This is a versioned tag, deploy docs." | ||
else | ||
echo "Do nothing." | ||
exit 0 | ||
fi | ||
|
||
|
||
openssl aes-256-cbc -K $encrypted_0f0c7c69c924_key -iv $encrypted_0f0c7c69c924_iv -in ${ROOTDIR}/.travis_scripts/id_rsa.enc -out ~/.ssh/id_rsa -d | ||
|
||
chmod 600 ~/.ssh/id_rsa | ||
echo -e "Host github.com\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config | ||
|
||
git clone [email protected]:${TRAVIS_REPO_SLUG} dcore-repo | ||
cd dcore-repo | ||
git checkout gh-pages | ||
if [ ${feature_branch} != ${TRAVIS_BRANCH} ]; then | ||
mkdir -p $feature_branch | ||
cp -r ${ROOTDIR}/dcore_doc/* $feature_branch | ||
git add $feature_branch | ||
elif [ "_${TRAVIS_BRANCH}" == "_develop" ]; then | ||
mkdir -p develop | ||
cp -r ${ROOTDIR}/dcore_doc/* develop | ||
git add develop | ||
elif [ "_${TRAVIS_BRANCH}" == "_master" ]; then | ||
mkdir -p master | ||
cp -r ${ROOTDIR}/dcore_doc/* master | ||
git add master | ||
elif [ -n ${TRAVIS_TAG}]; then | ||
mkdir -p ${TRAVIS_TAG} | ||
cp -r ${ROOTDIR}/dcore_doc/* ${TRAVIS_TAG} | ||
git add ${TRAVIS_TAG} | ||
else | ||
echo "The deploy script failed to solve where to install documents. The script has some mistake." | ||
echo "\$TRAVIS_BRANCH: $TRAVIS_BRANCH" | ||
echo "\$TRAVIS_TAG: $TRAVIS_TAG" | ||
echo "\$TRAVIS_PULL_REQUEST: $TRAVIS_PULL_REQUEST" | ||
echo "\$feature_branch: $feature_branch" | ||
exit 1 | ||
fi | ||
|
||
git config --global user.email "" | ||
git config --global user.name "DCore" | ||
git commit -m "Update by TravisCI (\\#${TRAVIS_BUILD_NUMBER})" | ||
ST=$? | ||
if [ $ST == 0 ]; then | ||
git push origin gh-pages:gh-pages --follow-tags > /dev/null 2>&1 | ||
fi | ||
|
Binary file not shown.
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
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
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
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 |
---|---|---|
|
@@ -34,54 +34,11 @@ You can download the source files in two ways. | |
Prerequisites | ||
------------- | ||
|
||
#. You first need to install `TRIQS <https://triqs.github.io/triqs/>`_ library prior to installing all other programs, | ||
since ``DCore`` is implemented using ``TRIQS``. | ||
#. `TRIQS <https://triqs.github.io/triqs/>`_ and `DFTTools/TRIQS <https://triqs.github.io/dft_tools/>`_. | ||
They must be installed prior to installing all other programs. | ||
If not, please install them following our instruction for :doc:`TRIQS 1.4.x <install_triqs14x>` or :doc:`TRIQS 2.1.x <install_triqs21x>`. | ||
|
||
In the following, we suppose that ``TRIQS`` is installed in directory *path_to_triqs*. | ||
|
||
.. note:: | ||
|
||
``DCore`` supports ``TRIQS`` version **1.4.2** (the current version 2.0 is not supported). | ||
Since the installation manual in the TRIQS official website is not compatible with **1.4.2**, we briefly describe below how to install it. | ||
|
||
#. You can download the zip file or tar file from https://github.com/TRIQS/triqs/releases/tag/1.4.2. | ||
The version **1.4.2** is not compatible with the latest version of h5py (>=2.8.0). | ||
If you encounter any problem, you can clone the repository and checkout **1.4.x** branch, which contains bug fixes. | ||
We suppose that source files are located in *path_to_triqs_src* directory. | ||
|
||
#. In an empty directory, type the following command: | ||
|
||
.. code-block:: bash | ||
$ cmake -DCMAKE_INSTALL_PREFIX=path_to_triqs path_to_triqs_src | ||
$ make | ||
$ make test | ||
$ make install | ||
#. You also need `DFTTools <https://triqs.github.io/dft_tools>`_, which runs on the ``TRIQS`` library. | ||
|
||
.. note:: | ||
|
||
The current version in the GitHub repository is not compatible with ``TRIQS`` version 1.4.2. | ||
You need to get old code that is compatible with 1.4.2. | ||
|
||
#. Clone the repository, and checkout commit **d005756**. | ||
|
||
.. code-block:: bash | ||
$ git clone [email protected]:TRIQS/dft_tools.git | ||
$ cd dft_tools | ||
$ git checkout d005756 | ||
#. To build the source files, make an empty directory, move into it, and then type the following command: | ||
|
||
.. code-block:: bash | ||
$ cmake -DCMAKE_INSTALL_PREFIX=path_to_triqs\ | ||
-DTRIQS_PATH=path_to_triqs path_to_dft_tools | ||
$ make | ||
$ make test | ||
$ make install | ||
In the following, we suppose that ``TRIQS`` is installed in directory *path_to_triqs*. | ||
|
||
#. You will also need at least one impurity solver. | ||
|
||
|
@@ -90,7 +47,7 @@ Prerequisites | |
* :doc:`ALPS/CT-HYB<impuritysolvers/alpscore_cthyb/cthyb>` | ||
* :doc:`ALPS/CT-HYB-SEGMENT<impuritysolvers/alpscore_ctseg/ctseg>` | ||
* :doc:`TRIQS/cthyb<impuritysolvers/triqs_cthyb/cthyb>` | ||
* :doc:`Hubbard-I solver<impuritysolvers/triqs_hubbard_one/hubbard_one>` | ||
* :doc:`Hubbard-I solver<impuritysolvers/triqs_hubbard_one/hubbard_one>` (not available for TRIQS 2.1.x) | ||
|
||
See :doc:`impuritysolvers` for a complete list of supported impurity solvers and their user manuals. | ||
|
||
|
@@ -135,12 +92,18 @@ Installation steps | |
|
||
$ make | ||
|
||
#. We recommend that you run the tests to check if the compiling is properly finished. Type | ||
#. We recommend to run the tests to check if DCore is built correctly. Type | ||
|
||
:: | ||
|
||
$ make test | ||
|
||
If your system MPI wrapper is not "mpirun", please provide the name of the correct one to DCore through cmake by using the flag "-DMPIEXEC". | ||
The default value is "mpirun -np #" (# is replaced by the number of processors). | ||
For instance, if your wrapper is "mpijob" and you do not need to specify the number of processors explicitly, please use -DMPIEXEC=mpijob. | ||
Note that it is not allowed to run MPI programs interactively on some system. | ||
In this case, please run tests as a job. | ||
|
||
The test results look like | ||
|
||
:: | ||
|
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
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
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.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,39 @@ | ||
[model] | ||
seedname = square | ||
lattice = square | ||
norb = 1 | ||
nelec = 1.0 | ||
t = -1.0 | ||
kanamori = [(4.0, 0.0, 0.0)] | ||
nk = 8 | ||
|
||
[system] | ||
beta = 10.0 | ||
n_iw = 1000 | ||
prec_mu = 0.001 | ||
fix_mu = True | ||
mu = 2 | ||
|
||
[impurity_solver] | ||
name = ALPS/cthyb-seg | ||
exec_path{str} =/path/to/alps_cthyb | ||
cthyb.TEXT_OUTPUT{int} = 1 | ||
cthyb.MEASUREMENT_freq{int} = 1 | ||
MEASURE_gw{int} = 1 | ||
MAX_TIME{int} = 100 | ||
cthyb.N_MEAS{int} = 50 | ||
cthyb.THERMALIZATION{int}=1000 | ||
cthyb.SWEEPS{int}=100000000 | ||
|
||
[control] | ||
max_step = 20 | ||
sigma_mix = 1.0 | ||
time_reversal = True | ||
|
||
[tool] | ||
broadening = 0.4 | ||
knode = [(G,0.0,0.0,0.0),(X,0.5,0.0,0.0),(M,0.5,0.5,0.0),(G,0.0,0.0,0.0)] | ||
nk_line = 100 | ||
omega_max =6.0 | ||
omega_min =-5.0 | ||
Nomega = 400 |
Oops, something went wrong.