Skip to content
Open

asd #13

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1409 commits
Select commit Hold shift + click to select a range
6102d7a
fix exchange
ahurta92 Mar 16, 2023
2fd3678
it works!
ahurta92 Mar 16, 2023
1e979fc
remove unnecessary printing
ahurta92 Mar 16, 2023
12bbec0
remove unnecessary printing
ahurta92 Mar 19, 2023
6407765
Fix typo in PaRSEC task backend: was using the input parameter instea…
therault Mar 22, 2023
eade00e
Merge pull request #463 from therault/fix-parsec-typo
evaleev Mar 22, 2023
b2cfe75
merge master into ccresponse
evaleev Feb 14, 2023
e09abe0
amend a630bf3f to only limit MAD_NUM_THREADS to 64 when using native …
evaleev Mar 23, 2023
68187de
amends https://github.com/m-a-d-n-e-s-s/madness/pull/463 to set the n…
evaleev Mar 23, 2023
91fff76
amends b2cfe752dd8abd98683ec1bd3891035ee610d86e
evaleev Mar 23, 2023
b9fb251
Merge pull request #464 from m-a-d-n-e-s-s/evaleev/fix/parsec-nthread
evaleev Mar 23, 2023
0ed41fa
fixed broken build
fbischoff Mar 24, 2023
106dfb0
Merge pull request #466 from m-a-d-n-e-s-s/465-cant-build-with-build_…
fbischoff Mar 24, 2023
8a80b2c
Switch max sub to 5
ahurta92 Apr 3, 2023
ad852ea
Update README.md
robertjharrison Apr 4, 2023
718919c
Update README.md
robertjharrison Apr 4, 2023
c336c10
getting the tutorial started
robertjharrison Apr 4, 2023
bb2cd86
experimenting
robertjharrison Apr 4, 2023
8dcbd10
fixed some truly ancient bugs in longfloat in order to extract 220
robertjharrison Apr 4, 2023
e1b7288
see if this improves out of phase density issue
ahurta92 Apr 4, 2023
65bc636
do not plot all orbitals by default
ahurta92 Apr 4, 2023
44a441d
truncate after multiple and before add in density
ahurta92 Apr 4, 2023
4674caa
trunchate chi before making density
ahurta92 Apr 4, 2023
db6e1d6
fix make_density
ahurta92 Apr 5, 2023
24d963e
residual stays the stay across iterations after they have converged
ahurta92 Apr 5, 2023
55eed74
residual stays the stay across iterations after they have converged
ahurta92 Apr 5, 2023
829a1c9
residual stays the stay across iterations after they have converged
ahurta92 Apr 5, 2023
fbc2b8c
clean up
ahurta92 Apr 5, 2023
d7c67a4
convergence april
ahurta92 Apr 5, 2023
4f470a1
add a plotline function taking in a vector of functions
ahurta92 Apr 6, 2023
cdd84e9
plot orbitals
ahurta92 Apr 6, 2023
9cf98f1
re-write plot orbitals to plot a vector of functions in a single file
ahurta92 Apr 6, 2023
776ce5f
testing box size 50
ahurta92 Apr 6, 2023
3990dbe
plot line not vtk
ahurta92 Apr 6, 2023
6856ae7
mask again
ahurta92 Apr 6, 2023
51a38e5
Use small_memory algorithm
ahurta92 Apr 6, 2023
8d56308
Fix the printing
ahurta92 Apr 6, 2023
fbf3c2d
lower the high protocol
ahurta92 Apr 6, 2023
bbfb0eb
lower the high protocol
ahurta92 Apr 7, 2023
7572c9d
l is too small?
ahurta92 Apr 7, 2023
b52645f
l=200
ahurta92 Apr 7, 2023
b5a3eff
DO NOT MASK THE POTENTIAL
ahurta92 Apr 7, 2023
50770be
Try 50
ahurta92 Apr 7, 2023
bc76da5
Back to 200
ahurta92 Apr 7, 2023
1fb14c5
try multiworld
ahurta92 Apr 7, 2023
c0da86c
project gamma after adding
ahurta92 Apr 7, 2023
0b55845
remove mask
ahurta92 Apr 7, 2023
7fee260
remove extra truncation
ahurta92 Apr 7, 2023
27a8de4
always print the polarizability
ahurta92 Apr 7, 2023
259ba21
do not flatten
ahurta92 Apr 7, 2023
1a2514e
update
ahurta92 Apr 7, 2023
7f4d87e
Merge branch 'master' into molresponse_development_convergence
ahurta92 Apr 7, 2023
e327301
increase print level for debugging
ahurta92 Apr 8, 2023
248b8a8
print k0
ahurta92 Apr 8, 2023
6b6fddc
some useful printing
ahurta92 Apr 9, 2023
5fe995f
if not active should be a zero function
ahurta92 Apr 10, 2023
8f844a1
load balancing
ahurta92 Apr 10, 2023
96abc55
mutiply inner by 2 for static case
ahurta92 Apr 10, 2023
031b458
j1 bug
ahurta92 Apr 10, 2023
f8dc098
add j1 strategy
ahurta92 Apr 10, 2023
e314f04
fix includes
ahurta92 Apr 10, 2023
0d72bf8
use new response
ahurta92 Apr 10, 2023
e6e3d38
w1 strategy
ahurta92 Apr 10, 2023
a2a9d2a
finish unified compute_gamma
ahurta92 Apr 10, 2023
a4f4f17
working on exchange again
ahurta92 Apr 10, 2023
3a5e14b
make density
ahurta92 Apr 11, 2023
d978567
use make density in gamma
ahurta92 Apr 11, 2023
d0ca07c
output density norms
ahurta92 Apr 11, 2023
be9dec9
output density norms
ahurta92 Apr 11, 2023
4954723
output density norms
ahurta92 Apr 11, 2023
23206eb
fence multiply in density
ahurta92 Apr 11, 2023
bd18e17
fence where i can
ahurta92 Apr 11, 2023
26560e9
try a simplified version of inner
ahurta92 Apr 11, 2023
da970fc
do not recompute density for gamma
ahurta92 Apr 11, 2023
c6d90c3
turn the inner back
ahurta92 Apr 11, 2023
3fb0699
clean up iteration
ahurta92 Apr 11, 2023
66848e1
fix density residual bug
ahurta92 Apr 11, 2023
934ead8
Update tutorial.md
robertjharrison Apr 11, 2023
032c13c
Update tutorial.md
robertjharrison Apr 11, 2023
5684902
Update tutorial.md
hborchert Apr 11, 2023
9cf76d8
Update tutorial.md
robertjharrison Apr 11, 2023
93fe8a7
remove vector of shared pointers
ahurta92 Apr 11, 2023
e986575
small change to compute j1
ahurta92 Apr 11, 2023
46974d9
this might change something
ahurta92 Apr 11, 2023
723ae85
fix the residual
ahurta92 Apr 12, 2023
f5d7877
fix k1
ahurta92 Apr 12, 2023
0faa037
new implementation of k1
ahurta92 Apr 12, 2023
3fc1505
change it back
ahurta92 Apr 12, 2023
3f008cd
try density this way
ahurta92 Apr 12, 2023
1adba01
change sprintf to snprintf
fbischoff Apr 12, 2023
2c8aed3
box size
ahurta92 Apr 12, 2023
843262c
copy rho
ahurta92 Apr 12, 2023
14609bb
density residual printing
ahurta92 Apr 12, 2023
f67ce04
try to fix printing of d residual
ahurta92 Apr 12, 2023
7b9c1e4
fence
ahurta92 Apr 12, 2023
6bd4a98
try this
ahurta92 Apr 12, 2023
9bd3ac9
try moving density residual
ahurta92 Apr 12, 2023
8c59bd8
Merge pull request #467 from m-a-d-n-e-s-s/pr-cleanup-compilation-war…
fbischoff Apr 12, 2023
0e06f9e
can't trust the value unless I copy it
ahurta92 Apr 12, 2023
fc435bb
Merge branch 'master' into molresponse_development
ahurta92 Apr 12, 2023
2a670c6
tighten the density convergence threshold
ahurta92 Apr 13, 2023
d47f9d7
usability improvements
fbischoff Apr 16, 2023
3f3730e
fixed failing test
fbischoff Apr 17, 2023
0269eea
Merge pull request #468 from m-a-d-n-e-s-s/pr-cleanup1
fbischoff Apr 17, 2023
3b22feb
remove unused header file
ahurta92 Apr 18, 2023
ee47465
call it molecules
ahurta92 Apr 18, 2023
c41eb5c
all future databases rely on definition of json_data directory
ahurta92 Apr 18, 2023
28c393a
Update tutorial.md
hborchert Apr 18, 2023
97ee7eb
amends https://github.com/m-a-d-n-e-s-s/madness/commit/0ed41fa2ba9b6b…
evaleev Apr 18, 2023
81b8be2
use FindOrFetch scripts from the MADNESS tree
evaleev Apr 18, 2023
dc32941
teach MADNESS how to serialize std::optional
evaleev Apr 18, 2023
ad927a0
compatible with qrp
ahurta92 Apr 19, 2023
5637d2a
test
fbischoff Apr 19, 2023
0fb311f
fixed previous commit for forwarding gentensor use to dependent projects
fbischoff Apr 19, 2023
9e4ce9f
introducing madchem.h in the top-level include directory
fbischoff Apr 19, 2023
3a2bf35
fixed helium_exact
fbischoff Apr 19, 2023
712a9e4
update documentation
fbischoff Apr 19, 2023
8825cc7
Merge pull request #469 from m-a-d-n-e-s-s/evaleev/feature/serialize-…
evaleev Apr 23, 2023
f06d9b7
make template class static member variables inline, this should resol…
evaleev May 7, 2023
88a9088
exclude SCFOperators.cc from unity builds
evaleev May 7, 2023
58b3e2c
remove all uses+mentions of WORLD_INSTANTIATE_STATIC_TEMPLATES
evaleev May 8, 2023
0fb53ad
Merge pull request #470 from m-a-d-n-e-s-s/evaleev/fix/template-class…
evaleev May 8, 2023
4d9f0c6
fixup hashing of std::pair
evaleev May 11, 2023
49c7113
Merge pull request #471 from m-a-d-n-e-s-s/evaleev/fix/hashing-std-pair
evaleev May 11, 2023
ec7f762
Update tutorial.md
robertjharrison May 16, 2023
21a2bbb
merging with base:master
kottmanj May 18, 2023
de13abb
Update tutorial.md
robertjharrison May 19, 2023
25fac76
Update tutorial.md
robertjharrison May 19, 2023
589f795
Update tutorial.md
robertjharrison May 19, 2023
66cec3c
Update tutorial.md
robertjharrison May 19, 2023
4e4ecac
Update INSTALL.md
robertjharrison May 19, 2023
1cd3b3e
Update to current parsec master
therault Jan 27, 2023
0a35bc3
Fix parsec profiling, only keep the status that a MADNESS task is on …
therault May 9, 2023
31b2470
Update to latest PaRSEC master so TTG and MADNESS point to the same v…
therault May 11, 2023
2cb8176
unified --help and --print_parameters options for all applications, s…
fbischoff May 22, 2023
0603410
Merge pull request #473 from m-a-d-n-e-s-s/pr-usability
fbischoff May 22, 2023
933a047
comment out detritus
robertjharrison May 23, 2023
0d75def
updates
robertjharrison May 23, 2023
43c5694
cleaning up output for geometry optimization
fbischoff May 24, 2023
017ed3d
Merge pull request #474 from m-a-d-n-e-s-s/pr-cleanup
fbischoff May 24, 2023
c163c56
merging with master
kottmanj May 25, 2023
c6f299c
installing tiny
kottmanj May 25, 2023
6f85dd2
cleanup
robertjharrison May 26, 2023
3c1a11a
starting api tutorials
fbischoff May 26, 2023
62eafb6
Merge remote-tracking branch 'origin/tutorial' into tutorial
fbischoff May 26, 2023
c8f90a5
Q2 orthonormalization in vmra.h
fbischoff May 26, 2023
bcc1a94
unifying SCFOperator api
fbischoff May 26, 2023
0e12804
fixed bug
fbischoff May 26, 2023
504c869
fixed same bug again
fbischoff May 26, 2023
17bd867
cleaning up SCFOperator signatures
fbischoff May 26, 2023
ea8c122
Merge pull request #475 from m-a-d-n-e-s-s/pr-SCFOperator-cleanup
fbischoff May 26, 2023
85b98da
Merge branch 'master' into tutorial
fbischoff May 26, 2023
26d8a42
working on the chemistry API
fbischoff May 26, 2023
bf7eb2b
slides for background and tutorial
robertjharrison May 28, 2023
2921397
test link to PDF
robertjharrison May 28, 2023
a4880f9
cleanup and making progress
robertjharrison May 28, 2023
00363da
renamed as README.md so that tutorial automatically appears in browse…
robertjharrison May 28, 2023
81904ed
minor edits
robertjharrison May 28, 2023
5f40a13
Update API.md
fbischoff May 30, 2023
4ea3d0d
adding a simple HF code to the tutorial
fbischoff May 30, 2023
56171c3
Merge remote-tracking branch 'origin/tutorial' into tutorial
fbischoff May 30, 2023
27dfef8
adding a simple HF code to the tutorial
fbischoff May 30, 2023
1984631
fixed using a user-defined input file
fbischoff May 30, 2023
45a4ba5
minor bug fix
robertjharrison May 30, 2023
9cc32dc
minor edit
robertjharrison May 30, 2023
d1f28a1
merged master into tutorial
robertjharrison May 30, 2023
21ffe1d
Update README.md
robertjharrison May 30, 2023
c80f0b9
Update make_doxygen.yml
robertjharrison May 30, 2023
37fc571
Merge pull request #476 from m-a-d-n-e-s-s/robertjharrison-patch-1
robertjharrison May 30, 2023
e3094bb
remove unused config/madness-* files
evaleev May 30, 2023
0505acc
inject dependencies on MADchem prereqs into madness jumbo lib
evaleev May 30, 2023
e9de76c
update sample CMakeLists.txt file
fbischoff May 30, 2023
17ed6d1
Merge branch 'master' into tutorial
fbischoff May 30, 2023
b19ae34
adding simple HF code for Tromso tutorial
fbischoff May 30, 2023
a582c4a
On running a chemistry calculation
fbischoff May 30, 2023
41324ea
Merge pull request #472 from therault/madness-parsec-master
evaleev May 30, 2023
ac8b071
Merge branch 'master' into molresponse_development
ahurta92 May 30, 2023
d22c119
fix changes from master
ahurta92 May 30, 2023
f3cb954
only world.rank 0 writes to calcinfo
ahurta92 May 31, 2023
54de71d
Update gitignore
ahurta92 May 31, 2023
68b5018
revert the formatting and keep Molecule::to_json()
ahurta92 May 31, 2023
12d2773
revert the formatting and keep Molecule::to_json()
ahurta92 May 31, 2023
59fa53a
Merge branch 'master' into tutorial
ahurta92 May 31, 2023
c4c47aa
some cpp filesystem checks built into CMAKE
ahurta92 May 31, 2023
718a14b
merged master into tutorial
robertjharrison Jun 1, 2023
c7495fd
trying to get complete doxygen doc
robertjharrison Jun 1, 2023
738d392
in progress
robertjharrison Jun 1, 2023
cfbd08d
trying to get complete doxygen doc
robertjharrison Jun 1, 2023
51d38cf
added link to doxygen doc
robertjharrison Jun 1, 2023
75bc47a
merge
robertjharrison Jun 1, 2023
85d44f8
Only rank 0 reads and updates the calc_info_schema
ahurta92 Jun 1, 2023
d0e511b
Merge pull request #478 from m-a-d-n-e-s-s/output_json_fix
robertjharrison Jun 1, 2023
5ef3d34
Merge branch 'master' into molresponse_development
ahurta92 Jun 1, 2023
3fd4825
Merge branch 'master' into molresponse_development
ahurta92 Jun 1, 2023
0252ea6
Merge pull request #477 from m-a-d-n-e-s-s/molresponse_development
robertjharrison Jun 1, 2023
3118cba
add molresponse to applications and build install
ahurta92 Jun 1, 2023
e1aa2d1
Merge branch 'tutorial' of https://github.com/m-a-d-n-e-s-s/madness i…
ahurta92 Jun 1, 2023
0a2c3c8
Merge branch 'master' into tutorial
ahurta92 Jun 1, 2023
99c161f
refining the example
robertjharrison Jun 1, 2023
39842aa
merge
robertjharrison Jun 1, 2023
8e731d7
some formatting
ahurta92 Jun 1, 2023
be5b9d2
formatting
ahurta92 Jun 1, 2023
a28007f
molresponse tutorial
ahurta92 Jun 1, 2023
6d0025e
fixing some input comments and default parameters for response
ahurta92 Jun 1, 2023
c3adfdd
generate frequency data in the right path
ahurta92 Jun 1, 2023
ee5619c
remove wasted lines
ahurta92 Jun 1, 2023
168d7b9
change the name of second_order property tensor in output
ahurta92 Jun 1, 2023
3ed6a79
print_level 1
ahurta92 Jun 1, 2023
602fcfe
First draft
ahurta92 Jun 1, 2023
4c1614d
Intial dfraft of molresponse tutorial
ahurta92 Jun 1, 2023
6667c0d
modify intro
ahurta92 Jun 1, 2023
0f8288b
remove yaml marp formatting
ahurta92 Jun 1, 2023
c6b9c76
merge
robertjharrison Jun 2, 2023
1875b19
Update chemistry.md
hborchert Jun 4, 2023
341c9d9
Update molresponse tutorial
ahurta92 Jun 4, 2023
b030618
Merge branch 'tutorial' of https://github.com/m-a-d-n-e-s-s/madness i…
ahurta92 Jun 4, 2023
dbcfb7d
Update chemistry.md
hborchert Jun 4, 2023
ffffc8d
fused the tutorials and editing the socket pinning discussion
robertjharrison Jun 5, 2023
ba2d171
getting the math formulas working again in the doxygen-generated web …
robertjharrison Jun 6, 2023
b0ee71d
Update README.md
robertjharrison Jun 6, 2023
1f1c790
Update API.md
robertjharrison Jun 6, 2023
9873774
Update API.md
robertjharrison Jun 6, 2023
f0890a5
Update README.md
robertjharrison Jun 6, 2023
43f48ac
Update README.md
robertjharrison Jun 6, 2023
74ba9b5
Update README.md
robertjharrison Jun 6, 2023
de5a33f
duplicate and confusing file
robertjharrison Jun 6, 2023
6b87a61
merge
robertjharrison Jun 6, 2023
f98fe97
rough-and-ready fix up of the doxygen documentation
robertjharrison Jun 6, 2023
b532f8e
rough-and-ready fix up of the doxygen documentation
robertjharrison Jun 6, 2023
de755d6
Added minimal docker image tools, based on https://github.com/ValeevG…
evaleev Jun 6, 2023
24a51aa
getting close to finishing the tutorial
robertjharrison Jun 6, 2023
412095a
missing bullets
robertjharrison Jun 6, 2023
f472e6b
Merge pull request #479 from m-a-d-n-e-s-s/evaleev/feature/docker-dev
robertjharrison Jun 6, 2023
7ecbda7
added libxc-dev to packages
robertjharrison Jun 6, 2023
6bd0b64
updated repo name
robertjharrison Jun 7, 2023
662731b
docker info
robertjharrison Jun 7, 2023
fb238ff
Updated tutorial/README.md with Docker instructions
evaleev Jun 7, 2023
7eaaa9c
Update README.md
robertjharrison Jun 7, 2023
a1bfb3d
Update README.md
robertjharrison Jun 7, 2023
931d7ab
Update README.md
robertjharrison Jun 7, 2023
2c5eaf3
Updated tutorial/README.md with instructions for running Docker's mol…
evaleev Jun 7, 2023
8999987
adding plot apps: plot2plane and plot2cube
kottmanj Jun 12, 2023
38013d9
added readme to apps/plot/
kottmanj Jun 12, 2023
9f3032f
better plotting
kottmanj Jun 15, 2023
abadd74
guessing L value according to defaults in CalculationParameters
kottmanj Jun 16, 2023
75c3805
guessing L value according to defaults in CalculationParameters
kottmanj Jun 16, 2023
b7b0256
avoiding bugs with angstrom/bohr conversions
kottmanj Jun 20, 2023
d2a3809
Merge branch 'pr-plot' into tequila
kottmanj Jun 20, 2023
c24cd0a
cis and moldft back in install
kottmanj Jun 23, 2023
6f6a2ae
Update build.sh
kottmanj Jun 17, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
148 changes: 148 additions & 0 deletions .clang-tidy
Original file line number Diff line number Diff line change
@@ -0,0 +1,148 @@
# Generated from CLion Inspection settings
---
Checks: '-*,
bugprone-argument-comment,
bugprone-assert-side-effect,
bugprone-bad-signal-to-kill-thread,
bugprone-branch-clone,
bugprone-copy-constructor-init,
bugprone-dangling-handle,
bugprone-dynamic-static-initializers,
bugprone-fold-init-type,
bugprone-forward-declaration-namespace,
bugprone-forwarding-reference-overload,
bugprone-inaccurate-erase,
bugprone-incorrect-roundings,
bugprone-integer-division,
bugprone-lambda-function-name,
bugprone-macro-parentheses,
bugprone-macro-repeated-side-effects,
bugprone-misplaced-operator-in-strlen-in-alloc,
bugprone-misplaced-pointer-arithmetic-in-alloc,
bugprone-misplaced-widening-cast,
bugprone-move-forwarding-reference,
bugprone-multiple-statement-macro,
bugprone-no-escape,
bugprone-not-null-terminated-result,
bugprone-parent-virtual-call,
bugprone-posix-return,
bugprone-reserved-identifier,
bugprone-sizeof-container,
bugprone-sizeof-expression,
bugprone-spuriously-wake-up-functions,
bugprone-string-constructor,
bugprone-string-integer-assignment,
bugprone-string-literal-with-embedded-nul,
bugprone-suspicious-enum-usage,
bugprone-suspicious-include,
bugprone-suspicious-memset-usage,
bugprone-suspicious-missing-comma,
bugprone-suspicious-semicolon,
bugprone-suspicious-string-compare,
bugprone-suspicious-memory-comparison,
bugprone-suspicious-realloc-usage,
bugprone-swapped-arguments,
bugprone-terminating-continue,
bugprone-throw-keyword-missing,
bugprone-too-small-loop-variable,
bugprone-undefined-memory-manipulation,
bugprone-undelegated-constructor,
bugprone-unhandled-self-assignment,
bugprone-unused-raii,
bugprone-unused-return-value,
bugprone-use-after-move,
bugprone-virtual-near-miss,
cert-dcl21-cpp,
cert-dcl58-cpp,
cert-err34-c,
cert-err52-cpp,
cert-err60-cpp,
cert-flp30-c,
cert-msc50-cpp,
cert-msc51-cpp,
cert-str34-c,
cppcoreguidelines-interfaces-global-init,
cppcoreguidelines-narrowing-conversions,
cppcoreguidelines-pro-type-member-init,
cppcoreguidelines-pro-type-static-cast-downcast,
cppcoreguidelines-slicing,
google-default-arguments,
google-explicit-constructor,
google-runtime-operator,
hicpp-exception-baseclass,
hicpp-multiway-paths-covered,
misc-misplaced-const,
misc-new-delete-overloads,
misc-no-recursion,
misc-non-copyable-objects,
misc-throw-by-value-catch-by-reference,
misc-unconventional-assign-operator,
misc-uniqueptr-reset-release,
modernize-avoid-bind,
modernize-concat-nested-namespaces,
modernize-deprecated-headers,
modernize-deprecated-ios-base-aliases,
modernize-loop-convert,
modernize-make-shared,
modernize-make-unique,
modernize-pass-by-value,
modernize-raw-string-literal,
modernize-redundant-void-arg,
modernize-replace-auto-ptr,
modernize-replace-disallow-copy-and-assign-macro,
modernize-replace-random-shuffle,
modernize-return-braced-init-list,
modernize-shrink-to-fit,
modernize-unary-static-assert,
modernize-use-auto,
modernize-use-bool-literals,
modernize-use-emplace,
modernize-use-equals-default,
modernize-use-equals-delete,
modernize-use-nodiscard,
modernize-use-noexcept,
modernize-use-nullptr,
modernize-use-override,
modernize-use-transparent-functors,
modernize-use-uncaught-exceptions,
mpi-buffer-deref,
mpi-type-mismatch,
openmp-use-default-none,
performance-faster-string-find,
performance-for-range-copy,
performance-implicit-conversion-in-loop,
performance-inefficient-algorithm,
performance-inefficient-string-concatenation,
performance-inefficient-vector-operation,
performance-move-const-arg,
performance-move-constructor-init,
performance-no-automatic-move,
performance-noexcept-move-constructor,
performance-trivially-destructible,
performance-type-promotion-in-math-fn,
performance-unnecessary-copy-initialization,
performance-unnecessary-value-param,
portability-simd-intrinsics,
readability-avoid-const-params-in-decls,
readability-const-return-type,
readability-container-size-empty,
readability-convert-member-functions-to-static,
readability-delete-null-pointer,
readability-deleted-default,
readability-inconsistent-declaration-parameter-name,
readability-make-member-function-const,
readability-misleading-indentation,
readability-misplaced-array-index,
readability-non-const-parameter,
readability-redundant-control-flow,
readability-redundant-declaration,
readability-redundant-function-ptr-dereference,
readability-redundant-smartptr-get,
readability-redundant-string-cstr,
readability-redundant-string-init,
readability-simplify-subscript-expr,
readability-static-accessed-through-instance,
readability-static-definition-in-anonymous-namespace,
readability-string-compare,
readability-uniqueptr-delete-release,
readability-use-anyofallof'
48 changes: 37 additions & 11 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
matrix:
build_type : [ Release, Debug ]
os : [ macos-latest, ubuntu-20.04 ]
task_backend : [Pthreads, TBB, PaRSEC]
task_backend : [Threads, OneTBB, PaRSEC] # OneTBB and LegacyTBB control which version of TBB to install
include:
- os: ubuntu-20.04
cxx: /usr/bin/g++-9
Expand All @@ -38,8 +38,7 @@ jobs:
-DMPIEXEC_PREFLAGS='--bind-to;none;--allow-run-as-root'
-DBUILD_TESTING=ON
-DMADNESS_ENABLE_CEREAL=ON
-DMADNESS_TASK_BACKEND=${{ matrix.task_backend }}
-DMADNESS_BUILD_MADWORLD_ONLY=${{ matrix.task_backend != 'Pthreads' }}
-DMADNESS_BUILD_MADWORLD_ONLY=${{ matrix.task_backend != 'Threads' }}

steps:
- uses: actions/checkout@v2
Expand All @@ -49,21 +48,48 @@ jobs:
# We'll use this as our working directory for all subsequent commands
run: cmake -E make_directory ${{github.workspace}}/build

- name: Process task_backend
run: |
if [ "X${{ matrix.task_backend }}" = "XLegacyTBB" ]; then
echo "TASK_BACKEND=TBB" >> $GITHUB_ENV
fi
if [ "X${{ matrix.task_backend }}" = "XOneTBB" ]; then
echo "TASK_BACKEND=TBB" >> $GITHUB_ENV
fi
if [ "X${{ matrix.task_backend }}" = "XThreads" ]; then
echo "TASK_BACKEND=Pthreads" >> $GITHUB_ENV
fi
if [ "X${{ matrix.task_backend }}" = "XPaRSEC" ]; then
echo "TASK_BACKEND=PaRSEC" >> $GITHUB_ENV
fi

- name: Install prerequisite MacOS packages
if: ${{ matrix.os == 'macos-latest' }}
run: |
brew install ninja gcc@10 boost eigen open-mpi bison tbb@2020 ccache
if [ "X${{ matrix.build_type }}" = "XDebug" ]; then
brew install cereal
brew install ninja gcc@10 boost eigen open-mpi bison ccache
if [ "X${{ matrix.task_backend }}" = "XLegacyTBB" ]; then
brew install tbb@2020
echo "TBBROOT=/usr/local/opt/tbb@2020" >> $GITHUB_ENV
fi
if [ "X${{ matrix.task_backend }}" = "XOneTBB" ]; then
brew install tbb
echo "TBBROOT=/usr/local/opt/tbb" >> $GITHUB_ENV
fi
echo "TBBROOT=/usr/local/opt/tbb@2020" >> $GITHUB_ENV
echo "/usr/local/opt/bison/bin" >> $GITHUB_PATH

- name: Install prerequisites Ubuntu packages
if: ${{ matrix.os == 'ubuntu-20.04' }}
run: |
sudo apt-get update
sudo apt-get install ninja-build g++-9 liblapack-dev libboost-dev libboost-serialization-dev libeigen3-dev openmpi-bin libopenmpi-dev libtbb-dev ccache
sudo apt-get install ninja-build g++-9 liblapack-dev libboost-dev libboost-serialization-dev libeigen3-dev openmpi-bin libopenmpi-dev ccache
if [ "X${{ matrix.task_backend }}" = "XOneTBB" ]; then
wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB -O - | sudo apt-key add -
sudo add-apt-repository "deb https://apt.repos.intel.com/oneapi all main"
sudo apt-get install intel-oneapi-tbb-devel
echo "TBBROOT=/opt/intel/oneapi/tbb/latest" >> $GITHUB_ENV
fi
if [ "X${{ matrix.task_backend }}" = "XLegacyTBB" ]; then
sudo apt-get install libtbb-dev
fi
if [ "X${{ matrix.build_type }}" = "XDebug" ]; then
sudo apt-get install libcereal-dev
fi
Expand Down Expand Up @@ -91,7 +117,7 @@ jobs:
# Note the current convention is to use the -S and -B options here to specify source
# and build directories, but this is only available with CMake 3.13 and higher.
# The CMake binaries on the Github Actions machines are (as of this writing) 3.12
run: cmake $GITHUB_WORKSPACE $BUILD_CONFIG
run: cmake $GITHUB_WORKSPACE $BUILD_CONFIG -DMADNESS_TASK_BACKEND=$TASK_BACKEND

- name: Build
working-directory: ${{github.workspace}}/build
Expand All @@ -102,4 +128,4 @@ jobs:
- name: Test
working-directory: ${{github.workspace}}/build
shell: bash
run: cmake --build . --target check-madness
run: cmake --build . --target check-short-madness
60 changes: 60 additions & 0 deletions .github/workflows/make_doxygen.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
name: publish-doxygen

# Trigger this when a pull request is merged (which implies pushing to master).
on:
push:
branches:
- master

jobs:
doxygen:
runs-on: ubuntu-latest

steps:

- name: Git Checkout
uses: actions/checkout@v2

- name: Create clean gh-pages branch
run: git checkout -b gh-pages

- name: Install prerequisites Ubuntu packages
run: |
sudo apt-get update
sudo apt-get install ninja-build g++-9 liblapack-dev openmpi-bin libopenmpi-dev libtbb-dev doxygen doxygen-latex graphviz

- name: configure
shell: bash
working-directory: ${{github.workspace}}
run: |
cmake -E make_directory ${{github.workspace}}/build
cd build && cmake $GITHUB_WORKSPACE

- name: build
shell: bash
working-directory: ${{github.workspace}}/build
run:
cd ${{github.workspace}}/build && make docs

- name: Move generated autodocs to target directory
working-directory: ${{github.workspace}}/build
run: mv doc/html ../api-doc

- name: Add generated autodocs to Git repo in the gh-pages branch
working-directory: ${{github.workspace}}
run: |
git config --global user.email "florian.bischoff@hu-berlin.de"
git config --global user.name "$GITHUB_WORKFLOW GitHub action"
git add api-doc
git commit -am "Generated API doc"

- name: Publish autodocs as GitHub pages
run: git push -f origin gh-pages:gh-pages

- name: Result URLs
run: |
REPO_OWNER=$(echo $GITHUB_REPOSITORY | cut -d '/' -f 1)
REPO_NAME=$(echo $GITHUB_REPOSITORY | cut -d '/' -f 2)
echo "Formatted API docs: https://$REPO_OWNER.github.io/$REPO_NAME/api-doc"
echo ""
echo "GitHub pages branch: $GITHUB_SERVER_URL/$GITHUB_REPOSITORY/tree/gh-pages"
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
build*
cmake-build-debug*
.history*

# Compiled Object files
*.slo
Expand Down Expand Up @@ -59,3 +61,7 @@ Makefile-prog.in
compile_commands.json
*.idx
.clang-format
/cmake-build-debug/.ninja_deps
compile_commands
.history/src/apps/molresponse/global_functions_20230530165227.cc
.history/src/apps/molresponse/global_functions_20230530165428.cc
30 changes: 30 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# .readthedocs.yaml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

# Set the version of Python and other tools you might need
build:
os: ubuntu-20.04
tools:
python: "3.9"
# You can also specify other tool versions:
# nodejs: "16"
# rust: "1.55"
# golang: "1.17"

# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: doc/conf.py

# If using Sphinx, optionally build your docs in additional formats such as PDF
# formats:
# - pdf

# Optionally declare the Python requirements required to build your docs
python:
install:
- requirements: doc/requirements.txt

Loading