IffGit has a new shared runner for building Docker images in GitLab CI. Visit https://iffgit.fz-juelich.de/examples/ci-docker-in-docker for more details.

Commit 90f51947 authored by Frank Freimuth's avatar Frank Freimuth
Browse files

Update fleur_init.F90: CAll wann_read_inp already in fleur_init. Advantages:

1) Wannier users sometimes have special needs, e.g., the eig66 functionality. While new fleur-input-file-concepts are being developed some of these special needs might be ignored. It is then very convenient to modify the input-variable by wann_read_inp. For example wann_read_inp can be used to set eig66 (if the main input file does not
serve this purpose), or one can adapt the number of states that are supposed to be computed automatically by
comparing with the wannier-requirements computed in wann_read_inp (Previously the number of states had to be
adjusted by hands)...
2) It seems logical to read all basic input files in fleur_init, because otherwise one might run into a stop
due to wrong basic input after eigenvectors have been computed. Therefore, it makes sense to read all basic input
at the beginning and check the consistency of the input at the beginning, rather than running into a stop caused
by inconsistent input files after e.g. one hour of calculations....
3) We are now able to remove the calls to wann_read_inp in all other wannier subroutines.
parent 3ff213d5
......@@ -90,7 +90,7 @@
REAL :: a1(3),a2(3),a3(3)
REAL :: dtild, phi_add
LOGICAL :: l_found, l_kpts, l_exist
LOGICAL :: l_wann
LOGICAL :: l_wann_inp
#ifdef CPP_MPI
INCLUDE 'mpif.h'
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment