3
0
mirror of https://github.com/triqs/dft_tools synced 2024-12-23 04:43:42 +01:00
Commit Graph

1256 Commits

Author SHA1 Message Date
Alexander Hampel
f66848f303 fix Vasp INCAR for NiO example 2021-08-16 12:58:22 -04:00
Alexander Hampel
a1b5421864 fix for python binary, c order for arrays, and NiO tutorial 2021-08-16 12:51:55 -04:00
Alexander Hampel
d5401cb4c0
Merge pull request #173 from thenoursehorse/plovasp-kweight-fix
Normalization of kwghts in plovasp
2021-06-23 08:33:01 -04:00
H. L. Nourse
75a7749180 fixed normalization of kwghts to allow symmetries - very tunnel visioned and haven't checked anything else 2021-06-22 14:44:17 +10:00
Dylan Simon
4a74b446a2 [jenkins] set OMP_NUM_THREADS 2021-06-15 10:13:55 -04:00
Nils Wentzell
84d45485f9 [ghactions] Install libomp in Ubuntu setup 2021-06-11 09:25:32 -04:00
Hermann Schnait
db8a7e543e Bugfix in block_structure.py
In the (rare) case that one has multiple shells with different number of orbitals (e.g. p-d-systems) the old code crashed when converting GFs from the second shell as matrix dimensions were not fitting (the tmp matrix was always created for the first shell).
2021-06-09 14:28:46 -04:00
Nils Wentzell
1c6d29d6a3 [cmake] For ANALYZE_SOURCES=ON run cppcheck in c++20 mode 2021-06-07 14:20:10 -04:00
Nils Wentzell
31649d25b2 [cmake] Bump version requirement to 3.12.4 for cxx_std_20 availability 2021-06-07 14:11:19 -04:00
Nils Wentzell
755381be4b Merge remote-tracking branch 'app4triqs-remote/unstable' into unstable 2021-06-03 15:03:37 -04:00
Dylan Simon
a27e231c4d [jenkins] increase build parallelism to -j4 2021-06-03 12:18:33 -04:00
Dylan Simon
1a63d0854c [jenkins] more explicit node allocation 2021-06-03 00:59:04 -04:00
Dylan Simon
8cc1949be0 [jenkins] add sanitize platform build 2021-05-28 13:11:47 -04:00
Nils Wentzell
89e1163f21 [cmake] Remove usage of linktime optimizations 2021-05-27 17:50:59 -04:00
Nils Wentzell
3c5196722f [jenkins] Bump osx gcc version to 11 2021-05-27 17:48:41 -04:00
Nils Wentzell
d902a04b67 [jenkins] Remove centos-gcc build 2021-05-27 17:48:41 -04:00
Nils Wentzell
dad5c8df94 [ghactions] Build on osx 11 (big sur) 2021-05-27 17:04:11 -04:00
Nils Wentzell
5db2431989 [ghactions] Generate VERBOSE build log on compilation failure 2021-05-27 16:16:36 -04:00
Nils Wentzell
429e625d09 [ghactions] Bump ubuntu builds to clang12 and osx builds to gcc11 2021-05-27 15:45:41 -04:00
Nils Wentzell
33b548eb59 Switch Build_Deps default from IfNotFound to Always 2021-05-27 15:30:27 -04:00
Nils Wentzell
6a8d838b20 from_L_G_R requires a Green function with data layed out in C-order 2021-05-26 17:59:50 -04:00
Nils Wentzell
b69baf140e Use nda over TRIQS_RUNTIME_ERROR in dos_tetra3d 2021-05-26 17:59:50 -04:00
Nils Wentzell
3648fd74e8 Automated porting to triqs + meshes + nda 2021-05-26 17:59:50 -04:00
Alexander Hampel
342aa363d9 fixed tests to work with dev version of triqs 2021-05-26 17:59:50 -04:00
Alexander Hampel
9b22859553 added helper function to flatten gf_struct objects for new triqs version 2021-05-26 17:59:50 -04:00
Alexander Hampel
fae1217fa4 switched lapack target from triqs to nda 2021-05-26 17:59:50 -04:00
Sophie Beck
3122ab2a83
Updates of Wannier90Converter: (#169)
Added:

substantial speed-up using MPI for Fourier transform
option to add a local spin-orbit term to t2g local Hamiltonian.
writing dft_fermi_energy to group 'dft_misc_input'
writing kpt_basis to group 'dft_input' if bloch_basis=True
writing kpts_cart to group 'dft_misc_input' if bloch_basis=True
Minor bugfixes:

bug can be caused by rounding of outer window limits if bloch_basis and disentangle =True, made error message clearer
2021-05-06 08:37:15 -04:00
merkelm
0a71b29096
Added parameter kpts_to_write to SumkDFT.calc_density_correction (#170)
Default behavior unchanged. If parameter kpts_to_write is given and if dm_type=='vasp', only the selected k points are written to the density correction GAMMA file.
Can be used for running Vasp with symmetries, where Vasp requires only the density correction from the irreducible Brillouin zone.

* For density correction in vasp, added option to select kpoints
* Made docstring of calc_density_correction clearer
2021-05-05 11:55:40 -04:00
Dylan Simon
4e1cdfe4e2 [jenkins] update osx python path for 3.9 2021-03-01 12:26:42 -05:00
Jonathan Karp
6fc01806d0 update SVO tutorial for dft tools 3
I changed the expression for gf_struct so that it works with dft_tools 3.

While I was at it, I took out the definition of 'l' since it's not used
2021-02-25 13:55:03 -05:00
Dylan Simon
ad0853b6bc Revert "[jenkins] try setting ansiColor as a build property"
This reverts commit 2a9b29741e.
2021-02-17 15:48:52 -05:00
Dylan Simon
2a9b29741e [jenkins] try setting ansiColor as a build property 2021-02-17 15:43:40 -05:00
Dylan Simon
ab32b3fb51 [jenkins] try adding ansiColor support 2021-02-17 14:28:20 -05:00
Nils Wentzell
064a3c85f9 [jenkins] For failed compilation on OSX, follow up with a serial VERBOSE=1 build 2021-02-10 10:45:35 -05:00
Nils Wentzell
07ddcb3c40 [cmake] For Build_Documentation=ON make sure PythonSupport is enabled 2021-02-09 16:39:07 -05:00
Alexander Hampel
5ac27b8f2e
Update guide on Vasp src changes for converter
The information on changes for the Vasp converter for CSC calculations in Vasp was not complete (#164 )
2021-02-08 08:04:15 -05:00
Alexander Hampel
92e24a9ada
Revision of Wannier90Converter:
1) write the Hamiltonian in Bloch space for charge self-consistent calculations, and 2) spin-orbit coupling

if bloch_basis = True:
* if "seedname_u.dat" (and in case of disentanglement "seedname_u_dis.dat")
  present, write hopping in Bloch basis
* "proj_mat" transforming from Bloch to orbital space
* diagonal hoppings are directly read from "seedname.eig"
* fermi weights and band_window of Wannier Hamiltonian are read from DFT
  output and "seedname.nnkp", written into new subgroup "dft_misc_input"
* automatic calculation of "density_required"
* implemented for Quantum Espresso (read from "seedname.nscf.out" if
  verbosity = 'high') and VASP (read from "OUTCAR"/"LOCPROJ")

* spin-orbit coupling SO = 1 implemented
* substitute k_mesh and bz_weights with kpts and kpt_weights,
  respectively (previous names kept for compatibility)
* updated tests
2021-02-05 18:08:46 -05:00
sobeck
aeaebb04ae Revision of Wannier90Converter: 1) write the Hamiltonian in Bloch space
for charge self-consistent calculations, and 2) spin-orbit coupling

if bloch_basis = True:
* if "seedname_u.dat" (and in case of disentanglement "seedname_u_dis.dat")
  present, write hopping in Bloch basis
* "proj_mat" transforming from Bloch to orbital space
* diagonal hoppings are directly read from "seedname.eig"
* fermi weights and band_window of Wannier Hamiltonian are read from DFT
  output and "seedname.nnkp", written into new subgroup "dft_misc_input"
* automatic calculation of "density_required"
* implemented for Quantum Espresso (read from "seedname.nscf.out" if
  verbosity = 'high') and VASP (read from "OUTCAR"/"LOCPROJ")

* spin-orbit coupling SO = 1 implemented
* substitute k_mesh and bz_weights with kpts and kpt_weights,
  respectively (previous names kept for compatibility)
* updated tests
2021-02-05 14:41:59 -05:00
Nils Wentzell
2d7818a85f Add scipy to requirements.txt 2021-02-05 12:09:10 -05:00
Nils Wentzell
3973147669 Add numpy to requirements.txt 2021-02-05 12:06:47 -05:00
Nils Wentzell
2fdced8d63 Add mako to requirements.txt 2021-02-05 11:49:46 -05:00
Nils Wentzell
60b1a247ce [gh-actions] Specify FC env variable during build 2021-02-03 12:24:06 -05:00
Nils Wentzell
6dccb363de Merge remote-tracking branch 'app4triqs-remote/unstable' into unstable 2021-02-03 11:03:08 -05:00
Nils Wentzell
d0c0bc1cde [cmake] Clean up IPO section in CMakeLists.txt 2021-02-03 11:02:56 -05:00
Nils Wentzell
57e9896b9a [cmake] Restore compatibility against cmake version 3.9.6 2021-02-03 11:00:07 -05:00
Nils Wentzell
1baca5f156 [gh-actions] Install gfortran for OSX builds 2021-02-03 09:19:12 -05:00
Nils Wentzell
16bf47b9cc [cmake] Globally disable compiler extensions, minor improvements in CMakeLists.txt 2021-02-01 15:02:57 -05:00
Nils Wentzell
73aa51608e [cmake] In extract_flags.cmake inspect INTERFACE_COMPILE_FEATURES and add -std=.. flags accordingly 2021-02-01 09:42:03 -05:00
Nils Wentzell
efad2fe6ef [cmake] Use googletest master branch (live-at-head) instead of release-1.10.0 2021-01-22 15:39:11 -05:00
Nils Wentzell
f247db58d8 [cmake] Enable Linktime optimizations when available, bump cmake requirement to 3.9.6 2021-01-22 14:53:04 -05:00