3
0
mirror of https://github.com/triqs/dft_tools synced 2024-08-16 01:08:29 +02:00
Commit Graph

51 Commits

Author SHA1 Message Date
Nils Wentzell
4521842a07 Merge remote-tracking branch 'app4triqs-remote/unstable' into unstable 2020-10-30 16:13:51 -04:00
Nils Wentzell
32df9c4c5f [cmake] Set VERSION property for project library using major and minor version numbers 2020-10-30 14:39:40 -04:00
Alexander Hampel
11d394fd5b synchronize dfttools with app4triqs structure
* moved the plovasp C++ code to c++/triqs_dft_tools/converters/vasp
* added global header triqs_dft_tools/triqs_dft_tools.hpp
* python dir based on single cmakelist file
* registered C++ tests for plovasp
* corrected imports for py3 tests for plovasp
* corrected block order in sigma_from_file and srvo3_Gloc
* exchanged ref files for sigma_from_file, srvo3_Gloc, SrVO3.ref.h5
* moved vasp converter bash scripts from dir shells to bin dir
2020-06-10 17:45:53 +02:00
Nils Wentzell
909a772205 [cmake] Disable setting c++ standard using target_compile_features 2020-05-28 11:50:35 -04:00
Nils Wentzell
fbe3f2fa0a [cmake] Prefer the use of PROJECT_NAME in most CMakeLists.txt files 2020-05-28 11:20:01 -04:00
Nils Wentzell
35f0e35b0b [cmake] Set target property POSITION_INDEPENDENT_CODE=ON for library 2020-05-13 15:41:24 -04:00
Nils Wentzell
daaf502102 [cmake] Provide target alias app4triqs::app4triqs_c -> app4triqs_c for use as subproject 2020-05-07 17:36:53 -04:00
Nils Wentzell
0394f7fae2 [cmake] ASAN / UBSAN should note be exported 2020-05-01 14:28:19 -04:00
Nils Wentzell
6d4289e024 [cmake] rename project_warnings to project specific target, to not export it 2020-04-29 15:31:36 -04:00
Nils Wentzell
3f71381f1b [cmake] Be sure fill INTERFACE_INCLUDE_DIRECTORIES for installed library targets 2020-04-24 17:50:26 -04:00
Nils Wentzell
4120eb5f99 [cmake] Add BUILD_SHARED_LIBS option, continue to build static by default 2020-04-22 15:06:15 -04:00
Nils Wentzell
68cac838cc Adjust hdf5 usage to changes in triqs/nda 2020-04-03 16:20:03 -04:00
Nils Wentzell
7b8b71e984 [cmake] Fix various issues occuring when using a skeleton based app as a subproject 2019-12-02 17:53:17 -05:00
Nils Wentzell
09b0a68b26 [cmake] Fix cppcheck invocation, add --force to cppcheck options 2019-11-21 11:54:10 -05:00
Nils Wentzell
919639bd27 [cmake] Find libasan and libubsan only if the targets are not already defined by the parent project 2019-11-18 14:04:29 -05:00
Nils Wentzell
7859505fea [doc] Remove non-existant tag from doc example 2019-10-09 16:23:02 -04:00
Nils Wentzell
cc81dffa4a [cmake] Minor corrections 2019-09-18 14:23:14 -04:00
Nils Wentzell
df33cb6ffd [cmake] Clean c++/app4triqs/CMakeLists.txt after recent additions to triqs Findsanitizer.cmake 2019-09-16 14:39:27 -04:00
Nils Wentzell
30f32f8dec [cmake] Update cppcheck language standard 2019-09-13 17:51:16 -04:00
Nils Wentzell
24f5268394 Minor clang-tidy fix in app4triqs.hpp 2019-09-13 17:10:35 -04:00
Nils Wentzell
28d600f149 [app4triqs] Rename files and Python module from toto to app4triqs
-Automatically detect any wrap generator files
-rename tests to basic/Py_Basic
2019-09-04 17:37:50 -04:00
Nils Wentzell
8d906ed6cc [cmake] Use PROJECT_GIT_HASH instead to store git hash and adjust dependent files accordingly 2019-07-16 11:54:32 -04:00
Nils Wentzell
3807534ef8 Fix in dos_tetra_weights_3d: return array<..> instead of array_view<..>
-In triqs version 2.2 array_views no longer own the memory they point to
 This means that array variables that are local to a function should always
 be returned as arrray and never as an array_view
2019-07-02 10:49:35 -04:00
Nils Wentzell
d02eff9ce3 [cmake] Consistently use PROJECT_SOURCE_DIR over CMAKE_SOURCE_DIR 2019-06-26 11:35:52 -04:00
Nils Wentzell
24f49da39c [cmake] Do not enable compiler warnings globally but instead through an interface target 2019-06-26 11:06:12 -04:00
Nils Wentzell
c492078f77 [doc] Major cleaning of doc targets and CMakeLists.txt 2019-04-26 12:40:44 -04:00
Nils Wentzell
219bd830a5 [doc] Minor cleanings of app4triqs doc examples 2019-04-26 10:23:58 -04:00
Olivier Parcollet
038b41bd47 minor 2019-04-25 15:48:58 -04:00
Nils Wentzell
e329acfa06 Remove warning about unused variable 2019-04-25 13:52:22 -04:00
Olivier Parcollet
e055902496 Make doc a bit more complex 2019-04-23 16:44:00 -04:00
Nils Wentzell
095409d879 Major cleaning, Synchronize project structure with qmc codes 2019-04-12 16:36:03 -04:00
Nils Wentzell
aef818bc28 add float-cast-overflow and float-divide-by-zero to ubsan checks 2018-11-26 12:04:35 -05:00
Nils Wentzell
759bb9da1d Fix the sanitizers for MacOs 2018-11-21 16:52:55 -05:00
Nils Wentzell
af8f3ad824 Minor fixes and adjustments 2018-08-30 18:07:35 -04:00
Nils Wentzell
d8f6932888 Make static analyzers optional 2018-04-06 14:36:07 +02:00
Nils Wentzell
ed918caf40 remove cpp2py header include 2018-03-27 13:55:04 +02:00
Nils Wentzell
f65e5bfbad Further cleanining, switching to static library
-Disable LINTing in test macros with comment // NOLINT
-Enable static analyzers for c++ tests
-Switch app4triqs_c to static library
 Dynamic was pickung up previously installed libapp4triqs_c.so in tests
 Also there is no need to be dynamic for applications
-Fix previous change in HeaderFilterRegex:
 'app4triqs/c++' was blocking all headers for clang-tidy checks.
 'app4triqs' works well, but we cannot install any other headers into
 app4triqs folder structure.
 We thus had to create INSTALL_DIR in travis.yml
2018-03-26 00:31:39 +02:00
Nils Wentzell
e3c4366d54 Enable all compiler warnings, Include Triqs headers as SYSTEM, fix linker for sanitizers 2018-03-25 20:15:49 +02:00
Nils Wentzell
f2d7e84bdd Major update and Cleaning
-consistent indends in all cmake files
-add static analyzer checks with both cppcheck and clang-tidy
-add dynamic analyzer checks with Address Sanitizer and option ASAN
-add dynamic analyzer checks with Undefined Behavior Sanitizer and option UBSAN
-Further Cleaning and Comments
2018-03-25 19:21:18 +02:00
Nils Wentzell
6bf4afd316 Adding cmake config files to install targets, Major cleaning 2018-03-23 16:59:38 +01:00
Nils Wentzell
2b76c51f12 First draft of the triqs application skeleton 2018-03-22 18:16:10 +01:00
Olivier Parcollet
1a0ba43f8d Continued 2018-01-22 17:37:27 -05:00
Olivier Parcollet
ae548d48da WIP 2017-12-07 15:56:05 +01:00
Olivier Parcollet
d25bd40560 [plotvasp] Fix #74 compilation error on clang
- fabs for complex ? It is not defined.
- replaced by std::abs.
- How could the code compile before ?
2017-04-05 21:01:12 +02:00
Oleg E. Peil
e24933d3fe Removed obsolete files 2017-02-07 09:47:28 +01:00
Oleg E. Peil
5dded633b8 Fixed CMake scripts to properly add a c++ library
First of all, 'c++/plovasp/atm' was erroneously removed after
the last merge with the upstream branch.
Now, the whole subdirectory 'c++' is added.
Also, C++ flags are properly imported from the TRIQS configuration.
2016-03-24 11:40:12 +01:00
Oleg E. Peil
ea87d5bf11 Fixed module and library paths
In version 1.4 all python applications moved from the root python
library to `pytriqs/` subdirectory.
2016-03-11 12:14:31 +01:00
Oleg E. Peil
9acdc5a8f8 Added install command for 'atm_c' target 2016-03-11 10:00:41 +01:00
Oleg E. Peil
88dc1eeb78 Added a simple C-test of the ATM library
The tests are build to be executed by CMake test functionality.
2016-03-09 18:56:59 +01:00
Oleg E. Peil
911f127789 Ported C-style 'dos_tetra' to C++
In order to wrap the ATM routines by Python using TRIQS wrapping
tools it is necessary to modify the interface to 'dos_tetra3d'.
The major changes involved replacing direct NumPy arrays with
TRIQS arrays which can be converted to Python arrays using library
tools.

Also, some small changes were necessary to port the functions
from C99 complex numbers to C++ style.

CMakeList is added to automatize building of the ATM library.
2016-03-09 18:55:15 +01:00