Compare commits

...

2722 commits

Author SHA1 Message Date
Ole Schütt
11454568b3
Fix conventions in mode_selective.F (#5614) 2026-07-21 14:13:55 +02:00
SY Wang
2a9776c2cd
Libxc 7.1.1 -> 7.1.2 (#5612) 2026-07-21 10:43:21 +02:00
xysun
a0df33dd6a
Add MACE support interface (#5580)
Co-authored-by: Ole Schütt <ole@schuett.name>
2026-07-20 23:42:41 +02:00
SY Wang
290501bb7f
Libxc 7.0.0 -> 7.1.1 (#5607) 2026-07-20 17:55:05 +02:00
Franz Pöschel
3d5583cc72
Revert custom GauXC patches (#5610) 2026-07-20 11:43:17 +02:00
Johann Potot.
a05d36a5d9
Test native SKALA chunk routing across SCF iterations (#5555)
Co-authored-by: Johann Pototschnig <j.pototschnig@hzdr.de>
2026-07-20 11:42:52 +02:00
SY Wang
f4d43ab54f
Test xTB/regtest-3-spglib requires tblite (#5606) 2026-07-20 09:47:51 +02:00
dependabot[bot]
9111030217
Bump torch from 2.11.0 to 2.13.0 in /tools/pao-ml (#5604)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-17 23:04:52 +02:00
Franz Pöschel
be2d3823ac
GauXC caching: Cleanup (#5600)
Co-authored-by: AI Agent <ai-agent@localhost>
2026-07-17 14:44:52 +02:00
SY Wang
f6c0ee4712
Improve input keyword metadata rendering (#5569) 2026-07-17 14:34:23 +02:00
Jiacheng Xu
4ca962cc2c
CMake: Fix dependent option declarations (#5601) 2026-07-17 14:16:57 +02:00
SY Wang
8f16beb039
Move SCF MO k-point symmetry transform helper out of qs_wannier90 (#5598) 2026-07-17 14:14:45 +02:00
SY Wang
df8ab74de5
CMake: Move out-of-source builds requirement more ahead (#5585) 2026-07-17 13:05:07 +02:00
Frederick Stein
3caaa28e3b
Bump fortitude to version 0.9.0 and consider some of its new rules (#5597) 2026-07-17 08:19:44 +02:00
Franz Pöschel
39fe4c47c6
Gauxc object caching (#5340)
Co-authored-by: Thomas D. Kuehne <tkuehne@cp2k.org>
Co-authored-by: Thomas Kuehne <kuehne88@users.noreply.github.com>
2026-07-15 13:48:13 +02:00
HE Zilong
ea663e99cf
Address issues #1498 and #4023 (#5588) 2026-07-15 13:35:03 +02:00
Ole Schütt
7a5c6862f4
Increase development version after 2026.2 release (#5593) 2026-07-15 13:25:49 +02:00
Dynamics of Condensed Matter
c92cc08b45
Fix TBLITE forces and stress for periodic k-point calculations (#5582)
Co-authored-by: Thomas D. Kuehne <tkuehne@cp2k.org>
2026-07-14 13:37:50 +02:00
Dynamics of Condensed Matter
97cfbf5b46
Fix Bloch phases for fully symmetry-reduced k-point grids (#5581)
Co-authored-by: Thomas D. Kuehne <tkuehne@cp2k.org>
2026-07-13 19:41:54 +02:00
Ole Schütt
668b9a7f8c
GLBOPT: Reduce output of tests (#5586) 2026-07-13 18:28:32 +02:00
Ole Schütt
c823c920aa
Increase tolerance of OH_NATIVE_GPW_PBE_UKS_REFERENCE.inp (#5587) 2026-07-13 18:27:48 +02:00
SY Wang
2c97d88377
(P)DOS: Restore default behavior of output data (#5564) 2026-07-13 16:22:13 +02:00
HE Zilong
d2d9c0e403
Docs: write build timstamp to page footer, link past releases in CP2K_INPUT, add acronyms, add notes about NaN/Inf, edit convergence.md (#5579) 2026-07-13 10:55:09 +02:00
SY Wang
7de47fd987
Remove unused beta routines and move digamma to mathlib (#5568) 2026-07-13 09:45:08 +02:00
SY Wang
d4bfb39614
Toolchain: Download ELPA and PLUMED from cp2k.org (#5583) 2026-07-12 17:35:05 +02:00
Matthias Krack
c835e6b7b6
Disable DLA-Future only with MPICH (#5578) 2026-07-11 16:53:23 +02:00
SY Wang
440cf4f012
CMake: Remove cmake_minimum_required from Config 2026-07-10 18:44:13 +00:00
Matthias Krack
113a7dbab1
Update local spack recipe for gauxc (#5574) 2026-07-10 18:09:11 +02:00
Ole Schütt
b2ac3daf86
PAO-ML: Add pao-diff.py tool (#5577) 2026-07-10 16:55:19 +02:00
Matthias Krack
e2d766a6da
Drop local spack recipe for dbcsr (#5576) 2026-07-10 16:14:53 +02:00
Matthias Krack
29578c7298
Sync CI dockerfiles (see #5462) (#5545) 2026-07-10 13:46:16 +02:00
Johann Potot.
a2edeeb2c6
small fix for correct energy printing in gfn (#5566)
Co-authored-by: Johann Pototschnig <j.pototschnig@hzdr.de>
2026-07-10 09:50:06 +02:00
Stefano Battaglia
ad1d558f05
refactor: Remove OneDFT branding from GauXC interface (#5563)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-07-10 09:05:04 +02:00
HE Zilong
3c427e6f4d
Docs: add troubleshooting.md, convergence.md, CONTRIBUTING.md symbolic link, and contributions to changelog (#5522) 2026-07-10 08:59:09 +02:00
SY Wang
867b9852cc
toolchain/build_cp2k.sh: Always re-create build dir if not --rebuild-only (#5560) 2026-07-09 23:16:33 +02:00
Matthias Krack
61b9195a45
Drop local spack recipe for libfci (#5567) 2026-07-09 20:53:15 +02:00
Matthias Krack
b7af1c16c0
Simplify spack recipe for libfci (#5562) 2026-07-09 16:58:20 +02:00
Matthias Krack
f7216f7eed
Drop local spack recipes for elpa, exchcxx and gau2grid (#5561) 2026-07-09 12:13:12 +02:00
Matthias Krack
0ea840e1ab
Drop local spack recipe for IntegratorXX (#5558) 2026-07-09 09:14:13 +02:00
SY Wang
1b0cc9d292
Expose libcp2k C API procedures explicitly (#5557) 2026-07-08 16:08:32 +02:00
Taillefumier Mathieu
7909f53bfa
Make the grid gpu code less opaque (#5540)
Co-authored-by: Mathieu Taillefumier <mathieu.taillefumier@free.fr>
2026-07-08 15:29:50 +02:00
Matthias Krack
39e6d08f13
Drop local spack recipe for libxs (#5556) 2026-07-08 15:18:04 +02:00
SY Wang
345b391c5e
make_cp2k.sh: Use Spack v1.2.0 (#5546) 2026-07-08 12:39:19 +02:00
SY Wang
cccb9b4cd4
Toolchain: PLUMED 2.10.1, ELPA 2026.02.002 (#5553) 2026-07-08 12:24:17 +02:00
Matthias Krack
6d68f17818
Update usage doc and version for make_cp2k.sh (#5543) 2026-07-08 11:06:37 +02:00
Matthias Krack
e9dba43327
elpa 2026.02.001 -> 2026.02.002 (spack) (#5554) 2026-07-08 10:58:30 +02:00
Matthias Krack
ffd91bc41a
plumed 2.10.0 -> 2.10.1 (bug fix release) (#5551) 2026-07-08 09:48:43 +02:00
Ole Schütt
dd9e322d3b
Fix conventions in libgint_wrapper.F (#5552) 2026-07-08 08:41:21 +02:00
Ole Schütt
f6e87dc039
CODEOWNERS: Add owners for post SCF methods (#5547) 2026-07-07 17:05:07 +02:00
Bibek Samal
1ae7fa728c
Fix perturbative SOC sign bug and molecular SOC path (#5513) 2026-07-07 11:53:22 +02:00
SY Wang
9ac08c90f1
Shorten New Pulay iteration label (#5544) 2026-07-07 11:51:59 +02:00
SY Wang
b07e6de83f
Docs: Clean old-Makefile mentions (#5541) 2026-07-07 11:46:50 +02:00
hforbert
fe787632bd
add BCMD to upcoming changelog (#5542) 2026-07-06 16:34:17 +02:00
Matthias Krack
be0a27374c
Enable spack build with libgint (#5524) 2026-07-06 16:12:20 +02:00
Matthias Krack
c7767d20a3
Append version tag to UZH database files (#5520) 2026-07-06 14:31:23 +02:00
HE Zilong
473752caaa
Emit a warning in CIF file about the tentative part of its format (#5536) 2026-07-06 11:19:52 +02:00
SY Wang
0ff4726358
Toolchain: Drop obsolete --without-slurm for MPICH (#5535) 2026-07-06 11:13:08 +02:00
SY Wang
291bd4d74a
Re-enable QS/regtest-negf-xtb-1 test (#5532) 2026-07-06 11:12:15 +02:00
SY Wang
dd16820ba1
Docs: Clarify Wannier90 SCF MO reuse requirements (#5531) 2026-07-06 11:10:43 +02:00
Ole Schütt
40fb6157bf
Docker: Disable PyTorch in generic toolchain tester (#5529) 2026-07-04 23:43:37 +02:00
SY Wang
f3e23541e8
Docker: Disable GauXC in generic toolchain tester (#5516) 2026-07-04 20:47:16 +02:00
SY Wang
b95687185d
Docker: Fix Intel testers (#5517) 2026-07-04 20:42:51 +02:00
Taillefumier Mathieu
f50e850e17
[cmake] Cleanup accross the entire build system (#5527)
Co-authored-by: Mathieu Taillefumier <mathieu.taillefumier@free.fr>
2026-07-04 20:36:14 +02:00
SY Wang
c75d734d70
Docs: Release Notes {part, draft} (#5526) 2026-07-04 20:30:46 +02:00
Frederick Stein
c24029e761
Some fixes to the development wiki (#5525) 2026-07-03 20:53:24 +02:00
Ole Schütt
8527535a81
Docs: Add changelog (#5523) 2026-07-03 18:42:59 +02:00
Ole Schütt
6d9f5ac9a2
Docs: Reduce footprint of development section in navbar (#5521) 2026-07-03 13:54:18 +02:00
Matthias Krack
3c90c97729
Apply ELPA patch from toolchain also in spack builds 2026-07-03 12:51:59 +02:00
Matthias Krack
a2d013d033
Remove obsolete dependency 2026-07-03 12:49:25 +02:00
HE Zilong
d275998fba
Precommit: check for CPASSERT(.FALSE.), and empty CPABORT() (#5491) 2026-07-03 12:09:01 +02:00
Max Graml
bfcb1ea1d6
BSE: update references (#5515) 2026-07-03 11:19:09 +02:00
Frederick Stein
1f9fd2c165
Migrate development-related wiki pages (#5503) 2026-07-02 20:29:31 +02:00
SY Wang
0a0a847578
Set OpenMPI default binding policy to none via environment variable (#5511) 2026-07-02 16:08:38 +02:00
SY Wang
2c0c9dd7bf
Libxc: Skip duplicate functional IDs when adding input sections (#5514) 2026-07-02 15:27:24 +02:00
Marcello Puligheddu
de7340f8be
PR for adding libGint to CP2K (#5446) 2026-07-02 14:30:11 +02:00
Matthias Krack
3a6a80ebfc
pytorch 2.12.0 -> 2.12.1 (#5507) 2026-07-02 12:20:55 +02:00
SY Wang
6bd99e96c6
Libxc: Preserve aliases when registering XC functional sections (#5510) 2026-07-02 12:20:38 +02:00
SY Wang
5976d25a45
Spack: Remove +dlaf from SIRIUS requirement (#5499) 2026-07-01 18:37:51 +02:00
SY Wang
906b8b3f0a
Toolchain: Remove parse_if.py (#5498) 2026-07-01 17:46:21 +02:00
SY Wang
701d1e8c46
[CMake] Make CP2K_USE_OPENPMD part of CP2K_USE_EVERYTHING 2026-07-01 16:37:23 +02:00
SY Wang
17c8f72c4c
make_cp2k.sh: Avoid expanding unset SPACK_ENV (#5506) 2026-07-01 16:31:07 +02:00
Matthias Krack
14b73dafd1
Add local spack recipe for libxstream (#5501) 2026-07-01 16:13:06 +02:00
Ziwei Chai
2c8265a529
Add Andreussi's Solvent Aware SCCS method (#5495) 2026-07-01 15:18:53 +02:00
SY Wang
9fc3e74bfe
Reorganize dependency and electronic-structure documentation (#5481) 2026-07-01 13:23:20 +02:00
Max Graml
2cf3252f98
Fix SCF_GUESS EHT abort under OT (#5502) 2026-07-01 12:37:57 +02:00
Ziwei Chai
23ff2abb53
Add grand canonical SCF for slab models (#5467)
Co-authored-by: Ole Schütt <ole@schuett.name>
2026-07-01 12:23:41 +02:00
SY Wang
e6548e2930
make_cp2k.sh: resume interrupted dependency builds (#5497) 2026-07-01 11:08:40 +02:00
Matthias Krack
620e8b13eb
Detect SKALA model path only if gauxc is found 2026-07-01 06:48:46 +00:00
Matthias Krack
eb4986017d
Update local spack recipe for libxsmm to v2.0.0
This commit contains the following:

- Version synchronization of dbcsr and libxsmm
- Simplification of the local spack recipe
2026-07-01 06:47:44 +00:00
SY Wang
0d88fc2a8e
Toolchain: Download libxsmm from cp2k.org (#5493) 2026-06-30 13:32:13 +02:00
SY Wang
faf9aae912
Toolchain: Update ELPA patch and libxsmm version (#5490) 2026-06-30 09:28:30 +02:00
Ole Schütt
9aade48c25
Tests: Rerun tests that only barely clear the slowness threshold (#5484) 2026-06-29 17:15:06 +02:00
SY Wang
cbb202218e
CMake: Move GPU architectures setup before calling find_package(dbcsr) (#5483) 2026-06-29 15:39:04 +02:00
Matthias Krack
88e874441f
Fix cleaning of the folders build and install (#5487) 2026-06-29 14:26:35 +02:00
Matthias Krack
5576033f5b
Increase timeouts and timelimits for CSCS CI jobs (#5486) 2026-06-29 13:49:05 +02:00
Ole Schütt
1ee2fa6ca7
Toolchain: Download libxs, libxstream, and DBCSR from cp2k.org (#5485) 2026-06-29 13:44:50 +02:00
Taillefumier Mathieu
ba9180c884
Reordering of coefficients calculations (#5478)
Co-authored-by: Mathieu Taillefumier <mathieu.taillefumier@free.fr>
2026-06-29 11:27:53 +02:00
Ole Schütt
9b6721164e
CODEOWNERS: Add /make_cp2k.sh to Spack team (#5480) 2026-06-29 10:51:04 +02:00
HE Zilong
31876b56ae
Reftraj: add option to wrap coordinates before calculation (#5479) 2026-06-28 22:20:33 +02:00
Matthias Krack
ed4c696b7e
make_cp2k.sh: add --build_path flag (#5477) 2026-06-28 22:19:02 +02:00
SY Wang
392e7d2ee1
CMake: Remove duplicated option setting (#5473) 2026-06-28 22:16:04 +02:00
SY Wang
39eddeee7a
Toolchain: Update libxs* and DBCSR; fix CUDA/HIP package discovery (#5472) 2026-06-28 22:15:19 +02:00
Matthias Krack
871dbd59fb
Spack: Switch to dbcsr 2.10.0 (#5475) 2026-06-28 06:48:27 +02:00
Matthias Krack
38657c2321
Spack: switch to libxs 1.0.0 (#5474) 2026-06-27 22:26:19 +02:00
Taillefumier Mathieu
fa3fa498c3
Fix performance regression in the grid backend (#5471)
Co-authored-by: Mathieu Taillefumier <mathieu.taillefumier@free.fr>
2026-06-27 14:38:46 +02:00
SY Wang
3b4514f196
GauXC/SKALA: Handle empty atom chunks in MPI runs (#5440) 2026-06-27 11:44:36 +02:00
Augustin Bussy
708cd67847
XAS_TDP| Bug fix in Q = 1 - SP projector (#5470) 2026-06-27 11:43:36 +02:00
SY Wang
cf1540c906
Toolchain cleanup: Follow-up fix and enhancement (#5468) 2026-06-27 11:41:52 +02:00
SY Wang
ab143295cb
CMake: Reformat status summary (#5466) 2026-06-27 11:39:25 +02:00
SY Wang
b76ce4ef50
Toolchain cleanup: Remove unused flags (stage0-2) (#5463) 2026-06-26 12:17:11 +02:00
SY Wang
9abfe98c3b
Revise export-ignore in .gitattributes (#5464) 2026-06-26 12:16:30 +02:00
SY Wang
1bd8e1629d
GauXC: Split regtests and add slow tests suppression (#5465) 2026-06-26 12:15:14 +02:00
SY Wang
1e0ab71985
Docker: Improve Spack image build caching (#5462) 2026-06-25 16:28:47 +02:00
SY Wang
02e5e7c6ee
Toolchain cleanup: Remove unused flags (stage3-6) (#5459) 2026-06-25 16:27:58 +02:00
Frederick Stein
d31e8a02de
Add the hint regarding FFTW to the description of libraries (#5461) 2026-06-25 15:17:07 +02:00
SY Wang
6ab90febad
Sync CMake configuration to cp2kConfig.cmake (#5458) 2026-06-25 12:45:15 +02:00
Frederick Stein
a0c7eec525
Add hint regarding missing FFTW3 (#5454) 2026-06-25 11:26:47 +02:00
SY Wang
c04ca93c7f
Toolchain cleanup: Remove unused flags (stage7-9) (#5447) 2026-06-25 11:23:37 +02:00
Hans Pabst
701334031c
Code comments on top of #5353 (#5457) 2026-06-25 11:23:04 +02:00
SY Wang
4af04f499e
toolchain/build_cp2k.sh: Write module environment to cp2k_env if exists (#5456) 2026-06-25 10:12:55 +02:00
Matthias Krack
f18113f003
Sync local exchcxx spack recipe with upstream version (#5450) 2026-06-25 10:04:24 +02:00
Matthias Krack
97c7ba5dd8
Sync local libxs spack recipe with upstream version (#5453) 2026-06-25 10:02:04 +02:00
Frederick Stein
e8f5963d8d
Remove the single-precision option for full matrices (#5448) 2026-06-25 00:08:30 +02:00
Matthias Krack
476f3006db
Sync local gau2grid spack recipe with upstream version (#5451) 2026-06-24 20:45:21 +02:00
Matthias Krack
12a514f0bd
Sync local integratorxx spack recipe with upstream version (#5452) 2026-06-24 20:44:35 +02:00
SY Wang
23252ab802
Revise k-points documentation (#5435) 2026-06-24 18:08:30 +02:00
Juerg Hutter
353aefe660
Integrated (absolute) spin density: correct output for GAPW (#5449) 2026-06-24 16:51:14 +02:00
Juerg Hutter
4b4ae76f9d
MAO output (#5443) 2026-06-24 14:52:20 +02:00
Matthias Krack
cd1e3d7b65
Update GauXC to dev20260608 (#5445) 2026-06-24 13:58:07 +02:00
SY Wang
f3f9c0959e
Toolchain: Move libFCI installation to stage7 (#5442) 2026-06-24 13:27:56 +02:00
Ole Schütt
16a96a07a2
CODEOWNERS: Allow everyone to add new source files (#5444) 2026-06-24 10:58:50 +02:00
Ole Schütt
af486029db
Add CODEOWNERS (#5431) 2026-06-24 09:39:30 +02:00
SY Wang
9ac56287d5
README.md: Update installation docs and binary paths (#5438) 2026-06-24 09:38:54 +02:00
SY Wang
5fdc47cff4
Toolchain: Add Eigen3 and Remove FindLibint2.cmake (#5427) 2026-06-23 21:49:03 +02:00
RitajTyagi
2894a3be3d
RIRS: Improve RI-RS GW implementation, enable Γ-point calculation for large cells and integrate compile-time fix (#5429)
Co-authored-by: Ritaj Tyagi <ritaj@pc1022553194.uni-regensburg.de>
2026-06-23 21:46:58 +02:00
SY Wang
60d41ebace
Docker: Remove Spack profile from cmake_cp2k.sh (#5436) 2026-06-23 21:46:09 +02:00
Taillefumier Mathieu
63bb4b1a93
Fix a race condition in the grid backend (#5437)
Co-authored-by: Mathieu Taillefumier <mathieu.taillefumier@free.fr>
2026-06-23 21:45:14 +02:00
Matthias Krack
e32986a768
Fix syntax error (#5432) 2026-06-23 17:37:26 +02:00
Ole Schütt
06a6a83eab
Relocate cmake_cp2k.sh and test matcher classes (#5433) 2026-06-23 13:28:58 +02:00
Dynamics of Condensed Matter
3c69fd194f
Support native-grid SKALA GAPW stress and k-points (#5421)
Co-authored-by: Thomas D. Kuehne <tkuehne@cp2k.org>
2026-06-22 21:41:30 +02:00
Ole Schütt
49a1a0f24d
offload: Complete removal of libxstream from mempool (#5417) 2026-06-22 19:44:46 +02:00
Matthias Krack
1efcb7b067
Fix typos (#5430) 2026-06-22 18:23:07 +02:00
Ole Schütt
2f0b7ede70
Adjust tolerances of H2_NATIVE_SKALA_GPW_STRESS.inp:M072 and H2_NATIV… (#5428) 2026-06-22 15:42:24 +02:00
Matthias Krack
1efe93f5c2
Fix image tag generation (#5425) 2026-06-22 14:19:06 +02:00
Max Graml
2085e8ca3a
RIRS-GW: optimize OMP parallelization (#5399)
Co-authored-by: Claude <noreply@anthropic.com>
2026-06-22 14:09:38 +02:00
HE Zilong
fc8b99b17a
Reftraj: parse extxyz for cell and deprecate EVAL_ENERGY_FORCES/EVAL_FORCES (#5401) 2026-06-22 14:07:26 +02:00
SY Wang
adc2cbe104
Use pdbg for Rawhide tester (#5419) 2026-06-22 13:28:55 +02:00
SY Wang
12598fa817
Toolchain: Block installation of pre-built libtorch for MKL path (#5424) 2026-06-22 12:12:00 +02:00
SY Wang
7fec14f9c5
Fix MKL target selection for Intel-threaded BLAS (#5418) 2026-06-22 12:06:37 +02:00
Ziwei Chai
fadf84a243
Add new Pulay density mixing for grand canonical calculations (#5407) 2026-06-22 12:01:09 +02:00
Taillefumier Mathieu
efe242d354
grid: Clean up GPU backend and fix race condition (#5338)
Co-authored-by: Mathieu Taillefumier <mathieu.taillefumier@free.fr>
2026-06-22 11:58:47 +02:00
Matthias Krack
e6ecf3375d
Add prerequisite for dlaf test folder (#5423) 2026-06-22 11:31:55 +02:00
Matthias Krack
47a39399f3
Disable libtorch with GCC 10 (#5420) 2026-06-22 10:18:52 +02:00
Matthias Krack
561f47539b
Update CSCS CI tester (#5415) 2026-06-21 07:39:04 +02:00
SY Wang
948aa9e1c1
Docker [Spack]: Default to system GCC and enable Rawhide ssmp testing (#5409) 2026-06-20 23:47:26 +02:00
Ole Schütt
c5e43a80a8
Grid: Fix CUDA build (#5416) 2026-06-20 19:10:57 +02:00
Ole Schütt
0c205b2296
Docker: Use debug build for minimal test to detect unused args (#5413) 2026-06-20 17:34:13 +02:00
Ole Schütt
50bd97db99
Fix conventions in qs_dispersion_s_dftd3.F and floquet_utils.F (#5414) 2026-06-20 16:58:15 +02:00
Johann Potot.
6250c82c2d
small fixes for D2/D3 (#5398)
Co-authored-by: Johann Pototschnig <j.pototschnig@hzdr.de>
2026-06-19 16:51:28 +02:00
HE Zilong
204dd8f0e1
Fix an erroneous loop size from #5395 (#5410) 2026-06-19 16:27:27 +02:00
SY Wang
3223761494
Update libxs* dependencies (#5404) 2026-06-19 16:18:04 +02:00
SY Wang
285cf9bdaf
OFFLOAD: Restore internal host mempool for LIBXS builds (#5406) 2026-06-19 16:16:21 +02:00
SY Wang
9ca34697db
Improve CP2K CMake package metadata exports (#5400) 2026-06-17 11:56:47 +02:00
Matthias Krack
c28f603b59
Remove -v flag from example (#5403) 2026-06-16 22:46:16 +02:00
SY Wang
25eb499bcb
Toolchain: Speed up ELPA and GauXC installation (#5402) 2026-06-16 11:37:02 +02:00
SY Wang
4d701726f9
Toolchain: Print categorized configuration summary (#5397) 2026-06-15 10:59:06 +02:00
Dynamics of Condensed Matter
9a1f30adbb
Support periodic native SKALA stress, k-points, and NLCC (#5394)
Co-authored-by: Thomas D. Kuehne <tkuehne@cp2k.org>
2026-06-15 05:44:06 +02:00
HE Zilong
785b9d9b63
Vibrational analysis: formats, notes and hessian output before mass weighting (#5395) 2026-06-14 23:13:04 +02:00
HE Zilong
3631906f04
Two small patches for extxyz output (#5396) 2026-06-14 13:29:45 +02:00
Johann Potot.
cf453c1872
error_type from wrong file (#5393)
Co-authored-by: Johann Pototschnig <j.pototschnig@hzdr.de>
2026-06-14 12:47:59 +02:00
Max Graml
b0342986ae
RIRS: fix bounds of grids for geometries with mixed atom kinds (#5391)
Co-authored-by: Claude <noreply@anthropic.com>
2026-06-14 12:47:27 +02:00
Shridhar Shanbhag
f9604532c0
Floquet physics (#5380) 2026-06-14 12:46:35 +02:00
SY Wang
74766aa487
Update conventions suppression (#5388) 2026-06-14 12:11:20 +02:00
SY Wang
85b8a9b49c
Attempt to fix CMake and toolchain behavior regarding LibXS path (#5365)
Co-authored-by: Taillefumier Mathieu <29380261+mtaillefumier@users.noreply.github.com>
Co-authored-by: Hans Pabst <hans.pabst@intel.com>
2026-06-13 14:58:02 +02:00
Vahideh Alizadeh
9dda3dd524
update xTB documentation (#5383) 2026-06-12 17:39:13 -06:00
HE Zilong
bd24f0ace7
Vibrational analysis: reduce width of data field (rework #4922) (#5387) 2026-06-12 16:38:25 +02:00
Matthias Krack
3154efc870
Revise Spack recipes for Gau2Grid and IntegratorXX (#5390) 2026-06-12 15:26:19 +02:00
SY Wang
1425815bee
Add documentation of MO output (#5370) 2026-06-12 15:06:33 +02:00
HE Zilong
3d922ff5b6
NEB: revamp output (#5382) 2026-06-12 11:41:51 +02:00
Matthias Krack
20ea36f044
Enable CUDA for py-torch in spack recipe (#5386) 2026-06-12 10:35:35 +02:00
Johann Potot.
424e1d4d46
Jvp d3 library (#5346)
Co-authored-by: Johann Pototschnig <j.pototschnig@hzdr.de>
2026-06-11 16:29:35 +02:00
Matthias Krack
a90b72f5f7
Add cuda_arch propagation to GauXC spack recipe (#5384) 2026-06-10 15:47:25 +02:00
Matthias Krack
64e569e4f4
Revise spack recipe for Exchcxx (#5381) 2026-06-09 22:09:37 +02:00
Matthias Krack
e2123eace2
Fix truncation warning in __shfl_down_sync mask (#5379) 2026-06-09 13:17:39 +02:00
HE Zilong
f5ef6ceffd
Two small patches for cell_methods.F and particle_methods.F (#5378) 2026-06-09 13:04:29 +02:00
Dynamics of Condensed Matter
4cf809f41f
Enable optional GauXC CUTLASS toolchain builds (#5374)
Co-authored-by: Thomas D. Kuehne <tkuehne@cp2k.org>
2026-06-08 15:59:23 -06:00
Dynamics of Condensed Matter
475236acc4
Update UZH basis sets and pseudopotentials (#5376)
Co-authored-by: Thomas D. Kuehne <tkuehne@cp2k.org>
2026-06-08 15:58:02 -06:00
SY Wang
cb2e80cfb6
RPM-build: Temporarily disable SMM backend until LibXS is provided in Fedora repo (#5373) 2026-06-08 17:47:24 +02:00
Matthias Krack
7b1171f5d6
Add fully developed CP2K spack recipe for GauXC (#5375) 2026-06-08 15:31:40 +02:00
Dynamics of Condensed Matter
be2ee82e43
Improve native SKALA CUDA routing and Torch execution (#5362)
Co-authored-by: Thomas D. Kuehne <tkuehne@cp2k.org>
2026-06-07 18:06:57 -06:00
Dynamics of Condensed Matter
45836a5605
Expose GauXC OneDFT GPU runtime controls (#5363)
Co-authored-by: Thomas D. Kuehne <tkuehne@cp2k.org>
2026-06-07 17:00:19 -06:00
Dynamics of Condensed Matter
aa8e65b1e0
Fix dashboard code regressions (#5361)
Co-authored-by: Thomas D. Kuehne <tkuehne@cp2k.org>
2026-06-07 16:57:56 -06:00
Ole Schütt
87942b8d46
Docs: Add fragment links and note about citation keys to syntax cheat sheet (#5372) 2026-06-07 16:46:02 +02:00
Matthias Krack
9c2e77385f
Add NOT APPLE condition to linker option guard (#5369) 2026-06-07 14:41:19 +02:00
Shridhar Shanbhag
c6fe882990
DOS section explicit required and added new unit for electric field (#5349) 2026-06-07 14:06:45 +02:00
HE Zilong
b4b5edf373
Expand documentation on MD and opt; add "Foreword and FAQ" (#5337) 2026-06-07 13:35:41 +02:00
HE Zilong
5f41a9ca5d
Add a few DFT-D3 functional parameters (#5329) 2026-06-07 10:53:29 +02:00
Matthias Krack
4738a5a401
Switch opensuse tester to GCC 13 (#5368) 2026-06-07 08:26:01 +02:00
SY Wang
dccd4e42be
Drop complex magnitude matching and use absolute values for k-point moment tests (#5364) 2026-06-06 23:40:05 +02:00
Matthias Krack
f229b202dd
Add local spack recipe for libxs (#5366) 2026-06-06 23:20:56 +02:00
Dynamics of Condensed Matter
2254d362dc
Restrict PTB UZH basis aliases to matching q values (#5367)
Co-authored-by: Thomas D. Kuehne <tkuehne@cp2k.org>
2026-06-06 20:40:16 +02:00
SY Wang
e0f0c17926
Adjust regtests and ignore tblite SCC mixer residual for OT/LS_SCF (#5357) 2026-06-06 00:14:32 +02:00
Dynamics of Condensed Matter
78cce949b3
Revert PR 5351 (#5358)
Co-authored-by: Thomas D. Kuehne <tkuehne@cp2k.org>
2026-06-05 22:21:03 +02:00
Hans Pabst
2e4a83415a
Reintegrate with LIBXS, LIBXSTREAM, and LIBXSMM (#5343)
* LIBXS (https://libxs.readthedocs.io/) foundational library.
  - Implements SMMs with different JIT providers, e.g., MKL-JIT.
  - LIBXSMM only provides kernels (reg. upstream version).
* LIBXSTREAM (https://libxstream.readthedocs.io/).
  - Revised OpenCL backend now formally separate.
* CMake and Toolchain
  - Eliminated mkl_sequential/mkl_gnu_thread mismatch.
  - Toolchain adjusted for libxs/libxstream/libxsmm.
  - Case-insensitive CP2K_USE_ACCEL.  
    DBCSR originally wanted lower case.  
    This is to harmonize with DBCSR.
  - Allow CP2K's FYPP to be used for DBCSR.
    This enables DBCSR Tarball versions.
* Regenerated all Docker recipes.
  - This make FYPP available for DBCSR build.
  - This enables DBCSR Tarball versions.
2026-06-05 20:23:52 +02:00
Dynamics of Condensed Matter
446a0bc27e
Keep GPU grid classification consistent (#5351)
Co-authored-by: Thomas D. Kuehne <tkuehne@cp2k.org>
2026-06-05 17:35:06 +02:00
Dynamics of Condensed Matter
39800b25ec
Enable SKALA GAPW pseudopotential energy calculations (#5350)
Co-authored-by: Thomas D. Kuehne <tkuehne@cp2k.org>
2026-06-05 17:34:17 +02:00
rrullan
5b4bf874c7
Open-Shell implementation of ALMO (#5345)
Co-authored-by: Stephan Steinmann <67366413+ssteinma@users.noreply.github.com>
2026-06-05 17:01:19 +02:00
Juerg Hutter
0ad2206467
Fix output unit handling for EC modules. (#5356) 2026-06-05 13:31:50 +02:00
SY Wang
7c237e455b
Install SIRIUS for CUDA testers (#5355) 2026-06-05 13:25:58 +02:00
SY Wang
d41503088a
Smearing: various fixes (#5354) 2026-06-05 13:24:39 +02:00
SY Wang
06f838dc4a
Toolchain: Revise default behaviors (#5347) 2026-06-04 17:25:12 +02:00
Hans Pabst
0d07625766
DBM: fixes and code cleanup (#5353)
- Avoid excessive scans (hashtable_insert/dbm_shard_lookup).
- Fixed upload_pack and improved meta-data.
- Fixed data race in dbm_maxeps.
- Improved comm slightly. Avoid allt2all to figure out data amount.
  This was an open TODO in the code.
2026-06-04 13:37:19 +02:00
Hans Pabst
76dcc75b62
OFFLOAD: slightly revised init/deinit (#5352) 2026-06-04 13:36:27 +02:00
Ole Schütt
8dea62cad1
Reorganize dashboard and reduce Spack testing cadence (#5344) 2026-06-03 23:47:56 +02:00
Matthias Krack
7fabd04827
Install GauXC Skala with spack (#5269) 2026-06-03 17:24:08 +02:00
SY Wang
78a7633e0d
Reorganize electronic-structure analysis docs (#5341) 2026-06-03 14:28:43 +02:00
SY Wang
49523fb0eb
Nest PDOS controls inside DOS print section and add documentation (#5335) 2026-06-02 11:40:05 +02:00
Ole Schütt
e9e4980e05
Adjust tolerance of simple_non-ortho_grid_dgemm.inp (#5336) 2026-06-01 22:30:40 +02:00
Franz Pöschel
23153d14b2
Fix builds without libtorch (#5333) 2026-06-01 20:04:00 +02:00
SY Wang
45bd6cb1d1
Refactor DOS and PDOS input sections and output options (#5326) 2026-06-01 17:34:34 +02:00
Ole Schütt
afa401ae9a
Tests: Add libint to requirements of auto-ref dirs (#5332) 2026-06-01 16:58:39 +02:00
SY Wang
7c86815ba8
Add a warning regarding SCCS with k-points (#5330) 2026-06-01 12:50:11 +02:00
SY Wang
8b3d8f24eb
Fix CMake config issue as behavior of finding pace changes (#5331) 2026-06-01 12:37:45 +02:00
Dynamics of Condensed Matter
d5c4d393fe
Add native-grid SKALA CUDA atom chunk controls (#5323)
Co-authored-by: Thomas D. Kuehne <tkuehne@cp2k.org>
2026-05-31 23:29:09 +02:00
SY Wang
a64d610e39
Spack [pace]: Use upstream CMake install rules instead (#5328) 2026-05-31 20:17:32 +02:00
Ole Schütt
f06fd7fe03
Docker: Disable GauXC for toolchain ARM builds (#5327) 2026-05-31 20:15:46 +02:00
Dynamics of Condensed Matter
ec1c78fe08
Reject NLCC with native-grid Skala (#5325)
Co-authored-by: Thomas D. Kuehne <tkuehne@cp2k.org>
2026-05-31 17:17:29 +02:00
Taillefumier Mathieu
d7d0232213
Grid improvements (#5277)
Co-authored-by: Mathieu Taillefumier <mathieu.taillefumier@free.fr>
2026-05-31 15:24:48 +02:00
HE Zilong
71c7144468
Fix some format and convention of WRITE statements in cp_lbfgs.F (#5324) 2026-05-31 14:38:29 +02:00
SY Wang
db060cbc84
Toolchain: lammps-pace (ACE) 2023.11.25.fix2 -> 2025.12.4.p1 (#5320) 2026-05-31 14:37:26 +02:00
Ole Schütt
2d9c73baf3
Toolchain: Download tblite from cp2k.org (#5322) 2026-05-31 14:36:45 +02:00
Dynamics of Condensed Matter
59397cdcc8
Handle periodic image coordinates for native-grid SKALA (#5321)
Co-authored-by: Thomas D. Kuehne <tkuehne@cp2k.org>
2026-05-31 13:29:29 +02:00
SY Wang
1446772304
CMake: Fix libint2 Fortran module finding (#5317) 2026-05-31 12:05:28 +02:00
Dynamics of Condensed Matter
acf1d0e357
Add native GPW Skala grid evaluation (#5319)
Co-authored-by: Thomas D. Kuehne <tkuehne@cp2k.org>
2026-05-31 09:05:59 +02:00
Dynamics of Condensed Matter
099792108e
Add conservative AUTO default for cell canonicalization (#5318)
Co-authored-by: Thomas D. Kuehne <tkuehne@cp2k.org>
2026-05-30 20:11:58 +02:00
Ole Schütt
bff9b1f227
Docker: Disable GauXC for toolchain cuda builds (#5316) 2026-05-29 18:44:43 +02:00
annahehn
75e331fa99
Printout for interface with ROSE (Lukas Guhl) (#5302) 2026-05-29 18:44:04 +02:00
Dynamics of Condensed Matter
44edd53b36
Fix high-l real spherical harmonic rotations (#5313)
Co-authored-by: Thomas D. Kuehne <tkuehne@cp2k.org>
2026-05-29 16:12:41 +02:00
Johann Potot.
c046af2178
autodetection reference functional (#5296)
Co-authored-by: Johann Pototschnig <j.pototschnig@hzdr.de>
2026-05-29 15:56:36 +02:00
HE Zilong
8c4b069db3
Dimer: add control of initialization method and implement read from molden (#5312) 2026-05-29 14:40:08 +02:00
Shridhar Shanbhag
1d38d6d94d
Regtesting for secondary output files (#5315) 2026-05-29 14:37:11 +02:00
Dynamics of Condensed Matter
df7755d011
Fix periodic e-field force prefactors (#5308)
Co-authored-by: Thomas D. Kuehne <tkuehne@cp2k.org>
2026-05-29 00:40:54 +02:00
Dynamics of Condensed Matter
8c42d232ef
Avoid full k-point symmetry for skew cells (#5309)
Co-authored-by: Thomas D. Kuehne <tkuehne@cp2k.org>
2026-05-28 21:16:39 +02:00
Dynamics of Condensed Matter
48c63364e3
Canonicalize general input cells consistently (#5307)
Co-authored-by: Thomas D. Kuehne <tkuehne@cp2k.org>
2026-05-28 00:09:27 +02:00
SY Wang
3ba675f68a
Add a clear warning message regarding USE_PREV_RHO_R (#5304) 2026-05-27 23:10:08 +02:00
SY Wang
ddfed05c5a
Implement k-point PDOS with Lowdin projections (#5299) 2026-05-27 23:09:27 +02:00
SY Wang
cdd8209268
Improve MD step header output (#5306) 2026-05-27 23:08:02 +02:00
SY Wang
0cecd9b435
Fix current coding conventions issues (#5305) 2026-05-27 23:07:30 +02:00
Dynamics of Condensed Matter
d000247bb9
Avoid full k-point symmetry for noncanonical cells (#5301)
Co-authored-by: Thomas D. Kuehne <tkuehne@cp2k.org>
2026-05-27 21:37:09 +02:00
Dynamics of Condensed Matter
310d93447c
Fix USE_PREV_RHO_R density rebuild (#5300)
Co-authored-by: Thomas D. Kuehne <tkuehne@cp2k.org>
2026-05-27 15:45:08 +02:00
SY Wang
18dd494853
toolchain/build_cp2k.sh: Improve logging and add "--rebuild-only" flag (#5294) 2026-05-27 11:00:22 +02:00
Ziwei Chai
802500c0c8
pcc: Add input handling and KS integration for planar countercharge and PAEP (#5064)
Co-authored-by: Thomas D. Kuehne <tkuehne@cp2k.org>
2026-05-27 10:53:48 +02:00
Dynamics of Condensed Matter
f506c3be65
TREXIO: Export full k-point grids from symmetry-reduced SCF (S. Azadi) (#5297)
Co-authored-by: Thomas D. Kuehne <tkuehne@cp2k.org>
2026-05-26 20:02:55 +02:00
Dynamics of Condensed Matter
032766d08b
Add CASINO gwfn.data export for Quickstep orbitals (S. Azadi) (#5288)
Co-authored-by: Thomas D. Kuehne <tkuehne@cp2k.org>
2026-05-26 18:20:36 +02:00
Sebastian Ehlert
ba924cc32c
Add libxsmm explicitly to the link libraries (#5292) 2026-05-26 12:53:08 +02:00
Ole Schütt
7ac807a875
Adjust tolerance of ch2o_tblite_mixer.inp and si_uks_kp_tblite_mixer_… (#5291) 2026-05-26 11:30:56 +02:00
HE Zilong
3274ff38b0
Expose LBFGS print control as input keyword, increase default verbosity, and expand document for optimization (#5274) 2026-05-26 11:05:23 +02:00
Ole Schütt
a7cc81a68e
Drop support for GCC 8 (#5290) 2026-05-26 10:44:04 +02:00
Ole Schütt
cd7394cb51
Tests: Add tblite as requirement for xTB/regtest-stda (#5289) 2026-05-26 10:04:05 +02:00
SY Wang
f51a18d89b
Add broadened DOS/PDOS output with shared OT LUMO generation (#5287) 2026-05-26 08:35:40 +02:00
SY Wang
f0dc442c7c
Enable analytical periodic-subspace stress for 2D systems with ANALYTIC/MT (#5282) 2026-05-26 08:12:26 +02:00
Ole Schütt
9fc00bd92e
Motion: Add citation for BFGS model Hessian (#5286) 2026-05-26 00:10:40 +02:00
marisaschneider75-commits
d8760e491c
Avoid tblite TDDFPT OECORR COULOMB neighborlist crash (#5281)
Co-authored-by: Thomas D. Kuehne <tkuehne@cp2k.org>
2026-05-26 00:08:18 +02:00
Ole Schütt
ee34242743
Docker: Move to Phonopy main branch (#5285) 2026-05-26 00:02:17 +02:00
SY Wang
559586193c
Refactor MO_KP output (#5284) 2026-05-25 22:44:52 +02:00
kirk0830
6f4be11194
Correct author name in BASIS_MOLOPT_LnPP1 (#5276) 2026-05-25 22:35:08 +02:00
Franz Pöschel
7641cd99dd
Follow up GauXC: Remove patch from GauXC installation (#5266) 2026-05-24 23:51:40 +02:00
Dynamics of Condensed Matter
2e14aebe56
Parallelize build_tblite_matrices pair loop with OpenMP (Issue #5273) (#5279)
Co-authored-by: Thomas D. Kuehne <tkuehne@cp2k.org>
2026-05-24 22:45:16 +02:00
Franz Pöschel
37b6460902
GauXC: HDF5 debug output (#5270)
Co-authored-by: Thomas D. Kuehne <tkuehne@cp2k.org>
2026-05-24 15:27:50 +02:00
annahehn
0bf0ab0367
Printing Cartesian overlap matrix in line with Cartesian MOs such tha… (#5271)
Co-authored-by: Thomas D. Kuehne <tkuehne@cp2k.org>
2026-05-24 15:27:23 +02:00
kousuke-nakano
9de61f8478
Fix MO coefficients phase adjustment in trexio_utils.F for complex wavefunctions (#5278)
Well done! 

Greetings, 
Thomas
2026-05-24 10:26:17 +02:00
Dynamics of Condensed Matter
0622d442e4
Fix K290 symmetry for nonstandard cells and large k-point meshes (H. Mirhosseini) (#5275)
Co-authored-by: Thomas D. Kuehne <tkuehne@cp2k.org>
2026-05-23 18:28:15 +02:00
SY Wang
6768d83bf2
Apply popt/sopt symlinks to Fedora RPM-build (#5268) 2026-05-22 23:35:18 +02:00
SY Wang
c1bf2799a1
Rewrite documentation of molecular dynamics and structure optimization (#5240) 2026-05-22 23:34:00 +02:00
SY Wang
8c09d754e0
Libint required for regtest-hybrid-ace-gs (#5267) 2026-05-22 17:22:26 +02:00
Matthias Krack
5a6c0a78a3
Revise static build (#5261) 2026-05-22 15:05:42 +02:00
Dynamics of Condensed Matter
92c5e5ec96
Add q-vSZPs tight-binding basis data (#5265)
Co-authored-by: Thomas D. Kuehne <tkuehne@cp2k.org>
2026-05-22 13:23:37 +02:00
SY Wang
bcc6cf9f18
Allow FIT line search mode for cell optimization (#5262) 2026-05-22 11:51:05 +02:00
Dynamics of Condensed Matter
418b37c462
GauXC: use finite-difference GAPW XC gradients for SKALA and high-l bases (#5263)
Co-authored-by: Thomas D. Kuehne <tkuehne@cp2k.org>
2026-05-22 09:41:49 +02:00
Dynamics of Condensed Matter
919a8b9f61
GauXC: improve molecular OneDFT/SKALA support and validation (#5260)
Co-authored-by: Thomas D. Kuehne <tkuehne@cp2k.org>
2026-05-21 23:48:17 +02:00
Ole Schütt
61e2520981
Motion: Remove &CELL_OPT/TYPE keyword (#5257) 2026-05-21 17:31:40 +02:00
Ritama Kar
1581497297
Add Adaptively Compressed Exchange (ACE) option for hybrid DFT ground-state calculations (#5238)
Co-authored-by: ritama@1996 <karritama@gmail..com>
2026-05-21 16:32:36 +02:00
陈浩南
b3e9e277bd
fix cmake build when multiple gpu architectures are specified (#5248) 2026-05-21 09:42:44 +02:00
SY Wang
56c3704036
Add two conventions issues from "qs_dispersion_d4.F" to suppression file (#5258) 2026-05-21 09:42:18 +02:00
Max Graml
36a0d11aaa
Restart-backup races under MPI + slow filesystems: two fixes + one open question (#5253)
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-20 14:45:51 +02:00
Matthias Krack
d1631c1d3e
Disable GauXC for the ubuntu ssmp tester (#5256) 2026-05-20 14:33:23 +02:00
Matthias Krack
3a68eb34aa
Drop local spack recipe for tblite; disable bytecode generation (#5255) 2026-05-20 13:31:36 +02:00
Matthias Krack
c0b4819b30
Disable feature GauXC for Spack/CMake builds and (#5254) 2026-05-20 11:58:28 +02:00
Matthias Krack
0eb17dafdc
Update spack tester for OpenSUSE: 15.6 -> 16.0 (#5252) 2026-05-19 21:38:18 +02:00
Juerg Hutter
55e05fe139
Bug fix for TDDFPT oscillator strength for unrestricted calculations (#5251) 2026-05-19 21:05:03 +02:00
Matthias Krack
0e00971d48
Switch to spack packages version from May 19, 2026 (#5250) 2026-05-19 17:28:28 +02:00
Dynamics of Condensed Matter
b8318cf64b
Follow up GauXC/SKALA integration after #5084 (#5244)
Co-authored-by: Thomas D. Kuehne <tkuehne@cp2k.org>
2026-05-19 16:05:06 +02:00
Dynamics of Condensed Matter
d16a7bc263
Reuse SCF k-point dipoles in MOMENTS output (#5241)
Co-authored-by: Thomas D. Kuehne <tkuehne@cp2k.org>
2026-05-19 15:17:51 +02:00
Matthias Krack
5f5be17510
Exclude curl and readline from spack view (#5249) 2026-05-19 14:34:59 +02:00
Matthias Krack
8452982c9b
Rename spack psmp tester and add new gcc 16 tester (#5239) 2026-05-19 13:08:07 +02:00
hforbert
e068a9b9a7
add BCMD propagator to PINT (#5247) 2026-05-19 09:57:35 +02:00
Dynamics of Condensed Matter
f658ef2d91
Write cube values with explicit three-digit exponents (#5245)
Co-authored-by: Thomas D. Kuehne <tkuehne@cp2k.org>
2026-05-19 05:38:47 +02:00
Dynamics of Condensed Matter
666f2d7d18
Honor element KIND masses for PDB atoms (#5246)
Co-authored-by: Thomas D. Kuehne <tkuehne@cp2k.org>
2026-05-19 02:10:11 +02:00
Franz Pöschel
1dd88fb0fa
[WIP] Skala functional via GauXC for XC energy evaluation using deep learning models (#5084)
Co-authored-by: Thomas D. Kuehne <tkuehne@cp2k.org>
2026-05-18 18:37:12 +02:00
SY Wang
d5322d6847
GExt extrapolation methods for k-points (#5229) 2026-05-18 17:02:23 +02:00
SY Wang
ea7c263a32
Spack docker tester: Restore cache setup and access via host endpoint (#5236) 2026-05-18 16:41:25 +02:00
Matthias Krack
fac8184df2
Add more detailed documentation on installing cp2k with conda (#5237) 2026-05-18 15:57:06 +02:00
Ole Schütt
4d809f8023
Docker: Migrate test to Phonopy v4 (#5235) 2026-05-18 15:07:45 +02:00
SY Wang
b70f40af56
Relax tolerance (#5232) 2026-05-18 14:13:08 +02:00
Dynamics of Condensed Matter
52b5bac6eb
Test installed CP2K CMake package config (#5231)
Co-authored-by: Thomas D. Kuehne <tkuehne@cp2k.org>
2026-05-18 09:08:48 +02:00
Dynamics of Condensed Matter
358cae4de3
Fix Wannier90 k-point export path for symmetry-reconstructed SCF MOs (#5233)
Co-authored-by: Thomas D. Kuehne <tkuehne@cp2k.org>
2026-05-17 22:20:32 +02:00
Dynamics of Condensed Matter
5311037518
Improve REFTRAJ label mismatch error (#5230)
Co-authored-by: Thomas D. Kuehne <tkuehne@cp2k.org>
2026-05-17 20:51:06 +02:00
Dynamics of Condensed Matter
b11aa6139c
Extend built-in DFT-D3 parameters to late actinides (#5228)
Co-authored-by: Thomas D. Kuehne <tkuehne@cp2k.org>
2026-05-17 19:53:47 +02:00
SY Wang
14c5ee2a57
Fix PBC image phase for k-point WFN extrapolation (#5219) 2026-05-17 18:55:04 +02:00
Dynamics of Condensed Matter
daf821cd15
Reuse symmetry-reduced SCF MOs in the Wannier90 k-point export (H. Mirhosseini)
Reuse symmetry-reduced SCF MOs in the Wannier90 k-point export.
2026-05-17 18:30:20 +02:00
Dynamics of Condensed Matter
8039b896f5
cuSOLVERMp: allow scheduler GPU binding (#5227)
Co-authored-by: Thomas D. Kuehne <tkuehne@cp2k.org>
2026-05-17 18:29:39 +02:00
SY Wang
ef9d0990c2
Molden: Replace [Nval] with [Pseudo] and enable marking ghost atoms (#5226) 2026-05-17 17:15:38 +02:00
Dynamics of Condensed Matter
16ac5b65f8
Move SCF k-point dipoles to qs_moments (#5222)
Co-authored-by: Thomas D. Kuehne <tkuehne@cp2k.org>
2026-05-17 17:15:16 +02:00
SY Wang
8ba4bd1763
Spack docker tester: Use a dedicated cache network instead of host (#5218) 2026-05-17 17:14:54 +02:00
SY Wang
bb9ae24f89
Docker: Use Ubuntu 26.04 for toolchain testings (#5210) 2026-05-17 11:15:00 +02:00
SY Wang
52dc25883c
Toolchain: Fix CMAKE_INSTALL_LIBDIR and adjust hints (#5224) 2026-05-17 09:49:26 +02:00
Ole Schütt
3d3abc6804
Dashboard: Remove defunct regtest survey (#5220) 2026-05-16 21:41:12 +02:00
SY Wang
c22e5003df
Toolchain: tblite 0.5.0 -> 0.6.0 (#5215) 2026-05-16 21:05:06 +02:00
SY Wang
bbbecc6f4e
TBlite: add v0.6.0, CMake only [Spack] (#5214) 2026-05-16 20:06:18 +02:00
Taillefumier Mathieu
695da86d0c
Grid gpu engines merge (#5206)
Co-authored-by: Mathieu Taillefumier <mathieu.taillefumier@free.fr>
2026-05-16 19:18:57 +02:00
Dynamics of Condensed Matter
024a11eaca
Support lower-dimensional Kubo transport (V. Efremkin) (#5216)
Co-authored-by: Thomas D. Kuehne <tkuehne@cp2k.org>
2026-05-16 16:10:41 +02:00
Dynamics of Condensed Matter
479cecb1b0
Add SCF_MOMENT dipoles for k-point TDDFPT KERNEL NONE (#5199)
Co-authored-by: Thomas D. Kuehne <tkuehne@cp2k.org>
2026-05-16 16:08:05 +02:00
Ole Schütt
a91f8bf3b4
Adjust three tolerances (#5213) 2026-05-16 12:09:22 +02:00
Matthias Krack
a58acb6329
Ignore top-level folders starting with "spack" (#5212) 2026-05-16 09:27:07 +02:00
Dynamics of Condensed Matter
d43dca4c75
Add finite-volume Kubo transport property (E. Prodan) (#5209)
Co-authored-by: Thomas D. Kuehne <tkuehne@cp2k.org>
2026-05-15 20:38:26 +02:00
Ole Schütt
7f57f22fd5
Docker: Disable LibFCI for toolchain cuda builds (#5207) 2026-05-15 20:01:07 +02:00
Juerg Hutter
56b351daa3
Refactoring of TDDFT oscillator strength calculation (#5205) 2026-05-15 19:43:05 +02:00
Dynamics of Condensed Matter
2256cec575
Support ROKS active-space FCI solver (#5203)
Co-authored-by: Thomas D. Kuehne <tkuehne@cp2k.org>
2026-05-15 14:15:44 +02:00
Dynamics of Condensed Matter
0f818b0565
Add UZH-paired static tight-binding basis data (H. Mirhosseini) (#5204)
Co-authored-by: Thomas D. Kuehne <tkuehne@cp2k.org>
2026-05-15 14:15:02 +02:00
Lukas Schreder
e2e702f92e
Add localization of time-dependent orbitals (#5166) 2026-05-15 12:32:21 +02:00
Juerg Hutter
324f9af104
Regtests for TDDFPT Oscillator Strength (#5192) 2026-05-15 10:16:25 +02:00
Dynamics of Condensed Matter
41cb81381e
Enable restricted Gamma-point OT for CP2K/tblite (#5196)
Co-authored-by: Thomas D. Kuehne <tkuehne@cp2k.org>
2026-05-14 22:49:10 +02:00
Ole Schütt
e8cf128e24
CMake: Enable Fypp line numbering for GNU Make (#5197) 2026-05-14 22:36:35 +02:00
Ole Schütt
adac3d1e08
PAO: Handle empty gradient tensors (#5195) 2026-05-14 21:40:34 +02:00
Dynamics of Condensed Matter
64e7805eb9
Test explicit active-space NONE solver (#5194)
Co-authored-by: Thomas D. Kuehne <tkuehne@cp2k.org>
2026-05-14 20:37:58 +02:00
Matthias Krack
3119073cda
Add requirement spglib for more test folders (#5193) 2026-05-14 18:52:30 +02:00
Dynamics of Condensed Matter
91e51cab28
Add MPC pseudopotentials (#5188) 2026-05-14 17:10:11 +02:00
Matthias Krack
554cbd321b
Update list of folders which should not be copied into a container (#5191) 2026-05-14 13:42:29 +02:00
Matthias Krack
7dd8ee8ff3
Add requirement spglib for some test folders (#5189) 2026-05-14 11:17:34 +02:00
Dynamics of Condensed Matter
618e1781db
Support independent-particle TDDFPT with k-points (#5187) 2026-05-14 07:49:30 +02:00
Matthias Krack
11661d76ba
Switch to tblite@main until a new release will become available (#5186) 2026-05-14 05:56:25 +02:00
Dynamics of Condensed Matter
20f179c892
Improve TB/xTB SCC mixer handling for LS_SCF and UKS k-point cases (#5182)
Co-authored-by: Thomas D. Kuehne <tkuehne@cp2k.org>
2026-05-13 20:06:09 +02:00
SY Wang
12bc3b21f2
Fix Ubuntu tester not to use libfci (#5180) 2026-05-13 19:46:50 +02:00
Johann Potot.
1233a2ca2a
small fixes for testing (#5177)
Co-authored-by: Johann Pototschnig <j.pototschnig@hzdr.de>
2026-05-13 18:05:44 +02:00
Matthias Krack
1641128544
Add feature flag for libfci to make_cp2k.sh (#5185) 2026-05-13 18:00:49 +02:00
Matthias Krack
cbf8333c87
Make .gitignore less general (#5183) 2026-05-13 14:54:43 +02:00
Matthias Krack
e8712accb1
Add local spack recipe for libfci (#5181) 2026-05-13 14:17:27 +02:00
Dynamics of Condensed Matter
42dbd02aed
Wannier90: export SCF k-point meshes (#5179)
Co-authored-by: Thomas D. Kuehne <tkuehne@cp2k.org>
2026-05-13 01:08:59 +02:00
Dynamics of Condensed Matter
02caa0904f
Extend k-point symmetry backends to closed GENERAL sets (#5173)
Co-authored-by: Thomas D. Kuehne <tkuehne@cp2k.org>
2026-05-13 00:19:52 +02:00
RitajTyagi
c77770f004
RIRS GW: Resolve Coding Convention issues (#5175)
Co-authored-by: Ritaj Tyagi <ritaj.tyagi@gmail.com>
2026-05-12 22:09:07 +02:00
Dynamics of Condensed Matter
c523002d91
Add LibFCI active-space solver (#5167)
Co-authored-by: Thomas D. Kuehne <tkuehne@cp2k.org>
2026-05-12 19:36:10 +02:00
Ole Schütt
37a23bdd17
Docker: Upgrade python packages (#5172) 2026-05-12 13:31:01 +02:00
Ole Schütt
49c4bc4af3
Docker: Reduce number of pinned python packages (#5171) 2026-05-12 11:44:33 +02:00
Johann Potot.
bec0900f94
Remove debug infrastructure from tblite_interface.F (#5169)
Co-authored-by: Johann Pototschnig <j.pototschnig@hzdr.de>
2026-05-11 21:31:03 +02:00
Johann Potot.
fc8ffeed2f
Jvp terok build (#5168)
Co-authored-by: Johann Pototschnig <j.pototschnig@hzdr.de>
2026-05-11 18:06:14 +02:00
Dynamics of Condensed Matter
432ceb16cc
Improve k-point symmetry for Gamma-centered meshes and moving geometries (#5165)
Co-authored-by: Thomas D. Kuehne <tkuehne@cp2k.org>
2026-05-10 20:40:56 +02:00
Dynamics of Condensed Matter
95e0cafc31
Add active-space embedding density mixing (#5164)
Co-authored-by: Thomas D. Kuehne <tkuehne@cp2k.org>
2026-05-10 15:04:12 +02:00
SY Wang
4ce35e5f9f
Add specific Gamma-centered shifting in Monkhorst-Pack scheme (#5161) 2026-05-10 12:44:55 +02:00
Dynamics of Condensed Matter
6aff1db465
Add modified Broyden density mixing (#5163)
Co-authored-by: Thomas D. Kuehne <tkuehne@cp2k.org>
2026-05-10 01:35:57 +02:00
Dynamics of Condensed Matter
6a4e44fd68
"Make it nice": GFN2-xTB (#5162)
Co-authored-by: Thomas D. Kuehne <tkuehne@cp2k.org>
2026-05-10 01:34:44 +02:00
Matthias Krack
4104e3fc41
Use base image ubuntu 26.04 and gcc 14 as default for the spack tester (#5154) 2026-05-09 21:45:11 +02:00
Ole Schütt
46d6027c6b
Adjust tolerances on cc_s02.inp and H2O_gfn0_yz_kp_debug.inp (#5160) 2026-05-09 16:56:10 +02:00
SY Wang
6f9c336789
toolchain/build_cp2k.sh: Fix reading "--install-all" (#5158) 2026-05-09 16:19:33 +02:00
Ole Schütt
b84f141a34
Use para_env instead of MPI in gw_large_cell_gamma_ri_rs.F (#5159) 2026-05-09 16:16:21 +02:00
RitajTyagi
cd80f14804
Real Space Resolution of Identity for GW Calculations (#5157)
Looks good to me and can be merged.
Co-authored-by: Ritaj Tyagi <ritaj.tyagi@gmail.com>
2026-05-09 12:07:14 +02:00
SY Wang
9781f732f4
Add Fedora Rawhide toolchain tester (#5148) 2026-05-08 22:50:12 +02:00
Dynamics of Condensed Matter
ef37d02fde
Finalize GFN2/tblite k-point stress for remaining pathological cases (#5156)
Co-authored-by: Thomas D. Kuehne <tkuehne@cp2k.org>
2026-05-08 21:50:37 +02:00
Dynamics of Condensed Matter
72f118eab7
Expand TB force/stress coverage and improve GFN2/tblite k-point stress of remaining pathological cases (#5155)
Co-authored-by: Thomas D. Kuehne <tkuehne@cp2k.org>
2026-05-08 21:05:08 +02:00
Matthias Krack
59927b9229
make_cp2k.sh: Introduce --use_cache flag (#5149) 2026-05-08 09:59:03 +02:00
Dynamics of Condensed Matter
495eafe514
Improve tblite GFN k-point stress handling (#5153)
Co-authored-by: Thomas D. Kuehne <tkuehne@cp2k.org>
2026-05-08 02:53:09 +02:00
Dynamics of Condensed Matter
f8ec882662
Refine k-point symmetry reductions and guards (#5152)
Co-authored-by: Thomas D. Kuehne <tkuehne@cp2k.org>
2026-05-08 01:57:22 +02:00
Dynamics of Condensed Matter
55d01f6722
Improve DFTB/xTB stress handling, k-point reductions, and UKS coverage (#5144)
Co-authored-by: Thomas D. Kuehne <tkuehne@cp2k.org>
2026-05-07 23:01:43 +02:00
SY Wang
cfc8a4eba2
Adjust regtests (#5147) 2026-05-07 15:34:27 +02:00
HE Zilong
223025a8ce
Generalize FINAL_CIF to FINAL_STRUCTURE with XYZ output (#5140) 2026-05-07 14:12:52 +02:00
SY Wang
92364bbe53
toolchain/build_cp2k.sh: Enable debug building (#5146) 2026-05-07 14:03:08 +02:00
Juerg Hutter
b6fed2ab57
Adjust regtests for Harris-KP (#5145) 2026-05-07 13:12:50 +02:00
Dynamics of Condensed Matter
ce370e297b
Update DFTD4/simple-dftd3 toolchain patches 2026-05-07 10:05:37 +02:00
SY Wang
c29306b3a8
Toolchain: dftd4 4.1.1 -> 4.2.0 (#5141) 2026-05-06 21:33:20 +02:00
SY Wang
2748f813de
Toolchain: Remove unnecessary flags of tblite installation (#5138) 2026-05-06 15:01:04 +02:00
Dynamics of Condensed Matter
064654b83c
Generalize DDAPC Ewald to non-orthorhombic cells (#5136)
# Generalize DDAPC Ewald to non-orthorhombic cells

## Summary

This PR removes the orthorhombic-cell restriction from the DDAPC Bloechl Ewald
terms.

- Evaluate the real-space DDAPC Ewald contribution using full cell-vector image
  offsets and fractional-coordinate image bounds.
- Evaluate reciprocal-space G vectors from the inverse cell matrix for
  non-orthorhombic cells, while preserving the existing orthorhombic cutoff
  behavior.
- Keep the spline interpolation path restricted to orthorhombic cells and fall
  back to the analytic G-space term for non-orthorhombic cells, where the spline
  grid is not valid.
- Add orthorhombic and non-orthorhombic DEBUG_FORCES coverage, plus a
  non-orthorhombic run-only test that exercises the automatic analytic fallback
  without explicitly requesting `ANALYTICAL_GTERM`.
- Use the explicit `Blöchl1995` citation key for the Bloechl reference.

## Testing

- Built `cp2k.psmp` with the local CMake/Homebrew MPI build:
  `/tmp/cp2k-ddapc-homebrew-build/bin/cp2k.psmp`.
- Ran the new non-orthorhombic fallback test:
  `tests/QS/regtest-gpw-3/H2O-bloechl-nonortho.inp`.
- Ran the new orthorhombic DEBUG_FORCES test:
  `tests/QS/regtest-gpw-3/H2O-bloechl-force-ortho.inp`
  (`DEBUG| Sum of differences: 0.00000031`).
- Ran the new non-orthorhombic DEBUG_FORCES test:
  `tests/QS/regtest-gpw-3/H2O-bloechl-force-nonortho.inp`
  (`DEBUG| Sum of differences: 0.00000057`).
- Ran existing DDAPC/Bloechl checks:
  `H2O-bloechl.inp` and `H2O-bloechl-Spl.inp`.
- Ran `tools/precommit/format_fortran.py` on changed Fortran files.
- Ran `tools/precommit/format_input_file.py` on new input files.
- Ran `tools/precommit/precommit.py` on new input/TOML files.
- Ran `git diff --check`.
2026-05-06 13:07:37 +02:00
SY Wang
eb5a73070c
Toolchain: Download dftd4 from cp2k.org (#5137) 2026-05-06 12:56:13 +02:00
SY Wang
62f9a736be
Make spin-channel representation consistent in reciprocal-space mixing (#5126) 2026-05-06 12:55:32 +02:00
Matthias Krack
565e00f97f
Fix Cray tester (#5135) 2026-05-06 09:56:12 +02:00
Dynamics of Condensed Matter
cccd2f3934
Fix TB gradients, virials, and k-point symmetry
# Fix TB gradients, virials, tblite reference checks, and k-point symmetry

## Summary

This PR continues the CP2K/tblite interface work originally started by Johann Pototschnig
(`jpoto`) and relies in part on Sebastian Ehlert's `tblite` library. It makes the CP2K tight
binding paths substantially more consistent for nuclear gradients, virials/stress tensors, and
k-point symmetry, especially for DFTB, CP2K-native GFN0/GFN1, and `&XTB &TBLITE` GFN1/GFN2/IPEA1.

Main changes:

- fix several CP2K/tblite force and virial terms for periodic systems,
- add a native `tblite` CLI reference path under `&XTB &TBLITE &REFERENCE_CLI`,
- enable and test k-point symmetry reduction for CP2K-native TB and CP2K/tblite TB paths,
- improve DFTB SCC/Ewald virials and update affected DFTB references,
- add/extend regtests for molecular and truly periodic systems, including force/stress DEBUG checks,
- update the CP2K toolchain patches for `tblite`/embedded DFTD4 and standalone DFTD4.

## User-visible input changes

- `&DFT &XTB` can now select the library implementation via
  `GFN_TYPE TBLITE`; in that case an `&XTB &TBLITE` section is required.
- `&XTB &TBLITE` supports `METHOD GFN1`, `METHOD GFN2`, and `METHOD IPEA1`.
- `&XTB &TBLITE` has an optional `REFERENCE_CLI` keyword and a lone
  `&REFERENCE_CLI` subsection. If present/enabled, CP2K writes a `.gen` geometry, runs native
  `tblite run --grad`, and compares energy, gradient, and virial.
- `SCC_MIXER TBLITE` is documented as a modified Broyden mixer; the associated controls are named
  `TBLITE_MIXER_DAMPING` and `TBLITE_MIXER_MAX_SCF`.
- `DO_EWALD` remains available as a deprecated/debug override; the manual now documents the required
  periodic `POISSON` setup for CP2K-native DFTB/xTB and the `TBLITE` exception.
- CP2K warns if `CELL%PERIODIC` and `POISSON%PERIODIC` differ, but still runs.

## What was fixed

### CP2K/tblite GFN1/GFN2/IPEA1

- Periodic image-cell matrix construction now fills all image cells instead of only image cell 1.
- H0, overlap/potential, GFN2 multipole, CN-chain-rule, and D4-related virial paths were checked
  term by term against finite differences.
- Periodic self-image virial signs/factors were corrected in the CP2K/tblite interface.
- The previously bad strongly distorted Si8/GFN2 Gamma stress case was traced to a hard D4 two-body
  cutoff discontinuity and fixed by adding a smooth switching region in the D4 path.
- `RUN_TYPE DEBUG` force/stress checks now behave consistently for molecular and periodic
  CP2K/tblite GFN1/GFN2 cases; isolated stress is allowed for tblite with a warning because it is a
  diagnostic virial, not a physical isolated-system stress.

### Native tblite CLI reference

The `REFERENCE_CLI` path initially showed good molecular agreement but poor periodic virials for
Ar-fcc:

- GFN1 periodic virial diff was about `1.15e-2`,
- GFN2 periodic virial diff was about `2.95e-2`.

The parser, units, row order, and sign convention were checked and were correct. The remaining error
was in native `tblite`: periodic H0 self-image pairs (`iat == jat`, non-zero translation) used the
normal pair sigma factor `0.5`. The correct symmetrized cell-derivative factor for these self-image
pairs is `0.25`.

Updated `REFERENCE_CLI` comparison after the native tblite H0 sigma fix:

| Case | SCF | Energy diff | Gradient diff sum/max | Virial diff sum/max |
| --- | ---: | ---: | ---: | ---: |
| CH2O/GFN1, molecular | 12 | `6.775398020409e-10` | `3.296429618975e-08` / `1.577689361792e-08` | `2.884140131919e-08` / `2.625531908551e-08` |
| CH2O/GFN2, molecular | 15 | `6.651852402229e-10` | `1.437665769393e-07` / `6.050656990025e-08` | `1.240845506761e-07` / `8.358997352631e-08` |
| Ar-fcc/GFN1, periodic | 7 | `3.595097552989e-09` | `1.125627343711e-09` / `3.688615600028e-10` | `5.441065574157e-09` / `1.653417298474e-09` |
| Ar-fcc/GFN2, periodic | 20 | `8.975906240494e-09` | `2.140900031075e-08` / `4.424293700931e-09` | `3.094086449720e-07` / `8.057020835922e-08` |

`REFERENCE_CLI` is intentionally skipped/guarded for CP2K multi-k-point runs: native `tblite` CLI is
a useful Gamma reference, but it is not a CP2K-equivalent k-point/symmetry implementation.

### DFTB and CP2K-native xTB/GFN0/GFN1

- DFTB SCC/Ewald background handling was fixed so the homogeneous background contributes to energy
  and atomic properties without entering the SCC overlap virial as a constant potential shift.
- The TB real-space Ewald self-image virial prefactor was fixed.
- CP2K-native DFTB/GFN0/GFN1 k-point symmetry support was extended and tested with the CP2K atomic
  backend and SPGLIB backend.
- Full atomic k-point symmetry is used for high-symmetry production geometries; for displaced DEBUG
  geometries the reduced symmetry is recomputed instead of reusing an invalid high-symmetry map.
- DFTB3 forces, Gamma stress, k-point forces, and k-point stress were tested and covered by new
  regtests.


## What was tried

The debugging was deliberately systematic rather than a single-code-path patch:

- molecular and truly periodic crystals were checked separately; large vacuum cells were not used as
  periodic substitutes,
- GFN1 and GFN2 were tested with tight `EPS_DEFAULT`/`EPS_SCF`, DX scans, and high `MAX_SCF`,
- CP2K/tblite results were compared to native `tblite` CLI for energy, gradient, and virial,
- H0, overlap/potential, Coulomb/multipole, CN-chain-rule, D4, D3/s-D3, DFTD4 and SCC/Ewald pieces
  were isolated where practical and checked against finite differences,
- CP2K-native DFTB, DFTB3, GFN0, GFN1, CP2K/tblite GFN1/GFN2/IPEA1, and native `tblite` CLI were
  tested separately,
- k-point full grids, CP2K atomic symmetry, SPGLIB symmetry, displaced atoms, skew cells, and
  MPI-rank reproducibility were checked,
- 1D/2D periodicity, charged systems, and open-shell/spin behavior were probed.

What helped:

- restoring periodic H0/CN self-image contributions,
- fixing self-image virial signs/factors,
- fixing the native tblite H0 self-image sigma factor,
- fixing the DFTB SCC/Ewald background gauge contribution,
- recomputing k-point symmetry for lowered-symmetry DEBUG geometries,
- smoothing the hard D4 two-body cutoff in the stress-sensitive GFN2/Si8 case,
- updating the external library toolchain patches and DFTB reference values.

What did not help or was not the root cause:

- simply tightening `EPS_SCF`, `EPS_DEFAULT`, `DX`, or `MAX_SCF`,
- changing only SCC damping/mixer parameters for the hard GFN2 stress cases,
- treating the native `tblite` CLI periodic virial as authoritative before fixing its own H0 sigma
  self-image term,
- using large vacuum boxes as stand-ins for true periodic crystals,
- assuming all heteronuclear crystals are good regtests: several are dominated by overlap
  conditioning/SCF-state sensitivity rather than a clean force/stress bug.

## What works now

- CP2K/tblite GFN1/GFN2 molecular force DEBUG checks are at `~1e-8`.
- CP2K/tblite GFN2 isolated diagnostic stress is `~4e-9`.
- CP2K/tblite GFN1/GFN2 Ar-fcc k-point force/stress DEBUG runs with `64 -> 4` k-point reduction.
- CP2K/tblite GFN2 `PERIODIC XZ` Ar-layer k-point stress DEBUG is reduced from the reproduced `5.83e-4` remainder to `2.66e-5`; forces are `2.29e-6`.
- CP2K/tblite GFN1/GFN2 skew/asym Si8 Gamma stress is now in the `~1e-6` range rather than
  `~1e-3`.
- CP2K/tblite IPEA1 runs with k-point reduction and force/stress DEBUG coverage.
- CP2K-native DFTB non-SCC/SCC and GFN0/GFN1 k-point symmetry paths pass the new tests.
- DFTB3 force, Gamma stress, k-point force, and k-point stress tests pass.
- DFTD4/DFTD3/D3(BJ) CP2K tests pass with the updated build; external DFTD4/tblite patches are ready
  for the toolchain.

Representative final regtest values:

| Path | Representative result |
| --- | ---: |
| CP2K/tblite GFN2 CH2O force DEBUG | `M042 = 1e-8` |
| CP2K/tblite GFN2 CH2O isolated stress DEBUG | `M042 = 4.067e-9` |
| CP2K/tblite GFN2 Si8 Gamma stress DEBUG | `M042 = 4.76966e-7` |
| CP2K/tblite GFN2 Ar-fcc k-point stress DEBUG | `M042 = 3.33e-7`, `N_special_kpoints = 4` |
| CP2K/tblite GFN2 Ar-layer XZ k-point stress DEBUG | `M042 = 2.66e-5`, `N_special_kpoints = 2` |
| CP2K/tblite GFN1 Ar-fcc k-point stress DEBUG | `M042 = 1.6417e-8`, `N_special_kpoints = 4` |
| CP2K/tblite IPEA1 Ar-fcc k-point stress DEBUG | `M042 = 2.4656e-8`, `N_special_kpoints = 4` |
| CP2K-native GFN0 Si k-point symmetry | `N_special_kpoints = 4`; displaced geometry `12` |
| DFTB non-SCC Si k-point stress | `M042 = 3.807e-9`, `N_special_kpoints = 4` |
| DFTB SCC C k-point stress | `M042 = 5.409e-9` |
| DFTB SCC ZnS k-point stress | `M042 = 2.18113e-7`, `N_special_kpoints = 4` |
| DFTB3 H2O k-point stress | `M042 = 6.89e-10`, `N_special_kpoints = 4` |

## Remaining limitations

- The reproduced `PERIODIC XZ` CP2K/tblite GFN2 Ar-layer k-point virial remainder is now much smaller (`2.66e-5` instead of `5.83e-4`), but not yet in the `1e-6` range; forces are good.
- `PERIODIC X` full stress DEBUG is limited by the general CP2K cell/Poisson/stress machinery, not by
  a TB-specific quick fix.
- CP2K/tblite open-shell/LSD still aborts intentionally:
  `LSD option not compatible with tblite library`.
- Native `tblite` CLI remains a serial external Gamma-reference path; it is not a k-point/symmetry
  reference implementation.
- Some heteronuclear CP2K/tblite crystals with k-points are sensitive to overlap conditioning and
  SCF state; Ar/Si remain the robust PR regtest choices.

## Verification

- formatting:
  - `tools/precommit/format_fortran.py` on changed Fortran files,
  - `tools/precommit/format_input_file.py` on changed/new CP2K inputs,
  - `tools/precommit/precommit.py -m` on non-Fortran/non-input files.
- patch checks:
  - `tblite-0.5.0-gradient-fixes.patch`: `patch -p1 --dry-run` against fresh `tblite-0.5.0`,
  - `dftd4-4.1.0-gradient-fixes.patch`: `patch -p1 --dry-run` against fresh `dftd4-4.1.0`.
- build:
  - `cmake --build build-tblite-mpi-check --target cp2k-bin -- -j 8`
- regtests with `mpiranks=2`, `ompthreads=1`:
  - `xTB/regtest-tblite-gfn2`, `xTB/regtest-tblite-gfn1-grad`,
    `xTB/regtest-tblite-ipea1`, `DFTB/regtest-scc-2`: `49 / 49` correct,
  - `DFTB/regtest-scc`, `DFTB/regtest-nonscc`: after updating affected references,
    `89 / 89` correct,
  - additionally checked in the same PR-ready run: `xTB/regtest-1`, `xTB/regtest-3`,
    `xTB/regtest-gfn0`, `QS/regtest-dft-vdw-corr-4`; those were green, with only the old DFTB
    references requiring the follow-up update above.
2026-05-06 00:47:46 +02:00
Dynamics of Condensed Matter
c7270bbdb5
Diagonalization: add opt-in direct generalized eigensolvers (#5108)
Co-authored-by: DCM-Uni-Paderborn <DCM-Uni-Paderborn@users.noreply.github.com>
Co-authored-by: Thomas D. Kuehne <tkuehne@cp2k.org>
2026-05-05 16:26:45 +02:00
Juerg Hutter
4a77a3b84e
Harris functional k-points symmetry (#5134) 2026-05-05 15:28:00 +02:00
Matthias Krack
81d4c4d8b9
Fix example printout (#5133) 2026-05-05 14:24:47 +02:00
Dynamics of Condensed Matter
4733e3f172
GAPW: final accurate XC integration coverage toward a future default (#5127)
Co-authored-by: Thomas D. Kuehne <tkuehne@cp2k.org>
2026-05-04 14:21:54 +02:00
Dynamics of Condensed Matter
263a783590
GAPW: take first steps toward accurate XC integration by default (#5125)
Co-authored-by: Thomas D. Kuehne <tkuehne@cp2k.org>
2026-05-04 11:45:19 +02:00
Dynamics of Condensed Matter
1b43baddf4
Support all 2D periodicities for the Wavelet Poisson solver (#5122)
Co-authored-by: Thomas D. Kuehne <tkuehne@cp2k.org>
2026-05-04 11:42:37 +02:00
Dynamics of Condensed Matter
9cf845759d
Add k-point symmetry backends and guards (#5124)
Co-authored-by: Thomas D. Kuehne <tkuehne@cp2k.org>
2026-05-04 11:09:36 +02:00
Dynamics of Condensed Matter
33b928ff10
Add k-point symmetry reduction methods (#5123)
Co-authored-by: Thomas D. Kuehne <tkuehne@cp2k.org>
2026-05-03 12:48:36 +02:00
Dmitry Ryndyk
b3d087c131
spack* added to .gitignore (#5128) 2026-05-02 19:46:30 +02:00
HE Zilong
d78ff4c862
Write CIF after optimization (#5118) 2026-05-01 13:34:09 +02:00
Matthias Krack
b871c87cfc
libfabric 2.4.0 -> 2.5.1 (spack) (#5120) 2026-05-01 13:33:30 +02:00
SY Wang
2d33723005
Toolchain: Don't install fmt when SIRIUS is disabled (#5115) 2026-04-30 18:55:31 +02:00
Dynamics of Condensed Matter
f9f50dc2f5
Optimize GAPW meta-GGA tau contractions (#5116)
Co-authored-by: Thomas D. Kuehne <tkuehne@cp2k.org>
2026-04-30 13:15:06 +02:00
Dynamics of Condensed Matter
e704af8e31
Improve GAPW one-center atom-grid performance (#5103)
Co-authored-by: Thomas D. Kuehne <tkuehne@cp2k.org>
2026-04-29 14:32:10 +02:00
Matthias Krack
80f306345e
Update spack packages (#5114) 2026-04-29 07:07:37 +02:00
Matthias Krack
6f80f8717e
Prepend ERROR to failure message (#5113) 2026-04-28 21:34:07 +02:00
Matthias Krack
e3f6089ae9
Update leak suppressions for OpenMPI tester (#5112) 2026-04-28 17:59:41 +02:00
Matthias Krack
02a6ce975b
Finalise image even if tests failed (#5110) 2026-04-28 11:48:05 +02:00
Matthias Krack
fcf49867ac
Add spack OpenMPI debug tester (pdbg) (#5104) 2026-04-28 10:03:02 +02:00
HE Zilong
cacd179657
Revise some abort messages and fix an extxyz format (#5107) 2026-04-27 17:00:01 +02:00
Dynamics of Condensed Matter
300cfa0c23
grid: improve OpenMP use in task setup and memory loops (#5099)
Co-authored-by: Thomas D. Kuehne <tkuehne@cp2k.org>
2026-04-27 16:38:20 +02:00
Franz Pöschel
e7dba46940
openPMD output: Implement missing scientific metadata (#5096)
Co-authored-by: AI Agent <ai-agent@localhost>
Co-authored-by: Blablador <noreply@hzdr.de>
2026-04-27 16:37:16 +02:00
Max Graml
90d8299cb6
lsGW: minor bugfix for read of restart files (#5105) 2026-04-27 16:34:10 +02:00
SY Wang
96eb417b72
Fix cp2k_env exporting (#5106) 2026-04-27 16:33:21 +02:00
SY Wang
1d63da52da
Toolchain: Updates of FFTW and OpenBLAS (#5102) 2026-04-27 10:20:21 +02:00
SY Wang
3a22a26910
Toolchain SIRIUS (#5098) 2026-04-26 22:07:14 +02:00
SY Wang
f577188f47
Toolchain: Replace "scripts/generate_cmake_options.sh" with "build_cp2k.sh" (#5080)
Co-authored-by: HE Zilong <159878975+he-zilong@users.noreply.github.com>
2026-04-26 12:40:37 +02:00
Dynamics of Condensed Matter
c92e8381f7
docs: add Quickstep getting-started material (#5100)
Co-authored-by: Thomas D. Kuehne <tkuehne@cp2k.org>
2026-04-26 12:02:00 +02:00
Dynamics of Condensed Matter
e887d2c5ab
FIST: add silicon EIP Stillinger-Weber and Tersoff models (#5095)
Co-authored-by: Thomas D. Kuehne <tkuehne@cp2k.org>
2026-04-25 15:11:05 +02:00
Matthias Krack
7ab56ede36 Fix type mismatch 2026-04-25 09:43:56 +02:00
Matthias Krack
35dc0ecb7d Add image tag name flag to usage example in the dockerfile headers
That image tag name is picked up by make_cp2k.sh as IMAGE_TAG
2026-04-25 09:43:56 +02:00
he-zilong
439b37ba4c Switch to Fist tests per mkrack's suggestion 2026-04-25 09:39:16 +02:00
he-zilong
7a5c285540 Lower max_iter to 1 2026-04-25 09:39:16 +02:00
he-zilong
7838f83832 Fix flawed implementation 2026-04-25 09:39:16 +02:00
he-zilong
f8737fe1fe Decrease trust_radius and max_scf 2026-04-25 09:39:16 +02:00
he-zilong
5e3f86fde9 Switch xTB to PBE 2026-04-25 09:39:16 +02:00
he-zilong
daa1fe0eaa Adjust regtests introduced in #5086 for stability 2026-04-25 09:39:16 +02:00
Matthias Krack
5ce8c4d842 Drop keepalive for spack dbg tester
- The LeakSanitizer (LSAN) does not work properly in that mode
- Print used LSAN options for dbg tester
- Introduce IMAGE_TAG variable in make_cp2k.sh
2026-04-24 15:16:15 +02:00
Dynamics of Condensed Matter
317f6be72a
Allocate grid replay work arrays on the heap (#5094)
Co-authored-by: Thomas Kühne <tkuehne@MacBook-Pro-von-Thomas-3.local>
2026-04-24 14:12:44 +02:00
Dynamics of Condensed Matter
ed52f450bb
Abort cleanly when Libint lacks a 3-center ERI kernel (#5093)
Co-authored-by: Thomas Kühne <tkuehne@MacBook-Pro-von-Thomas-3.local>
2026-04-24 14:09:20 +02:00
Dynamics of Condensed Matter
0262abc151
Prefer include directories from the selected Libint package (#5092)
Co-authored-by: Thomas Kühne <tkuehne@MacBook-Pro-von-Thomas-3.local>
2026-04-24 14:08:16 +02:00
Ole Schütt
cb5d5fc1d4
Increase precision of cell and remove quotes from Properties in extended XYZ format (#5089) 2026-04-23 13:09:37 +02:00
SY Wang
c955a22e6e
Test-Farm: Revert to Lmod environment (#5088) 2026-04-23 10:21:38 +02:00
HE Zilong
d749a202a6
CELL_OPT: implement optimization with fixed cell volume (#5086) 2026-04-22 14:17:54 +02:00
Frederick Stein
d79ec3fd85
Turn off the latest NEGF tests (#5087) 2026-04-21 17:04:31 +02:00
Frederick Stein
c2658d3dab
Fix GW with larger number of MPI ranks (#5085) 2026-04-20 21:00:54 +02:00
Dmitry Ryndyk
48db7ef82b NEGF: xTB added 2026-04-20 16:10:10 +02:00
Matthias Krack
ff7b8ebec0 COSMA 2.8.2 -> COSMA 2.8.4 (spack) 2026-04-20 13:14:29 +02:00
Matthias Krack
6f1ede0c7d Adapt tolerances 2026-04-20 10:53:59 +02:00
Matthias Krack
a0e40544ba Do not run tests in QS/regtest-gw with 4 MPI ranks
These tests run very long with 4 MPI ranks and 2 OpenMP threads and timeout eventually
2026-04-20 10:53:59 +02:00
Growl
e82a6a61c8 Adjust slow test regtest-rtbse-gxac/h2_pade_ft.inp 2026-04-20 10:10:18 +02:00
SY Wang
a1d43364c5
Toolchain: COSMA 2.8.2 -> 2.8.4 (#5076) 2026-04-19 13:09:08 +02:00
Ole Schütt
8b341f7d8e
Docker: Switch manual to pdbg (#5074) 2026-04-18 21:57:16 +02:00
SY Wang
30e889138e
Toolchain: Avoid additional dependencies of libint and rollback COSMA upgrade (#5072) 2026-04-18 18:17:31 +02:00
SY Wang
d5b0302fb9
Add spin-channel-specific mixing parameters (#5061) 2026-04-17 12:14:36 +02:00
Growl
c4157ab6c8 Toolchain: COSMA 2.8.2 -> 2.8.3 2026-04-17 10:14:22 +02:00
Matthias Krack
8f971e11a4 Run spack regression tests with keepalive 2026-04-16 12:14:17 +02:00
Matthias Krack
d1af2e6193 Ignore leak in getMyFQN until a new (fixed) xrootd version is available 2026-04-16 12:14:17 +02:00
Matthias Krack
03cdb6fe7d Increase spack's download timeout (10s -> 30s) 2026-04-15 13:55:04 +02:00
HE Zilong
87e20491ac
Refactor: drop cell input from qs_init() and qs_subsys_create() (#5060) 2026-04-15 13:36:55 +02:00
Juerg Hutter
af0c710417
Reference benchmark (#5063) 2026-04-14 13:09:36 +02:00
dependabot[bot]
30cea4fbde
Bump pillow from 12.1.1 to 12.2.0 in /tools/pao-ml (#5062)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-14 12:48:11 +02:00
Ole Schütt
25be7e468a
benchmarks: Add QS_reference for water different functionals (#5058) 2026-04-13 18:04:53 +02:00
Juerg Hutter
dbc63552ef
Protect GPW from ACC_XCINT flag active (#5049)
Protect GPW from ACC_XCINT flag active
Kpoint enabled restart file for Harris functional: bug fix for change…
2026-04-13 14:50:19 +02:00
SY Wang
5fb5ea801f
MPICH 4.3.2 -> 5.0.1 (#5036) 2026-04-13 12:45:15 +02:00
SY Wang
ba1c648ec0
Fix false warnings and LFOMO/HOMO detection for MP/MV smearing (#5056) 2026-04-13 12:36:02 +02:00
HE Zilong
563e6d5d46
Refactor: when calling cp_subsys_create() do not call read_cell() again (#5048) 2026-04-13 12:34:27 +02:00
mnottoli
0e652e763d
Fix for gext extrapolation. (#5053) 2026-04-10 11:14:03 +02:00
exopoiesis
a4d6b945d4
Initialize matrices before parallel_gemm in make_basis_lowdin (#5044)
Co-authored-by: Igor Morozov <igor.m@namecheap.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-09 21:28:37 +02:00
Ole Schütt
61fc45c646
grid: Swap loop order in block_to_cab of GPU backend (#5051) 2026-04-09 19:46:33 +02:00
Ole Schütt
4c4babd79f
PAO-ML: Fix NaNs in forces (#5052) 2026-04-09 19:44:26 +02:00
HE Zilong
7d4b1410b6
Fix convention error in #5024 (#5050) 2026-04-09 16:30:50 +02:00
BelizSertcan
59e0b9b155
Bugfix: Reset state_spin and state_spin2 (#5047) 2026-04-08 11:54:50 +02:00
Juerg Hutter
7a2a232568
Refactoring dft+u/lowdin (#5046) 2026-04-07 17:34:25 +02:00
HE Zilong
c607de2d1f
MD: prepare for adapting thermostat region temperatures to thermal region temperatures (#5024) 2026-04-07 17:03:56 +02:00
Juerg Hutter
90719213be
Lowdin population analysis with k-points (#5045) 2026-04-07 13:06:54 +02:00
dependabot[bot]
e51a9ede8a
Bump aiohttp from 3.13.3 to 3.13.4 in /tools/pao-ml (#5041)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-07 12:38:38 +02:00
mnottoli
569f59fb3b
GExt extrapolation in CP2K (#5043) 2026-04-07 10:29:55 +02:00
Frederick Stein
3db43b466e
Some improvements to the active space code (#5039) 2026-04-02 13:46:51 +02:00
Matthias Krack
7c0fd7cb22 Deepmdkit 3.1.2 -> 3.1.3 (spack) 2026-04-02 11:04:20 +02:00
SY Wang
c957a64971
Fix issues regarding native DFT-D4 codes (#5030) 2026-04-01 17:23:28 +02:00
Juerg Hutter
3fd7cf798f
Remove warnings on S^2 estimation not available. (#5038) 2026-04-01 12:44:59 +02:00
Juerg Hutter
e10630fd5b
Speed up regtest in harris-kp (#5037) 2026-04-01 11:20:03 +02:00
Augustin Bussy
f664ec648c Updates to RI-HFXk docs 2026-03-31 13:34:48 +02:00
Juerg Hutter
6f8ffad0f6
Energy Correction Harris functional with k-points (#5031) 2026-03-31 11:05:17 +02:00
Ole Schütt
0f88175366
Testing: Fix Python 3.8 compatibility (#5035) 2026-03-31 00:41:05 +02:00
Ole Schütt
ff67897823
Remove tools/package_planner/ (#5034) 2026-03-30 21:15:37 +02:00
Ole Schütt
b60b5a3ee7
Toolchain: Download ScalaPACK from cp2k.org (#5033) 2026-03-30 21:15:31 +02:00
Ole Schütt
1eed5c3895
BSE: Fix conventions (#5032) 2026-03-30 18:51:37 +02:00
Ole Schütt
7a21789bb5
Conventions: Stop reading PACKAGE files (#5026) 2026-03-30 17:39:28 +02:00
Ole Schütt
3146d13d65
Dashboard: Fix typo (#5027) 2026-03-30 17:33:13 +02:00
Ole Schütt
ab20d2cda6
CI: Increase cpu/ram limit for misc test (#5029) 2026-03-30 17:11:58 +02:00
Matthias Krack
9c39c24774 Use definition of last flag occurrence 2026-03-30 16:27:53 +02:00
Matthias Krack
13b189a51e Disable dftd4 in template file by default 2026-03-30 16:27:53 +02:00
SY Wang
08e545abef
Docker: Use Ubuntu 26.04 for GCC 15 testing (#5022) 2026-03-30 15:14:11 +02:00
SY Wang
1814b3554d
Test-Farm: Use environment variables directly until Lua issue is resolved (#5021) 2026-03-30 11:25:53 +02:00
SY Wang
1a3cdd10ab
PAO-ML: Resolve conflicts in Misc testing (#5015) 2026-03-30 11:25:09 +02:00
Dmitry Ryndyk
d10c76ea8a
NEGF: restart for NEGF SCF (#5023) 2026-03-30 10:38:21 +02:00
annahehn
ed08826bad
Sternheimer BSE 1.Version parallel (#4832) 2026-03-30 10:15:54 +02:00
Growl
b4df9bbab3 DBCSR 2.9.0 -> 2.9.1 (toolchain) 2026-03-28 09:49:06 +01:00
Growl
7eda62c809 Update to the latest HIP container
For compatibility of CMake >=4.0
2026-03-28 09:49:06 +01:00
Matthias Krack
d5892a0e67 Fix logic for dependency between deepmd and libtorch 2026-03-28 05:51:26 +01:00
Matthias Krack
1acfce1e18 Enable deepmd for spack dbg tester again 2026-03-28 05:51:26 +01:00
Matthias Krack
0df199bbba Disable libtorch for CI tester 2026-03-28 05:51:26 +01:00
Growl
f4bd8eca22 Apply outside "-ef/-df" logic 2026-03-28 00:16:54 +01:00
Growl
8a6febacc1 Spack: Disable standalone dftd4 when tblite is enabled 2026-03-28 00:16:54 +01:00
Shridhar Shanbhag
0498dc7f2d
Ehrenfest.md and qs_moments (#5019) 2026-03-27 14:46:43 +01:00
Stepan Marek
391a3b0a11
RTBSE : Output readability (#5014)
Co-authored-by: Štěpán Marek <stepan.marek@physik.uni-regensburg.de>
2026-03-27 10:56:55 +01:00
Growl
3642c6ec98 Spack: dftd4 3.7.0 -> 4.0.2 2026-03-27 09:45:42 +01:00
Matthias Krack
12618bd43f Disable deepmd package in dbg tester 2026-03-26 16:09:45 +01:00
Matthias Krack
3d85b50ea0 PyTorch 2.10.0 -> 2.11.0 (spack) 2026-03-26 16:09:45 +01:00
Matthias Krack
ba189885c6 ScaLAPACK 2.2.2 -> 2.2.3 (spack) 2026-03-26 12:49:00 +01:00
Matthias Krack
8a7c549b73 Trigger only spack pdbg test automatically 2026-03-26 12:49:00 +01:00
Matthias Krack
670253b6df COSMA master -> 2.8.2 (spack) 2026-03-26 11:06:27 +01:00
Matthias Krack
bc1bef0758 Print OS information if available 2026-03-26 11:06:27 +01:00
Growl
6832432bba Toolchain: ScaLAPACK 2.2.2 -> 2.2.3 2026-03-26 09:49:44 +01:00
Growl
f361350b76 Toolchain: COSMA 2.8.1 -> 2.8.2 2026-03-26 09:49:44 +01:00
Growl
b879abb953 Toolchain: Update CMake, OpenBLAS and HDF5 2026-03-26 09:49:44 +01:00
Matthias Krack
7b94146043 Add flag for building a static CP2K library in make_cp2k.sh 2026-03-25 16:11:45 +01:00
HE Zilong
9f397624dc
MD: implement temperature function (#5002) 2026-03-25 15:02:16 +01:00
Matthias Krack
a78533eb1f Apply prettifier again to spack package files 2026-03-25 13:11:56 +01:00
Matthias Krack
ccd79c8d73 Remove local spack recipe for OpenBLAS; switch to newer spack repo 2026-03-25 13:11:56 +01:00
SY Wang
c6fc4eb94e
Add v4.0.x API of DFT-D4 (#4964) 2026-03-25 09:40:09 +01:00
Ole Schütt
cce4b85ea5
LS-SCF: Add tests for forces and stress tensor (#4997) 2026-03-24 22:58:09 +01:00
Matthias Krack
721f4afe15 OpenBLAS 0.3.31 -> 0.3.32 2026-03-24 22:22:28 +01:00
Matthias Krack
74799fca7c Drop local spack recipe for HDF5; switch to newer spack-packages version 2026-03-24 14:45:24 +01:00
Ole Schütt
0fa5d6463e
PAO: Abort when analytical stress tensor is requested (#4998) 2026-03-24 13:41:02 +01:00
Matthias Krack
1411fc9238 Use COSMA master intermediately
until a new COSMA release will become available (see https://github.com/eth-cscs/COSMA/pull/165)
2026-03-24 12:08:29 +01:00
Matthias Krack
40671c9b2f Activate Fedora rawhide tester (spack) 2026-03-24 12:08:29 +01:00
Ole Schütt
201a7457b8
Remove PACKAGE files (#4996) 2026-03-24 11:18:35 +01:00
SY Wang
5a6802b4bc
Toolchain: OpenMPI 5.0.9 -> 5.0.10 (#4995) 2026-03-24 10:00:35 +01:00
SY Wang
2ed09c55f5
Fix test-farm failure of RPM build (#4987) 2026-03-24 09:59:43 +01:00
André Nyberg Borrfors
d04fa31c63
Add header when printing CURRENT_INT in RTP/EMD (#4993) 2026-03-23 17:49:25 +01:00
Ole Schütt
0361b50231 Testing: Add check for nested test dirs 2026-03-23 17:48:46 +01:00
Ole Schütt
44d4b3fceb Testing: Split LIBTEST directory 2026-03-23 17:48:46 +01:00
Ole Schütt
554bc177a1 Testing: Move QS/C.inp into QS/regtest-gpw-2-2 2026-03-23 17:48:46 +01:00
André Nyberg Borrfors
482f4e8cbe
update RTP/EMD docs (#4990) 2026-03-23 16:44:07 +01:00
Ole Schütt
80a9227797
Testing: Add assertion against infinite recursion (#4988) 2026-03-23 14:32:35 +01:00
SY Wang
079df36cf9
Use Newton's minimization method for MP and MV smearing (#4985) 2026-03-23 12:37:13 +01:00
SY Wang
82afa516d5
Make MO_MOLDEN pick up mo_set even if MO output is not triggered on (#4986) 2026-03-23 10:01:28 +01:00
HE Zilong
34a1bdb69b
Add explanation and error message about CELL/SYMMETRY (#4974) 2026-03-21 22:41:24 +01:00
Ole Schütt
7765b1ffe2
Docs: Temporary fix for broken link in ehrenfest.md (#4984) 2026-03-21 21:06:34 +01:00
HE Zilong
ef7d4745b6
Regtest: suppress wavefunction restart file in some huge tests (#4983) 2026-03-21 20:51:52 +01:00
André Nyberg Borrfors
1155b05826
remove projMO REFERENCE_TYPE (#4979) 2026-03-20 17:49:51 +01:00
Matthias Krack
501b191426 Revise build from source instructions 2026-03-20 14:53:03 +01:00
SY Wang
8210a32729
Toolchain: Update ELPA to 2026.02.001 (#4975) 2026-03-20 12:48:56 +01:00
Matthias Krack
a15f595c46 py-torch 2.9.0 -> 2.10.0
because py-torch versions prior to 2.10.0 are deprecated due to memory CVEs
2026-03-20 12:03:19 +01:00
Matthias Krack
97815d35ec Remove local spack recipe for HDF5 2026-03-20 12:03:19 +01:00
Matthias Krack
4f8101ccea Switch to newer spack packages repo 2026-03-20 12:03:19 +01:00
Matthias Krack
afd0677457 ELPA 2025.06.001 -> 2026.02.001 (spack)
Add local spack recipe for ELPA intermediately
2026-03-19 17:12:22 +01:00
Matthias Krack
a41965c2f4 Update local spack recipe for HDF5 2026-03-19 17:12:22 +01:00
Growl
43be45d206 Relax tolerance 2026-03-19 12:37:54 +01:00
Growl
64b2f279eb Simplify CMake options output in toolchain 2026-03-19 12:37:54 +01:00
HE Zilong
5557c943c6
Revamp cell parser and allow for fallback to parse from coordinate file (#4971) 2026-03-18 18:20:42 +01:00
SY Wang
5828a1ae1e
Toolchain: Update to CMake 4.2.3, TREXIO 2.6.1, and workaround COSMA linking issue (#4954) 2026-03-18 16:26:04 +01:00
SY Wang
2b3ee83444
Toolchain: Update to CMake 4.2.3, TREXIO 2.6.1, and workaround COSMA linking issue (#4954) 2026-03-18 16:24:13 +01:00
SY Wang
e8d1ac1fd2
Fix dashboard issues (#4969) 2026-03-17 11:49:42 +01:00
HE Zilong
5bb96acea1
Add alias EXTXYZ for XYZ option of CELL_FILE_FORMAT in #4960 (#4963) 2026-03-17 11:46:57 +01:00
Growl
a28318810d Update documentation about dependencies 2026-03-17 11:16:36 +01:00
Matthias Krack
c3e4ebb575 OpenMPI 5.0.9 -> 5.0.10 (spack) 2026-03-17 10:08:36 +01:00
he-zilong
4f84fd8807 Omit COORD_FILE_NAME from restart file 2026-03-17 09:58:35 +01:00
SY Wang
f8e94810a9
Implementation of alternative smearing methods (#4958)
This PR shows an attempt to implement Gaussian smearing method.

The broading of it is much narrower than Fermi-Dirac distribution, and in most cases it should give a very resonable result. However, although Gaussian smearing is useful in practice, it does not have a clear physical meaning and therefore cannot be used in situations where electronic temperature or thermal excitations are of interest.

Most of the logic is adapted from how the Fermi–Dirac method works; the main differences lie in the mathematical formulas. In addition, an analytical form of df_i/dε_j is attempted here.
2026-03-16 15:09:56 +01:00
Juerg Hutter
60bb2b342c
Refactoring for k-point extension (#4953) 2026-03-16 11:51:08 +01:00
HE Zilong
3b19434825
Parse cell information from extxyz and pdb formats (#4960)
The input keyword &FORCE_EVAL/&SUBSYS/&CELL/CELL_FILE_FORMAT allows periodic
boundary condition to be set via external file. This PR extends parser logic so
that xyz and pdb can also be parsed for cell information in addition to
cp2k, cif and xsc, specifically the Lattice= tag in the comments on the
second line of the extended xyz format and the CRYST1 field of the pdb format.
2026-03-16 11:04:51 +01:00
Matthias Krack
eeadd9fdbb Fix occupied orbital printout for GUESS atomic and RESTART off 2026-03-14 18:14:28 +01:00
Matthias Krack
983a8784de Adapt ADDED_MOS automatically for the requested orbital information output 2026-03-14 16:37:05 +01:00
HE Zilong
01d6ff2c5b
Toolchain: improve generate_cmake_options.sh (#4928) 2026-03-13 22:28:38 +01:00
Growl
3b8dca457e Print energy with extrapolation to T->0 when smearing is used 2026-03-13 21:55:51 +01:00
Frederick Stein
f35d2ee3d9 Raise warnings or aborts in case of ambiguous/invalid cell definitions 2026-03-13 16:41:25 +01:00
Frederick Stein
5421a894f9 Fix AS calculations with Half-transformed integrals and inactive occupied orbitals 2026-03-13 14:00:29 +01:00
dependabot[bot]
2f0b2b8824
Bump black from 26.1.0 to 26.3.1 in /tools/precommit (#4948)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-13 12:55:13 +01:00
Growl
84a7b2d54c Unify extrapolation logic and update fallback to USE_PREV_WF (for k-points) 2026-03-13 08:31:42 +01:00
Matthias Krack
212c5a64b9 Spack: HDF 1.14.6 -> 2.1.0 2026-03-13 07:26:24 +01:00
Frederick Stein
039bc03734
Fix double allocation of the SPGR components (#4946) 2026-03-12 17:17:56 +01:00
HE Zilong
128d32b635
HFX: respect CUTOFF_RADIUS input with shortrange potential (#4945) 2026-03-12 14:37:55 +01:00
Matthias Krack
12cd710753 Enable openpmd with Spack pdbg tester 2026-03-12 12:19:33 +01:00
Matthias Krack
f5b900e883 Make string lengths compatible 2026-03-12 12:19:33 +01:00
Matthias Krack
8df37ddd93 Remove unused parameters and use optional argument title 2026-03-12 12:19:33 +01:00
Growl
1b046fb4e9 Implement PS for k-points 2026-03-12 12:17:26 +01:00
Growl
4769eec200 Fix test-farm failure of RPM build 2026-03-12 10:45:23 +01:00
Franz Pöschel
da857bea87 Explicitly open Iteration 2026-03-12 08:46:31 +01:00
Franz Pöschel
cab4d1cd6a Fix parallel HDF5 hangup
This is a workaround, the error points to a bug somewhere in openPMD
2026-03-12 08:46:31 +01:00
Matthias Krack
23d6dbe1c2 Exclude PEXSI with GCC 15 always 2026-03-11 19:22:13 +01:00
Franz Pöschel
ed85b1d719
openPMD output routines: Fix indexing (#4931) 2026-03-11 19:21:29 +01:00
Matthias Krack
c6abaaea11
Remove unused option and update messages (#4934) 2026-03-11 15:32:57 +01:00
SY Wang
d0346f3a66
Add [Cell] and [Nval] sections to Molden output (#4926) 2026-03-11 13:16:56 +01:00
Juerg Hutter
074b59337c
Reshuffel regtest-acc-X dirs (#4935) 2026-03-11 12:38:47 +01:00
Matthias Krack
f7bb64f48e
Include pexsi into pdbg tester (#4930) 2026-03-11 07:26:51 +01:00
BelizSertcan
ce05c0257a
RIXS| Support for RES-TDDFT (#4917) 2026-03-10 21:31:10 +01:00
HE Zilong
9782edaafd
Vibrational analysis: extend width of data field (#4922)
The old format for printing out IR and Raman intensities from a vibrational
analysis job is 3(1X,F12.6,8X), whose fixed 12-character width for float
type data may be faced with overflow in practice; this PR proposes sacrificing
width of trailing blank and extending width of data field with a new format
3(1X,ES18.6E3,2X) that is less likely to become a string of asterisks (****)
and obscure the data result. Note that this does not imply that an abnormally
high intensity from vibrational analysis is free from numeric error and/or
chemically sensible; the user is still responsible of verifying data.

For downstream output file parsers, this should be fine unless a restriction
of data type F12.6 is expected.
2026-03-09 14:21:41 +01:00
SY Wang
ff0bbe84df
Allow virtual orbital output in molden files with OT (#4924)
Get virtual orbital energies and coefficients from existing OT eigensolver and output it to .molden, which can meet a part of the feature request in #4353.

Users should generate this function through FORCE_EVAL%DFT%PRINT%MO_MOLDEN%OT_NLMO keyword (e.g. OT_NLUMO 30).
2026-03-09 14:19:40 +01:00
he-zilong
0ca8b53e62
Toolchain: use new function to check filename and sha256sum of packages (#4909) 2026-03-09 08:57:56 +01:00
Matthias Krack
9a4037812a
Use pre-built libint archive with spack (2.11.2 -> 2.13.1) (#4923) 2026-03-08 06:44:57 +01:00
Matthias Krack
3e9557df5d Increase time limit 2026-03-07 12:54:33 +01:00
Matthias Krack
b44873c12d Increase number of packages built in parallel for the CI tester 2026-03-07 12:54:33 +01:00
Growl
c7d5dbb4ca Print EEQ information only when PRINT_LEVEL >= MEDIUM 2026-03-07 12:14:58 +01:00
Growl
b1a093f7fe Avoid generating "*_localLog_p*.out" when calculating EEQ charges 2026-03-07 12:14:58 +01:00
SY Wang
5503130f6f
Fix dashboard issue of ssmp/sdbg (#4916) 2026-03-06 12:31:07 +01:00
Matthias Krack
10a8bd2f78 Drop additional layer of parallelism (make) for building the dependencies with spack
Rely completely on spack's internal parallelisation approach.
See issue #4860 and PR draft #4914.
2026-03-06 11:46:45 +01:00
Matthias Krack
d4a3af1188 Add flag for maximum number of packages built by spack 2026-03-06 11:46:45 +01:00
Growl
253de76f08 Toolchain: Lower optimization level of KXC functionals of libxc for GCC 2026-03-06 10:32:36 +01:00
Matthias Krack
cb252ca479 Add CI test inputs for 64 H2O 2026-03-05 16:34:04 +01:00
SY Wang
b83d40d81f
Toolchain: Updates of COSMA and HDF5 (#4910) 2026-03-05 14:52:31 +01:00
Matthias Krack
dca1a64c47 Do not enforce the use of externals with CUDA any longer 2026-03-05 13:33:22 +01:00
Matthias Krack
db655840ef COSMA 2.7.1 -> 2.8.1 (switch to recent spack packages version) 2026-03-05 12:29:09 +01:00
SY Wang
6b78964dbc
Toolchain: libint 2.6.0 -> 2.13.1 (#4865) 2026-03-04 23:50:49 +01:00
SY Wang
d125541000
Adjust slow tests (#4907) 2026-03-04 23:47:15 +01:00
SY Wang
5f5464d9b4
ASPC (along with USE_PREV_WF) for k-points (#4884) 2026-03-04 19:02:31 +01:00
SY Wang
7eec016f8b
Libint-cp2k: adjust build procedure (#4904) 2026-03-04 14:18:46 +01:00
Juerg Hutter
dac0cef031
Allow "smearing" in energy correction (no forces) (#4905) 2026-03-04 13:12:50 +01:00
Matthias Krack
aff660cba5 Add spack sdbg and pdbg tester to dashboard 2026-03-04 07:57:18 +01:00
Matthias Krack
5064cfc14c
Add spack based sdbg and pdbg tester (#4902) 2026-03-04 06:31:36 +01:00
Matthias Krack
52e9c85c0d make_cp2k.sh 1.6: Enable dbg builds 2026-03-03 18:46:38 +01:00
Matthias Krack
7290937375
Test for exact pattern match wrt the number of blanks (#4900) 2026-03-03 17:47:45 +01:00
Gabriele Tocci
ab353c7fcf
force_fields: Unify and upgrade NequIP and Allegro interfaces (#4898) 2026-03-03 16:41:12 +01:00
Ole Schütt
f66d47d961
Docs: Fix references in tddft.md (#4899) 2026-03-03 11:28:52 +01:00
SY Wang
b41a177dff
Reduce allowed minimum distance to 0.6 angstrom squared in DFT-MC (#4897) 2026-03-03 10:35:01 +01:00
Ole Schütt
277415ca78
Add scripts for building libint bundles (#4896) 2026-03-02 23:01:22 +01:00
Ole Schütt
549a88e91f
Toolchain: Revert back to ELPA 2024.05.001 due to CUDA issues (#4894) 2026-03-02 15:53:30 +01:00
Luis I Hernández Segura
223abcc058
Added more info for spinflip TDDFPT manual and updated citations (#4883) 2026-03-02 12:32:33 +01:00
Juerg Hutter
8546d8d3c7
DFT+U with k-points, only MULLIKEN option (#4855) 2026-03-02 09:47:32 +01:00
Matthias Krack
0ec2378a6c Fix typo; drop prerequisite for test run 2026-03-01 15:22:04 +01:00
SY Wang
1d3eaad00e
Update documentation of building from source (#4881)
Co-authored-by: Ole Schütt <ole@schuett.name>
2026-02-28 17:38:26 +01:00
Matthias Krack
4d40f9cc73 Fix spack recipe file for CUDA build 2026-02-28 14:12:41 +01:00
Matthias Krack
4180bf53f7 Add timeout flag and allow for flags using make_pretty.sh
Using "make_pretty.sh -j 1 -t 2" is often more likely to work than increasing the (hardwired) timeout value
2026-02-27 20:42:16 +01:00
Matthias Krack
70b5527ee6 Fix circular dependency 2026-02-27 20:42:16 +01:00
Matthias Krack
da287098b2 Add separate benchmark runs for ELPA to CI test 2026-02-27 20:42:16 +01:00
Ole Schütt
f04c6cb9c2
precommit: Add helpful message (#4888) 2026-02-27 16:43:22 +01:00
Ole Schütt
aaa93fa739
precommit: Increase timeout for shellcheck to 30s (#4887) 2026-02-27 16:14:28 +01:00
Matthias Krack
07b1930b13 Add GPU and CUDA compatibility checks; do not build libfabric with CUDA 2026-02-27 14:49:38 +01:00
Matthias Krack
23351c359f Allow GPU selection by CUDA arch number 2026-02-27 06:23:52 +01:00
Matthias Krack
e9d504f5c1 Use mpiexec in command example 2026-02-26 20:35:03 +01:00
Matthias Krack
52a73339f4 Initialize matrix tmp for parallel_gemm to avoid COSMA failure 2026-02-26 20:35:03 +01:00
Matthias Krack
738cd77190 Add CUDA environment setup and run only tests with ELPA 2026-02-26 20:35:03 +01:00
Matthias Krack
db02cc849e Remove feature gdrcopy when CUDA is disabled 2026-02-26 20:35:03 +01:00
Matthias Krack
d7e922a052 Allow feature selection for static binary builds 2026-02-26 20:35:03 +01:00
Matthias Krack
3f90738f87 Add separate benchmark tests for ELPA 2026-02-26 20:35:03 +01:00
Matthias Krack
03322a09a5 Revise CUDA activation for libfabric 2026-02-26 20:35:03 +01:00
Matthias Krack
aaa5d4d1c6 Add CUDA arch 75 (T400) 2026-02-26 20:35:03 +01:00
Matthias Krack
0cad5cb6b1 Add ELPA test 2026-02-26 20:35:03 +01:00
Matthias Krack
dadd5bfba6 make pretty 2026-02-26 20:35:03 +01:00
Matthias Krack
56c4d063ae Keep optional line commented 2026-02-26 20:35:03 +01:00
Matthias Krack
ca0617f2ae Disable cuda for libfabric 2026-02-26 20:35:03 +01:00
Matthias Krack
37e9a773c6 Check if the selected features are available for building a serial CP2K binary 2026-02-26 20:35:03 +01:00
Matthias Krack
0cc6abc953 COSMA 2.7.0 -> 2.7.1 2026-02-26 20:35:03 +01:00
Matthias Krack
d62da8a974 Switch to a newer spack packages commit 2026-02-26 20:35:03 +01:00
Matthias Krack
94bf4269f7 Do not restrict CI benchmark tests to ScaLAPACK (use ELPA if available) 2026-02-26 20:35:03 +01:00
Matthias Krack
25e5760d41 Activate CUDA support of COSMA explicitely when available 2026-02-26 20:35:03 +01:00
Matthias Krack
06f39e1b88 Sync tester configuration 2026-02-26 20:35:03 +01:00
Frederick Stein
428ecd7c49
Improve documentation regarding the use of the ATOM section (#4880) 2026-02-26 17:19:19 +01:00
SY Wang
116267a333
MO wavefunction text output for k-point calculations (#4858) 2026-02-26 16:34:12 +01:00
Leonard-P
eaf4b1a8fb
GW: Fix RI metric eigenvalue printing (#4879) 2026-02-26 16:32:13 +01:00
SY Wang
10ea07553d
Fix Spack-test failure (#4878) 2026-02-26 10:32:47 +01:00
SY Wang
ed9ef77eae
Fix behavior of -ef/-df dlaf and allow running as root with OpenMPI by default (#4877) 2026-02-25 15:50:05 +01:00
sliwowitz
7ed86d19fa
Add cuSOLVERMp generalized eigensolver for no-k-point code path (#4875) 2026-02-25 12:06:43 +01:00
Ole Schütt
4e03334606 precommit: Update Python packages and re-format 2026-02-24 17:11:52 +01:00
Johann Potot.
9079630cc5
fixing dipole, quadrupole adding contributions from all cells (#4873)
A fix for periodic GFN2, that adds contributions from other cells
2026-02-24 14:06:48 +01:00
SY Wang
52b94d0137
CMake: Make "require out-of-source builds" valid (#4876) 2026-02-24 12:06:05 +01:00
Matthias Krack
d54fdbb405
H100: Add benchmark stage and test more features (#4870) 2026-02-23 20:32:05 +01:00
he-zilong
8ed64b91c2 Toolchain: fix tblite-0.5.0.tar.xz install behavior 2026-02-23 10:29:47 +01:00
Matthias Krack
a9a9e09f53
Various fixes for the Cray H100 tester (#4869)
- Set unique PERSIST_IMAGE_NAME and fix typo
- Allow for change of BASE_IMAGE
- Fix short-name resolution issue
- Fix disable all features for libxsmm
- Add test runs to tester
- Add stage test to list
- Fix tag and add device flag
- Use netmod ofi instead of ucx
2026-02-23 09:40:41 +01:00
Matthias Krack
65c71bef51
Add Cray psmp H100 tester (#4868) 2026-02-22 19:51:33 +01:00
Matthias Krack
bec65495dc
Fix Cray tester (#4866)
- Drop openpmd feature for Daint
- Reduce default number of OMP_NUM_THREADS from 8 to 2 in launch script
- Use popt binary for benchmark runs
- Use old libfabric 1.22.0 for CSCS tester instead of version 2.4.0
- Add feature flags and increase time limit for Cray tester
- Use py-torch 2.9.0 instead of 2.10.0
2026-02-22 08:55:25 +01:00
Matthias Krack
993cc6f902 Split container builds in 3 stages to imorove caching 2026-02-21 00:36:37 +01:00
Matthias Krack
eeba7ca83e Include libcp2k in search 2026-02-20 20:56:44 +01:00
Matthias Krack
d21f74fb32 Recover Cray specific settings 2026-02-20 20:56:44 +01:00
Matthias Krack
fe07ba5a00 Replace the unreliable ldd by ldconfig
to detect all library paths needed by the CP2K binary
- Pin ninja version after removing the package from the base image installation
- Update Rocky Linux version from 9.3 to 10 (latest)
- Remove CMake cleaning step, because it causes that CP2K is always recompiled from scratch which is a feature already covered by the --rebuild_cp2k flag on user request
- Move back from lscpu to nproc, because lscpu provides always a host view also within containers whereas nproc shows the container-visible CPUs (cgroup limits)
2026-02-20 20:56:44 +01:00
he-zilong
5dbd8b0fb1
Toolchain: new tool_kit.sh function for tail excerpt of log files (#4861) 2026-02-20 16:08:54 +01:00
Growl
0ada215eeb Along with minor fixes to make_cp2k.sh 2026-02-20 09:20:35 +01:00
Growl
aab5fe999c Reset default libdir in CMakeLists.txt 2026-02-20 09:20:35 +01:00
Johann Potot.
0b9d12659e
fix for partial occupation numbers from tblite (#4857)
Co-authored-by: Johann Pototschnig <j.pototschnig@hzdr.de>
2026-02-19 16:14:33 +01:00
Frederick Stein
b35dc3d099
Add support for ROHF/ROKS in the active space module (#4859)
Currently, ROHF calculations are just run as UHF calculations in the active space module. This PR calculates ERIs and dumps ERIs and Fock matrix elements only once for the first spin channel.
Fix: I replaced the scf_control%restricted with dft_control%roks (and one check with scf_control%roks_scheme) because scf_control%restricted only works with the OT solver.
2026-02-19 13:41:49 +01:00
SY Wang
e4d53b9f1c
PAO-ML: Pin versions of all Python packages 2026-02-18 11:45:48 +01:00
Matthias Krack
f5f4884382 Minor fixes for make_cp2k.sh
- Silence (garbage) output of spack compiler find
- Process only non-empty SED_PATTERN_LIST
- Add -e flag to sed command
2026-02-18 09:50:35 +01:00
Matthias Krack
08977f0e78 Remove ninja-build package from base images 2026-02-18 09:50:35 +01:00
Matthias Krack
c44663d83f Add spack based rockylinux 9.3 tester 2026-02-18 09:50:35 +01:00
Mathieu Taillefumier
2064daf5fd Add DBCSR cmake configuration check. Apply only to DBCSR > 2.9.1 2026-02-17 18:11:09 +01:00
Matthias Krack
45ef852182 Drop --non-buildable flag from spack find externals
Fix python version check and print always the detected version
2026-02-17 16:18:23 +01:00
Ole Schütt
fc91f74b85 precommit: Increase timeout for shellcheck 2026-02-17 12:32:20 +01:00
Matthias Krack
f24c03a905 Set CUDA_CACHE_DISABLE 2026-02-17 10:32:16 +01:00
Matthias Krack
e75f387824 Try to fix LD_LIBRARY_PATH 2026-02-17 10:32:16 +01:00
he-zilong
66befe4c16
Toolchain: remove some legacy mentions 2026-02-17 10:25:20 +01:00
Matthias Krack
eaadeeb9d3 Enable OpenPMD explicitly (not done by default) 2026-02-16 17:02:23 +01:00
Ole Schütt
4e811310d5 Fix conventions in negf_env_types.F and qs_moments.F 2026-02-16 14:58:37 +01:00
SY Wang
33018c95e6
Resolve issues with Intel compilers 2026-02-16 14:57:16 +01:00
SY Wang
71814aae36
Fix Fedora rpm-build failure 2026-02-16 12:35:35 +01:00
he-zilong
6056ab6385
Toolchain: revamp help message, extend --dry-run output in install_cp2k_toolchain.sh 2026-02-16 12:03:43 +01:00
Matthias Krack
0acacb5a85 make_cp2k.sh: Add flags to enable/disable features selectively
"-ef all -df sirius -df deepmd" enables all feature except sirius and deepmdkit
"-df all -ef libxc -ef tblite" disables all optional features except libxc and tblite
2026-02-16 10:49:35 +01:00
SY Wang
6f2c87018f
Update toolchain README documentation (#4839) 2026-02-16 10:18:19 +01:00
Matthias Krack
07a43cf683 Disable PEXSI when CUDA is used 2026-02-15 14:05:49 +01:00
Matthias Krack
0c3f48da69 Add spack based psmp CUDA P100 tester 2026-02-15 14:05:49 +01:00
Matthias Krack
8000e662f5 Fix elpa pkg-config file when CUDA is used 2026-02-15 14:05:49 +01:00
Andrea Grisafi
9ea93394cc
Fixed printing overflow of RI basis set contraction coefficients (#4834)
This PR fixes a field-width overflow (***** output) when printing RI basis set contraction coefficients from src/basis_set_output.F.
2026-02-13 20:23:44 +01:00
Matthias Krack
04652bb80a Show ldd output also for statically linked binaries 2026-02-13 18:14:23 +01:00
Matthias Krack
3d9e421291 Update CI docker files and adapt make_cp2k script
- fix spack path in docker file
- drop cray flag
- drop hwloc and libhwloc in base image
- adapt sed command for MPI selection
- disable extra fabrics for the time being
- print CUDA version only if defined
2026-02-13 17:11:16 +01:00
Matthias Krack
d09aed86f6 Switch to newer spack-packages version
- provides spglib version 2.6 and 2.7
- remove local spack recipe for spglib
- add more sirius features
- remove xpmem from configuration
2026-02-13 17:11:16 +01:00
Matthias Krack
3e37b7b58e libfabric 1.22.0 -> 2.4.0 2026-02-12 23:05:50 +01:00
Matthias Krack
a36ee8f466 OpenMPI 5.0.8 -> 5.0.9 2026-02-12 23:05:50 +01:00
Matthias Krack
0129da2b8a Openpmd 0.16.1 -> 0.17.0 2026-02-12 23:05:50 +01:00
Matthias Krack
189bf0f600 adios2 2.10.2 -> 2.11.0 2026-02-12 23:05:50 +01:00
Matthias Krack
e663abcc80 libvdwxc 0.4.0 -> 0.5.0 2026-02-12 23:05:50 +01:00
Matthias Krack
94d08d3e79 Sirius 7.9.0 -> 7.10.0 2026-02-12 23:05:50 +01:00
Matthias Krack
1311ce0a61 py-torch 2.9.0 -> 2.10.0 2026-02-12 23:05:50 +01:00
Matthias Krack
249fbc2679 libint 2.11.1 -> 2.11.2 2026-02-12 23:05:50 +01:00
Matthias Krack
c8571928d6 Add recent commit tag for spack-packages 2026-02-12 19:24:22 +01:00
Matthias Krack
3d34b48a59 Drop download of spack-packages 2026-02-12 19:24:22 +01:00
Matthias Krack
ed239ab163 Format package file 2026-02-12 19:24:22 +01:00
Matthias Krack
b42935cf8e Sync local with upstream recipe 2026-02-12 19:24:22 +01:00
Matthias Krack
9a73445b87 Drop local spack recipe for plumed 2026-02-12 19:24:22 +01:00
Matthias Krack
b47042f53f Remove local spack recipe for mimic_mcl 2026-02-12 19:24:22 +01:00
Matthias Krack
26c4b8eb1f Remove local spack recipe for greenx 2026-02-12 19:24:22 +01:00
Matthias Krack
c6101b5ca7 Remove local spack recipe for deepmdkit 2026-02-12 19:24:22 +01:00
Matthias Krack
474557d837 Remove local spack recipe for dbcsr 2026-02-12 19:24:22 +01:00
Matthias Krack
e1a350d663 Augment prefix inspections 2026-02-12 13:37:02 +01:00
Matthias Krack
3c434384a8 Drop version from spack folder name 2026-02-12 13:37:02 +01:00
Matthias Krack
c6529ff58f Spack 1.1.0 -> 1.1.1 2026-02-12 13:37:02 +01:00
marcella
c5ae7f89c8
missing term (#4823) 2026-02-12 12:07:17 +01:00
Shridhar Shanbhag
06e04e9fbf
Add qs_moment_kpoints_deep 2026-02-12 10:01:17 +01:00
Matthias Krack
a43c0409d8 Augment search path for CUDA 2026-02-11 15:19:56 +01:00
Matthias Krack
dd84f02cdf Export LD_LIBRARY_PATH 2026-02-11 15:19:56 +01:00
Matthias Krack
058fcb96a8 Remove printout of undefined variables 2026-02-11 15:19:56 +01:00
Matthias Krack
de8fe47947 Drop CUDA environment setup within the container 2026-02-11 15:19:56 +01:00
Matthias Krack
f83b2f40dd Sync CUDA version with docker container 2026-02-11 15:19:56 +01:00
Matthias Krack
e0d5c8ef3d Add spack based ssmp CUDA P100 tester 2026-02-11 15:19:56 +01:00
Juerg Hutter
2f8dfa158c
D4: correctly set CN rc cutoff (#4821) 2026-02-11 15:04:18 +01:00
Juerg Hutter
0805bbdd34
Fix for tblite to not use OT optimizer (#4804) 2026-02-11 14:03:42 +01:00
Dmitry Ryndyk
6bd5426dd7
NEGF: restart files for scattering region initial Hamiltonian and ove… (#4800) 2026-02-11 10:13:07 +01:00
SY Wang
70636b18d4
Toolchain: Updates of OpenBLAS, PLUMED and Spglib 2026-02-10 16:33:36 +01:00
Matthias Krack
03b8f6183c make_cp2k.sh 1.3: Add CUDA GPU support 2026-02-10 13:33:09 +01:00
Matthias Krack
7d693f415a Recover packages hwloc and libhwloc-dev for Cray 2026-02-10 12:16:39 +01:00
SY Wang
c3c8c31c59
CMake: Restore creation of popt/sopt symlink 2026-02-10 12:00:34 +01:00
Matthias Krack
c4c8d7be26 Fix path of launch script and PEXSI detection 2026-02-10 09:52:07 +01:00
Matthias Krack
026a55ffeb Sync CI docker files (launch script name) 2026-02-10 09:22:07 +01:00
Matthias Krack
4c552869df Fix case when GCC_VERSION is set to "auto" 2026-02-09 18:59:37 +01:00
Matthias Krack
8173ab3892 Add docker files for testing fedora rawhide using GCC 16
- CP2K ssmp: Binary is built successfully but gives immediately a segfault at runtime
- CP2K psmp: Building the dependencies fails (COSMA issue #160)
2026-02-09 18:59:37 +01:00
Matthias Krack
9767e520d0 Simplify: merge entrypoint and launch script 2026-02-09 17:53:43 +01:00
Matthias Krack
119b1e800a Add output redirection 2026-02-09 17:53:43 +01:00
Matthias Krack
48070a008c Allow for selecting GCC 16 2026-02-09 17:53:43 +01:00
Matthias Krack
8de6fc2277 Mute zypper command 2026-02-09 17:53:43 +01:00
Matthias Krack
54302ca1a4 Test with base image fedora:latest instead of fedora:43 2026-02-09 17:53:43 +01:00
Matthias Krack
cd2fe8df35 Add forgotten -- to ldd command 2026-02-09 17:53:43 +01:00
Matthias Krack
ef5a920802 Add forgotten -- to ldd command 2026-02-09 17:53:43 +01:00
Matthias Krack
55d334afdb Add spack psmp tester for openSUSE (leap 15.6) 2026-02-09 17:53:43 +01:00
Frederick Stein
f02ad998b0 Generalize the determination of integration groups with RPA and use the max memory more consistently 2026-02-09 11:54:43 +01:00
Matthias Krack
07cc380991 Add spack based fedora:43 psmp tester
Fedora:43 provides GCC 15.2.1 which includes backports and fixes missing in the GCC 15.2.0 version
2026-02-09 08:11:37 +01:00
Matthias Krack
fad18cd9cc Remove accidentily added package findutils 2026-02-08 23:35:27 +01:00
Matthias Krack
136a596132 Make ldd command more robust
Disable PEXSI when the dependency is missing
2026-02-08 23:35:27 +01:00
Matthias Krack
6e2f6d2d0a Allow for different base images with spack 2026-02-08 23:35:27 +01:00
Ole Schütt
7c2fd9f766 PAO-ML: Split samples into training and validation set 2026-02-08 18:37:33 +01:00
Ole Schütt
0a876ee833 PAO: Abort on convergence failure 2026-02-08 18:37:33 +01:00
Ole Schütt
991d15c049 PAO: Fix race condition in pao_calc_AB_equi 2026-02-08 18:37:33 +01:00
Matthias Krack
bc61e0093c Spack: PLUMED 2.9.2 -> 2.10.0 2026-02-08 12:46:13 +01:00
Matthias Krack
93901f99c1 Spack: OpenBLAS 0.3.30 -> 0.3.31 2026-02-08 12:46:13 +01:00
Matthias Krack
2ad40c2f4b Spack: Spglib 2.5.0 -> 2.7.0 2026-02-07 22:08:39 +01:00
Matthias Krack
c4d211555b Add spack based static ssmp tester 2026-02-07 19:32:03 +01:00
Matthias Krack
9654b273e8 Remove local GCC version only when present 2026-02-07 19:32:03 +01:00
Matthias Krack
00eebaaad3 Suppress pretty for spack package files 2026-02-07 19:32:03 +01:00
Matthias Krack
5da81e0082 Add docker file for building statically linked CP2K binaries 2026-02-07 19:32:03 +01:00
Matthias Krack
a829f3211f Add spack configuration file for static builds 2026-02-07 19:32:03 +01:00
Matthias Krack
a1aefec7b7 make_cp2k.sh 1.2: Add option for static build 2026-02-07 19:32:03 +01:00
Matthias Krack
45098ffe6d Add local spack recipe for openblas
- Add variant static to enable static library builds
- Add latest version 0.3.31
2026-02-07 19:32:03 +01:00
Matthias Krack
c8face9be8 Add local spack recipe for spglib
- Add variant shared to enable static library builds
- Add new versions 2.6.0 and 2.7.0
2026-02-07 19:32:03 +01:00
Growl
4c0ecfe9d1 Toolchain: Decrease unnecessary environment variables in install/setup 2026-02-07 16:06:24 +01:00
Ole Schütt
76a1fba2f3 Fix OpenMP in qs_moment_kpoints 2026-02-07 15:03:48 +01:00
Growl
7a8bbbd46a Toolchain: Small fixes following up #4784 and #4787 2026-02-07 11:41:18 +01:00
SY Wang
77f1922497
Fix Ubuntu GCC test issue 2026-02-06 16:27:42 +01:00
Sebastian Wellig
e0aa991fa9
Improve docs for function strings 2026-02-06 14:26:07 +01:00
Max Graml
9b8827b5d4 fix blocksize-dependent (MPI, Mem_per_proc) deviations 2026-02-06 14:22:55 +01:00
BelizSertcan
b06d3a975b
TDDFT| delete outdated description (#4786) 2026-02-05 17:55:20 +01:00
bramlinden
fde685aa93 Update input_cp2k_xc.F
Changed description scaling parameters Grimme dispersion corrections to make clear that 0 values do not trigger automatic parameter determination. See also the forum https://groups.google.com/g/cp2k/c/dY9nQWnWeIQ
2026-02-05 11:39:14 +01:00
Growl
b66543e858 Fix issue #4762
Integrate the suggestions from #4762 into the scripts to avoid errors similar to those reported in this issue.
2026-02-05 11:38:07 +01:00
Hans Pabst
63b8883d67 HDF5: initialize output_unit in wrapper
- Rely on cp_logger_get_default_io_unit()
2026-02-05 11:29:40 +01:00
Juerg Hutter
dbde302009
GAPW increase accuracy for XC integration (#4779) 2026-02-04 17:51:19 +01:00
Matthias Krack
3375d7e96a Revert output reduction for spack env activate 2026-02-04 17:47:21 +01:00
Matthias Krack
99201c48e0 Fix typo 2026-02-04 17:47:21 +01:00
Matthias Krack
9bec092fd1 Reduce non-verbose output 2026-02-04 17:47:21 +01:00
Matthias Krack
a85da213f3 Relax tolerance 2026-02-04 17:47:21 +01:00
BelizSertcan
37fe518a58 TDDFPT| define tddfpt section and control only once 2026-02-04 17:02:21 +01:00
Matthias Krack
d945cc3509 Simplify: just include the GCC version as spec 2026-02-04 14:48:55 +01:00
Matthias Krack
2b0c3cd6e0 Add new GCC 15 tester to dashboard 2026-02-04 14:48:55 +01:00
Matthias Krack
78e4bf51c4 Add spack based tester for GCC 15
- Drop overriding compiler commands
- Try to use externals to accelerate the build
2026-02-04 14:48:55 +01:00
Sebastian Wellig
8b1f5daa69
Add support for functions with multiple arguments to fparser 2026-02-04 10:40:02 +01:00
ssande7
a133cbe98f Toolchain: fix include and lib paths for Cray builds 2026-02-04 10:38:37 +01:00
Matthias Krack
51fc4cdbdb Add launch script for builds with make_cp2k.sh outside a container
- The launch script performs the envrionment setup like the entrypoint.sh script within a container
- Improve and extend the usage hint messages
2026-02-03 13:33:10 +01:00
Matthias Krack
57d0aac4b7 Revise printout 2026-02-02 17:44:18 +01:00
Matthias Krack
b79721a12d Allow for selecting the GCC version 2026-02-02 17:44:18 +01:00
Jiří Vyskočil
e7b8a776ce Add NCCL support for CuSolverMP 2026-02-02 16:17:48 +01:00
Matthias Krack
e84522140f Make a note of a successful dependencies build 2026-02-02 16:09:47 +01:00
SY Wang
e644ccc3b3
Toolchain: Several tweaks and fixes 2026-02-02 12:30:54 +01:00
Matthias Krack
5d1292bd6a Remove also the folders build and install when building from scratch 2026-02-02 12:13:56 +01:00
Matthias Krack
6694314201 Fix -j flag parsing 2026-02-02 12:13:56 +01:00
Matthias Krack
d2b3edacdf Update CP2K installation path 2026-02-02 07:46:33 +01:00
Matthias Krack
10126dff3c Add NUM_PROCS; discard test run after install step 2026-02-02 07:46:33 +01:00
Matthias Krack
e1834e69bf Disable local cache for CI/CD testing 2026-02-02 07:46:33 +01:00
Matthias Krack
54614f0173 Relocate -i flag to correct position 2026-02-02 07:46:33 +01:00
Matthias Krack
1bb5f7d1d6 Use make_cp2k.sh script for CI/CD testing 2026-02-02 07:46:33 +01:00
Matthias Krack
cd22e438c1 make_cp2k.sh: Add Cray specific configuration 2026-02-02 07:46:33 +01:00
Matthias Krack
a709f7f1fc Relax test tolerance 2026-01-31 07:25:48 +01:00
Matthias Krack
9395d2b7a1 make pretty 2026-01-31 07:25:48 +01:00
Matthias Krack
3385008a7f Include last missing package TBLITE in spack build 2026-01-31 07:25:48 +01:00
Matthias Krack
dabbdeb19f Add spack based tester for GCC 10, 11, 12, and 14 2026-01-30 23:43:04 +01:00
Matthias Krack
0329e72911 Add --disable_local_cache flag in make_cp2k.sh 2026-01-30 16:59:58 +01:00
Matthias Krack
3462af1f7c Perform multi-stage docker builds to reduce image size
- Create also more layers for a smaller average size per layer
- The created containers are essentially ready for production
2026-01-30 14:17:19 +01:00
Matthias Krack
e749b09f73 Fix library name 2026-01-30 13:17:41 +01:00
Matthias Krack
710be7e663 Disable MPI if a serial CP2K build is selected 2026-01-30 13:17:41 +01:00
Matthias Krack
7e97e3de77 Fix hint message 2026-01-30 13:17:41 +01:00
Matthias Krack
1661aba86b Use CP2K search function 2026-01-30 13:17:41 +01:00
Matthias Krack
c55ce8db39 Do not use ACE internal yaml with spack 2026-01-30 13:17:41 +01:00
Matthias Krack
7f9c01eb84 Use a more informative variable value 2026-01-30 13:17:41 +01:00
Matthias Krack
5a17cb8158 Drop update of EXIT_CMD 2026-01-29 18:27:00 +01:00
Matthias Krack
8408de7462 Add printout for new flag 2026-01-29 18:27:00 +01:00
Matthias Krack
c1d0850744 Add --build_deps_only flag in make_cp2k.sh 2026-01-29 18:27:00 +01:00
Frederick Stein
c2f2ab1e3c Actually use a single core per subgroup to calculate ERIs in AS module if requested+Fix 2026-01-29 17:00:27 +01:00
Frederick Stein
b330c0f5f4 Add current+maximum cutoff radius to the warning of too large cutoff radius in HFX 2026-01-29 17:00:27 +01:00
Matthias Krack
77dd534c16 Add missing docker file 2026-01-29 15:18:17 +01:00
Matthias Krack
9dd2f63cea Replace old spack-based testers with new ones (use make_cp2k.sh) 2026-01-29 15:18:17 +01:00
he-zilong
80da8b86e6
Toolchain: disable libvdwxc and spfft build without sirius (and spla if also without GPU) 2026-01-29 11:11:44 +01:00
Michael Cho
0a5a51bf32 CMake: Fix ssmp build with CP2K_BLAS_VENDOR set 2026-01-29 11:09:57 +01:00
Matthias Krack
d5a04416c5 Fix container detection 2026-01-28 21:00:10 +01:00
Matthias Krack
e915ac4f9d libint-2.11.1 requires at least gcc10 2026-01-28 21:00:10 +01:00
Matthias Krack
88a4689002 Discard output of spack create and activate 2026-01-28 21:00:10 +01:00
Matthias Krack
e227b41fd7 Replace docker file for gcc15 by gcc10 2026-01-28 21:00:10 +01:00
Matthias Krack
89bea08878 Fix hard-wired version in docker file
Add arguments for GCC version and test options (TESTOPTS)
Add two spack based testers (gcc15 and 4x2)
2026-01-28 21:00:10 +01:00
Matthias Krack
c92322cfae Minor fixes 2026-01-28 21:00:10 +01:00
Matthias Krack
2c68f22196 Add OpenMPI tester using make_cp2k.sh
Drop hwloc installation for the base image with spack
2026-01-28 21:00:10 +01:00
Matthias Krack
ca3340cbb5 make_cp2k.sh 0.6: Add MPI flag and revise flag parsing
Add entrypoint script file
2026-01-28 21:00:10 +01:00
Matthias Krack
ccfa571fc8 Build OpenMPI without internal hwloc using spack 2026-01-28 21:00:10 +01:00
SY Wang
6d8a8e2a96 Toolchain: Add support for enabling "CP2K_USE_MPI_F08" when generating CMake options 2026-01-28 17:48:01 +01:00
Max Graml
35340893dd
GW: performance improvements 2026-01-28 17:47:31 +01:00
Shridhar Shanbhag
e60cd36aed
open shell code added to qs_moment_kpoints 2026-01-28 17:44:54 +01:00
he-zilong
c043a46d7e Toolchain: add --enable-sse2 option for fftw with target-cpu=native 2026-01-28 15:02:25 +01:00
SY Wang
6b5fb56659 Toolchain: Remove redundant "export PKG_CONFIG_PATH" commands 2026-01-28 14:57:33 +01:00
marcella
7bb81b159f
FIX of BUG FIX RMD + ADMM + LSD (#4749) 2026-01-28 14:36:48 +01:00
Ole Schütt
a062912343 Toolchain: chmod +x generate_cmake_options.sh 2026-01-27 15:19:25 +01:00
Ole Schütt
d460b44812 Add MAX_FILE_SIZE_MB to other CUBE printkeys 2026-01-27 11:30:29 +01:00
Ole Schütt
d52ff1256a Testing: Change default workbasedir to ./regtesting 2026-01-27 09:33:02 +01:00
marcella
ada2ee8b55
BUG FIX: EMD + LSD + ADMM (#4739) 2026-01-26 18:56:45 +01:00
Ole Schütt
b049e7ca4f Dashboard: Only check OK reports for complete plots 2026-01-26 13:35:32 +01:00
Ole Schütt
de6826d5f0 ELPA: Fix unused dummy arguments 2026-01-26 13:35:32 +01:00
Ole Schütt
425d944692 Docker: Reduce output after build failure 2026-01-26 13:35:32 +01:00
SY Wang
fe536af7c6
Toolchain: Fix zlib support in install_hdf5.sh 2026-01-26 12:59:45 +01:00
BelizSertcan
cb3738280a mo transformation and mem improvements 2026-01-26 12:53:28 +01:00
SY Wang
9513a73f5c
Make Toolchain automatically generate CMake options 2026-01-26 08:58:46 +01:00
Matthias Krack
fd1a950bc3 Revert "Change SPACK_CACHE"
This reverts commit a8a95e500c.
2026-01-25 21:02:19 +01:00
Matthias Krack
a8a95e500c Change SPACK_CACHE 2026-01-25 19:56:30 +01:00
Matthias Krack
70efc141fe Add hint message on failure 2026-01-25 19:56:30 +01:00
Matthias Krack
13943525c3 Use padded_length for prefix 2026-01-25 19:56:30 +01:00
Matthias Krack
ca6b8f8fc6 Add two testers for make_cp2k.sh build script 2026-01-24 20:00:50 +01:00
Matthias Krack
0d91bdb03c Adapt make_cp2k.sh script for use within a container 2026-01-24 16:16:16 +01:00
Matthias Krack
27b758b4a0 Retrieve error code via PIPESTATUS 2026-01-24 16:16:16 +01:00
Hans Pabst
5671e2c755 ELPA: turn section PRINT_ELPA into a lone keyword ELPA_PRINT
- Adjusted test/input files accordingly.
- Removed print key from benchmarks.
- Improved descriptions/comments.
- Simplified ELPA wrapper API.
2026-01-23 17:51:56 +01:00
Frederick Stein
baed3e2f42
Fix checks for contiguity in case of zero-sized arrays (#4729)
Apparently, there are problems when dealing with contiguous arrays of size 0 in the MPI wrapper. With GCC, they are not anymore contiguous after passing them to a function. We circumvent that by requiring the array to be contiguous or of size 0.
2026-01-23 17:39:17 +01:00
Matthias Krack
980780834b make_cp2k.sh 0.4: Improve error handling and provide more hints 2026-01-22 16:57:51 +01:00
Ioachim Dusa
c196de5d7f
Fix boundary condition handling in I-PI driver 2026-01-22 15:21:36 +01:00
Matthias Krack
5092e67aec make_cp2k.sh: fix bd flag and install venv after spack 2026-01-22 13:33:22 +01:00
Matthias Krack
240ff40f90 make_cp2k.sh 0.3: Add no_externals flag and perform more checks 2026-01-22 13:33:22 +01:00
Hans Pabst
41057b29f4 Fixed conventions
- Suppressed RANDOM_NUMBER and RANDOM_SEED.
2026-01-22 09:50:10 +01:00
Hans Pabst
8ebf9ad0d0 ELPA: introduced ELPA_ONE_STAGE and revised ELPA_QR/UNSAFE
- Introduced ELPA_ONE_STAGE (see #4683).
- QR factorization (unsafe is now internal).
- Removed keyword ELPA_QR_UNSAFE.
- Updated to ELPA 2025.06.002.
- Disabled IEEE exceptions.
- Test coverage.
2026-01-21 13:33:40 +01:00
Matthias Krack
d24a13c9a8 Increase minimum version for CMake to 3.27 and add python 2026-01-21 12:17:13 +01:00
Matthias Krack
631f12d81a Version 0.2 of make_cp2k.sh
- Add more flags and checks
- Minor fixes
2026-01-21 12:17:13 +01:00
Hans Pabst
1faee7cb7e PW/FFT: code cleanup 2026-01-21 08:12:42 +01:00
Matthias Krack
e68d6fd0ba Relax minimum requirement for gmake version from 4.3 to 4.2 2026-01-20 14:39:43 +01:00
Matt Thompson
1d2e12d9be
Add reference to make_cp2k.sh script in INSTALL.md 2026-01-20 13:16:14 +01:00
Matthias Krack
e0d697471b PEXSI 2.0.0 requires OpenBLAS to be built with Makefile
When OpenBLAS is built with CMake, the CMake error "Could NOT find BLAS (missing: BLAS_LINK_OK)" appears when PEXSI 2.0.0 is built.
2026-01-20 13:13:00 +01:00
Matthias Krack
ff02d6f2fc Make pretty 2026-01-20 13:13:00 +01:00
Matthias Krack
40083c484c Adapt sed command for double-quoted specs 2026-01-20 13:13:00 +01:00
Matthias Krack
ee3ed4defb Update Spack config file
- Define preferred Spack build_system and CMake BUILD_TYPE
- Double-quote all specs even if this is only needed for a few entries
- Add build tools to specs to ensure that these are built by Spack in case the minimum version requirement is not fulfilled
2026-01-20 13:13:00 +01:00
Matthias Krack
e12c633724 Merge local Spack recipe for lammps_user_pace with recipe pace from spack-packages 2026-01-20 13:13:00 +01:00
Juerg Hutter
a0e5186601
RIGPW bug fixes and add a regtest (#4707) 2026-01-19 17:04:37 +01:00
Frederick Stein
6233382a0d
Fix io unit in kpsym (#4706) 2026-01-19 13:03:18 +01:00
Matthias Krack
2dab80f166 Use the same libxsmm version with Spack as with the toolchain 2026-01-17 17:11:27 +01:00
Matthias Krack
90e4872bed Fix sed command for switching MPICH to OpenMPI 2026-01-17 13:37:43 +01:00
Matthias Krack
7ebcc369d2 Include libxsmm in Spack builds and use it for DBCSR
A local Spack package file for libxsmm is included with only a minor modification:
The build dependency on "binutils+ld+gas@2.33:" is commented.
2026-01-16 18:09:52 +01:00
Matthias Krack
b8dc6169e0 Keep "prefer" until variants are defined for all dependencies 2026-01-16 13:13:03 +01:00
Matthias Krack
945069766d Rework spack configuration files 2026-01-16 13:13:03 +01:00
Frederick Stein
4e96ea1a00
Fix typos with Cs in BASIS_ccGRB_UZH (#4698) 2026-01-15 16:03:30 +01:00
Matthias Krack
30099c3b2a Update mimic_mcl recipe after adding it to the Spack packages repository 2026-01-14 21:01:17 +01:00
Ole Schütt
cc4239a96c CMake: Set -D__NO_STATM_ACCESS on BSD 2026-01-13 13:58:58 +01:00
Shridhar
3c2ea2d94a removed repeated kpoint_init_cell_index_simple from gw_utils and removed wrong and unnecessary subroutine remove_soc_outside_energy_window_ao from soc_pseudopotential_methods.F 2026-01-13 13:00:07 +01:00
Matthias Krack
3bf5ae02eb Update Spack recipe for MimicMcl 2026-01-10 23:29:35 +01:00
Matthias Krack
4cfb50dc9e Check for mandatory packages (Spack/CMake) 2026-01-10 22:01:14 +01:00
Teodoro Laino
abf89380ae Patch CMake logic to link Fortran API to core library and force MPI wrappers for stable discovery. 2026-01-09 21:51:22 +01:00
Teodoro Laino
3fbb25eb00 Modernize build with cmake -S/-B and add portable, idempotent sed fix for GCC 15 compatibility. 2026-01-09 21:51:22 +01:00
Teodoro Laino
63e52d8d69 Remove GNU-specific linker flags and disable affinity checking on macOS (Darwin). 2026-01-09 21:51:22 +01:00
Teodoro Laino
18470e9b20 Remove literal single quotes from LDFLAGS to fix path resolution and directory lookup. 2026-01-09 21:51:22 +01:00
Teodoro Laino
d7d97efce9 Patch pkg-config files on macOS to remove GNU-specific -l:libfoo.a syntax. 2026-01-09 21:51:22 +01:00
Teodoro Laino
ae49bc015b Use absolute paths for static library linking and remove literal single quotes to ensure portable path resolution. 2026-01-09 21:51:22 +01:00
Teodoro Laino
73c10110b1 Modernize find_package handling and add LAPACK::LAPACK alias to support dependencies like tblite. 2026-01-09 21:51:22 +01:00
Teodoro Laino
d0570b1f9a Modernize find_package handling and add standard BLAS::BLAS alias for external package compatibility. 2026-01-09 21:51:22 +01:00
Teodoro Laino
831f44817e Use -mcpu=native instead of -march=native for GCC on Apple Silicon to fix invalid architecture errors. 2026-01-09 21:51:22 +01:00
Teodoro Laino
c44cda2601 Use string(APPEND) for linker flags to prevent unintentional semicolon-separated list conversion. 2026-01-09 21:51:22 +01:00
Ole Schütt
b842bfb1e3 Adjust tolerance of UO2-Morelon-5x5x5-cell_opt.inp 2026-01-09 19:40:46 +01:00
Ole Schütt
a39db778ca Fix 8 slow tests 2026-01-09 19:40:46 +01:00
Ole Schütt
65915158d7 Docker: COPY tests dir after build 2026-01-09 19:40:46 +01:00
Matthias Krack
811f107262 Apply requested changes to the deepmdkit recipe 2026-01-09 17:03:52 +01:00
Matthias Krack
c70ac3ac8f Fixes required by shellcheck 2026-01-09 11:56:57 +01:00
Matthias Krack
5b4ee1e0cd Add script to build CP2K using Spack/CMake locally
This script should facilitate the CP2K development as a replacement for
the Makefile and the Toolchain while keep everything local and versatile.

It builds CP2K using Spack and CMake locally within the folder CP2K_ROOT
which defaults to the current working directory. This should be a
"cp2k/" folder containing the CP2K source tree.

The script can either be sourced with

> source ./make_cp2k.sh

or run in a subshell with

> ./make_cp2k.sh

The flags -h or --help print the available options.

The first run will take longer as it will build all CP2K dependencies
with Spack. The Spack installation is kept fully local in the subfolder
cp2k/spack which corresponds to the tools/toolchain/install folder
created by the CP2K toolchain.

Subsequent runs of the script will use the software stack from that
cp2k/spack/ folder.

A rebuild of all CP2K dependencies can be enforced simply by removing
or renaming the folder cp2k/spack. The latter allows for keeping different
software stacks.

It is recommended to install podman to take advantage of a spack cache.
This will accelerate the build of the CP2K dependencies with Spack
significantly.

After the CP2K dependencies are built with Spack, CP2K itself is built
and installed using CMake in the subfolders cp2k/build and cp2k/install.

Subsequent runs of the script will use the CMake configuration in the
subfolder cp2k/build. A rebuild of CP2K from scratch can be enforced
by removing or renaming that subfolder.

A CP2K regression run can be launched automatically by adding the flag
-t "" (or --test ""). This flag expects a string with the TESTOPTS, e.g.

> source ./make_cp2k.sh -t "--restrictdir QS/regtest-gpw-1"

Alternatively, the script cp2k/install/run_tests can be launched after
a successful CP2K build.
2026-01-09 11:56:57 +01:00
Hans Pabst
ffde6a3702 ELPA: compile-time choice for solver-kind
- For the OpenCL based GPU code-path, or by choice, ELPA may not be built with GPU support.
- Introduced __NO_OFFLOAD_ELPA to allow CPU-only ELPA (related to #4617).
- Allow compile-time selection of ELPA solver-kind (1-stage vs 2-stage).
- For ELPA/SYCL, use 1-stage ELPA solver by default for the time being.
- ELPA/SYCL (MKL in general?) has an index-fix currently only in a branch.

Index/ILP issue (undefined behavior):
- ELPA eventually mismatches index-kinds (LP64 vs ILP64 when linking BLAS/MKL).
- For static linkage it usually does not not matter (at least CPU-only).
- CP2K links the correct BLAS flavor (SO and GPU-build may be affected?).
- ELPA 2-stage may be even affected beyond MKL (or for GPU in general).
- ELPA 1-stage is apparently not affected by index issue.
2026-01-09 10:44:52 +01:00
dependabot[bot]
62f3f8ee30 Bump werkzeug from 3.1.4 to 3.1.5 in /tools/precommit
Bumps [werkzeug](https://github.com/pallets/werkzeug) from 3.1.4 to 3.1.5.
- [Release notes](https://github.com/pallets/werkzeug/releases)
- [Changelog](https://github.com/pallets/werkzeug/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/werkzeug/compare/3.1.4...3.1.5)

---
updated-dependencies:
- dependency-name: werkzeug
  dependency-version: 3.1.5
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-09 08:55:31 +01:00
Matthias Krack
477b1f15e7 Update Spack configuration files 2026-01-08 22:27:41 +01:00
BelizSertcan
c162b90cfe bugfix dipole accumulation for multiple excitations 2026-01-08 10:19:53 +01:00
Juerg Hutter
1f1a7a2a43
Response force error calculation from external sampling (#4672) 2026-01-07 16:23:01 +01:00
Matthias Krack
78931c6763 Spack requires "spack_repo" to be in the repo path 2026-01-07 15:59:19 +01:00
Ole Schütt
04040e4da0 Docker: Run spack-psmp-4x2 only weekly 2026-01-06 15:44:37 +01:00
Ole Schütt
166a3353c1 openPMD: Rename some files and fix conventions 2026-01-06 15:44:37 +01:00
Ole Schütt
96ff2b3e60 Docs: Mention cmake -LH in build-from-source.md 2026-01-06 15:44:37 +01:00
Ole Schütt
391ac323bf precommit: Increase local timeout to 30 seconds 2026-01-06 15:44:37 +01:00
Franz Pöschel
7c648bcc1f
Add openPMD output 2026-01-06 12:57:32 +01:00
Ole Schütt
731b0ae562 Increase development version after 2026.1 release 2026-01-06 11:04:01 +01:00
Matthias Krack
5e54ba2094 Remove unnecessary CG optimizer input section 2026-01-05 18:02:27 +01:00
Matthias Krack
33847a9122 Fix issues from #4632 2026-01-05 18:02:27 +01:00
Matthias Krack
6ac42b5082 Fix for tests failing with OpenMPI
By contrast to MPICH, OpenMPI returns no valid value for the MPI_TAG_UB attribute.
As a workaround the minimum value for the upper bound of 32767 guaranteed by the MPI standard is used.
2026-01-05 13:54:58 +01:00
Matthias Krack
d26d4aaf2b Add Spack tester for 4 MPI ranks and 2 OpenMP threads 2026-01-05 10:33:25 +01:00
Ole Schütt
71983cdebc Docker: Disable SIRIUS for psmp to workaround COSMA performance issue 2026-01-04 21:57:54 +01:00
Ole Schütt
ec136938e7 CMake: Remove defunct option CP2K_USE_STATIC_BLAS 2026-01-04 21:57:54 +01:00
Matthias Krack
d6a688d249 Use command line flag to set CP2K_DATA_DIR 2026-01-03 22:09:57 +01:00
Matthias Krack
86f2eaf404 Remove hard-set CP2K_DATA_DIR in do_regtest.py (#4659) 2026-01-03 22:09:57 +01:00
Ole Schütt
59cf93c597 Fix C-levelshift.inp with 4 ranks 2026-01-02 23:39:35 +01:00
Ole Schütt
8fb51244e9 Adjust tolerance of CO_xastpxfh_150Ry.inp 2026-01-02 23:39:35 +01:00
Ole Schütt
299f0f2030 Toolchain: Build DBCSR with libxsmm 2026-01-02 20:54:24 +01:00
Ole Schütt
4e4045cf90 Fix slow tests 2026-01-02 17:36:45 +01:00
Ole Schütt
ea09ec711c Conventions: Add suppressions for tblite 2026-01-02 17:36:45 +01:00
Ole Schütt
ac5e2791ec Docker: Plot total times of benchmarks 2026-01-02 13:37:07 +01:00
Ole Schütt
0542fe1253 Docker: Fix Ubuntu based tests 2026-01-02 13:37:07 +01:00
Ole Schütt
fae7406ac6 Toolchain: Install tblite from .tar.xz instead of .tar.gz 2026-01-02 12:39:21 +01:00
Ole Schütt
ca6acaeee7 Docker: Re-enable --keepalive and --flagslow 2026-01-01 22:31:26 +01:00
Ole Schütt
8455e73121 Toolchain: Download all packages from cp2k.org 2026-01-01 22:31:26 +01:00
Ole Schütt
34d1091965 Toolchain: Remove libgrpp as it's now part of CP2K 2026-01-01 22:31:26 +01:00
Ole Schütt
3cf2332049 Add Spack OpenMPI tester to CI 2026-01-01 18:20:47 +01:00
Ole Schütt
1296fc9c28 update to 2026 2026-01-01 16:06:41 +01:00
Matthias Krack
339af6c9b5 Ensure consistency with generator script 2025-12-31 21:54:55 +01:00
Matthias Krack
12f2d868d1 Add Spack OpenMPI tester 2025-12-31 21:54:55 +01:00
Ole Schütt
ae67b7efe0 Various little tweaks 2025-12-31 17:51:34 +01:00
Matthias Krack
b13274d47d Add patch for Spack/CMake build of greenX library 2025-12-30 22:31:56 +01:00
Matthias Krack
b7374a062a Add library path for MiMiC (MCL) 2025-12-30 21:39:06 +01:00
Matthias Krack
33f1a4553a Add local Spack package file for MiMiC (MCL) 2025-12-30 21:39:06 +01:00
Matthias Krack
ca7092adcb ACE: 2023.11.25.fix2 -> 2025.12.4 2025-12-29 21:51:07 +01:00
Matthias Krack
b48505711d ACE: 2023.11.25.fix2 -> 2025.12.4 2025-12-29 21:51:07 +01:00
Ole Schütt
7f1b8e30e7 MiMiC: Fix builds and conventions" 2025-12-28 23:15:30 +01:00
Ole Schütt
3c12c6fa2c Toolchain: Improve wording of final message 2025-12-28 15:02:56 +01:00
Dmitry Ryndyk
d60f360160 NEGF: restart files for electrode Hamiltonian and overlap matrices. 2025-12-28 15:01:36 +01:00
antalik
ee2a10ba22
Add interface to the MiMiC framework for multiscale simulations 2025-12-28 15:00:33 +01:00
Growl1234
09db961365 Fix HDF5 installation path detection
The command `cut -d: -f2` results in a leading space in the output path, such as "` /opt/hdf5`" instead of `/opt/hdf5`. This causes CMake to fail in locating the HDF5 path, reporting the error: "`Could NOT find HDF5 (missing: HDF5_LIBRARIES HDF5_INCLUDE_DIRS C Fortran) (found version "")`". Alternatively, replacing `cut -d: -f2` with `awk '{print $3}'` can avoid the problem.
2025-12-28 14:05:11 +01:00
Ole Schütt
f4c5feac1b Update README.md and INSTALL.md 2025-12-27 17:45:13 +01:00
Ole Schütt
f0e047f783 Docs: Emphasis links to tech section in build-from-source.md 2025-12-27 17:45:13 +01:00
Ole Schütt
d710185059 Docker: Cleanup after Makefile removal 2025-12-27 17:45:13 +01:00
Ole Schütt
00026b9b8e Toolchain: Remove generate_arch_files.sh and update help texts 2025-12-27 17:45:13 +01:00
Ole Schütt
2c79fd46c4 Remove arch directory 2025-12-27 17:45:13 +01:00
Juerg Hutter
1971565b89
PP optimization: Reference can be also a PP (#4635) 2025-12-27 16:51:21 +01:00
Shridhar Shanbhag
e5ce795793
Implementation of moments for k-point calculations 2025-12-27 13:23:28 +01:00
Matthias Krack
c23c79bdb8 Install xpmem library with Spack 2025-12-26 16:32:53 +01:00
Matthias Krack
6cdbf22566 Update of library versions for Spack build
- deepmdkit: 3.1.0 -> 3.1.2
- elpa: 2025.01.001 -> 2025.06.001
- libint: 2.9.0 -> 2.11.1
- py-torch: 2.7 -> 2.9.0
- sirius: 7.7.0 -> 7.9.0
2025-12-26 16:32:53 +01:00
Matthias Krack
803cd0e069 Split long code line 2025-12-26 16:32:53 +01:00
Matthias Krack
3ecab328bf Remove unneeded file copy 2025-12-26 16:32:53 +01:00
Matthias Krack
2fd388b732 Add local Spack recipe for DBCSR and update library versions
- This fixes the Spack ssmp build for DBCSR
- DBCSR 2.8.0 -> 2.9.1
- MPICH 4.3.0 -> 4.3.2
- OpenMPI 5.0.8 -> 5.0.9
- OpenBLAS 0.3.29 -> 0.3.30
2025-12-26 16:32:53 +01:00
Matthias Krack
0c2c573e9a Remove local spack recipe for PEXSI 2025-12-26 16:32:53 +01:00
Matthias Krack
e1f45583bb Spack packages 2025.07.0 -> 2025.11.0 2025-12-26 16:32:53 +01:00
Matthias Krack
a795472a78 Spack 1.0.0 -> 1.1.0 2025-12-26 16:32:53 +01:00
Ole Schütt
12e669820f CI: Add spack-psmp/ssmp tests 2025-12-25 17:37:23 +01:00
Matthias Krack
5ec5ad8e02 Add spack ssmp tester 2025-12-23 15:58:32 +01:00
BelizSertcan
87fe8d4523
RIXS| initialisation for tddft%res 2025-12-22 23:25:51 +01:00
Matthias Krack
0667fa4c56 Update paths 2025-12-22 15:43:55 +01:00
Matthias Krack
4bfb9b15cf Install Spack view in install_tree 2025-12-22 15:43:55 +01:00
Taillefumier Mathieu
ab76537063
[cmake] Added CRAY power management counters support 2025-12-20 10:52:32 +01:00
Ole Schütt
d88cc65c55 Remove flag __LIBGRPP 2025-12-19 15:01:55 +01:00
Ole Schütt
449fa423b8 Remove flag __FFTW3_UNALIGNED 2025-12-19 15:01:55 +01:00
Matthias Krack
759b24ff12 OpenMPI 5.0.8 -> 5.0.9 2025-12-19 13:28:51 +01:00
Taillefumier Mathieu
388ddf7259
Fix typo in vdw functional name and various CMake issues 2025-12-19 11:31:12 +01:00
Matthias Krack
2a23ee716d MPICH 4.3.1 -> 4.3.2 2025-12-19 10:22:17 +01:00
Ole Schütt
a53587514b Docs: Move content from INSTALL.md to manual and adopt to CMake 2025-12-18 17:44:29 +01:00
Ole Schütt
f0e2e694aa Add make_pretty.sh script 2025-12-18 15:49:46 +01:00
Ole Schütt
c8cf32602f Remove DBCSR submodule 2025-12-18 15:49:46 +01:00
Ole Schütt
e525afefe5 Remove Makefile 2025-12-18 15:49:46 +01:00
Ole Schütt
633ab399f6 CMake: Make __OFFLOAD_PROFILING flag accessible 2025-12-18 14:59:53 +01:00
Ole Schütt
53d694d2f1 FM: Use __OFFLOAD flags for ELPA as well 2025-12-18 14:59:53 +01:00
Ole Schütt
7bf99f7a74 Remove old flags __HAS_PATCHED_CUFFT_70, __NO_MPI_THREAD_SUPPORT_CHECK, and __MINGW 2025-12-18 14:59:53 +01:00
Matthias Krack
8580e8378d Fix HDF5 installation path detection 2025-12-18 14:22:43 +01:00
Matthias Krack
b589562648 TREXIO 2.5.0 -> 2.6.0 2025-12-18 14:22:43 +01:00
Stefano Battaglia
740ab355e2 Remove overlap and KS matrix dump 2025-12-18 13:56:29 +01:00
Stefano Battaglia
aa463e24fc Prettify and avoid writing state_energy due to weird bug 2025-12-18 13:56:29 +01:00
Stefano Battaglia
3fd08db925 AO normalization for spherical Gaussians and unnormalized contraction coeffs 2025-12-18 13:56:29 +01:00
Stefano Battaglia
9aa3fa776b Spherical AO dump works for contracted l<=1 + uncontracted l>1 2025-12-18 13:56:29 +01:00
Stefano Battaglia
7162a4879c Normalization nightmare almost fixed 2025-12-18 13:56:29 +01:00
Stefano Battaglia
7daec750da WIP to fix normalization factor bug 2025-12-18 13:56:29 +01:00
Stefano Battaglia
2bcb5bcd76 Dump overlap matrix in trexio 2025-12-18 13:56:29 +01:00
Stefano Battaglia
f7b30401bb Bug fix ao normalization ordering 2025-12-18 13:56:29 +01:00
Stefano Battaglia
6791cc05ba Bug fix k-points list and reorder of ao_normalization factors 2025-12-18 13:56:29 +01:00
Ole Schütt
de43aba82f Remove QUIP 2025-12-18 13:07:03 +01:00
Ole Schütt
b99ca74f88 Docker: Migrate Intel tests to CMake 2025-12-17 16:05:53 +01:00
Ole Schütt
9e35fc8c04 Precommit: Add Check for docu of CMake options 2025-12-17 15:56:06 +01:00
Ole Schütt
88de2562c6 Precommit: Update check for build flags 2025-12-17 15:56:06 +01:00
Ole Schütt
ddb311dbc9 Toolchain: Upgrade to DBCSR 2.9.0 2025-12-16 21:30:18 +01:00
Ole Schütt
f88b2072f0 Dashboard: Add psmp test running with 4 MPI ranks 2025-12-16 20:09:54 +01:00
BelizSertcan
956c35fc90 toogle section params 2025-12-16 17:32:43 +01:00
BelizSertcan
a72b713f44 keyword to reduce excited state space 2025-12-16 15:46:42 +01:00
Frederick Stein
07c9450e20
Fix AS module with intel compiler (#4602) 2025-12-12 11:14:10 +01:00
Ole Schütt
53a46e880a Add MAX_FILE_SIZE_MB keyword to MO_CUBES section 2025-12-11 18:34:18 +01:00
Ole Schütt
9050283254 Add extended XYZ format for trajectories 2025-12-11 14:50:20 +01:00
BelizSertcan
4672866f5b
Vibronic spectroscopy post-processing tools 2025-12-10 18:16:03 +01:00
Štěpán Marek
860932f659 kpoint : Wrong component in derivative fixed
The original code committed recently had unfortunately a bug in the
determination of the derivative in kpoint sum - multiplicative factor of
imaginary unit was missing.

This commit fixes this problem.
2025-12-10 13:10:25 +01:00
Juerg Hutter
fdb532c570
Simplified FM matrix generation (for tmp matrices) (#4599) 2025-12-09 16:11:40 +01:00
Gina Sitaraman
cb19969af3
Call out HIP support in CP2K docs 2025-12-08 21:14:37 +01:00
RemiPasquier
c2d4c13835 Add reference Graml2024 for the large cell GW code and Pasquier2025 for the small cell GW code 2025-12-08 13:34:59 +01:00
Dmitry Ryndyk
edd650bda2 NEGF: new option - energy shift to a common zero-potential level. 2025-12-08 10:36:45 +01:00
Jan Wilhelm
fd1133a1d7 Sligt improvements of comments in gw_small_cell_full_kp.F 2025-12-06 15:14:52 +01:00
Dmitry Ryndyk
5b564c2081 NEGF: memory leak fixed. 2025-12-05 18:15:20 +01:00
Matthias Krack
b7551b79a1 Stabilize test case (fixes partially #4592) 2025-12-05 10:40:18 +01:00
Ole Schütt
3a1353c159 Docker: Add psmp test running with 4 MPI ranks 2025-12-05 00:04:25 +01:00
Ole Schütt
c469d76320 Docker: Upgrade Python packages of misc test 2025-12-04 22:59:29 +01:00
Juerg Hutter
4b8ab3090f
Write Hcore and density matrix in CSR format (#4590) 2025-12-04 17:36:30 +01:00
Matthias Krack
68fb0d9163 Check initialization status of Sirius library first 2025-12-04 16:03:40 +01:00
Matthias Krack
37bc1a4b6f Add printout routine for virtual site constraint 2025-12-04 16:03:40 +01:00
Juerg Hutter
e4927a8c73
TDDFPT: Restricted excitation space SOC module (#4588) 2025-12-04 14:40:02 +01:00
Ole Schütt
30139564d8 Dashboard: Run performance tests daily 2025-12-04 10:23:48 +01:00
Ole Schütt
2fa06f6b70 Dashboard: Only send emails for status FAILED 2025-12-04 10:23:48 +01:00
Ole Schütt
acd3ab155c Fix implicit saves in trexio_utils.F 2025-12-04 09:25:20 +01:00
Ole Schütt
0e6a057b38 Docker: Migrate conventions test to CMake 2025-12-04 09:25:20 +01:00
Matthias Krack
936074a4cb Make dummy function public 2025-12-03 19:51:44 +01:00
Matthias Krack
4d9e313266 Add dummy function for serial case when the Sirius library is not included, because it requires MPI. 2025-12-03 19:51:44 +01:00
Matthias Krack
0c0e995813 Initialize SIRIUS library only if needed (fixes #4564) 2025-12-03 19:51:44 +01:00
Juerg Hutter
fff89e6870
Option added to write effective nuclear charge to Cube files. (#4584) 2025-12-03 15:03:46 +01:00
Frederick Stein
cc894c0ab4
Fix ERI calculation in the active space model with subgroups (#4583)
Fixes the incorrect context for subgroups in the ERI calculation of active space calculation and unifies the ranges of both implemented integration schemes and removes some CPABORTs by merging them with the related branches (if someone wants to make use of this feature).
2025-12-03 14:53:08 +01:00
Juerg Hutter
cf6d138533
FLANG workaround (#4582) 2025-12-03 10:42:34 +01:00
Juerg Hutter
6b2ed39932
Make initialization of array in cp_fm_create optional. (#4579) 2025-12-03 09:21:11 +01:00
Ole Schütt
421338ca7d Docker: Remove duplicate install_dbcsr.sh script 2025-12-02 17:17:45 +01:00
dependabot[bot]
ccabb9a0f8 Bump werkzeug from 3.0.6 to 3.1.4 in /tools/precommit
Bumps [werkzeug](https://github.com/pallets/werkzeug) from 3.0.6 to 3.1.4.
- [Release notes](https://github.com/pallets/werkzeug/releases)
- [Changelog](https://github.com/pallets/werkzeug/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/werkzeug/compare/3.0.6...3.1.4)

---
updated-dependencies:
- dependency-name: werkzeug
  dependency-version: 3.1.4
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-02 14:42:43 +01:00
Matthias Krack
8d66ef06a2 Improve abort messages 2025-12-01 17:42:29 +01:00
Matthias Krack
c611db5d49 Facilitate change of decoration character 2025-12-01 16:29:23 +01:00
Matthias Krack
a360aa3aea Comment deprecated input sections when dumped
Comment also deprecated keywords instead of skipping them (#4570)
2025-12-01 15:18:17 +01:00
Dmitry Ryndyk
c43746297c
NEGF: Fermi level computation improved and new output subroutine 2025-12-01 14:02:31 +01:00
Stefano Battaglia
07059287c0
Add support for a separate XC section within the AS module 2025-12-01 14:01:10 +01:00
Matthias Krack
26c18786f4 Fix convention (incorrect kind) 2025-12-01 13:14:39 +01:00
Ole Schütt
ec11232dba Docker: Disable DeePMD for generic test 2025-11-29 14:52:21 +01:00
Ole Schütt
c1a7aeaa91 CMake: Add -Wall;-Wextra;-Werror to CFLAGS 2025-11-29 13:02:46 +01:00
Ole Schütt
e2508df7e6 Docker: Migrate HIP build test to CMake 2025-11-29 12:05:50 +01:00
Matthias Krack
f8a71710fb Do not write deprecated keywords (fixes #4564 partially) 2025-11-28 17:58:25 +01:00
andsinya
286dc69ff7
Fix rare matrix distribution bug 2025-11-28 13:46:45 +01:00
Matthias Krack
00144abe61 Fix repeated echo of input 2025-11-28 13:33:18 +01:00
Stepan Marek
3867b6a0b7
kpoint : Transformations for trivial kpoint parallelism 2025-11-28 13:02:11 +01:00
Stepan Marek
c4276aa97c
mathlib: Add utility functions for square matrix gemm
In many codes, multiplication of square matrices representing
a rotation of basis or similar is done via LAPACK zgemm/dgemm routines,
which are unnecessarily general for the applied use case.

The proposed interface checks the validity of supplied arguments and
aborts in case arguments are not valid. Also, due to square nature,
significantly reduces the number of arguments required for the routine
itself.
2025-11-28 12:23:47 +01:00
Juerg Hutter
552e9fd4d1
Restricted Space Excitations for TDDFPT (#4560) 2025-11-27 10:36:19 +01:00
Matthias Krack
83d8041689 Add fix atom constraint printout 2025-11-27 10:31:36 +01:00
Matthias Krack
ad11ec03f8 Add G3x3 and G4X6 constraint printout 2025-11-26 14:06:40 +01:00
Tianxiang Wang
24b873588d
Fix random NaN problem in RPA_AXK_H2O_hfx.inp for CUDA regtest (#4554)
This commit initializes communication buffers to ensure correct energies with RPA-AXK.
2025-11-26 11:34:52 +01:00
Hans Pabst
815c0b86ef Adjusted workarounds for IFORT
- Fixed handling with_ifx (rely on __DONTUSE__ instead of "no").
2025-11-26 08:15:07 +01:00
Matthias Krack
b42f527122 Add collective constraint printout 2025-11-25 22:45:42 +01:00
Hans Pabst
5a0e2acee9 Updated ARCH-files for Intel Compiler
- Updated workaround (IFORT only).
2025-11-25 12:54:26 +01:00
BelizSertcan
de504671eb
Revert: restore original tddft force printing (#4551) 2025-11-25 12:09:26 +01:00
Hans Pabst
b0ff3e3a03 Adjusted CRITICIAL section names for Intel Fortran Compiler
- Revised some workarounds for Intel Compiler.
- Improved applying workaround (if needed).
2025-11-24 13:06:49 +01:00
Ole Schütt
b2e41f9e62 Docker: Disable tblite until dftd4 installation is fixed 2025-11-20 09:12:58 +01:00
Dmitry Ryndyk
b060210385 NEGF: MPI at finite voltage corrected. 2025-11-19 15:10:59 +01:00
Hans Pabst
aaa8d4945a DBT: improved TAS reshape/replicate/merge
- Use iprocs for multiple parallel regions (dbt_tas_replicate).
- Added OpenMP for unpacking the buffer.
- Properly deallocate OpenMP locks.
2025-11-19 15:10:34 +01:00
Hans Pabst
4fc668e809 Reduced redundant KBK batching and skipped empty contractions 2025-11-19 15:10:19 +01:00
Hans Pabst
1a833536b0 Cleanup workarounds for T3E and old OMPI
- F08 interface also cannot be USEd between implementation.
- USE statements for mpi and mpi_f08 cannot be relied on.
- Cleanup workaround for unaligned access errors on T3E.
- Avoid unnecessary allocation in key-routine.
- Allocations negatively impact scalability.
- Cleanup broadcasting array of strings.
- Use SOURCE argument (ALLOCATE).
- Fixed subroutine comments.

* Supposed unaligned access errors were wrong
  implementations in the first place. Instead,
  it is necessary to clear the bcast-message:
- If src-message-length is zero, or
- If dst-msg is larger msglen.

* No need to broadcast size (string-length)
- Instead of LEN_TRIM and actual length,
  broadcast entire variable (SIZEOF).
- This can also apply to array of strings,
  which are required to be blobs like
  CONTIGUOUS strings of the same length.
2025-11-19 15:09:55 +01:00
Hans Pabst
85bf778871 Fixed typos and cleanup 2025-11-19 08:56:25 +01:00
Hans Pabst
a0e5e5e395 Improved OpenMP synchronization
- Make use of ATOMCS WRITE/UPDATE instead of critical.
- Named critical sections.
2025-11-19 08:14:54 +01:00
Štěpán Marek
fc14b13a63 RT-X : Default values to fix dashboard 2025-11-18 16:08:33 +01:00
Hans Pabst
807da47b7e Check if deriv is associated 2025-11-18 14:54:22 +01:00
BelizSertcan
7020464b7a
RIXS| bugfix xc shortcut (#4538) 2025-11-18 14:28:49 +01:00
BelizSertcan
f56c6e39ea
RIXS| Open-Shell (#4533) 2025-11-14 13:20:10 +01:00
antalik
c29834a4af
Monovalent atoms (#4535)
Added an option to turn any atomic kind into monovalent, i.e., with nuclear charge 1.0 and contributing a single electron. It is primarily intended for saturating dangling bonds in QM/MM and should ideally be used in conjunction with pseudopotentials developed for such a purpose.
2025-11-14 13:01:58 +01:00
Hans Pabst
c01e6a4e89 Fixed PACKAGE manifest 2025-11-13 09:36:18 +01:00
Stepan Marek
5ef3a49d68
RT-TDDFT+RT-BSE : Fourier Transform Outputs (#4527)
Co-authored-by: Štěpán Marek <stepan.marek@physik.uni-regensburg.de>
2025-11-12 16:36:34 +01:00
Dmitry Ryndyk
fe01d36a92 NEGF: matrix desymmetrization in negf_copy_contact_matrix improved. 2025-11-11 11:51:38 +01:00
Dmitry Ryndyk
33f5bf236d NEGF: bug correction of f4fc7e3. 2025-11-09 17:30:30 +01:00
Dmitry Ryndyk
f4fc7e3a19 NEGF: Improved contact Fermi level calculation and minor. 2025-11-09 11:44:41 +01:00
Luis Ignacio Hernandez Segura
c6af51da12 Added citation for SF-TDDFT 2025-11-08 13:21:47 +01:00
Ole Schütt
44e3845b0f Enable Fortitude rule missing-exit-or-cycle-label 2025-11-07 16:48:14 +01:00
Ole Schütt
9e1cd629dd Enable Fortitude rule unnamed-end-statement 2025-11-07 16:48:14 +01:00
Ole Schütt
b08f77308b Enable Fortitude rule deprecated-relational-operator 2025-11-07 16:48:14 +01:00
Ole Schütt
47c81db72a Enable Fortitude rule old-style-array-literal 2025-11-07 16:48:14 +01:00
Johann Potot.
90fa6b80bc
fixes for stress tensor in tblite (#4406)
Co-authored-by: Johann Pototschnig <j.pototschnig@hzdr.de>
2025-11-07 15:43:36 +01:00
Ole Schütt
51bfb724f4 Enable some fortitude rules 2025-11-06 16:37:03 +01:00
Ole Schütt
06728efc41 precommit: Move exclusion list into fortitude.toml 2025-11-06 16:37:03 +01:00
Ole Schütt
6bdde325c8 precommit: Get fortitude auto-fixing to work 2025-11-06 16:37:03 +01:00
Ole Schütt
bfa23ca8e4 PW: Improve variable names in fftw3_create_plan_1dm 2025-11-06 16:37:03 +01:00
Ole Schütt
81d9eb2d59 precommit: Simplify some files to help Fortitude 2025-11-05 16:52:17 +01:00
Ole Schütt
0620b4537c precommit: Add Fortitude linter 2025-11-05 16:52:17 +01:00
Ole Schütt
73f2880be2 tddfpt2: Call parallel_gemm instead of cp_fm_gemm 2025-11-04 22:56:51 +01:00
Ole Schütt
64946413c9 Temporarily disable tests/QS/regtest-tddfpt-bse 2025-11-04 10:03:21 +01:00
Dmitry Ryndyk
298f7c48fd NEGF: New method to extract the matrix Hamiltonians for electrodes and minor changes. 2025-11-03 12:51:18 +01:00
Hans Pabst
e68414f036 Various minor tweaks
- Conditionally prepare max_contraction arrays.
- Make more use of SOURCE argument (ALLOCATE).
- OpenMP parallelized loop (lattice_sum).
- Change loop order.
2025-10-29 16:44:35 +01:00
Hans Pabst
09343da68f DBM: minor adjustments to the kernel
- Leverage c_dbcsr_acc_opencl_use_cmem.
- Introduced DBM_MULTIPLY_RO.
2025-10-29 15:14:49 +01:00
Juerg Hutter
0b11ff4cc6
Reset atomic state after response basis calculation. (#4515) 2025-10-29 10:32:28 +01:00
Juerg Hutter
5f3bc36082
UPF files: fix bug for wavefunctions, interoperability with response basis calculation (#4514) 2025-10-27 12:37:00 +01:00
Matthias Krack
e4d6f4841e Detail abort messages and add warning for bad electron count 2025-10-27 11:34:29 +01:00
Hans Pabst
4a2d255c13 GRID: leverage offload mempool 2025-10-25 21:10:23 +02:00
Hans Pabst
9c0f83189b Disable IEEE exceptions for LAPACK
- FP-exceptions for ScaLAPACK are disabled since a long time.
- __HAS_IEEE_EXCEPTIONS denotes intrinsic module available.
- Harmonized some CFM/FM code format/comments.
2025-10-24 16:59:03 +02:00
Ole Schütt
a6dc286aa2 CMake: Set __SHORT_FILE__ on Fortran program files 2025-10-24 16:46:09 +02:00
Hans Pabst
2a4e9c4b3c Enabled DBM_MULTIPLY_COMM_MEMPOOL
- Reproduces #4428 (or not).
- Related to #4503 effort.
2025-10-24 15:01:59 +02:00
Ole Schütt
8dd14c0b2b Fix CMake builds with SpLA and CUDA 2025-10-23 22:13:22 +02:00
Ole Schütt
f3d57eb2e0 Improve abort messages in local_gemm_api.F 2025-10-23 22:13:22 +02:00
Hans Pabst
0ce55f53af Revert "Performance: show total time as part if the title"
This reverts commit f5d0261ccb.
2025-10-23 12:38:03 +02:00
Ole Schütt
bb352791de Docker: Enable ELPA for CMake CUDA builds 2025-10-22 22:48:49 +02:00
Ole Schütt
e1f948e013 Docker: Enable SpLA GEMM offloading for CMake CUDA builds 2025-10-22 22:48:49 +02:00
Hans Pabst
f5d0261ccb Performance: show total time as part if the title
- Related to #4503.
2025-10-22 20:37:09 +02:00
Juerg Hutter
b31c023c7b
GAPW DC-DFT + EC EXTERNAL (#4502) 2025-10-21 16:14:06 +02:00
Hans Pabst
26dec59499 Minor optimizations
- Adjusted order of severak loops.
- Adjusted build_3c_integrals.
- Release temporaries earlier.
2025-10-21 10:50:05 +02:00
Hans Pabst
2e13a6a37a Fixed warnings about unset intent-out 2025-10-21 10:49:50 +02:00
Hans Pabst
8e2f697c66 Get the number of distributed systems
- Removed unused mp_get_node_global_rank routine.
- Determine and print node count.
- Improved output format.
2025-10-20 21:14:30 +02:00
Ole Schütt
5f8386580f Docker: Remove HIP CUDA tests 2025-10-20 11:26:59 +02:00
Ole Schütt
28de6a4bd4 Docker: Remove nvhpc test 2025-10-20 11:26:59 +02:00
Ole Schütt
8f947f7b13 Docker: Remove Makefile from tests without build 2025-10-20 11:26:59 +02:00
Hans Pabst
da6e80dad1 Adjusted tolerance
- Follow-up on #4494.
2025-10-19 19:48:20 +02:00
Hans Pabst
badb79934a Use git ls-files instead of os.walk with pattern
- Avoids processing unrelated files.
2025-10-17 15:25:21 +02:00
Hans Pabst
ad3ce71a45 Restore BSD-3 license for C-based MPI-wrapper 2025-10-17 09:54:57 +02:00
Hans Pabst
bfa518009f Adjusted tolerance
- Ubuntu, GCC 13 (ssmp).
2025-10-17 09:54:44 +02:00
Hans Pabst
c09f6e5e3b Ensure ceiling of size if originated as real value 2025-10-16 10:35:56 +02:00
Hans Pabst
0b5980dc4c Rely on mathconstants for gaussi/ione, z_one, and z_zero 2025-10-16 10:35:31 +02:00
Hans Pabst
d2523b8a1f Adjusted tolerance and gold value 2025-10-16 10:30:27 +02:00
Hans Pabst
5fbb6783ca Updated real-valued diagonalization
- Introduced cp_fm_error and avoided intermediate allocations.
- Query workspace for PDSYEVD via PDORMTR (workaround).
- Introduced __SCALAPACK_NO_WA (disable workaround/s).
- Cleanup workaround (cp_fm_syevd_base).
- Cleanup (cp_fm_cholesky.F).
2025-10-15 12:32:50 +02:00
Max Graml
b5558c7a53 BSE: update H2 example in manual 2025-10-13 13:41:03 +02:00
Matthias Krack
c59fcdc27d Enable lone keyword value for xmgrace 2025-10-13 12:09:01 +02:00
Matthias Krack
e3530d45db Add missing blank 2025-10-13 12:09:01 +02:00
Max Graml
f93931d803
BSE: Minor features
- correct print of TDA on/off statement
- add cross-correlation matrix to print
- clarify structure of transition moment vector
- correct indices for cross-correlation matrix
- polish print of cross-correlation matrix
- remove 1/sqrt2 scaling of transition amplitudes X/Y
2025-10-13 10:32:30 +02:00
Frederick Stein
ad2d693003 Merge device calls for better performance 2025-10-11 13:29:43 +02:00
Matthias Krack
b25f040aad Print XC functional in upf file dump if available 2025-10-10 16:32:56 +02:00
Ole Schütt
602a6f7074 Docker: Migrate performace tests to CMake 2025-10-07 19:55:04 +02:00
Ole Schütt
65f1c93e16 Docker: Migrate cuda tests to CMake 2025-10-07 17:58:29 +02:00
Hans Pabst
08d68f4645 Revised #4477
- Enabled some of the MPI-C wrappers to handle MPI_COMM_NULL.
- MPI_COMM_NULL used as if single-rank application.
2025-10-07 14:11:45 +02:00
Thomas Durrant
f702eccae6
Add option to initialise cp2k on an existing comm
The init_mpi function was set up to assume that if mpi is already
initialised, that cp2k should be initialised on the
MPI_COMM_WORLD communicator.

This patch adds an optional argument mpi_comm, that can be used
to initialise cp2k on a specific existing communicator instead
2025-10-07 13:09:55 +02:00
Ole Schütt
2432d2109b Docker: Use our own MPICH for CUDA tests 2025-10-06 21:00:40 +02:00
Matthias Krack
cb9df732d3 Update Darwin arch files: exclude tblite 2025-10-06 15:56:33 +02:00
Hans Pabst
76a57384b1 Account for baseline architecture
- Rely on CUDA 12 instead of CUDA 13.
2025-10-06 13:50:43 +02:00
Hans Pabst
b7b3bfa849 Adjusted print_func similar to Offload and DBM library
- Print grid statistics (only if non-zero counter exists).
- Removed dependency from string_utilities (strlcpy_c2f).
- No copy of the message is necessary.
- Reduced PACKAGE dependencies.
- Print offload memory stats.
2025-10-06 13:30:36 +02:00
Ole Schütt
18dadc1cd4 PAO-ML: Fix cell shifts vectors 2025-10-06 13:27:20 +02:00
Hans Pabst
4acbff5f37 DBM: resolve assertion or hang
- Miniapp to request zero nblocks, e.g.:
  ./dbm_miniapp.x 16x16x16 128x1x1
- Resolved assertion.
- Visit all barriers.
2025-10-06 11:38:19 +02:00
Hans Pabst
b5af9a36c8 DBM/OCL: select and print kernel kind
- Offload/mempool: adjusted indentation.
2025-10-06 11:38:00 +02:00
Hans Pabst
ca6bbbe3c0 Updated to SIRIUS 7.7.1
- See https://github.com/cp2k/cp2k/pull/4469#issuecomment-3361694889
2025-10-06 11:34:39 +02:00
Hans Pabst
1662426979 Revised #4462 and avoid missing case labels
- Missing cases on older CUDA (still providing the enums).
2025-10-06 10:59:24 +02:00
Ole Schütt
61791e17d2 Fix Makefile 2025-10-02 16:02:11 +02:00
Ole Schütt
b9da3089cf Move __DATA_DIR to C code to avoid Fortran's line length limit 2025-10-02 14:51:44 +02:00
Hans Pabst
b396de2029 Resolve CUDA performance regression
- Tried OpenMPI vs MPICH in several version flavors.
- Tried Docker "to reproduce exactly".
- Tried Spack and CUDA 11.9.
- Related to #4428.
2025-10-02 11:57:03 +02:00
Anna Hehn
fdff660ab3 Sternheimer BSE (1. Version with W matrix given) 2025-10-02 10:55:48 +02:00
Hans Pabst
67ae283c5d Fixed Dashboard
- Fixed line-truncation (#4461).
- Fixed GCC 8/9/10 (#4460).
2025-10-02 10:03:16 +02:00
Ole Schütt
e966546746 PAO-ML: Migrate to NequIP framework 2025-10-01 16:25:41 +02:00
Hans Pabst
bb70684353 DBM: determine if anything needs to be printed 2025-10-01 14:06:37 +02:00
Hans Pabst
8f495778c0 Removed vanished enums
- Newer/recent HPC toolkits around CUDA 13 seem to miss some enums.
2025-10-01 11:20:51 +02:00
Hans Pabst
3375e59ad2 Adjusted print_func similar to offload library
- Removed dependency from string_utilities (strlcpy_c2f).
- No copy of the message is necessary.
2025-10-01 10:03:29 +02:00
Hans Pabst
4b78685af9 Void signatures
- Ensure no arguments taken.
- Rather than variadic.
2025-10-01 10:03:20 +02:00
Hans Pabst
50b0971e18 DBM mempool to offload and mpi/c to mpiwrap
- Introduced offload_mempool_stats_print to Fortran API.
- Print memory statistics independent of DBM (and grid).
- Avoid circular dependency (string_utilities/strlcpy_c2f).
- Use up-leveled MPI/C wrapper.

* MPI/C wrapper (dbm_mpi_ to cp_mpi_)
  - Adjusted license of C-MPI wrapper (consequence of mpiwrap).
  - Moved wrapper for C languages in to mpiwrap directory.
  - Avoid name clash (same basename as for Fortran).
  - Renamed prefix of all MPI wrapper functions.

* Other (DBM):
  - Improved handling errors (OFFLOAD_CHECK before launch).
  - Permit/Adjusted preprocessor symbol (precommit hook).
  - Avoid multi-line control-flow w/o curly braces.
  - Double-check #4428 (DBM_MULTIPLY_COMM_MEMPOOL).

* TODO
  - Apply offload/print_func pattern to GRID's print_func.
  - Leverage offload_mempool for grid backend.
2025-09-30 16:02:16 +02:00
Hans Pabst
4924227403 HFX: fixed misaligned output 2025-09-30 13:56:29 +02:00
BelizSertcan
06bd950d54
improve linres section description (#4456) 2025-09-26 15:36:15 +02:00
Augustin Bussy
99574d054d Fix HFX initialization perf issue 2025-09-25 16:49:37 +02:00
Hans Pabst
0fcd32efd1 Follow-up on #4440
- Instead of adjusting reference.
- Reasonably raised tolerance.
2025-09-25 10:00:55 +02:00
Hans Pabst
50a45f9ea9 IFX: omit more tests 2025-09-24 14:01:28 +02:00
Hans Pabst
ca78fc5063 Adjusted sscanf format specifiers
- No assertions with side-effects (even if NDEBUG is never defined).
- Follow-up on #4414.
2025-09-24 10:52:13 +02:00
Juerg Hutter
b5de2754d8
Refactor xc_atom, factor EPR code out. (#4450) 2025-09-23 12:16:50 +02:00
Hans Pabst
df3e9bda48 Print ls_scf_env%do_pao only once
- Prints "Polarized Atomic Orbitals (PAO)".
- Duplicated info printing "Using PAO".
- Print logicals consistently.
2025-09-22 12:00:54 +02:00
Hans Pabst
e7ce2a5f4f Adjusted dbcsr_matrix_vector_mult
- Get pcol after cycling.
2025-09-22 12:00:31 +02:00
Hans Pabst
6968ac7747 DBM: miniapp makefile
- Miniapp: rely on OpenBLAS instead of ref-BLAS.
- OpenCL: fixed using DBCSR inside of DBM.
2025-09-22 11:55:20 +02:00
Luis I Hernández Segura
b69419fcbe
SF-TDDFT implementation (#4446)
The linear-response TDDFT module was extended to spin-flip excitations. This extension is
capable to make collinear and noncollinear SF-TDDFT calculations. Some key details of the
implementation are:

  - The noncollinear kernel used is the Wang & Ziegler kernel with a screening in the
    denominator to stabilize it
  - The noncollinear kernel derivative is calculated by finite differences
2025-09-21 10:31:49 +02:00
Hans Pabst
916bf6ee98 Fixed convention 2025-09-17 20:18:23 +02:00
Hans Pabst
0e17fcc417 Adjusted tolerance 2025-09-17 16:03:54 +02:00
Hans Pabst
b17b32804c Removed redundant dummy arguments
- TODO: remove from structured data types as well.
- Assert corresponding sizes.
2025-09-15 14:49:23 +02:00
Matthias Krack
0446f17dce Fix molecule indexing when using MULTIPLE_UNIT_CELL
Revise forcefield output
2025-09-12 23:05:06 +02:00
Hans Pabst
8bdb955e8a Make suppressed tests explicit
- See #4429.
2025-09-12 16:35:03 +02:00
Hans Pabst
8b7c40c4d4 Avoid short-cycled IF-condition 2025-09-12 13:09:11 +02:00
Hans Pabst
eab93308cb Renamed oneAPI testers and fixed/suppressed issues
- Distinction is IFORT vs IFX or "classic vs new/next-gen".
- Intel Fortran Classic is available up to and incl. 2024.2 packages.
- Intel Fortran (next-gen) is default (still not ready for CP2K).
- Fix bug about Autoconf spilling -loopopt option into link list.
- Drop names derived from packaging images like "hpckit".
- Renamed Dockerfiles for tests and internal names.
- Suppress "libint" flag until regtests pass.
- Introduced "ifx" flag and suppress tests.
2025-09-12 12:03:43 +02:00
Hans Pabst
86bfb12bff Fixed #4431 2025-09-12 10:41:45 +02:00
BelizSertcan
51092d044b
Add tests for force constant 2025-09-12 09:43:02 +02:00
Hans Pabst
c564feb569 Use OpenMP named critical sections and nowait
- Named criticals in an attempt to slightly reduce contention (qs_tensors.F).
- Rely on NOWAIT to omit implicit barriers when unnecessary.
2025-09-11 15:19:31 +02:00
Rocco Meli
dd06dd4b38 inplace 2025-09-11 11:10:18 +02:00
Rocco Meli
bd486b8e57 enable xpmem 2025-09-11 11:10:18 +02:00
Hans Pabst
c08dc9e0b6 Fixes and out-of-place trsm/trmm
- Removed cp_fm_cholesky_restore from cp_fm_basic_linalg
- Thereby reduced duplicated code (cp_fm_cholesky_restore).
- Prefer cp_fm_cholesky to provide this routine.
- Fixed cp_fm_cholesky_restore for pos=right.
- Fixed cp_fm_triangular_multiply for side=R.
- Removed unused variables.
- Adjusted some INTENTs.
2025-09-10 15:44:47 +02:00
BelizSertcan
fde9df4dde pretty 2025-09-10 15:13:23 +02:00
BelizSertcan
76faf341a9 bugfix in force constant calculation 2025-09-10 15:13:23 +02:00
Hans Pabst
a92fbe4355 DBM: reduced consuming host/offload aka page-locked memory
- Replaced DBM_OVERCOMMIT_DEVICE/HOST with DBM_ALLOCATION_FACTOR-
- Thereby reduce overcommit factor for host (scarce resource).
- Comm related routines to rely on MPI's malloc.
  - Even if buffer is subsequently transferred (GPU-transfer).
  - Because dbm_mempool_host_malloc is delicate resource.
2025-09-10 10:03:46 +02:00
Matthias Krack
657c8db65a Improve documentation for H2O force fields 2025-09-08 11:51:25 +02:00
Tennisatw
8d80afcb45 Fix typo in DFT+U energy warning messages 2025-09-07 13:59:16 +02:00
Hans Pabst
f2130a5a34 DBM/CMake: fixed CUDA compilation
- Cleanup variables in related CMake section (CP2K_DBM_SRCS_GPU_C).
- The reason for GPU-SRCs is a separate compiler is req. (CUDA/HIP).
- On case of OpenCL, no ahead-of-time compiler needed.
- Before dbm/dbm_multiply_gpu.c was missing with CUDA.
2025-09-05 14:59:02 +02:00
Hans Pabst
b3f27d980e CMake: fixed OpenCL build dependency
- Rely on add_custom_command.
- Improved status messages.
2025-09-04 20:28:39 +02:00
Hans Pabst
7face5689e DBM/OFFLOAD: prepared for hybrid execution
- Split backend_upload_packs into two phases on GPU.
- Initial phase is chosen to have not triggered upload.
- Offload: offloadEventQuery to check if GPU is busy.
- Removed dbm_multiply_gpu_download_results
- Transfers are launched as early as possible.
- Improved overlap between transfer/compute.
- Idea: proceed on CPU if GPU is busy.

Other changes:
- Documented way to perform validation (ctx=NULL).
- Permit DBM_ prefix for preprocessor symbols.
- Removed C-shard pointer from GPU-context.
- Per-shard event stored/provided by shard.
- Migrated CPU-options into context.
- Miniapp: allow to omit validation.
- Use preincrement (atomic).
2025-09-04 13:27:08 +02:00
zc62
63a7c4bee4 CNEO documentation 2025-09-03 10:35:28 +02:00
Hans Pabst
48ec5b046c Fixed short-cycled condition 2025-09-02 14:21:09 +02:00
Hans Pabst
172730220f offloadStreamWaitEvent: removed unused argument
- Rather add another function if flags are needed ever.
- Avoid promoting obscure flag-based API.
2025-09-02 14:20:54 +02:00
Hans Pabst
4cfe30b6ff DBM: avoid offload_activate_chosen_device in internal routines
- GPU device was activated earlier (once in dbm_multiply).
- Otherwise dbm_multiply calls it multiple times (loop).
2025-09-02 14:20:38 +02:00
zc62
15c1bfc0d2 CNEO: CNEO-DFT energy and force
Energy and force for constrained nuclear-electronic orbital density
functional theory (J. Chem. Theory Comput. 2025, 21, 16, 7865–7877).

`POTENTIAL CNEO` triggers CNEO calculations for certain atom kinds
(hydrogen is the most common, but no limit in principle) and nuclear
basis functions are supplied by `BASIS_SET NUC basis_name`. PB series
basis sets for proton are provided in `data/NUCLEAR_BASIS_SETS`.

The `MASS` can be tuned to simulate isotopes such as deuterium, however,
one should be careful that basis functions need to be changed
accordingly. One simple modification to PB4-D with scaled exponents that
is suitable for deuterium is also added to `data/NUCLEAR_BASIS_SETS`

Note that GAPW is mandatory for atoms with quantum nuclei in CNEO-DFT
calculations, and pseudopotentials or even `GPW_TYPE T` can be used for
atom kinds with conventional classical nuclei.

For the electronic part, k-points can be enabled. However, this k-points
setting will not affect the quantum nuclear part. This is because even
quantum nuclei are delocalized as compared to conventional classical
point charges, they are still relatively localized. Therefore, a
distinguishable-particle approximation is used for quantum nuclei. This
is similar to the Gamma-point approximation for indistinguishable
quantum nuclei, with the added benefit that each quantum nucleus only
involves a small Kohn-Sham equation with localized basis functions, and
multiple quantum nuclei create multiple coupled Kohn-Sham equations,
instead of a giant one in the indistinguishable fermion case.
2025-09-01 12:36:37 +02:00
Frederick Stein
59b61dd70d Remove lrho1_eq_lrho0
It was never set explicitly.
2025-08-31 10:53:44 +02:00
Ole Schütt
97501a3e34 grid: Workaround variable arguments bug on macOS 2025-08-30 15:11:57 +02:00
Ole Schütt
2a42462bc8 DBM: Move mempool chunk resizing out of critical region 2025-08-30 13:58:11 +02:00
Frederick Stein
b11b8edb9a Fix typo in Zhang's given name 2025-08-28 18:06:09 +02:00
Frederick Stein
cab4dd3a75 Remove a few pointer attributes 2025-08-28 18:06:09 +02:00
Hans Pabst
fb5ce05189 Fixed some typos 2025-08-28 17:25:43 +02:00
Hans Pabst
a3edcc8fd9 DBT: removed grain-size from omp-schedule
- Fixed performance in general.
2025-08-28 16:32:10 +02:00
Hans Pabst
f5d0f77abf DBM: simplify memory pool and resize chunk within critical section
- Previous objective memory allocation contending the section for a long time.
- This may resolve #4270 (ARM has weaker ordering on regular LD/ST, etc).
- Resizing chunk since outside of critical was perhaps x86-only.
- Use preincrement in face of atomic instructions.
- Atomic postincrement is more costly.
- Subsumes #4336.
2025-08-28 16:07:31 +02:00
Ole Schütt
ff36ab2728 DBM: Simplify memory pool 2025-08-28 16:07:31 +02:00
Frederick Stein
8059e59ab9 Fix incorrectly spelled name of Zhang 2025-08-28 10:19:07 +02:00
Hans Pabst
22df08cad2 Fixed compilation (ssmp) on Ubuntu GCC 8
- Complements #4397.
2025-08-27 09:42:27 +02:00
Hans Pabst
e523a49c32 DBM: result validation
- Removed compile-time option (DBM_VALIDATE_AGAINST_LIBXSMM).
- Allow to enable validation at runtime (DBM_MULTIPLY_VERIFY).
  - DBM_MULTIPLY_VERIFY=1: print warning message (console).
  - DBM_MULTIPLY_VERIFY=2 (or !=1): exit on error.
  - DBM_MULTIPLY_MAXEPS: threshold, e.g., 1E-8.
- Fail instead of warning if difference is discovered/exceeded.
- Fix: use master thread for MPI-communication
  - Avoid to depend on MPI-initialization or support-level.
  - Funneled support-level is invalid with "omp single".
- Introduced dbm_multiply_cpu_options to select, e.g., BLAS.
  - Validate host/xsmm and device results against BLAS.
- Built-in/transparent validation for miniapp/driver.
  - Reuses the same code as built-in validation.
  - Keep performance/validation pass separate.
- Miniapp now uses non-trivial matrix values.
- Miniapp now uses non-trivial block sizes.
- Validation uses largest relative difference.
2025-08-26 20:57:22 +02:00
Yury
674956f215
Update docs: RELAX_MULTIPLICITY + OT relation 2025-08-26 17:53:29 +02:00
Hans Pabst
5ac43f10d0 DBM/OpenCL: fixed condition 2025-08-26 14:37:58 +02:00
Hans Pabst
d7e378bd80 Fixed intent of mepos
- Code cleanup.
2025-08-26 13:43:13 +02:00
Juerg Hutter
e3076134ed
Refactioring of kinetic energy and core matrices calls. (#4393) 2025-08-26 11:22:41 +02:00
Johann Potot.
448620dc73
Fix gradient for peridic systems with tblite (#4397)
Co-authored-by: Johann Pototschnig <j.pototschnig@hzdr.de>
2025-08-26 11:07:28 +02:00
Matthias Krack
0255b04d5a Use CP2K_USE_EVERYTHING flag 2025-08-22 17:24:13 +02:00
Matthias Krack
4606c84223 Fix typo "=" -> ":' 2025-08-22 17:24:13 +02:00
Matthias Krack
4050fae6af Use CMAKE_BUILD_TYPE generic for RPM build 2025-08-22 17:24:13 +02:00
Yury
851dfd464f Update RELAX_MULTIPLICITY description 2025-08-22 16:21:28 +02:00
Matthias Krack
bd63e738b4 Use RPM macro _lib 2025-08-20 12:48:12 +02:00
Matthias Krack
1aa03dac43 Do not set INSTALL_LIBDIR 2025-08-20 10:53:47 +02:00
Matthias Krack
247cf46b5a Do not set LIBDIR path 2025-08-20 00:56:06 +02:00
Matthias Krack
53e3e9f1a8 Update Apple M1 arch file (macOS Darwin) 2025-08-19 17:46:51 +02:00
Matthias Krack
16f9eaee01 Try to fix lib path for RPM build 2025-08-19 17:10:18 +02:00
Matthias Krack
3006134d9a Add MPI switch 2025-08-19 15:21:46 +02:00
Juerg Hutter
c34e3d62eb
UPF file convertion: Add wavefunction info for SOC (#4380) 2025-08-19 15:08:44 +02:00
Johann Potot.
fe6e26c2fc
tblite update (periodic gfn2?) (#4382)
Co-authored-by: Johann Pototschnig <j.pototschnig@hzdr.de>
2025-08-19 13:41:25 +02:00
Johann Potot.
3fb66f9101
wrong variable name (#4367)
Co-authored-by: Johann Pototschnig <j.pototschnig@hzdr.de>
2025-08-19 11:50:11 +02:00
Matthias Krack
fa5680730c Fix arg list for do_regtest.py 2025-08-19 11:47:41 +02:00
Hans Pabst
f4adc7902c Partially reverted #4378 2025-08-18 15:29:49 +02:00
Hans Pabst
774192a499 CMake/OpenCL: fixed dependency
- Under some circumstances (CMake), add_custom_command does not run.
- However, add_custom_target using a command always runs.
- This combines the two and seems to get minimal rebuild.
- Some cleanup (C-sources only in case of OpenCL, etc.).
2025-08-18 14:31:45 +02:00
Matthias Krack
e7be727c70 Rename datum to timestamp 2025-08-16 19:22:20 +02:00
Matthias Krack
ee07559ffb Fix ASE test 2025-08-16 19:22:20 +02:00
Hans Pabst
577c707782 OpenCL: fixed finding backend if dbcsr is external
- Fixed rebuild/race: add_custom_command instead of add_custom_target.
- Find external DBCSR via CMAKE_PREFIX_PATH or DBCSR_DIR.
- Renamed CP2K_OPENCL_TOOLDIR to CP2K_OPENCL_BACKEND.
- Warning message about legacy tool directory.
- Search DBCSR prior to relying on DBCSR_DIR.
- General: improved output (CMake/configure).
- Missing include directory.
2025-08-16 13:34:44 +02:00
Matthias Krack
6b8cdea8ac From now on consider character truncations as errors during debug compilations 2025-08-15 16:48:10 +02:00
Matthias Krack
24c3c22616 Fix all character (string) truncations 2025-08-15 16:48:10 +02:00
Matthias Krack
3c19a8c560 Remove unused module mao_types from 2016 2025-08-15 11:05:33 +02:00
Matthias Krack
06a87a9398 Simplify code: drop atomic_kind_list parameter 2025-08-15 08:11:10 +02:00
RemiPasquier
674a0aca99 Correct the error metric terminology in the BASIS_RI_AUG_MOLOPT file 2025-08-14 19:56:10 +02:00
Matthias Krack
83ff6f7200 Add special upper MO index -1 for the printout of all available orbitals
Fix on/off switch of the DFT/PRINT/MO input section
2025-08-14 16:11:46 +02:00
Juerg Hutter
d69078cdc6
Activate handling of GTH-SOC PP in Sirius (#4363)
Enable SOC in Sirius calculations using GTH PP format.
Updates Atom code conversion of GTH SOC enabled PP to UPF format.
Basic tests pass, but extended testing and cross validation still needed.
2025-08-14 15:46:53 +02:00
Matthias Krack
f74290cd64 Adjust tolerance 2025-08-14 08:14:03 +02:00
Matthias Krack
8f3b900115 Adjust tolerances 2025-08-14 08:14:03 +02:00
Matthias Krack
54f27cfddd Fix bug part of issue #4353
When using OT, the occcupied orbital eigenvalues are now
- written after SCF convergence to the CP2K output file if requested
- dumped to the binary wavefunction restart file and are printed upon restart if requested
- printed to the MOLDEN output file
- not printed during the OT SCF cycle (only the final orbitals after convergence are printed for the given index range)
2025-08-14 08:14:03 +02:00
Hans Pabst
dfe34b93d0 OpenCL: support Spack/externally built DBCSR 2025-08-13 13:27:33 +02:00
Hans Pabst
92dc7a32a0 Cleaned up profile output 2025-08-13 11:46:02 +02:00
Hans Pabst
d3507fb5dc DBM/OCL: experimental single precision compute
- Internal option to trigger single-precision compute.
- Fixed/consider 1<sgsize as support for subgroups.
- Note: SP-compute still requires DP-capability.
2025-08-13 11:11:55 +02:00
Stefano Battaglia
d69845916c
Update of active space module (#4357)
Co-authored-by: Max Rossmannek <oss@zurich.ibm.com>
2025-08-12 12:08:25 +02:00
Hans Pabst
a485dec4e1 OpenCL: find tool directory 2025-08-12 10:16:24 +02:00
Hans Pabst
8eacfa5fd3 LIBXSMM: support BUILD_SHARED_LIBS
- Fixes BUILD_SHARED_LIBS with LIBXSMM linked statically to CP2K and DBCSR.
- Note: Spack based builds rely on BUILD_SHARED_LIBS by default.
2025-08-11 13:47:05 +02:00
Hans Pabst
f51a819b6a Adhere to conventions 2025-08-11 10:59:57 +02:00
RemiPasquier
17dfffb596 data: Add the new BASIS_AUG_MOLOPT and BASIS_RI_AUG_MOLOPT basis sets (all electron) 2025-08-11 09:51:03 +02:00
Hans Pabst
f7ddad04c1 Improved check_diag
- Only print one deviating value (if there is one).
- Reduced amount of code and stuff in arith. loop.
2025-08-08 20:15:10 +02:00
Matthias Krack
6f51621162 Simplify: drop CP2K build type 2025-08-08 08:34:12 +02:00
Matthias Krack
afc468d7fa Adjust tolerances 2025-08-05 09:28:40 +02:00
Ole Schütt
42dac4a844 Docker: Fix coverage test 2025-07-25 14:14:18 +02:00
Ole Schütt
a31768716e Docker: Speed up coverage test 2025-07-24 21:30:40 +02:00
Ole Schütt
7a33b045ee Adjust tolerance of QS/regtest-gpw-4/spin_restraint.inp 2025-07-24 21:30:40 +02:00
Ole Schütt
e4c8c769b3 Dashboard: Run pdbg test more often 2025-07-24 21:30:40 +02:00
Ole Schütt
8e43b5cd4d Docker: Migrate arm64 test to CMake 2025-07-24 21:30:40 +02:00
Juerg Hutter
fa01f37413
Bug fix for initial guess with ECP potentials (#4343) 2025-07-24 18:09:30 +02:00
Ole Schütt
665dafcec4 Docker: Simplify generate_dockerfiles.py 2025-07-24 15:48:42 +02:00
Ole Schütt
aaa8291090 Docker: Migrate manual test to CMake 2025-07-24 15:48:42 +02:00
Ole Schütt
a99a1edcfd Docker: Migrate coverage test to CMake 2025-07-24 15:48:42 +02:00
Ole Schütt
e82c618570 Increase development version after 2025.2 release 2025-07-23 13:02:06 +02:00
BelizSertcan
31589299a2
XAS_TDP| Keyword to print oscillator strength per spin 2025-07-22 22:47:05 +02:00
BelizSertcan
bf603df4a0
Resonant Inelastic X-ray Spectroscopy (RIXS) Module 2025-07-22 16:39:38 +02:00
Hans Pabst
856d28c997 Adjusted tolerance
- tests/QS/regtest-ls-rtp/H2O-ls-emd-ewindow.inp
2025-07-22 14:22:46 +02:00
Hans Pabst
f4d18d9f5d CMake: adjusted baseline/other compilers
- Unlimited line-length for GNU (__DATA_DIR).
- Removed OpenMP flags (CMake-controlled).
2025-07-22 13:55:14 +02:00
Ole Schütt
2cc45e45ff Toolchain: Build HIP with -std=c++14 2025-07-22 13:26:55 +02:00
Ole Schütt
28b63bc44d Add default initializer to apt_fdiff_points_type 2025-07-22 12:01:49 +02:00
Ole Schütt
834d0f008c Adjust tolerance of QS/regtest-ri-rpa-exchange/RPA_AXK_H2O_hfx.inp 2025-07-22 12:01:49 +02:00
Ole Schütt
20eb57b764 grid: Close task file handle 2025-07-21 23:30:58 +02:00
Matthias Krack
91b23a3ffe Switch to Spack release 1.0.0 and first Spack packages release 2025.07.0 2025-07-21 22:57:54 +02:00
Hossam Elgabarty
716159d91c
Atomic polarization tensors via numerical differentiation
Co-authored-by: Leo Decking <ldecking@mail.uni-paderborn.de>
2025-07-21 19:40:43 +02:00
Ole Schütt
ae167406ec Toolchain: Remove -Werror to fix HIP build 2025-07-21 15:35:49 +02:00
Ole Schütt
076ac0f988 Adjust tolerance of QS/regtest-kp-hfx-ri-2/diamond_gpw_stress.inp 2025-07-21 13:33:45 +02:00
Ole Schütt
f419147708 CMake: Move Werror flags to debug build 2025-07-21 13:33:45 +02:00
Ole Schütt
082fe5dfbd Grpp: Fix floating point exception in grpp_screening.c 2025-07-21 13:14:37 +02:00
Ole Schütt
12a8a74dd0 Docker: Re-Enable torch, ace, and greenX for sdbg build 2025-07-21 12:09:30 +02:00
Rocco Meli
74e72cda6e
Add pxpotri with DLA-Future 2025-07-21 09:58:38 +02:00
Augustin Bussy
00020d3e3e RI-HFXk| various improvements 2025-07-21 09:49:12 +02:00
Ole Schütt
7e76378b7d Docker: Fix leak sanitizer 2025-07-21 00:42:16 +02:00
Ole Schütt
b2f3c7f646 Docker: Clean up cmake_cp2k.sh 2025-07-21 00:42:16 +02:00
Ole Schütt
0c99ab9c74 Docker: Migrate ASAN test to CMake 2025-07-21 00:42:16 +02:00
Ole Schütt
68bc75d718 Docker: Migrate generic test to CMake 2025-07-21 00:42:16 +02:00
Ole Schütt
a2413f4108 Dashboard: Run Spack test more often 2025-07-20 11:24:47 +02:00
Ole Schütt
b99af3652b Docker: Tweak CMake flags for toolchain builds 2025-07-20 10:20:55 +02:00
Ole Schütt
a9db95da33 Adjust tolerance of SE/regtest-2-1/hcl_ot.inp 2025-07-20 10:20:55 +02:00
Ole Schütt
18ccc3ce49 Workaround Floating-point exception in H2O_wavelet_XZ.inp 2025-07-20 10:20:55 +02:00
Ole Schütt
4909eea75f Workaround missing __SHORT_FILE__ for program files 2025-07-20 10:20:55 +02:00
Ole Schütt
d73369d34c CMake: Re-structure compiler configs 2025-07-20 10:20:55 +02:00
Ole Schütt
6f16226266 Docker: Migrate sdbg and pdbg tests to CMake 2025-07-20 10:20:55 +02:00
Matthias Krack
d06000f5fd Switch CPU bind from sockets to cores 2025-07-20 00:09:11 +02:00
Matthias Krack
19aad1fec0 Drop 2 nodes benchmark for the time being 2025-07-20 00:09:11 +02:00
Matthias Krack
05d5aa570e Add missing stage entry 2025-07-20 00:09:11 +02:00
Matthias Krack
88140b8d13 Add benchmark tests for CSCS CI on Daint 2025-07-20 00:09:11 +02:00
Matthias Krack
8c672f749c Do not test DLAF for the time being 2025-07-18 22:17:50 +02:00
Matthias Krack
fa52cf20e1 Sync Spack test with CSCS CI 2025-07-18 22:17:50 +02:00
Matthias Krack
b03fed0400 Sync Spack recipe for greenX and comment patch
The patch recently introduced in the Spack recipe for greenX upstream causes a CMake configuration error during the CP2K CMake build
2025-07-18 17:48:28 +02:00
Matthias Krack
3601cb3a27 DeePMD-kit 3.0.2 -> 3.1.0 2025-07-18 17:48:28 +02:00
Matthias Krack
0b20193392 Sync PEXSI package file with Spack repository
This local recipe for PEXSI can be dropped as soon as the variant pic is also available upstream
2025-07-18 17:48:28 +02:00
Matthias Krack
4ccd20021b Spack API 2.0 -> 2.2 2025-07-18 17:48:28 +02:00
Matthias Krack
51ae3fc9cf Use more recent Spack version from July 17 2025-07-18 17:48:28 +02:00
Frederick Stein
67ae0a34c1
Move calls to GreenX to a separate module (#4307) 2025-07-18 09:53:51 +02:00
Matthias Krack
858b7a110b pugixml 1.14.-> 1.15 2025-07-18 00:05:36 +02:00
Matthias Krack
d39b8b865e DeepMD-kit 3.0.1 -> 3.1.0 2025-07-18 00:05:36 +02:00
Matthias Krack
89127930fd HDF5 1.14.5 -> 1.14.6 2025-07-18 00:05:36 +02:00
Matthias Krack
14b4e232ff Ninja 1.12.1 -> 1.13.1 2025-07-18 00:05:36 +02:00
Ole Schütt
d9c5e7e4e0 Dashboard: Fix timeouts of intel tests 2025-07-17 23:08:30 +02:00
Ole Schütt
9aba9c207c Add CSCS tests to CP2K-CI 2025-07-17 20:32:55 +02:00
Matthias Krack
b149b15fd6 Plumed 2.9.2 -> 2.9.3 2025-07-17 18:10:58 +02:00
Matthias Krack
ae858aec22 Drop the CI log file which is now obsolete after the CSCS-CI has been interfaced with the CP2K-CI 2025-07-17 17:19:55 +02:00
Matthias Krack
4b843f9d7b Remove toolchain based CI test from dashboard 2025-07-17 17:19:55 +02:00
Matthias Krack
27602184f9 Drop toolchain build based CI at CSCS for CP2K
Keep only the Spack/CMake based CI testing
2025-07-17 17:19:55 +02:00
Matthias Krack
0a3246b687 SpFFT 1.1.0 -> 1.1.1 2025-07-17 17:11:37 +02:00
Matthias Krack
747de401be OpenMPI 5.0.7 -> 5.0.8 2025-07-17 15:53:58 +02:00
Rangsiman Ketkaew
91539933b8
Save Mulliken atomic orbital populations (#4298) 2025-07-17 14:11:28 +02:00
Matthias Krack
259dde1e6b MPICH 4.3.0 -> 4.3.1 2025-07-17 11:55:06 +02:00
Ole Schütt
24ef08c8f0 Dashboard: Fix typo 2025-07-17 00:18:55 +02:00
Ole Schütt
f07d19c877 Docker: Add test for Phonopy 2025-07-17 00:06:18 +02:00
Ole Schütt
1105e6a98c Docker: Migrate OpenMPI and Fedora tests to CMake 2025-07-16 23:02:42 +02:00
Matthias Krack
e441a80434 Use zcopy instead of zscal to zero complex matrix 2025-07-16 21:19:33 +02:00
Matthias Krack
d916695e91 OpenBLAS 0.3.29 -> 0.3.30 2025-07-16 21:19:33 +02:00
Frederick Stein
6f70cd24b0
Specify numbers of MOs and AOs at different spots (#4295) 2025-07-16 16:26:39 +02:00
Matthias Krack
d7297c05c6 Enable xpmem only for Cray systems 2025-07-16 14:28:22 +02:00
Matthias Krack
ef2364c498 Enable efficient multi-node CI runs
Use MPICH with the libfabric of the Cray host system
2025-07-16 14:28:22 +02:00
Ole Schütt
405ec67042 CI: Split weekly jobs into two groups to stay below GCP CPU quota 2025-07-16 12:13:14 +02:00
Ole Schütt
95c2946de2 CI: Assign more generic names to node pools 2025-07-16 12:13:14 +02:00
Ole Schütt
e5c796164a Revert to legacy format when writing forces to file 2025-07-16 11:05:44 +02:00
Heqi Liu
9743db9d08 Match command comments with the gpu-ver supported list 2025-07-15 15:55:28 +02:00
Hans Pabst
ae240b2ef6 MKL/FFTW3: append fftw to MKL's include directory
- Account for missing include directory to include "fftw3.f03".
- Code cleanup (fftw3_lib.F).
2025-07-15 15:15:15 +02:00
Hans Pabst
387710a27f Avoid short-cycled IF-condition 2025-07-14 16:54:16 +02:00
Hans Pabst
1340c09f11 Fixed undefined behavior
- Avoid zero-sized allocation (c99/stack/alloca).
- Avoid NULL-pointer for notnull attributed arg.
2025-07-14 16:38:01 +02:00
Hans Pabst
ede6ae9354 FFTW: removed distinction with MKL
- Kept FFTW3_MKL for CMake to allow separate FFTW library (even if MKL is linked).
- Removed source code distinctions for FFTW3_MKL (-D__FFTW3_MKL).
- Removed code related to MKL 10.x (thread-safety).
- Enabled Guru interface for MKL as well.
- Updated INSTALL.md.
2025-07-13 21:39:08 +02:00
Hans Pabst
7595270cbf sanitizer: fixed more undefined behavior
- Usually sanitizer can see subsequent exit conditions aka assertions;
  however, this may not be true to CPASSERT.
- In any case, included CPASSERTs instead of only/implicit assumptions.
- malloc: resolved implementation specific assumption about zero-sized
  allocation resulting into NULL-pointer.
2025-07-11 09:59:20 +02:00
Matthias Krack
2f51be0cd6 Set CP2K_DATA_DIR for CI benchmark runs 2025-07-10 16:22:41 +02:00
Hans Pabst
6a479c9746 Fixed Python scripts for (3.x but) pre-3.8 2025-07-10 15:46:18 +02:00
Matthias Krack
64419ea128 Fix (stabilize) Gromacs test 2025-07-10 11:22:33 +02:00
Matthias Krack
d657d38fd2 Use wget instead of curl 2025-07-08 22:42:49 +02:00
Matthias Krack
17abe681d0 Fix for container runtime engine after migration from Sarus to CE 2025-07-08 17:11:15 +02:00
Hans Pabst
73a6dc3ac2 CMake: revised compiler configuration
* Provide compiler configurations for Intel LLVM-based compilers.
* Definitions for GNU and Intel Compilers:
  - Define __HAS_IEEE_EXCEPTIONS (Release builds).
  - Define __MAX_CONTR=4.
* Minor format cleanup.
2025-07-08 12:55:32 +02:00
Mathieu Taillefumier
36d1149e50 Add SIRIUS DFTD3 and DFTD4 support
Signed-off-by: Mathieu Taillefumier <mathieu.taillefumier@free.fr>
2025-07-08 12:55:13 +02:00
Johann Pototschnig
93bb8602f5 activating D4 for tblite 2025-07-08 12:52:01 +02:00
Juerg Hutter
281339cc31
Sign change for pressure output in external energy corrections (#4276) 2025-07-04 13:25:44 +02:00
Johann Pototschnig
2e31a49961 prettify 2025-07-03 16:33:26 +02:00
Johann Pototschnig
344a2ab223 adding option to print space groups 2025-07-03 16:33:26 +02:00
Matthias Krack
1196b4e7cb Use --env flags 2025-07-03 16:32:25 +02:00
Matthias Krack
d506eed4c7 Partial revert last commit; set number of threads 2025-07-03 16:32:25 +02:00
Matthias Krack
639cf02242 Use baremetal instead of container runner 2025-07-03 16:32:25 +02:00
Juerg Hutter
eb49f8a800
ECP/bug fix for energy correction (#4275) 2025-07-03 13:49:09 +02:00
Harald Forbert
93bc24a11a add some additional NNP and helium related data/inputs 2025-07-03 10:48:15 +02:00
Matthias Krack
c9ed8e0e9c Add Daint Spack psmp CI tester to dashboard 2025-06-27 16:50:44 +02:00
Matthias Krack
9901826e59 Fix typo 2025-06-27 15:53:14 +02:00
Matthias Krack
3f9561751b Ignore error status of test run 2025-06-27 15:53:14 +02:00
Matthias Krack
db8a8e05e8 Disable libxsmm with Spack 2025-06-26 17:44:10 +02:00
Matthias Krack
941a0607dd Follow-up fixes for PR #4259 2025-06-26 17:44:10 +02:00
Matthias Krack
24ec50878a Switch from minimal to full build on daint 2025-06-26 17:44:10 +02:00
Juerg Hutter
80cfd094f2
Remove error arrays from external energy correction method (#4263) 2025-06-26 17:18:17 +02:00
Rocco Meli
400017fac0
Update Spack and add support for Spack packages repository 2025-06-26 08:27:09 +02:00
Matthias Krack
58c5f645d6 Fix brackets and sync podman run commands 2025-06-25 16:05:24 +02:00
Matthias Krack
2205805056 Perform tests with baremetal runner 2025-06-25 16:05:24 +02:00
Matthias Krack
a22f1eda66 Update CI files for Daint 2025-06-25 16:05:24 +02:00
Matthias Krack
68ff919639 Fix local Spack build 2025-06-24 17:20:44 +02:00
Matthias Krack
ce99381fea Drop rsync to external server 2025-06-23 13:19:44 +02:00
Eisuke Kawashima
2126f13d0e build: fix CMake files 2025-06-21 12:11:32 +02:00
Matthias Krack
3ec2d5fa32
Retrieve git commit SHA before script (#4254) 2025-06-19 07:53:44 +02:00
Matthias Krack
0bcb433f02 Adapt tolerance 2025-06-18 14:26:57 +02:00
Matthias Krack
7b91db860f Add git commit SHA to tester output 2025-06-17 15:55:53 +02:00
Matthias Krack
fa3cdffdec Add CSCS CI tester to dashboard 2025-06-17 12:13:32 +02:00
Johann Potot.
dc5a454cc6
mark unused variables (#4250)
Co-authored-by: Johann Pototschnig <j.pototschnig@hzdr.de>
2025-06-16 16:40:25 +02:00
Matthias Krack
f90fa10152 Retire testers as the Merlin6 cluster will be decommissioned soon 2025-06-16 12:02:07 +02:00
Hans Pabst
d5104b917e Fixed data races and undefined behavior
- Assert presence of certain arguments.
- Fixed potential data races (Helgrind).
- Avoid undefined behavior (UBSan).

Minor (qs_harmonics_atom.F):
- reduced memory consumption.
2025-06-13 20:38:16 +02:00
Johann Potot.
e5f3bfdf22
small fix for building without tblite (#4247)
Co-authored-by: Johann Pototschnig <j.pototschnig@hzdr.de>
2025-06-13 17:31:46 +02:00
Matthias Krack
db8fc944e1 Fix Gromacs build for the QM/MM tester 2025-06-13 14:54:04 +02:00
Johann Potot.
a15f28e19d
Jvp gfn grad (#4242)
Co-authored-by: Johann Pototschnig <j.pototschnig@hzdr.de>
2025-06-13 14:41:48 +02:00
Matthias Krack
2c50328c88 Update Darwin arch files 2025-06-13 06:27:44 +02:00
Matthias Krack
bf7e219814 Toolchain update: GCC 14.2.0 -> 14.3.0 2025-06-12 22:23:56 +02:00
Matthias Krack
2ee47d2aa5 Fixes for the GCC 15 compiler
Add -std=c17 flag where needed, because GCC 15 applies -std=gnu23 by default
2025-06-12 15:44:16 +02:00
Matthias Krack
10557513d2 Try libtorch 1.12.1 -> 2.7.1 2025-06-12 15:44:16 +02:00
Hans Pabst
83c2360239
Removed unnecessary SQRT while maintaining readability (#4239) 2025-06-12 12:36:20 +02:00
Hans Pabst
263eb56158
Avoid issues pointed out by -fsanitize=undefined (#4240)
- Account for template not being present.
- Account for distribution not being present.
- Avoid passing NULL-pointer to memcpy.
2025-06-12 10:57:14 +02:00
Mathieu Taillefumier
5e46bb3ced [cmake] Update cuda standard to c++14
gcc 14 and cuda 12.8:12.9 require c++14 to work properly.
2025-06-09 12:07:17 +02:00
Ole Schütt
c9db3194df Tests: Take timing variance into account when flagging slow tests 2025-06-06 11:46:51 +02:00
Hans Pabst
d3e36fe426
Revised #4233 2025-06-05 11:46:16 +02:00
Hans Pabst
e5b196819d
PROT: fallback from PROT to ROT (#4233) 2025-06-04 15:20:06 +02:00
Hans Pabst
9babcb7ea0
IFX: avoid short-cycled condition (#4232) 2025-06-04 13:03:50 +02:00
Max Graml
4a4cc2cc53
GW: Minor changes for input handling 2025-06-03 16:26:57 +02:00
Matthias Krack
231bfe326b Fix typo (#4229) 2025-06-03 11:03:32 +02:00
Matthias Krack
7fe441c2e3 Add new CI testers to configuration file 2025-06-02 12:30:00 +02:00
Matthias Krack
22d13e016e Add regression tester for new Intel ifx compiler
Test the latest Intel oneAPI HPC Toolkit version with ssmp and psmp
using the new ifx Fortran compiler. The existing Intel tests use
still the old ifort compiler.
2025-06-02 12:30:00 +02:00
Rocco Meli
c740a4b48f
Add documentation for local Spack cache 2025-05-28 17:31:04 +02:00
Hans Pabst
f93cfd9d40
DBM/OCL: removed support for profiling kernel execution (#4223) 2025-05-27 15:04:32 +02:00
Matthias Krack
43d811ebd1 Resolve name clash for Intel compiler 2025-05-27 11:34:35 +02:00
Matthias Krack
82de6c2773 Keep gcc14 until the issues with gcc15 are resolved 2025-05-26 14:14:07 +02:00
Hans Pabst
683bb26b40
Fast index first and removed unused variables (#4220) 2025-05-26 12:56:26 +02:00
Matthias Krack
f0f16071bc Revert PR #4174
By contrast to the CPU build, the GPU build of the ELPA 2025.01.001 and 2025.01.002 does not work.
2025-05-23 09:32:50 +02:00
Ole Schütt
0977f2f4e1 Docker: Add error message for missing spack cache 2025-05-22 18:30:23 +02:00
Ole Schütt
6d377b8c9f Precommit: Format spack packages with upstream style 2025-05-22 18:30:23 +02:00
Juerg Hutter
899741eeca
Response forces for external energy method: bug fix for orbital respo… (#4215) 2025-05-22 14:26:11 +02:00
Matthias Krack
107e9aed79 Use podman instead of docker
Rationale for this proposal: Docker is usually not provided on shared compute clusters, e.g. at HPC centres,
because docker runs a daemon with root privileges creating potential security vulnerability. By contrast,
podman is daemonless and more lightweight and is built on the same principles as Docker's API.
2025-05-21 16:25:59 +02:00
Johann Potot.
1c7524e86b
Jvp gfn1 period (#4209)
Co-authored-by: Johann Pototschnig <j.pototschnig@hzdr.de>
2025-05-19 21:03:49 +02:00
Matthias Krack
ecb7c3aa80 Drop public Spack cache 2025-05-19 16:41:55 +02:00
Matthias Krack
d5244a02fe Fix indentation 2025-05-19 14:39:35 +02:00
Matthias Krack
6f865a78a6 Drop custom Spack recipes for COSMA and libxsmm 2025-05-19 14:39:35 +02:00
Matthias Krack
2e57c770f4 Update Spack version to develop-2025-05-18 2025-05-19 13:27:26 +02:00
Matthias Krack
32ddf85ecc Include tblite into Apple M1 test 2025-05-16 16:08:25 +02:00
Matthias Krack
0c09db927b Fix coding convention issues 2025-05-16 14:59:43 +02:00
Matthias Krack
b7c83bef2a Add tblite to Linux gnu arch files 2025-05-16 10:45:16 +02:00
Johann Pototschnig
9e7f125ac0 small fix 2025-05-15 15:38:03 +02:00
Johann Pototschnig
330eab0767 deactivate tblite for spack 2025-05-15 15:38:03 +02:00
Johann Pototschnig
5f824e8283 removing MPI compiler from toolchain 2025-05-15 15:38:03 +02:00
Johann Pototschnig
85471b8560 prettyfing forgotten 2025-05-15 15:38:03 +02:00
Johann Pototschnig
f5c13791f1 small fixes and swirtching to cp2k rep for tblite 2025-05-15 15:38:03 +02:00
Johann Pototschnig
c18598af66 add fixes and ind toolchain instalation for tblite 2025-05-15 15:38:03 +02:00
MaggieB092
61d4209430
HP-DFT modules and regtests (#4138) 2025-05-15 14:35:20 +02:00
Matthias Krack
5ea6a88af0 Fix serial (ssmp) Spack build 2025-05-15 13:16:41 +02:00
Andreas Fischer
dc8eeeed8d fix: add rpath to GREENX_LDFLAGS 2025-05-14 14:19:31 +02:00
Matthias Krack
7fc6217bd3 Enable PEXSI only for Spack builds 2025-05-14 14:11:33 +02:00
Matthias Krack
9c04d53876 Recover PEXSI support (with Spack) 2025-05-14 14:11:33 +02:00
Matthias Krack
99fa897f70 Clean arch files from PEXSI and QUIP related stuff 2025-05-14 12:17:13 +02:00
Matthias Krack
3130539b06 Exclude ACE from ubuntu ssmp tests 2025-05-13 10:53:16 +02:00
Johann Potot.
133b8a226d
GFN2 (#4190)
Co-authored-by: Johann Pototschnig <j.pototschnig@hzdr.de>
2025-05-12 21:17:33 +02:00
Matthias Krack
fa86054c23 Add custom (local) Spack recipe for ACE 2025-05-12 16:25:17 +02:00
Matthias Krack
00613676dc Fix creation of C2PK build log file 2025-05-12 13:24:30 +02:00
Ole Schütt
fb57fb5c38 Spack: Simplify directory structure 2025-05-09 14:07:30 +02:00
Frederick Stein
8384d8a64c Fix GCP 2025-05-09 10:35:54 +02:00
Ole Schütt
51a01b3a66 Docs: Add gCP and GCP to acronyms.md 2025-05-08 22:14:33 +02:00
Ole Schütt
5d671136cc Docker: Add local Spack cache 2025-05-08 22:14:33 +02:00
Matthias Krack
273e611c39 Update Apple M1 tester (add GreenX and ACE) 2025-05-08 22:13:29 +02:00
Matthias Krack
302542b7d3 Update arch file (add ACE) 2025-05-08 12:26:27 +02:00
Matthias Krack
1163b510cb Add ACE to arch file 2025-05-08 10:43:24 +02:00
Matthias Krack
9f04f76e79 COSMA 2.6.6 -> 2.7.0 2025-05-07 13:51:27 +02:00
Ole Schütt
98b3543381 Tests: Speedup SIRIUS/regtest-1/Fe-upf.inp 2025-05-07 13:47:19 +02:00
Matthias Krack
fa5cb7cece Toolchain: Suppress build of ninja unit tests 2025-05-06 14:27:09 +02:00
Matthias Krack
5257749bb0 Switch to recent COSMA commit from master branch 2025-05-06 13:26:29 +02:00
Ole Schütt
319116d991 Toolchain: Workaround build issue in SIRIUS 7.7.0 2025-05-06 08:37:57 +02:00
Harald Forbert
1513aefda2 add ace support 2025-05-06 08:32:16 +02:00
Matthias Krack
8c713d5949 Add Spack build recipe for DeePMD package 2025-05-05 18:36:16 +02:00
Matthias Krack
5af718cdc7 Add libtorch to spack ssmp build recipe 2025-05-02 13:17:51 +02:00
Matthias Krack
c1093f3743 Add OpenMPI 5.0.7 patch for RHEL8
https://github.com/open-mpi/ompi/issues/13103
2025-05-01 17:22:09 +02:00
Matthias Krack
04883b5780 Adjust tolerances after Merlin update from RHEL7 to RHEL8 2025-05-01 15:07:57 +02:00
Rocco Meli
ff5662e350
Improve DLA-Future integration 2025-04-30 19:44:01 +02:00
Matthias Krack
e4022dbce1 Fix leftover from testing 2025-04-30 17:24:16 +02:00
Matthias Krack
187c4601f8 Toolchain: DeepMD 3.0.1 -> 3.0.2 2025-04-30 17:24:16 +02:00
Matthias Krack
6f84837c12 Toolchain: GreenX 2.1 -> 2.2 2025-04-30 11:56:44 +02:00
Matthias Krack
902069b0de Add GMP library path for GreenX 2025-04-29 19:08:18 +02:00
Matthias Krack
8fbf521e2b Minor printout changes 2025-04-29 19:08:18 +02:00
Matthias Krack
0856218c2f GreenX 2.1 -> 2.2 2025-04-29 19:08:18 +02:00
Matthias Krack
9abf8d83c0 Update dependencies for Spack builds 2025-04-29 19:08:18 +02:00
Matthias Krack
d5ae06f232 Update spack build recipes (COSMA, greenX) 2025-04-29 19:08:18 +02:00
Matthias Krack
b0fbf0a6dd Drop local spack recipe for SIRIUS 2025-04-29 19:08:18 +02:00
Max Graml
05923000a7
GW: Minor changes to input structure (#4166) 2025-04-29 08:57:49 +02:00
Matthias Krack
09c35bc89e ELPA 2024.05.001 -> 2025.01.001 2025-04-28 10:38:58 +02:00
Matthias Krack
34ba9db554 Use fixed string instead of undefined variable 2025-04-27 07:46:44 +02:00
Matthias Krack
e6aa7149b3 Add libgrpp to macOS tester 2025-04-26 12:58:16 +02:00
Matthias Krack
df98149d0e Add greenX to GNU Linux arch file 2025-04-25 16:47:45 +02:00
Hans Pabst
55fff58c9d
DBM: call offload_activate_chosen_device for offloadMallocHost/offloadFreeHost (#4167)
- Fixes potential issues with mapping (unified) memory.
- Miniapp: improved finding ROCM_PATH.
2025-04-25 16:33:54 +02:00
Hans Pabst
537e47432b
DBCSR/build: improved finding OpenCL header file (#4168) 2025-04-25 16:23:25 +02:00
Matthias Krack
e308244da1 Fix macOS arch file for Apple M1
- Homebrew under macOS 15.4.1 (Sequoia) provides only CMake 4.0.1 which does not build the latest ScaLAPACK version 2.2.2
- CMake 3.31.2 -> 3.31.7
2025-04-25 15:03:08 +02:00
Matthias Krack
34fb91ba6b Adjust tolerances 2025-04-25 11:36:52 +02:00
Matthias Krack
b22f077520 Remove debug lines 2025-04-24 17:42:27 +02:00
Matthias Krack
7e3a138a9d Fix pugixml build script 2025-04-24 17:42:27 +02:00
Matthias Krack
472dba9acb Adapt tolerances 2025-04-24 12:22:23 +02:00
Matthias Krack
55a9e636a1 Use build type RelWithDebInfo for SIRIUS 2025-04-24 11:48:14 +02:00
Matthias Krack
4c62eb8768 Fix SIRIUS build (partially apply PR #4148) 2025-04-24 11:48:14 +02:00
Matthias Krack
d7c6544b7f ScaLAPACK 2.2.1 -> 2.2.2 2025-04-23 07:17:16 +02:00
Matthias Krack
f45cc7bf81 OpenMPI 5.0.6 -> 5.0.7 2025-04-22 18:47:06 +02:00
Matthias Krack
8c0fdc2302 MPICH 4.2.3 -> 4.3.0 2025-04-22 17:23:02 +02:00
Matthias Krack
bdfd407bfb OpenBLAS 0.3.28 -> 0.3.29 2025-04-22 15:12:07 +02:00
Matthias Krack
ecdd97505f Adjust tolerance 2025-04-22 14:07:42 +02:00
Juerg Hutter
4f96b81657
Unit conversion for stress in external response (#4153) 2025-04-22 11:49:28 +02:00
marcella
419edc093a
fixed problem with file unit number (#4152) 2025-04-17 19:31:48 +02:00
Matthias Krack
47e9ca93e9 Update DFTD4, ELPA, SPGLIB and MPICH version 2025-04-17 17:41:44 +02:00
Juerg Hutter
71b6c666a3
Response force: correct output for parallel case (#4149) 2025-04-17 17:10:27 +02:00
Matthias Krack
65c20d6b2a Use most recent Spack build cache 2025-04-17 14:05:35 +02:00
Matthias Krack
8f45c04fa2 Adapt tolerances 2025-04-17 12:21:26 +02:00
Matthias Krack
8064eb702b Make pretty 2025-04-17 12:21:26 +02:00
Matthias Krack
deb7329d2b Add local Spack recipe for SIRIUS v7.7.0 2025-04-17 12:21:26 +02:00
Mathieu Taillefumier
9ae0441d1a [sirius] version bump 2025-04-17 10:38:29 +02:00
Stefano Battaglia
7b17ae3282
Compute DOS with different k-point grid (#4144) 2025-04-17 08:37:08 +02:00
Juerg Hutter
a2cdc0283b
Adjust regtests (#4142) 2025-04-16 12:23:35 +02:00
Juerg Hutter
e43e35a407
CG/Linesearch (#4141) 2025-04-15 20:13:30 +02:00
Joshua Edzards
da03128481
Update BASIS_MOLOPT_UZH (#4140) 2025-04-15 12:18:29 +02:00
marcella
c073dc76a4
compute the integral of the current density in emd/rtp simulations (#4139) 2025-04-14 17:29:11 +02:00
Matthias Krack
349f45176d Update profile name of 3rd party tests due to #4134 2025-04-12 13:26:51 +02:00
Hans Pabst
582ec76049
DBM: reformulated control-flow to workaround an issue in Intel Compiler (#4136) 2025-04-11 10:33:19 +02:00
Matthias Krack
11f8ba4dcf Disable libtorch for serial build 2025-04-10 23:21:47 +02:00
Matthias Krack
902542a646 Remove libsmeagol package from serial build, because it requires MPI 2025-04-10 23:21:47 +02:00
Matthias Krack
094f6f51ae Apply fix to all CI pipelines 2025-04-10 23:21:47 +02:00
Matthias Krack
c1abc3b4fe Rename global variables 2025-04-10 23:21:47 +02:00
Matthias Krack
edaa72e6aa Fix file name pattern 2025-04-10 23:21:47 +02:00
Matthias Krack
44e17d3851 Add and update build recipes for the CI containers 2025-04-10 23:21:47 +02:00
Matthias Krack
1b9cb4395a Set lib as default for CMAKE_INSTALL_LIBDIR 2025-04-10 23:21:47 +02:00
Stefano Battaglia
1bf423a915
Smearing with fixed magnetic moment for k-points (#4131) 2025-04-10 15:21:18 +02:00
Juerg Hutter
4803c375f4
RI-HFX density fitting output: new option (#4129) 2025-04-09 16:02:15 +02:00
Matthias Krack
cba88ad315 Check variable only if defined 2025-04-09 15:57:49 +02:00
marcella
99f32ee502
bug fix in combine colvar (#4128) 2025-04-09 15:42:59 +02:00
Ole Schütt
f43d9a9903 Docker: Fix misc test and pin python packages 2025-04-09 15:05:27 +02:00
Ole Schütt
e225c179f8 CMake: Introduce CP2K_USE_EVERYTHING option 2025-04-08 22:57:49 +02:00
Hans Pabst
b824476083
DBM/OpenCL: DBCSR/DBM kernel interoperability (#4126)
- Revised parameter format description (support DBCSR-style in kernel).
- DBM_MULTIPLY_SMM=-1: use DBM-kernels for DBCSR.
- DBM_MULTIPLY_SMM=1: use DBCSR-kernels for DBM.

Other:
- Bulk-Lock c_dbcsr_acc_opencl_info_devptr (c_dbcsr_acc_opencl_info_devptr_lock).
- Call dbm_multiply_gpu_launch_info only if necessary.
- Pass stream in non-const fashion.
- Miniapp: drop CFLAGS (linkage).
2025-04-08 10:37:23 +02:00
Matthias Krack
f2d5b0afe4 Use libxsmm 1.17 with Spack as long as grid_unittest fails 2025-04-07 16:35:04 +02:00
Matthias Krack
fd383878a2 Use tagged Spack version and build cache again 2025-04-07 16:35:04 +02:00
Matthias Krack
dd5e703438 Use CP2K_BUILD_TYPE minimal initially 2025-04-07 16:35:04 +02:00
Matthias Krack
56e7ea0e82 CI pipeline files for daint.alps (gh200) at CSCS
First version, CPU only
2025-04-07 16:35:04 +02:00
Matthias Krack
0a85ee3ca0 Fix path as files have moved from ci/spack to tools/spack 2025-04-04 16:58:19 +02:00
Matthias Krack
4281113e2d Sync spack build recipe for libxsmm with spack database
Reverts some changes which did not solve the persisting failure of the grid_unittest using a Spack build
2025-04-04 16:58:19 +02:00
Matthias Krack
9d84a8402c Sync Spack docker files 2025-04-04 16:58:19 +02:00
Matthias Krack
6733392688 Keep Spack recipes local within the CP2K tree
Introduce an internal Spack repository for CP2K adapted build recipes
2025-04-04 16:58:19 +02:00
Matthias Krack
5ef26076d2 MPICH_VERSION variable added also for Spack CI runs 2025-04-04 16:58:19 +02:00
Matthias Krack
0481282641 Remove libxc from package list, because minimal builds do not include it 2025-04-04 16:58:19 +02:00
Matthias Krack
47e5eb7857 Use Spack fork for the time being
The spack develop branch has been quite volatile recently and required
changes for the CP2K CI build are still in the pipeline.
The dust will hopefully settle once Spack v1.0 is released.
2025-04-04 16:58:19 +02:00
Matthias Krack
8da3cacd52 Fix syntax 2025-04-03 07:16:25 +02:00
Ole Schütt
f745bacbdf Adjust tolerance of QS/regtest-tddfpt-force-2/h2o_f13.inp 2025-04-02 23:06:35 +02:00
Stefano Battaglia
b88f787ca0
Enable wfn_mix from precomputed virtuals 2025-04-02 22:13:50 +02:00
Stepan Marek
422ac0d5e8
RTBSE : Padé FT Refinement 2025-04-01 14:20:49 +02:00
Matthias Krack
16752b9f95 Update Fedora version for testing 2025-03-31 22:45:43 +02:00
Matthias Krack
8516643575 Add missing dependencies for toolchain build 2025-03-31 14:10:10 +02:00
Ole Schütt
bc1e21dff8 Conventions: Work around false compiler warning 2025-03-29 16:28:57 +01:00
Ole Schütt
f4d52e1c6a Docker: Fix Ubuntu build 2025-03-29 16:28:57 +01:00
Ole Schütt
80b37cb95d Adjust tolerance of QS/regtest-hfx-ri/H2O-hfx-coulomb.inp 2025-03-29 16:28:57 +01:00
RemiPasquier
aabdcc80f3 Add a check for inter-atomic distances during the setup of 3c integrals 2025-03-28 22:14:07 +01:00
Stepan Marek
b14b10f99c
Toolchain: Add GreenX 2025-03-28 22:12:22 +01:00
Matthias Krack
d17e4a7a40 Generalise MPICH version substitution using regex 2025-03-28 15:17:49 +01:00
Matthias Krack
10e59c53c7 Homogenise configuration: Merge Spack/CMake config files 2025-03-28 15:17:49 +01:00
Augustin Bussy
0c3e00032c RI_HFX| Add extra print option 2025-03-28 10:16:35 +01:00
Hans Pabst
0e80b46be4
DBM: optionally reuse DBCSR's libsmm_acc_process (#4109)
- Experimented with specialized vs DBM's universal kernel.
- Performance is equal likey due to data mix/sort (TODO).
- DBCSR/unrelated: Likely introduce DBM-kernel (cleaner).
- Rely on OPENCL_LIBSMM_PFORMAT.

Mempool:
- Revised default to skip mempool for host-allocs if offload
  is not compiled-in or if offload-allocs on host are disabled.
- Renamed and split DBM_ALLOCATION_FACTOR.
- Separate DBM_OVERCOMMIT_DEVICE/HOST.
- More rigid control of mempool config
- Conditionally define mempool lists.

Other:
- Passing batch/task data in const-correct fashion.
- Revised verbose output.
2025-03-28 09:28:11 +01:00
Juerg Hutter
ed6f26b5e4
Updates for External Method Response Forces (#4107) 2025-03-27 12:26:25 +01:00
Stefano Battaglia
33f85d8225
Fix trexio writing and reading MOs and energy derivatives (#4105) 2025-03-26 20:06:12 +01:00
Taillefumier Mathieu
8c2292af2a
[cmake] Cleanup the GPU architecture logic 2025-03-26 10:37:55 +01:00
Matthias Krack
b77b4bea63 Remove non-existing variable 2025-03-25 15:22:56 +01:00
Matthias Krack
d0a89ff766 Search for Torch cmake config files 2025-03-25 15:22:56 +01:00
Matthias Krack
83fa4600d8 Add py-torch and update DLA version for Spack/CMake CI 2025-03-25 13:33:32 +01:00
Matthias Krack
7685a0e7af Update arch file for Merlin tester 2025-03-25 11:35:59 +01:00
Matthias Krack
9c60d2d99f Update arch file 2025-03-25 10:22:04 +01:00
Matthias Krack
861b84002e Add DLA and PLUMED to Spack/CMake CI test (Eiger) 2025-03-25 10:05:03 +01:00
Matthias Krack
d18dedaae5 Add flag 2025-03-24 17:29:50 +01:00
Matthias Krack
42e9b43fd1 Test 2025-03-24 17:29:50 +01:00
Matthias Krack
277d0122b1 Use correct flag 2025-03-24 17:29:50 +01:00
Matthias Krack
07687c3d4f Update CP2K specs due to PR #4063 2025-03-24 13:34:09 +01:00
Hans Pabst
4b87a7a1fc
CMake: automatically select BLAS/ScaLAPACK (#4095)
- Complements #4080.
2025-03-24 11:47:58 +01:00
Hans Pabst
fd493efaad
CMake: resolve inconsistencies with DBCSR (#4080) 2025-03-24 09:28:36 +01:00
Matthias Krack
05e032ea0d Set CP2K_BUILD_TYPE to all 2025-03-24 07:45:25 +01:00
Matthias Krack
da8c501f48 Add CI for full CP2K build with Spack/CMake 2025-03-24 07:45:25 +01:00
dependabot[bot]
85b7b8c410 Bump gunicorn from 22.0.0 to 23.0.0 in /tools/precommit
Bumps [gunicorn](https://github.com/benoitc/gunicorn) from 22.0.0 to 23.0.0.
- [Release notes](https://github.com/benoitc/gunicorn/releases)
- [Commits](https://github.com/benoitc/gunicorn/compare/22.0.0...23.0.0)

---
updated-dependencies:
- dependency-name: gunicorn
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-23 14:21:29 +01:00
Matthias Krack
89b733dd1d
Fix minimal regression test (#4093) 2025-03-23 07:14:19 +01:00
Matthias Krack
9754b872e6
Add minimal Spack/CMake CI pipeline (CSCS Eiger) (#4091) 2025-03-21 22:46:30 +01:00
Hans Pabst
3018857f05
DBM: solved issues with MPI based memory allocation (#4090)
- Assert correct size scaled by DBM_ALLOCATION_FACTOR.
- OpenCL: adjusted verbose output.
2025-03-21 15:57:59 +01:00
Hans Pabst
50da6719c3
DBM: adjusted MPI-based memory allocation (#4089)
- Apparently, MPI_Alloc_mem/free are not fully thread-safe.
- Debug shows issue similar to issues reported elsewhere.
- Improved CHECK macro (however, crash in OpenMPI).
- Note: issue seems specific to OpenMPI 5.x
2025-03-20 16:50:03 +01:00
Hans Pabst
3f462081c5
DBM: allow actual allocation outside of critical section (#4088)
- Reverted "DBM: adjusted MPI-based memory allocation".
- More accurate statistics (counted allocations).
- Made stats valid for non-pooled allocations.
- Check leaks in dbm_mempool_clear (internal_mempool_clear).
- Removed thread-safety limitation (mempool_clear).
- OpenCL: fixed an issue cloning the initial kernel.
2025-03-20 11:40:28 +01:00
Leo Decking
44a22cd429 add INTENSITIES_FILE_NAME keyword for periodic efield 2025-03-20 08:52:59 +01:00
Hans Pabst
4136e1a5fc
DBM: adjusted MPI-based memory allocation (#4085)
- Apparently, MPI_Alloc_mem/free are not fully thread-safe.
- Debug shows issue similar to issues reported elsewhere.
- Note: MPI_Alloc_mem was taken out of critical section.
2025-03-18 22:00:45 +01:00
Hans Pabst
b7a18d40f1
DBM: print used in addition to committed memory (#4084)
- No restriction on thread-safety (dbm_mempool_statistics).
- Reduced contention of critical section.
- Introduced "used" memory statistic.
2025-03-18 16:49:31 +01:00
Juerg Hutter
9087787792
PDOS input description (#4083) 2025-03-17 17:38:44 +01:00
Ole Schütt
bf77c5cb8e Docker: Fix builds of GCC and minimal tests 2025-03-15 18:10:58 +01:00
Mathieu Taillefumier
077f9c6522 fix a memory leak
Signed-off-by: Mathieu Taillefumier <mathieu.taillefumier@free.fr>
2025-03-14 22:58:57 +01:00
Dorothea Golze
51f8a4b2a5
Interface for greenX library 2025-03-14 22:58:29 +01:00
Hans Pabst
eb25494c3c
DBM: use host_malloc, introduced host_free and device_free (#4073)
- Internally, use separate pools for device/host memory.
- Let hyperparams enable/disable pooled memory
   - DBM_OFFLOAD_ALLOC
   - DBM_MEMPOOL_DEVICE
   - DBM_MEMPOOL_HOST
- Let hyperparam control offload memory (host).
2025-03-14 14:29:43 +01:00
Rocco Meli
d69d436dea
Remove CMake build presets 2025-03-14 10:54:56 +01:00
Ole Schütt
0991fe12da Toolchain: Upgrade to DFT-D4 3.7.0 2025-03-13 23:46:03 +01:00
Stefano Battaglia
ededc8641b Mark energy derivative as used when trexio not enabled 2025-03-13 21:41:04 +01:00
JWilhelm
6843abca0f k-point GW: skip tensor operations if no multiplications are performed 2025-03-13 12:52:05 +01:00
Stefano Battaglia
b25d096fed
Write external energy derivative file in trexio (#4074) 2025-03-13 09:52:34 +01:00
Hans Pabst
f0c73276c3
DBM: implemented using offloadMallocHost/offloadFreeHost (#4071)
- Note: using dbm_mempool_host_malloc is a separate PR.
- Moved resizing chunk back into critical section.
- Reverted #4065.
2025-03-12 15:42:43 +01:00
Hans Pabst
03484b785e
DBM: updated OpenCL kernel (#4072) 2025-03-12 15:39:40 +01:00
Hans Pabst
ba91ac2c34
Fixed #4064 (#4069) 2025-03-12 13:57:39 +01:00
Juerg Hutter
0c7137478e
5f-in-core pseudopotentials for trivalent and tetravalent actinides (#4068) 2025-03-12 10:58:03 +01:00
Juerg Hutter
e1194b5231
Remove old TDDFPT code (#4066) 2025-03-11 17:24:23 +01:00
Hans Pabst
867ac96446
DBM: removed supporting pooled host-memory (#4065) 2025-03-11 09:55:33 +01:00
Hans Pabst
18eff0b89b
DBM: some code cleanup (#4064)
- Avoid implicit alloca and prefer (thread-local)malloc.
- OpenCL: printing in/homogeneous batches.
- Removed tracking extents of task-shapes.
- Avoid to compute average flops per rank; apparently done on every call-site.

Validation:
- Get DBM_MULTIPLY_MAXEPS from environment.
- Calibrated default.

OpenCL kernel:
- Moved BCAST utilities into common header.
- Removed BCAST code-path (code reduction).
- OpenCL: Adjusted internal parameters
- Clear CVEC explicitly.
2025-03-11 09:17:45 +01:00
Ole Schütt
2431d80646 Tests: Fix matchers.py for Python 3.8 2025-03-09 23:21:51 +01:00
Ole Schütt
af64708768 Adjust tolerance of BSE_H2O_PBE_evGW0_TDHF_screening.inp 2025-03-09 23:21:51 +01:00
Taillefumier Mathieu
b4bd7486b0
[dftd3] Improve error messaging when input parameters are missing 2025-03-08 21:51:41 +01:00
Ole Schütt
53d5369bef Tests: Rename some matchers 2025-03-08 12:10:39 +01:00
Ole Schütt
d37122f793 Dashboard: Remove i386 tester 2025-03-07 20:03:42 +01:00
Ole Schütt
2106289ec1 Adjust regtests HF-loc-field-gopt.inp and RI_RPA_grad_MP2_H2O_HF_PBE_ADMM.inp 2025-03-07 19:01:22 +01:00
Johann Potot.
a004efa47c
Jvp ghost d4 (#4005)
Co-authored-by: Johann Pototschnig <j.pototschnig@hzdr.de>
2025-03-07 14:36:25 +01:00
Matthias Krack
ed75760b1a
Split build step in CSCS CI pipeline for Eiger (#4050)
- First build dependencies, i.e. just the toolchain, then build CP2K
- Store compressed log files from the build in the final container
- Deploy the final container by pushing it to Docker Hub
- Run a simple test first and then a full regression test if the build was successful
- Complete CI pipeline with benchmark runs if all tests were successful
2025-03-06 16:40:51 +01:00
Hans Pabst
d2e611afe3 DBM: more accurate matrix checksum
- Miniapp: fixed conditional compilation (#4052).
- Calculate checksum more accurately.
  - Miniapp: expected value uses uint64_t.
  - Kahan's summation is needed.
- OpenCL
  - Revised SLM-variant of DBM-kernel.
  - Adjusted internal parameters
  - Make use of NDEBUG.
- Cleanup offload/offload_library.h.
2025-03-06 10:17:52 +01:00
dependabot[bot]
7c193b409d
Bump jinja2 from 3.1.5 to 3.1.6 in /tools/precommit (#4054)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-06 09:59:41 +01:00
Stepan Marek
32401ac82c
RTBSE : Change of input structure
More than one FT is carried out in the code, so the global FT parameters were moved to the &RTBSE section in the input. Also, allowed for more than one element of polarizability to be printed out.
2025-03-05 22:48:23 +01:00
Hans Pabst
b7def88a23
DBM/miniapp: DBM_VALIDATE_AGAINST_LIBXSMM (#4052)
- Individual matrix elements (values).
- Randomized block sizes.
- Complements #4048.
2025-03-05 08:12:16 +01:00
Hans Pabst
15c97e0324
Fixed #4045 (#4051) 2025-03-04 19:19:26 +01:00
Hans Pabst
91946afd07
DBM_VALIDATE_AGAINST_LIBXSMM to enable internal validation (#4048)
- Compile-time/opt-in with -DDBM_VALIDATE_AGAINST_LIBXSMM.
- TODO: more sophistication like injecting error margin.
2025-03-04 16:06:29 +01:00
Max Graml
0d4bf46ef2
GW/BSE: Fix indices in case of removed null-spaces for SVDs 2025-03-04 15:55:46 +01:00
Matthias Krack
cb33178bc1 Fix variable name 2025-03-03 16:56:12 +01:00
Matthias Krack
e26ddf029b
Setup CI test pipeline for Eiger at CSCS (#4030) 2025-03-03 13:52:18 +01:00
Hans Pabst
04b016fa7c
DBM: prefer function over macro (#4045)
- Complements #4032.
2025-03-03 09:22:48 +01:00
Ole Schütt
5cf00661e4 Tests: Try importing toml from more places 2025-03-02 23:28:49 +01:00
Ole Schütt
62fc185fe5 Tests: Fall back to tomli library from pip 2025-03-01 22:49:41 +01:00
Ole Schütt
3d0b1c90e6 Tests: Convert TEST_TYPES to matchers.py 2025-03-01 19:07:38 +01:00
Ole Schütt
04b4585a6a Grpp: Add explict C interfaces to libgrpp.F 2025-03-01 14:48:34 +01:00
Ole Schütt
809ca2dc0b Tests: Adjust tolerance of si8_broy_wc.inp 2025-03-01 12:06:30 +01:00
Ole Schütt
eced570b41 Precommit: Add work-around for clang-format's excessive memory usage 2025-03-01 12:06:30 +01:00
Ole Schütt
91dec94404 Grpp: Format grpp_specfunc_fermi_sk.c manually 2025-03-01 12:06:30 +01:00
Ole Schütt
36ef995dc8 Precommit: Touch up check_file_properties.py 2025-03-01 12:06:30 +01:00
Juerg Hutter
3485e9186f
Updates to TREXIO/External Response module (#4037) 2025-02-28 14:15:06 +01:00
Taillefumier Mathieu
cbdeaffe0e
Make GRPP an internal dependency
Co-authored-by: Mathieu Taillefumier <mathieu.taillefumier@free.fr>
2025-02-28 09:36:16 +01:00
Hans Pabst
a60d89c369
DBM: adjusted heuristic of pooled allocation (#4034) 2025-02-27 11:50:44 +01:00
Hans Pabst
8fa321538a
DBM: hyper-parameters and other improvements (#4032)
- Streamlined dbm_mempool_host_malloc vs dbm_mpi_alloc_mem.
  - Leave contended/temporary allocation up to MPI runtime.
- Removed hashtable_mask from internal dbm_shard_t.
- Moved duplicate imax into internal header
  - Made imax a macro for some type-flexibility.
  - Renamed dbm_multiply_internal.h.
- Prefixed hyper-parameters and avoid name clashes.
- Made OpenMP dynamic schedule a hyper-parameter.
2025-02-27 11:17:16 +01:00
Hans Pabst
0217dce9c4
DBM/OCL: option to use SLM as private scratch (#4033)
- DBM_MULTIPLY_SM to use SLM (instead of regs).
- Adjusted permitted preprocessor symbols.
- Control GEN depending on other kernel parameters.
- Avoid bank-conflicts (POT).

- Makefile: miniapp
  - Allow to select GNU Compiler by the means of "make GNU=1".
  - Find <acc_opencl.h> after PR #3994.

- Offload/OCL
  - Implemented offloadGetErrorName and offloadGetLastError.
  - Backward-compatible with DBCSR (OpenCL backend).
2025-02-27 10:53:44 +01:00
Juerg Hutter
c38724d2df
Make init_md_ftable thread safe. (#4029) 2025-02-26 13:03:39 +01:00
Leo Decking
60cf13d4c5
Add INTENSITY_LIST, START_FRAME and END_FRAME keywords for periodic efield
Co-authored-by: Leo Decking <leo@decking.dev>
2025-02-26 09:44:50 +01:00
Matthias Krack
71e52877b8 Update arch files 2025-02-25 11:20:36 +01:00
Max Graml
6a76d84b2a
BSE: Minor fixes for output (#4020) 2025-02-25 10:28:27 +01:00
Ole Schütt
a98087189c DBX: Add dbcsr_dot_threadsafe 2025-02-22 00:20:52 +01:00
Ole Schütt
48e7e8b400 DBX: Move dbcsr_print into almo_scf_optimizer 2025-02-21 19:38:22 +01:00
Ole Schütt
2ccb4ef985 DBX: Move some more routines into cp_dbcsr_contrib 2025-02-21 19:38:22 +01:00
Matthias Krack
4e8873768d Reduce CI output 2025-02-21 15:55:28 +01:00
Ole Schütt
f1a565bc1e Fix TREXIO build 2025-02-21 15:01:03 +01:00
Stefano Battaglia
12b715fd8b
Read MOs and external energy derivatives from trexio files (#4009) 2025-02-21 10:52:54 +01:00
Egor Trushin
d6214ccad8 Fix typo in data/BASIS_ccGRB_UZH 2025-02-21 09:08:15 +01:00
Ole Schütt
7bc5a5b6ec DBX: Add dbcsr_iterator_readonly_start and mark original INTENT(INOUT) 2025-02-21 09:07:29 +01:00
Matthias Krack
a4e6df3978 Update compiler flags 2025-02-20 23:14:51 +01:00
Ole Schütt
ee571db4bb Tests: Speedup H2O-ADMMP-GAPW_force.inp 2025-02-20 21:34:39 +01:00
Ole Schütt
7d91a3321b DBX: Add dbcsr_get_readonly_block_p 2025-02-20 21:34:39 +01:00
Ole Schütt
c54eb7e4d0 DBX: Move more routines into cp_dbcsr_contrib 2025-02-20 21:34:39 +01:00
Matthias Krack
47877ba763 Switch CI run from minimal to full toolchain build 2025-02-20 13:37:49 +01:00
Matthias Krack
b5792fd7d7 Update CSCS CI workflow for eiger
- Add a new test folder CI with a small, medium and large water benchmark test input
- Reduce test output size
- Run medium test only
- Apply more specific pipeline task names
2025-02-20 12:28:04 +01:00
Matthias Krack
d974b70501 Install MPI compatible with Sarus; add minimal/psmp 2025-02-20 10:47:37 +01:00
BelizSertcan
1924960361
fix outdated libxc usage in xas docs 2025-02-19 13:47:59 +01:00
Ole Schütt
92693db26c DBX: Remove dbcsr_reserve_block2d 2025-02-19 13:05:40 +01:00
Ole Schütt
bd6578ab8f DBX: Replace individual getters with dbcsr_get_info 2025-02-19 13:05:40 +01:00
Ole Schütt
99d93919de DBX: Remove dbcsr_add_block_node 2025-02-19 13:05:40 +01:00
Ole Schütt
f6494fd005 DBX: Remove data_type and nze from dbcsr_create 2025-02-19 13:05:40 +01:00
Matthias Krack
bed0e1764d Remove debug printout lines 2025-02-18 12:11:17 +01:00
Matthias Krack
187c2c2c45 Re-add package mpi 2025-02-18 11:09:36 +01:00
Matthias Krack
798b731db4 Fix CP2K binary extension to be compliant with the aiida-cp2k plugin 2025-02-18 11:09:36 +01:00
Matthias Krack
69304abfd9 Homogenize headlines 2025-02-18 11:09:36 +01:00
Matthias Krack
7678e7148f Remove variable printout 2025-02-18 11:09:36 +01:00
Matthias Krack
99769ec4d1 Fix typo (slash at end of line) 2025-02-18 11:09:36 +01:00
Ole Schütt
15a58fbd3d Docs: Enable assert for usage strings 2025-02-17 23:19:11 +01:00
Ole Schütt
f9dfcfb887 TMC: Fix typo in keyword: GROUP_ANLYSIS_NR -> GROUP_ANALYSIS_NR 2025-02-17 23:19:11 +01:00
AsukaHanaT
067dabf1ef
Fix typos in usage strings 2025-02-17 20:46:42 +01:00
Hans Pabst
3bc2de38a7
dbt_tas_info: lhs copy-allocation overhead (#4000) 2025-02-17 20:29:24 +01:00
Hans Pabst
1d67d0d96b
CMake: removed module available upstream (#3999) 2025-02-17 20:28:40 +01:00
BelizSertcan
6199459a77 cleanup 2025-02-17 19:32:46 +01:00
Matthias Krack
df7a5c31cb Partially revert #3992 and apply alternative fix 2025-02-17 15:07:22 +01:00
Matthias Krack
3a88bc4878 Switch version from ssmp to psmp for AiiDA and ASE tests
Reason: cp2k.ssmp and cp2k.sdbg binaries are no longer built with MPI
2025-02-17 13:25:36 +01:00
Matthias Krack
9d37f364e8 Switch i-pi test from version ssmp to psmp
Reason: cp2k.ssmp and cp2k.sdbg binaries are no longer built with MPI
2025-02-17 13:25:36 +01:00
Matthias Krack
7824e02d41 Remove remaining MAX_TASKS reference 2025-02-17 13:25:36 +01:00
Matthias Krack
7aace357ef Remove MAX_TASKS variable 2025-02-17 13:25:36 +01:00
Matthias Krack
f45310c62e Perform DBCSR toolchain build for 3rd party tests 2025-02-17 13:25:36 +01:00
Matthias Krack
9ba8478278 Fix runner extension 2025-02-17 13:25:36 +01:00
Matthias Krack
df8ade66ef Add SLURM flags 2025-02-17 13:25:36 +01:00
Matthias Krack
da8db47d0d Print info 2025-02-17 13:25:36 +01:00
Matthias Krack
829d2eacfb Create always a DBCSR setup file 2025-02-17 13:25:36 +01:00
Matthias Krack
c62c154cfb Write DBCSR setup file only if DBCSR build is requested 2025-02-17 13:25:36 +01:00
Matthias Krack
319bcefa39 Merge CI/CD build files 2025-02-17 13:25:36 +01:00
Matthias Krack
f46d29fbfc Set SLURM constraint 2025-02-17 13:25:36 +01:00
Hans Pabst
f7349aacbe
CMake: introduced default CP2K_SCALAPACK_VENDOR=auto (#3995)
- Let ScaLAPACK correspond to CP2K_BLAS_VENDOR (auto).
- set(CP2K_SCALAPACK_FOUND yes) for libsci (HPE).

Other
- Link-list regularly contains empty items (BLAS/SCALAPACK).
- Format/cleanup.
2025-02-17 11:36:21 +01:00
Hans Pabst
36996c06aa
CMake: initial choice to enable OpenCL for DBM (#3994)
- OpenCL code is packaged into string-literal (include file); custom target
- OpenCL implementation reuses backend hosted in DBCSR's repository.
- Limitations are expressed using cmake_dependent_option.

Notes
- DBCSR's CMake USE_ACCEL may use lower case ("cuda", etc).
- TODO: bring up OpenCL backend separate from DBCSR.
- License is harmonized already (BSD-3 clause).
2025-02-17 09:51:59 +01:00
Ole Schütt
959a7c42ea Revert "DBX: Make row/col_blk_size of dbcsr_create CONTIGUOUS"
This reverts commit f05d45d108.
2025-02-16 12:25:47 +01:00
Matthias Krack
8abc00d379 Use 2-stage dockerfiles for CSCS CI/CD
to reduce/minimize image size for production container deployment
2025-02-15 20:20:56 +01:00
Ole Schütt
f05d45d108 DBX: Make row/col_blk_size of dbcsr_create CONTIGUOUS 2025-02-15 17:23:34 +01:00
JWilhelm
af576d3508 improve input description 2025-02-15 15:56:56 +01:00
JWilhelm
20f7990520 Defining fitting range ω in [0, ω_max] for analytical continuation Σ(iω) -> Σ(ω) 2025-02-15 15:56:56 +01:00
Ole Schütt
cddc37194b Fix build of unreachable code in almo_scf_optimizer 2025-02-15 13:06:51 +01:00
Ole Schütt
fe83ffd439 DBX: Start adding DBM backend to cp_dbcsr_api 2025-02-15 00:09:15 +01:00
Ole Schütt
4134430067 DBX: Move some routines into cp_dbcsr_contrib 2025-02-15 00:09:15 +01:00
Ole Schütt
0835e6e333 DBX: Change type of dbcsr_get_info(group) to mp_comm_type 2025-02-15 00:09:15 +01:00
Ole Schütt
f950c6d1aa DBX: Remove dbcsr_set_name from cp_dbcsr_api 2025-02-15 00:09:15 +01:00
Ole Schütt
cc19742fcc DBx: Remove dbcsr_triu from cp_dbcsr_api 2025-02-15 00:09:15 +01:00
Ole Schütt
7b019b6110 DBX: Remove dbcsr_function_of_elements from cp_dbcsr_api 2025-02-15 00:09:15 +01:00
Ole Schütt
a34d9c3f55 DBX: Remove block_number from dbcsr_iterator_next_block 2025-02-15 00:09:15 +01:00
Ole Schütt
43b953a4bc DBX: Remove dbcsr_iterator_next_block_index 2025-02-15 00:09:15 +01:00
Ole Schütt
8840d978b2 DBX: Remove 1D dbcsr_put_block 2025-02-15 00:09:15 +01:00
Ole Schütt
6118f039ce DBX: Remove 1D dbcsr_get_block_p 2025-02-15 00:09:15 +01:00
Ole Schütt
599c882fa0 DBX: Remove dbcsr_iterator_next_1d_block 2025-02-15 00:09:15 +01:00
Ole Schütt
f85442acf3 DBX: Make all outputs of dbcsr_iterator_next optional 2025-02-15 00:09:15 +01:00
JWilhelm
b0259176ec second version of minimax grids is now available; might be numerically more stable than first version 2025-02-14 20:57:27 +01:00
Hans Pabst
f44c785477
cmake: missing link-directory for libxsmm (#3983) 2025-02-14 16:44:07 +01:00
Ole Schütt
6e8e403088 Docs: Add warning for bad usage strings 2025-02-14 13:43:32 +01:00
Ole Schütt
fb643211e1 Docs: Fix keywords with arbitrary number of values 2025-02-14 13:43:32 +01:00
Matthias Krack
214901717e Fix argument value 2025-02-14 11:23:58 +01:00
Matthias Krack
886ae675a1 Disable DBCSR toolchain build if Makefile is used 2025-02-14 11:23:58 +01:00
Matthias Krack
edb8529057 Introduce another exception for GCC 8 test
We will have to drop most likely the support for GCC 8 when moving to CMake.
2025-02-14 11:23:58 +01:00
Matthias Krack
f8bee9bf09 Fix folders for DBCSR build with CUDA and HIP 2025-02-14 11:23:58 +01:00
Matthias Krack
e89c3580bf Improve messages and typesetting 2025-02-14 11:23:58 +01:00
Matthias Krack
925d293006 Always set MPI_MODE to match VERSION
Disable PLUMED installation if MPI is disabled
2025-02-14 11:23:58 +01:00
Matthias Krack
50e4db82f3 Include DBCSR library in toolchain build 2025-02-13 09:03:13 +01:00
BelizSertcan
c531f47694 pretty 2025-02-12 17:52:38 +01:00
BelizSertcan
09b2e60156 add reference 2025-02-12 17:52:38 +01:00
Matthias Krack
f1967a43f2 Add deepmd to psmp tester 2025-02-12 13:52:17 +01:00
Ole Schütt
2819de3bd6 precommit: Ignore very large files 2025-02-12 13:40:05 +01:00
BelizSertcan
0d7f5ab581
TDDFPT%MGRID bug fix for GAPW (#3967) 2025-02-12 13:14:52 +01:00
Matthias Krack
eda6982485 Fix grpp library name 2025-02-12 11:40:43 +01:00
Juerg Hutter
286617e38c
Fix coding convention error (#3973) 2025-02-12 11:06:13 +01:00
Matthias Krack
fe60209c42 Adapt test tolerance 2025-02-12 08:48:07 +01:00
Matthias Krack
d5e67e2707 Remove wrong else block for PROFILE test 2025-02-12 08:22:31 +01:00
Matthias Krack
97d5d14868 Try to fix #3959 2025-02-11 22:12:14 +01:00
Matthias Krack
10ff93e056 Split cmake build script
Extract cmake command block and move it to a separate script in the cmake folder so that it can be used by different build scripts.
2025-02-11 12:14:28 +01:00
Matthias Krack
732b5832d5 Disable test step for the time being 2025-02-10 14:56:48 +01:00
Matthias Krack
6f65527a4f Split build step in deps and cp2k 2025-02-10 14:56:48 +01:00
Juerg Hutter
dc7c1e1ba4
Atom code: add option to write xmgrace wavefunction file (#3962) 2025-02-10 13:33:07 +01:00
Ole Schütt
392804b0b7 Replace call to dbcsr_norm() with alternatives 2025-02-08 15:04:51 +01:00
Rocco Meli
32c8241825
Enable sirius+libvdwxc builds with CMake and improve Spack environment 2025-02-07 22:15:07 +01:00
Ole Schütt
2be5b67b96 Remove support for complex matrices from cp_dbcsr_api.F 2025-02-07 20:44:55 +01:00
Ole Schütt
a56406a557 PAO-ML: Allow for training data to have less than num_neighbors atoms 2025-02-07 18:36:11 +01:00
Mathieu Taillefumier
df43e08022 Optimize the transformation spherial -> cartesian in collocate 2025-02-07 17:48:20 +01:00
Rocco Meli
fb4ad8b658
Disentangle TrexIO and libgrpp tests and enable TrexIO in CI 2025-02-07 17:47:42 +01:00
Rocco Meli
2272ee6717
Enable PyTorch with CMake + Spack 2025-02-07 13:43:13 +01:00
Matthias Krack
b11936edc2 Prepare for containerized CI/CD at CSCS (not yet operational) 2025-02-07 09:51:07 +01:00
Ole Schütt
c7718bdff3 Move code for creating complex CSR matrices into cp_dbcsr_api.F 2025-02-06 23:13:33 +01:00
Hans Pabst
28b74f7376
benchmarks should not restart (#3944) 2025-02-06 12:52:39 +01:00
Juerg Hutter
c12b91bfdc
Coding convention fix (#3946) 2025-02-06 11:05:39 +01:00
Taillefumier Mathieu
7eb093a14a
Enable hardware support for atomic operations on mi250 (#3943)
Co-authored-by: Mathieu Taillefumier <mathieu.taillefumier@free.fr>
2025-02-06 08:51:03 +01:00
Hans Pabst
6337c11533
Fixed #3937 (#3942) 2025-02-05 20:22:23 +01:00
Hans Pabst
ba1f8f48f8
DBM: improved filtering matrix (#3938)
- Early-exit if norm is above threshold.
2025-02-05 16:43:55 +01:00
Juerg Hutter
71d5d6c00b
ccECP (#3940) 2025-02-05 14:58:51 +01:00
Matthias Krack
413afc8300 Fix LIBGRPP include paths 2025-02-05 14:30:23 +01:00
Mathieu Taillefumier
fb5591eb30 [cmake] Add grpp and trexio dependencies 2025-02-05 12:32:56 +01:00
Hans Pabst
eeea73ec64
DBM: improvements and optimizations (#3937)
- Avoid stream-synchronization for copy-completion (GPU); at the expense of higher memory consumption (lifetime).
- Implement SMM-threshold (CPU/LIBXSMM/BLAS).

OpenCL backend:
- Adjusted valid range of kernel-parameter (BN).
- Adjusted default value (BN).

Makefile/Miniapp
- Consolidated MPI-compilation-
- Ensure gcc rather than cc.
- Adjusted CFLAGS (-fPIC).
- Fixed clean-target.

Other
- Purified some getter-like functions.
2025-02-05 12:28:58 +01:00
Rocco Meli
8824751c23 fix deepmd 2025-02-04 23:37:48 +01:00
Ole Schütt
02201f86e3 PAO: Make mypy happy with torch 2.6.0 2025-02-04 22:26:08 +01:00
Rocco Meli
37d8b63e89
Add DeePMD support in CMake and enable it in CMake + toolchain CI 2025-02-03 21:20:54 +01:00
Taillefumier Mathieu
e4b9d1982b
[cmake] Enable hdf5 support in cmake
Co-authored-by: Mathieu Taillefumier <mathieu.taillefumier@free.fr>
Co-authored-by: Rocco Meli <rocco.meli@cscs.ch>
2025-02-03 13:16:16 +01:00
Rocco Meli
62f6e6ce6e
Enable Sirius 7.6.1 with toolchain + CMake in CI 2025-02-03 12:28:53 +01:00
Mathieu Taillefumier
7dd82e8fc7 Various improvements for the calculations forces and stress on AMD GPUs
- HIP backend can be compiled on nvidia GPU with cmake (modulo a PR fixing rocm)
- Up to a factor 20 improvement in the calculations of forces and stress
- Remove atomic operations in the calculations of the operator coefficients
- up to 30 % improvemnt in collocate routine
2025-02-03 10:26:41 +01:00
Ole Schütt
ceb21baebc Docker: Skip SIRIUS in AiiDA test 2025-02-02 17:02:56 +01:00
Ole Schütt
83b56453e7 Docker: Move 3rd party tests to toolchain as they need libxc 2025-02-02 13:18:58 +01:00
Hans Pabst
b7bcddc135
GRID: avoid integer overflow (#3927)
- On higher core-count systems, the adjusted expressions can overflow.
- For example (16 ranks, 384 threads), the lower bound was negative.
- Avoid subsequent OOB access.
2025-02-02 10:59:21 +01:00
Ole Schütt
aac52debd2 Toolchain: Include libsmeagol in --install-all 2025-02-01 19:55:16 +01:00
Ole Schütt
63abb3d0f5 Docker: Tidy up generate_dockerfiles.py 2025-02-01 19:55:16 +01:00
Ole Schütt
b3eb23c664 Docker: Disable libxc for all Ubuntu based builds 2025-02-01 19:55:16 +01:00
Ole Schütt
5fa12b352a Tests: Add libxc to TEST_DIRS that require it 2025-02-01 19:55:16 +01:00
Rocco Meli
a2ea924e12
Cleanup LibXC handling in CMake 2025-01-31 15:55:53 +01:00
Rocco Meli
35f4375abe enable libsmeagol in Spack build 2025-01-31 14:15:25 +01:00
Stepan Marek
26096efc00
RTBSE - Code and Input structure 2025-01-31 11:21:43 +01:00
Max Graml
59ebee199f
BSE/RI-RPA: improve abort messages and fix bug for ERI_METHOD OS 2025-01-31 11:18:35 +01:00
Hans Pabst
0974da54a8
Updated tools/diff_cp2k.py (#3926)
- Split ENERGY line along white spaces and take the last item.
- Some code comments (terminal colors).
2025-01-31 11:12:04 +01:00
Frederick Stein
44d3f296a0 Add tests for GW based on SVD-reduced number of MOs 2025-01-30 11:46:04 +01:00
Frederick Stein
a24614b15a Fix GW if nmo < nao 2025-01-30 11:46:04 +01:00
Hans Pabst
775670a48a
DBM: activated optimization for single-value MPI reductions (#3921)
- Removed dbm_mpi_sum_uint64 (unused).
- Implemented in #3917, now activated.
2025-01-30 08:53:32 +01:00
Ole Schütt
4c33f953fe DeePMD: Fix memory leak in deepmd_model_load 2025-01-29 23:39:37 +01:00
Hans Pabst
2eb13e25da
DBM: statistics for pooled memory (#3917)
- Print number of allocations, and memory consumption.
- MPI: avoid memory allocation for reductions (count=1).
- MPI: dbm_mpi_max_uint64, dbm_mpi_sum_uint64 (unused).
- Stats are based on the max-metric over all ranks.
2025-01-29 21:04:46 +01:00
Rocco Meli
4e1a1e240b
Add CMake support for libsmeagol 2025-01-29 17:56:23 +01:00
Rocco Meli
4c325a8b0d
[docs] Add note about compilers and Spack 2025-01-29 17:53:26 +01:00
Johann Pototschnig
a1b1b75c35 small fix for the rpa grad. data distribution 2025-01-29 13:21:21 +01:00
Matthias Krack
ca9d8a1c00 Fix Intel tester after PR #3893 2025-01-29 13:15:10 +01:00
Frederick Stein
cac185c219
Fix occurrence of ghost states with SVDs (#3911)
Fixes #3823 . If the Cholesky decomposition is turned off for numerical reasons, CP2K approximates the inverse square roots of the overlap matrix using SVDs. This keeps the null-space during the solution of the eigenvalue problem such that additional eigenvectors with eigenvalue zero are found which are occupied if the Fermi-level μ ≥ − k T .
My PR removes the null-space entirely by working in the linear-independent subspace spanned by the eigenvectors outside of the null-space of the overlap matrix. I applied this scheme also to the level-shifting scheme and eigenvalue calculation for MP2. The reference values of the regtests were updated accordingly and are in better agreement with comparable regtests. I reintroduced the EPS_SVD keyword in the MP2 case.
2025-01-29 11:14:33 +01:00
Hans Pabst
3669581650
DBM: modified pooled memory allocation (#3913)
- Resize chunk outside of critical section.
- Improved finding suitable chunk.
- Search for not too large chunk, but sufficient size.

Expectations:
- Lower memory consumption (resident pool size).
- Less allocation events (resize).
- TODO: consider memory statistics.
2025-01-29 10:08:58 +01:00
Ole Schütt
6a5739a23e Speedup loading of NequIP and Allegro models 2025-01-28 22:50:43 +01:00
Matthias Krack
34b21d1b0b Remove obsolete flags for pexsi and quip
Remove redundant section for trexio and try to drop ld_classic flag
2025-01-28 17:16:41 +01:00
Rocco Meli
6bc67c85af
Enable DFTD4 with CMake CI build (Spack) 2025-01-28 14:55:04 +01:00
Harald Forbert
52fc3dc60e ensure proper initial conditions in helium_worm code (fixes bug with multiple helium environments with worm propagation) 2025-01-28 14:35:45 +01:00
Matthias Krack
ae6f7bfca4 Extend Toolchain/CMake build script (no container) 2025-01-27 22:03:10 +01:00
Hans Pabst
b85d882634
DBM: removed unnecessary hyper-parameters (#3904)
- Reverts ff01eb320a; reapplied and fixed #3901.
- Allocate "data_size" on GPU rather than "data_allocated" on CPU (dbm_multiply_gpu_start).
2025-01-27 19:01:15 +01:00
Hans Pabst
9b5ac7da13
Avoid short-cycled condition (#3906) 2025-01-27 17:39:14 +01:00
Hans Pabst
ff01eb320a
Revert "DBM: removed unnecessary hyper-parameters" (#3903) 2025-01-27 14:13:51 +01:00
Hans Pabst
067f5972e6
DBM: removed unnecessary hyper-parameters (#3901)
- Removed INITIAL_NBLOCKS_ALLOCATED and INITIAL_DATA_ALLOCATED.
- Both allocations are handled by buffer-growth routine.
2025-01-27 10:03:44 +01:00
Hans Pabst
062e9bb49d
DBM: MAX_BATCH_SIZE 10000 -> 30000 (#3890)
- MAX_BATCH_SIZE tuned on CPUs assuming GPUs benefit even more.
- Driver/Makefile/HIP: missing object file/compilation.
2025-01-27 08:49:47 +01:00
Ole Schütt
2b6cf0497c Docker: Fix OpenMP performance test 2025-01-26 13:55:52 +01:00
Ole Schütt
67d10c874e PAO: Fix conventions 2025-01-26 12:59:48 +01:00
Rocco Meli
e7f16d931a comment 2025-01-25 18:50:39 +01:00
Rocco Meli
5cd8c6e69c enable more dependencies 2025-01-25 18:50:39 +01:00
Ole Schütt
f8cb40dfab Torch: Fix build without libtorch 2025-01-25 18:26:16 +01:00
Ole Schütt
5912d788db PAO: Add forces for equivariant PyTorch models 2025-01-25 16:31:52 +01:00
Ole Schütt
b6963b94bc Torch: Add autograd to Fortran API 2025-01-25 16:31:52 +01:00
Ole Schütt
34d1e17cc8 Torch: Rename torch_model_eval -> torch_model_forward 2025-01-25 16:31:52 +01:00
Ole Schütt
a26eb0bcc9 Torch: Expose tensor objects in Fortan API and make it zero-copy 2025-01-25 16:31:52 +01:00
Ole Schütt
cc44d98bd5 Skip DeepMD tests when leak sanitizer is enabled 2025-01-25 14:17:10 +01:00
Ole Schütt
e22027480b Toolchain: Upgrade to DeePMD 3.0.1 and switch to PyTorch backend 2025-01-25 14:17:10 +01:00
Ole Schütt
0e646805cf Toolchain: Move libtorch from stage7 to stage6 2025-01-25 14:17:10 +01:00
Matthias Krack
6fe2fc105b Revise ELPA search paths (toolchain) 2025-01-25 12:13:53 +01:00
Matthias Krack
33f10303f9 Remove missing folder from list 2025-01-25 12:13:53 +01:00
Matthias Krack
09c55f6f5a Add PKG_CONFIG_PATH for MPICH 2025-01-24 22:23:43 +01:00
Matthias Krack
b38e27ea0f Add -fPIC flag 2025-01-24 22:23:43 +01:00
Matthias Krack
d8cfd0a671 Include Fortran interface and set lib folder name 2025-01-24 22:23:43 +01:00
Matthias Krack
1a9e7aef3b Fix target name 2025-01-24 22:23:43 +01:00
Juerg Hutter
269bd3eb43
Prepare for External method response forces (#3891) 2025-01-24 16:45:43 +01:00
Hans Pabst
e123cd09bd
build_dbcsr: account for removed script (#3889)
- Script acc_makedep.sh was removed from DBCSR.
- Fixed regenerating kernel parameters (OpenCL).
2025-01-24 16:02:09 +01:00
BelizSertcan
02d33dda9a
improve warning message: no k-points for tddft 2025-01-23 14:19:26 +01:00
Juerg Hutter
bb39bbc44b
Regtest stabilized (#3885) 2025-01-23 11:03:19 +01:00
Juerg Hutter
abdbd495f7
Efield implementation for xTB (#3883) 2025-01-22 14:18:16 +01:00
Stepan Marek
9a7de708c1
cp_fm_struct - Fix for small matrices (#3881)
Co-authored-by: Štěpán Marek <stepan.marek@physik.uni-regensburg.de>
2025-01-22 11:46:08 +01:00
Ole Schütt
85da4cec2f Dashboard: Add weekly intel-ssmp tester 2025-01-21 22:20:11 +01:00
Hans Pabst
fa49f9b3c1
Consolidated calling ZHEEVD (#3880)
- Use diag_complex instead of duplicated/different code ("power" and "zheevd_wrapper").
- Instrumented a number of linalg function previously "under the radar".
- Renamed complex_diag to diag_complex; proper instrumentation.
- Moved diag_antisym to mathlib module (previously private).
- Avoid unnecessary initialization of work arrays (zheevd).
- Adjusted calculating workspace (zheevd).
- Cleanup.
2025-01-21 13:36:29 +01:00
Hans Pabst
a1bc198ca0
Fixed #3877 (#3879)
- Introduced separate tests for Intel oneAPI (ssmp/psmp).
2025-01-21 09:48:24 +01:00
Hans Pabst
ca13cbfcfb
use blas-like extensions (#3876)
- Out-of-place transpose (mkl_?omatcopy).
- Cleanup.
2025-01-20 16:11:19 +01:00
Max Graml
8d6c72d63a adjust recommendation for GW flavor 2025-01-20 14:15:33 +01:00
Max Graml
95aecd4ddd clarify print of spectrum files 2025-01-20 14:15:33 +01:00
Ole Schütt
66f2d5c54d CMake: Remove support for QUIP and PEXSI 2025-01-19 09:33:31 +01:00
Ole Schütt
baa690dd42 Toolchain: Remove PEXSI, SuperLU, and PT-Scotch 2025-01-19 09:33:31 +01:00
Ole Schütt
500af847bd Toolchain: Remove QUIP 2025-01-19 09:33:31 +01:00
Ole Schütt
3a13a223a2 Docker: Migrate psmp test to CMake 2025-01-18 12:34:20 +01:00
Hans Pabst
35604309a7
more explicit upper triangular form (#3859)
- Use invmat_symm if complete matrix desired.
- Renamed upper_to_full to uplo_to_full.
- Call invmat_symm instead of POTRx.
- Removed own_cfm_upper_to_full.
2025-01-18 10:33:41 +01:00
Rocco Meli
66f0e5ff5d fix libtorch 2025-01-17 20:43:47 +01:00
Rocco Meli
343e2d28e9
Enable COSMA, ELPA, libVORI, PLUMED, SIRIUS, SPLA in CMake + Spack CI build 2025-01-17 16:44:50 +01:00
Rocco Meli
3cfc7bce31 libxsmm 2025-01-17 11:37:48 +01:00
Ole Schütt
f8b3abcd3a Rewrite qs_ot_generate_rotation to only use real matrices 2025-01-10 21:44:46 +01:00
Max Graml
2680d926fb
TDDFPT: add exciton descriptors 2025-01-10 18:40:42 +01:00
Matthias Krack
9795558a79 Update Darwin arch files (SMEAGOL and TREXIO added) 2025-01-10 00:00:54 +01:00
Matthias Krack
b3efc8aaeb Do not enforce usage of internal libs for OpenMPI build 2025-01-10 00:00:54 +01:00
Hans Pabst
b7c9503b2e
Removed LAPACK interface module (#3858)
- LAPACK was used implicitly all over the project.
- LAPACK module was incomplete/inconsistent.
2025-01-09 15:31:06 +01:00
Matthias Krack
2539e89d65 Change lib64 to lib as follow-up to PR #3854 2025-01-09 14:08:15 +01:00
Frederick Stein
a5e681d67f Specify the requirement to setup the HF section
This lead to a lot of misconfigured input files and requests in the Google user group.
2025-01-09 12:42:01 +01:00
Matthias Krack
b66934358f Fix build of libsmeagol with OpenMPI 2025-01-09 11:42:06 +01:00
Hans Pabst
62a5b3321f
dbm: improved dbm_shard_copy (#3851)
- Keep allocation if sufficient.
- Only allocate used size.
2025-01-09 11:33:35 +01:00
Hans Pabst
ae01fd841c
dbm: adjusted some OpenMP clauses (#3853) 2025-01-09 11:33:08 +01:00
Hans Pabst
4f2a5d5bd8
dbm: params to literals, miniapp command line, minor changes (#3852)
- Changed hyperparams into literal constants (let compiler hard-code).
- Let miniapp parse, e.g., dbm_miniapp.x 4x4x4 128x4096x128.
- Avoid warning about unused function (hash).
- Improved Makefile.
2025-01-09 11:32:48 +01:00
dependabot[bot]
f31b040bfd Bump jinja2 from 3.1.4 to 3.1.5 in /tools/precommit
Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.4 to 3.1.5.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/jinja/compare/3.1.4...3.1.5)

---
updated-dependencies:
- dependency-name: jinja2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-08 22:44:12 +01:00
Ole Schütt
1e46fa001c PAO-ML: Stabilize test and add TZV2P basis set 2025-01-08 22:43:56 +01:00
Ole Schütt
60e7a04d14 PAO-ML: Reduce default of MAX_CYCLES from 1000 to 75 2025-01-08 22:43:56 +01:00
Ole Schütt
31acbd8641 Docs: Add more acronyms and empty k-point page 2025-01-08 22:43:56 +01:00
Matthias Krack
285f2b439c Pretty 2025-01-08 19:14:12 +01:00
Matthias Krack
cf76ffd91e Update INSTALL.md 2025-01-08 19:14:12 +01:00
Ole Schütt
2dcd22f48d Rename dbcsrx/dbcsr_vector.F -> arnoldi/arnoldi_vector.F 2025-01-08 10:00:18 +01:00
Ole Schütt
d85b45b15d Remove support for complex matrices from dbcsr_vector.F 2025-01-08 10:00:18 +01:00
Ole Schütt
e48e465b0c Arnoldi: Remove support for complex input matrices 2025-01-08 10:00:18 +01:00
Ole Schütt
c93f26b829 RTP: Rewrite taylor_full_complex_dbcsr to only use real matrices 2025-01-08 10:00:18 +01:00
Max Graml
e271e86bc0 adjust links for gw examples in manual 2025-01-08 10:00:05 +01:00
Matthias Krack
a824f0edd8 Test libsmeagol only with Intel and GCC 14 2025-01-08 09:57:38 +01:00
Matthias Krack
8f08fd8639 Integrate libsmeagol into regression testing 2025-01-08 09:57:38 +01:00
Ole Schütt
9f0ae1801a PAO-ML: Add scripts for training an equivariant model 2025-01-07 23:16:10 +01:00
Matthias Krack
1db0fd39e7 Fix variable name 2025-01-07 13:15:31 +01:00
Matthias Krack
807c21bb13 Add trexio to sourceable GNU arch files 2025-01-07 11:37:29 +01:00
Matthias Krack
a8a06764e0 Ignore memory leak in MPICH 4.2.3 (MPL_malloc) 2025-01-07 00:09:24 +01:00
Matthias Krack
532597cfc8 MPICH 4.0.3 -> 4.2.3 2025-01-07 00:09:24 +01:00
Ole Schütt
a24d8aca4a Increase development version after 2025.1 release 2025-01-01 22:10:16 +01:00
Matthias Krack
9635df4be6 Update arch files 2025-01-01 13:14:40 +01:00
Rui Chen
c45b482fc3
build: patch to support libxc 7 2025-01-01 13:13:22 +01:00
Ole Schütt
fc6cf0ff43 update to 2025 2025-01-01 12:19:24 +01:00
Ole Schütt
c7c47bff05 Fix conventions for smeared occupation TDA 2024-12-29 20:18:18 +01:00
JWilhelm
b423649598 KPOINTS_W keyword for specifying k-point mesh of W 2024-12-29 20:00:21 +01:00
JWilhelm
baccfaddc5 Keyword SIZE_LATTICE_SUM in GW to control accuracy of computing V_PQ(k) 2024-12-29 20:00:21 +01:00
Matthias Krack
610ba735f2 Pretty 2024-12-29 18:42:57 +01:00
Matthias Krack
0d129a2bb0 Intermediate patch for SIRIUS 7.6.1 and Libxc >=7
until a new SIRIUS release is available
2024-12-29 18:42:57 +01:00
Matthias Krack
b5a03abc68 Fix PR #3811 2024-12-29 18:42:57 +01:00
Matthias Krack
95b4d8c5bc Libxc 6.2.2 -> 7.0.0 2024-12-29 18:42:57 +01:00
Ole Schütt
8535040288 Docs: Fix diagram in methods/dft/gpw.md 2024-12-28 14:05:07 +01:00
Anna Hehn
98d1ad6943 Smeared occupation TDA 2024-12-28 14:03:05 +01:00
Ole Schütt
69d170a4d3 Tests: Stabilize QS/regtest-gpw-8/si8_broy_wc*.inp 2024-12-22 22:24:15 +01:00
Ole Schütt
89661f4edb Docs: Reorganize getting started section 2024-12-22 19:00:37 +01:00
Ole Schütt
6bedeaf8d3 Docs: Migrate acronyms from wiki 2024-12-22 16:05:56 +01:00
Ole Schütt
0d1a5dbab7 Docs: Add syntax cheat sheet 2024-12-21 17:25:14 +01:00
Ole Schütt
02861f8d08 Docs: Intro text and flowchart to GPW page 2024-12-21 17:25:14 +01:00
Ole Schütt
6c31c9b585 Docs: Enable Mermaid extension for inline diagrams 2024-12-21 17:25:14 +01:00
BelizSertcan
2fce0f84df
xTB| Molecule tests for gfn0-xtb (#3822) 2024-12-20 15:52:38 +01:00
BelizSertcan
973f3ddaeb
TDDFPT| Davidson restart bug fix (#3821) 2024-12-20 14:30:59 +01:00
Ole Schütt
308a163a4a Docs: Also look for keyword mentions in other subdirs 2024-12-20 13:50:23 +01:00
Ole Schütt
77f400e153 Docker: Set timeout and trigger_path for spack test 2024-12-20 13:50:23 +01:00
Rocco Meli
5763cb8a56
DLA-Future Documentation
Co-authored-by: Mikael Simberg <mikael.simberg@iki.fi>
2024-12-20 11:59:26 +01:00
marcella
971aa1ddec
Weighting of RSMD colvar is modified for the case of subsystem = list (#3818) 2024-12-18 10:52:51 +01:00
Ole Schütt
e79617a2f8 Docker: Rename test_cmake to test_spack and run it weekly 2024-12-17 17:36:32 +01:00
Max Graml
060d945bd9 Adjust tolerance for test of BSE spectrum 2024-12-17 17:34:57 +01:00
Rocco Meli
8512fd5998
DLA-Future complex eigensolvers 2024-12-17 15:09:03 +01:00
Max Graml
5b22e8b240
BSE: Minor changes for spectra
- add computation and printing of photoabsorption cross section
- improve handling of BSE calculations where PERIODIC XYZ is invoked
2024-12-17 10:53:13 +01:00
Ole Schütt
d59d53cc66 precommit: Touch up DOI check 2024-12-15 13:47:38 +01:00
Matthias Krack
3fc5a78568 Fix SIRIUS build flags 2024-12-15 12:02:24 +01:00
Matthias Krack
1b0ef63ba5 OpenMPI 5.0.5 -> 5.0.6
MPIRUN -> MPIEXEC
2024-12-13 19:08:01 +01:00
Matthias Krack
e032d7223b ELPA 2024.03.001 -> 2024.05.001 2024-12-13 16:32:55 +01:00
Matthias Krack
a5f0c651b9 Spglib 2.3.1 -> 2.5.0 2024-12-13 14:59:15 +01:00
Matthias Krack
aca85da0cf CMake 3.30.0 -> 3.31.2 2024-12-13 14:59:15 +01:00
Matthias Krack
bb5c3e566f Drop redundant test folder name part 2024-12-12 15:49:03 +01:00
Rocco Meli
f9afafb9f2 update spack with dbcsr@2.8.0 2024-12-12 09:31:28 +01:00
Alfio Lazzaro
5911e7763f Update DBCSR 2024-12-11 13:44:25 +01:00
Johann Pototschnig
3250c911c6 removing experimental remark 2024-12-11 12:04:21 +01:00
Hans Pabst
34bd5bc261
Adjusted tolerance (#3803)
- Accounts for e7c81ba and 4939a67 (Dashboard/ssmp/gcc8).
2024-12-11 09:16:16 +01:00
Hans Pabst
4939a6737d
Further adjusted block size for FM matrices to be multiple of VLEN (#3801)
- Attempts to delivers https://github.com/cp2k/cp2k/pull/3795#issuecomment-2520377292
2024-12-10 15:50:45 +01:00
Hans Pabst
e7c81ba798
Adjusted handling block size for FM matrices (#3795) 2024-12-10 11:41:06 +01:00
Rocco Meli
dbaa6fc110
Add DLA-Future generalized eigensolver 2024-12-07 00:00:15 +01:00
Rocco Meli
a6c906dfb6
Fix links in CMake documentation 2024-12-06 16:21:47 +01:00
Stefano Battaglia
864413728c
Add TREXIO support 2024-12-06 12:26:02 +01:00
Juerg Hutter
8960cd3cd7
ADMM initialization only if HFX present (GS or RPA) (#3797) 2024-12-06 12:20:16 +01:00
Max Graml
15f7139ffc
BSE: Add more options for setup of Casida equation 2024-12-06 11:52:36 +01:00
Jiří Vyskočil
1018edadf9 Use cusolverMpSygvd for generalized eigensolver 2024-12-06 11:51:56 +01:00
Hans Pabst
e5c64e915b
Provide statement for every case (#3796)
- Fixes #3794
2024-12-06 09:17:51 +01:00
Hans Pabst
8cf6880930
Introduced m_cpuid_vlen (#3794)
* Show more relevant hint about missed optimization opportunity.
* Allow PURE m_cpuid_name and avoid relying on SAVE.
* Allow OPTIONAL arguments for convenience.
* Specified INTENT for several arguments.
2024-12-04 14:20:03 +01:00
Juerg Hutter
2de90c3493
EHT initial guess (#3790) 2024-12-03 11:43:06 +01:00
Harald Forbert
d1f8d1bf2c print warnings with certain settings of NNP symmetry function centering and scaling 2024-11-28 15:06:24 +01:00
Hans Pabst
7f23908548
ELPA: avoid multiple initializations (#3786)
- Note: potentially ensuring the original "active device" is down to the library (ELPA),
        and CP2K is only responsible for toggling the active device for its own code.
        This note refers to a potential side-effect of (re-)initializing ELPA.
- Avoid potentially high cost of initialization (context creation, etc.)
- Initialization SAVE state does not require atomics (expected to be called from master).
- Harmonized CFM and FM interfaces.
- Code/format cleanup.
2024-11-25 11:25:06 +01:00
Hans Pabst
9dfcaf3174
OMP/TRACE: fixed compilation warnings (#3785)
- Adjust trace level if assertions are requested but NDEBUG is defined.
- Avoid warnings about casting away qualifier (-Wcast-qual).
2024-11-25 09:11:54 +01:00
Hans Pabst
262480dea4
OMP/TRACE: support more comprehensive set of issues (#3784)
- Print issues with in categories: error, warn, info messages.
- Trace additional events and sources of deadlocks and other issues.
- Allow compilation with GNU even if "omp-tools.h" is not present.
- Allow singular translation units under BSD-3 license.
- Print more accurate location of warning.
2024-11-21 14:23:24 +01:00
Max Graml
0d90583400
BSE: fix conventions (#3783) 2024-11-21 11:01:23 +01:00
Max Graml
4dc10b3491
BSE: new features and update manual (#3781) 2024-11-20 16:34:36 +01:00
Ole Schütt
52af7ed493 Adjust tolerance of BSE_H2O_PBE_evGW.inp 2024-11-20 00:55:32 -08:00
Ole Schütt
6062492288 Docker: Fix i-PI test 2024-11-20 00:55:32 -08:00
Johann Potot.
7b9fbda797
CMake: Add support for cuSOLVERMp 2024-11-19 12:04:50 +01:00
Zbigniew Jędrzejewski-Szmek
52376581b9 Avoid unnecessary temporary list in one more place 2024-11-18 09:51:01 -08:00
Zbigniew Jędrzejewski-Szmek
8cf15a2275 Sort items returned from various collect_*_deps functions
I don't think will cause any observable change in the end result, but
in general it's nicer if stable ordering is used. At least, the print
output will not change randomly between invocations.
2024-11-18 09:51:01 -08:00
Zbigniew Jędrzejewski-Szmek
dcb4acb79a Sort items in code generated using fypp
When doing package builds, the result would be not reproducible, with
differences in a few files following the same pattern:

   MODULE list_callstackentry
  -   USE timings_base_type, ONLY: callstack_entry_type, routine_stat_type, routine_report_type
  +   USE timings_base_type, ONLY: routine_stat_type, callstack_entry_type, routine_report_type

It seems that this comes from the use of a Python set to deduplicate items. The
order of items in a set is not stable, it is based on the hashes, which are
seeded randomly for each invocation of Python.

While at it, do not create an unnecessary list and do not use '_' as a variable
name. ('_' is used when the value is supposed to be ignored.)
2024-11-18 09:51:01 -08:00
Cristian Le
16069d6911
Fix fedora builds 2024-11-18 11:40:33 +01:00
Juerg Hutter
d41ea5a552
Harris and EHT methods: enable LS solver (#3780) 2024-11-15 14:32:17 +01:00
Matthias Krack
f0c9f40c45 Improve keyword description 2024-11-14 20:42:01 +01:00
Matthias Krack
adc8c54499 Add suppression for slow test 2024-11-14 16:09:18 +01:00
Matthias Krack
ac413087ac Adjust tolerance 2024-11-14 16:09:18 +01:00
Matthias Krack
db61e8c41f Tag printout of the forces
- Make bar the default pressure unit like for the MD trajectory file
- Update regression test inputs (reference values and search strings)
2024-11-14 16:09:18 +01:00
Hans Pabst
80749d431d
OMP/TRACE: improved openmp_trace_symbol (#3776) 2024-11-13 15:45:47 +01:00
Juerg Hutter
7db7d0e80e
Tighten thresholds for 2 LS regtests, reorder Test dirs (#3774) 2024-11-13 12:05:01 +01:00
Matthias Krack
097ac98af0 Allow to specify the physical unit for energy and stress
This affects only the output quantities tagged with ENERGY| and STRESS|.
2024-11-12 17:48:57 +01:00
Hans Pabst
e8c0fe6317
OMP/TRACE: trace-level/verbosity and code location (#3773)
CP2K_OMP_TRACE=1: assert errors at the place/location of the issue (nice debug experience)
CP2K_OMP_TRACE=2: print error issues (printing the code location needs debug symbols)
CP2K_OMP_TRACE=3: print warnings or info messages (when CP2K terminates)

Printing instead of asserting issues (errors, warnings, info) benefits from debug symbols. A negative value of CP2K_OMP_TRACE represents maximum verbosity.
2024-11-12 14:19:56 +01:00
Matthias Krack
66f9993b8f Allow to specify the physical unit for the printout of the forces 2024-11-12 09:52:33 +01:00
Hans Pabst
763613da55
OMPT: trace OpenMP constructs and check for issues (#3766) 2024-11-09 22:16:00 +01:00
Juerg Hutter
9d12e2079d
Coding conventions and improve stability of one regtest (#3769) 2024-11-09 19:04:25 +01:00
Juerg Hutter
8e5fe4401f
gfn0-xTB and parallel DFT-D4 (#3765) 2024-11-08 17:48:34 +01:00
Mathieu Taillefumier
b5a5e3a0a2 [cmake] fix Mi300 architecture number. Minor cleanup 2024-11-07 20:49:56 +01:00
Hans Pabst
4d95af2b47
ocl: removed two variants of the DBM kernel and cleanup (#3761) 2024-11-07 12:58:05 +01:00
Matthias Krack
48cc69b9ac Get AiiDA tests working again (except one test) 2024-11-06 19:29:42 +01:00
Ole Schütt
c75b9cced4 Docker: Make AiiDA test less broken 2024-11-06 00:13:02 +01:00
Matthias Krack
f3e2b45219 Adapt tolerance 2024-11-05 18:24:22 +01:00
Matthias Krack
27a2d10681 Use default Hessian restart file name if no name is specified 2024-11-05 17:07:36 +01:00
Matthias Krack
7a48e47ee1 Strip leading and trailing blanks from file names 2024-11-05 17:07:36 +01:00
Matthias Krack
0063a5719e Added error handling for zero-length file names 2024-11-05 17:07:36 +01:00
Matthias Krack
af28e69c13 Minor fixes and improvements 2024-11-03 21:10:32 +01:00
Hsiaoyi Tsai
f856083875 Update tool_kit.sh
Avoid using sha256sum in Darwin
2024-10-31 09:18:30 +01:00
Hans Pabst
4577a27308
Fixed CPVERSION_CHECK and improved CPWARN (#3755)
- CPVERSION_CHECK checks if MAJOR_TEST is defined (fixes #3750).
- Introduced CPWARN_IF (conditional CPWARN).
- Message/format cleanup.
2024-10-30 20:40:33 +01:00
Matthias Krack
bbd302a35c Enable libxsmm with AMD again after #3750 2024-10-29 08:58:22 +01:00
Hans Pabst
828670e717
Revised CPVERSION_CHECK and related checks (#3750)
- Ban using "defined" as part of a macro's definition
- Updated __INTEL_LLVM_COMPILER workarounds
- One more workaround (workshare)
2024-10-28 15:22:59 +01:00
Ole Schütt
e1ffbe3808 PAO: Do not freeze model to avoid torch memory leaks 2024-10-27 00:20:17 +02:00
Ole Schütt
b15be8432e Adjust tolerance of QS/regtest-pao-5/2H2O_equivar_ML.inp 2024-10-27 00:20:17 +02:00
Ole Schütt
4f5992df3b Speedup SIRIUS/regtest-1/Fe-upf.inp 2024-10-27 00:20:17 +02:00
Ole Schütt
e47f988d92 Speedup SE/regtest-2-2/c2h5cl.inp 2024-10-27 00:20:17 +02:00
dependabot[bot]
51f814e99b Bump werkzeug from 3.0.3 to 3.0.6 in /tools/precommit
Bumps [werkzeug](https://github.com/pallets/werkzeug) from 3.0.3 to 3.0.6.
- [Release notes](https://github.com/pallets/werkzeug/releases)
- [Changelog](https://github.com/pallets/werkzeug/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/werkzeug/compare/3.0.3...3.0.6)

---
updated-dependencies:
- dependency-name: werkzeug
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-26 09:58:38 +02:00
s.seidenath
8587bbbc7d i-Pi: Added initialization step 2024-10-25 15:49:05 +02:00
Frederick Stein
ffaae80b08 Add missing test directory 2024-10-25 13:08:15 +02:00
Frederick Stein
6876bc064d Fix GCC8 2024-10-25 13:08:15 +02:00
Ole Schütt
96bba077b1 PAO: Add prediction from equivariant PyTorch models 2024-10-23 15:18:47 +02:00
Hans Pabst
a64ca7d1f0 Simplified calling dbcsr_init_lib
- Rely on POINTER to optionally initialize accdrv_active_device_id
- Reduces Lines of Code (LOC)
- Complements #3730
2024-10-23 09:52:47 +02:00
Frederick Stein
e682d7672a
Fix pw_derive with the Intel compilers (#3736) 2024-10-23 09:12:00 +02:00
Matthias Krack
7a99649828 Fix issue with access to unallocated arrays
This fixes segmentation faults introduced by PR #3548 which were detected by the AMD AOCC compiler 5.0.0.
Keeping the POINTER attribute is required for checking the association status of the optional argument charges.
2024-10-22 11:15:52 +02:00
Christian S. Ahart
a1c7dd2a71
CP2K+SMEAGOL interface for electron transport with non-equilibrium Green’s functions
Co-authored-by: Sergey Chulkov <schulkov@lincoln.ac.uk>
Co-authored-by: Clotilde Cucinotta <c.cucinotta@imperial.ac.uk>
2024-10-21 11:05:08 +02:00
Hans Pabst
8e29cc6b26 Fixed #3730 2024-10-18 22:59:47 +02:00
Hans Pabst
79ef87ad3e
Refactor startup code (#3730)
- Initialization was updated to cover a consistent set in every place where components are initialized
- Order of initialization/finalization was updated to be consistent in every place
- Farming is not embraced anymore by finalization and initialization
- Main reason for weird farming setup was to set io_unit in DBCSR
- DBCSR supports updating io_unit without tear-down/init cycle
- Initialization/finalization is aimed to be sole business of F77 interface
- F77 interface is also used to setup CP2K PROGRAM hence no need to do init/fini in cp2k_run
- F77 interface updated to more complete set of components, e.g., covering FPGA, DBM, ...
- Sirius is now initialized/finalized unconditionally (less convoluted)
2024-10-18 15:13:15 +02:00
Hans Pabst
850d7cba91 FFT_TOOLS: thread-safety insurance (CPASSERT) and OMP ATOMIC 2024-10-17 13:36:10 +02:00
Matthias Krack
2d040a62c4 Exclude libxsmm from AMD build 2024-10-16 20:05:17 +02:00
Matthias Krack
f279ae7260 Drop unused cmake option 2024-10-16 20:05:17 +02:00
Hans Pabst
57e7aef695 Convention: declare type with initializer 2024-10-16 17:38:05 +02:00
Matthias Krack
b12f6b3000
Add toolchain flag --with-amd to facilitate builds with the AMD AOCC … (#3725) 2024-10-16 14:48:04 +02:00
Juerg Hutter
69e24ce58a
Framework to calculate response forces for external energy expressions based on KS orbitals (#3721) 2024-10-14 09:33:58 +02:00
Susi Lehtola
6025bbe461 CMake should not check for libxcf90 since only libxcf03 is used. 2024-10-13 13:39:44 +02:00
Stepan Marek
2e877d3805
RTBSE : Documentation update
Expanded on some concepts in the documentation and added snippets of example output.
Also harmonized the contents with the review paper which is in preparation.
2024-10-11 10:59:44 +02:00
Matthias Krack
1dd1ffe373
Fix the installation dependencies for the pugixml library (#3693) (#3719) 2024-10-10 15:39:27 +02:00
chrisahart
6c34c1ccd7 hw_rho_total from cdft_group_type to cdft_control_type 2024-10-10 11:44:05 +00:00
chrisahart
ae45d9a720 Fixed CDFT force bug 2024-10-10 11:44:05 +00:00
Ole Schütt
6733ffbc94 Torch: Use ALLOCATABLEs to prevent passing a temporary array 2024-10-10 00:30:05 +02:00
Matthias Krack
cf6a4d8d01
Update arch files (#3714) 2024-10-09 17:44:40 +02:00
Hans Pabst
a1e2d35068 Use libxsmm_diff to implement array_eq_i
- Removed duplicated array_eq_i.
- Make use of libxsmm_diff.
2024-10-09 10:54:53 +02:00
Mathieu Taillefumier
5a317459de Tweak one input file to speedup calculations 2024-10-09 09:46:54 +02:00
Mathieu Taillefumier
f2d0c1e843 Fogot to include the machine module for m_flush 2024-10-09 09:46:54 +02:00
Mathieu Taillefumier
1d9ce6d55f Add output when SIRIUS is not converging 2024-10-09 09:46:54 +02:00
Stepan Marek
e4e3efeb85
Speed up tests/QS/regtest-rtbse/h2_ft.inp 2024-10-07 13:04:45 +02:00
Ole Schütt
724036aab4 Add regtest-ps-implicit-1-3 tests to SLOW_TESTS_SUPPRESSIONS 2024-10-06 16:46:23 +02:00
Ole Schütt
c9125f351f Speedup tests in QS/regtest-kp-hfx-ri-admm-2 2024-10-06 16:46:23 +02:00
Hans Pabst
459cfc33f0 DBM: fixed potential overflow in FLOPS calculation 2024-10-02 17:45:23 +02:00
Ole Schütt
8f7c1fd443 grid: Add asserts after malloc and realloc 2024-10-02 16:39:48 +02:00
Ole Schütt
c52757e9bc DBM: Add asserts after malloc and realloc 2024-10-02 16:39:48 +02:00
Ole Schütt
0dde330091 Add H2O-pbe0-stress-truncated.inp and hBN_gapw_ovlp.inp to SLOW_TESTS_SUPPRESSIONS 2024-09-29 23:32:02 +02:00
Ole Schütt
29cdb540b6 Tests: Use average duration as criterion for slow tests 2024-09-29 23:32:02 +02:00
Ole Schütt
4750679e77 Tests: Re-run tests concurrently 2024-09-29 16:26:49 +02:00
Hans Pabst
63804e02b9 Introduced CPVERSION_CHECK macro
- Adjusted uses of plain CPVERSION accordingly.
- Introduced FTN_NO_DEFAULT_INIT workaround.
2024-09-27 20:25:53 +02:00
Ole Schütt
ae65212c16 Tests: Fix bug in rerun/suppression logic 2024-09-27 19:27:30 +02:00
Matthias Krack
7fff33a13e Add check for OpenMPI 5 (fix for #3700) 2024-09-27 13:31:17 +02:00
Stepan Marek
d205b35782
RTBSE : Fixing dashboard issues from #3691 (#3698)
Co-authored-by: Štěpán Marek <stepan.marek@physik.uni-regensburg.de>
2024-09-26 15:51:16 +02:00
Raviraj26
a4477e416d
RPA based SIGMA Functionals (#3695)
Co-authored-by: Raviraj Chandreshbhai Mandalia <mandal53@localhost.localdomain>
2024-09-26 11:15:54 +02:00
Hans Pabst
bce21c9c6e Fixed compilation error about unknown fpp directive 2024-09-25 19:45:16 +02:00
Stepan Marek
8db65d5a85
Real time Bethe-Salpeter Propagation (#3691)
Co-authored-by: Štěpán Marek <stepan.marek@physik.uni-regensburg.de>
Co-authored-by: Stepan Marek <di75qec@login01.sng.lrz.de>
2024-09-25 15:50:42 +02:00
Rangsiman Ketkaew
3de98e9692
EVERY_N_STEP keyword for linear response calculations (#3692) 2024-09-24 18:17:56 +02:00
Rangsiman Ketkaew
3f890bbe40
Add Z-matrix formalism for linear response (#3689) 2024-09-23 15:53:39 +02:00
Hossam Elgabarty
3206ad1121
Bugfix print of Wannier states in AO basis 2024-09-22 11:30:53 +02:00
Juerg Hutter
7f5066abe6
Bug fix for D4 code (definition of atomic type) (#3685) 2024-09-20 18:07:54 +02:00
Matthias Krack
46309a9f2e Enable libxsmm with Darwin (see #3678) 2024-09-20 16:33:25 +02:00
Hossam Elgabarty
c1b10bd652
Print wannier states coefficients in AO basis
* Print Wannier states in AO basis when input section
  "FORCE_EVAL/DFT/LOCALIZE/PRINT/WANNIER_STATES" is used

* Modify behaviour of the above input section so that it is not ignored
  when input section " ... /PRINT/WANNIER_CENTERS" is missing
2024-09-20 11:42:34 +02:00
Hans Pabst
47e307d9bd Updated LIBXSMM 2024-09-19 20:24:43 +02:00
Juerg Hutter
4079a9e57b
D4 dispersion, towards tighter integration with CP2K (#3679) 2024-09-18 17:49:35 +02:00
Hans Pabst
1d3bc6caac Updated LIBXSMM 2024-09-18 15:52:23 +02:00
Matthias Krack
3481aeb493 Update Darwin arch files for Sequoia 15.0
- Use ninja from system
- Disable libxsmm again
2024-09-18 09:37:53 +02:00
Hans Pabst
34ae921247
LIBXSMM: enabled for Darwin (#3677) 2024-09-13 15:59:40 +02:00
Hans Pabst
538a8dc7a9
LIBXSMM: keep compatibility with v1.17 (#3676) 2024-09-13 09:31:43 +02:00
Matthias Krack
060abc107e Update PLUMED 2.9.0 -> 2.9.2 2024-09-12 16:02:36 +02:00
Matthias Krack
5646387d49 Update arch files for the new SIRIUS release 7.6.x
- Add pugixml library
- Add sirius_cxx library
- Define "lib" as library installation folder name for SIRIUS, i.e. suppress "lib64"
2024-09-12 14:23:41 +02:00
Mathieu Taillefumier
4ad5d57dd5 make pretty 2024-09-12 09:42:32 +02:00
Mathieu Taillefumier
ac9af753cb Update sirius version 2024-09-12 09:42:32 +02:00
Mathieu Taillefumier
2ec2c34573 Fix include directory 2024-09-12 09:42:32 +02:00
Mathieu Taillefumier
2f9c4be548 fix typo 2024-09-12 09:42:32 +02:00
Mathieu Taillefumier
82e132cdce [toolchain] yet another fix 2024-09-12 09:42:32 +02:00
Mathieu Taillefumier
c3940dcaeb [toolchain] fixes 2024-09-12 09:42:32 +02:00
Mathieu Taillefumier
eee1fbd3fb [SIRIUS] Fixes for the toolchain 2024-09-12 09:42:32 +02:00
Mathieu Taillefumier
66b22d5e26 [regtests] Updated sirius full potential test 2024-09-12 09:42:32 +02:00
Mathieu Taillefumier
5d31f14fc4 [ SIRIUS ] Update to the latest version.
- SIRIUS supports UPF v2 files now
- various fixes for U+V corrections
2024-09-12 09:42:32 +02:00
Matthias Krack
49155af975 Fix Makefile test* targets after PR #3640
Do not write the TEST-* folders to cp2k/exe/<arch>/ but to cp2k/regtesting as before
2024-09-12 09:26:55 +02:00
Matthias Krack
a81cd68ee7 Update GSL 2.7 -> 2.8 2024-09-11 15:17:52 +02:00
Juerg Hutter
e8dbeb2e75
Refactoring of vdW pairpotential code. (#3671) 2024-09-10 16:41:43 +02:00
Juerg Hutter
c0268dfdea
adjust regtest accuracy (#3670) 2024-09-10 09:34:09 +02:00
Ole Schütt
162f36eed0 Increase development version after 2024.3 release 2024-09-09 15:56:33 +02:00
Juerg Hutter
f2bc97ddae
Harris Method (#3665) 2024-09-09 09:57:35 +02:00
Matthias Krack
17fb60b92f Relocate lines for package version dump 2024-09-06 23:55:23 +02:00
Matthias Krack
37134913ee Retrieve package version from toolchain in arch files 2024-09-06 23:55:23 +02:00
Matthias Krack
17304ca28d Add missing libxsmmext in arch files 2024-09-06 15:36:43 +02:00
Matthias Krack
7865ff1809 Update arch files for new libxsmm version 2024-09-06 14:14:13 +02:00
Juerg Hutter
8ede055bca
Re-init FFT scratch in case of PW env changes. (#3661) 2024-09-06 14:03:50 +02:00
Hans Pabst
352d1c2474
Updated LIBXSMM (#3577) 2024-09-06 12:37:22 +02:00
Hans Pabst
199bfff015 Fixed OpenBLAS fallback installation 2024-09-06 09:30:41 +02:00
Max Graml
4a0d29ae68
BSE: Fix Oscillator strengths for ABBA matrix and add deexcitations in output (#3659) 2024-09-06 09:00:06 +02:00
Hans Pabst
80f78ddbd3 Accommodate toolchain for Alps
* OpenBLAS
  - Alps CPU is correctly detected as NeoverseV2 which is suddenly not in the TargetList of OpenBLAS
  - This is despite OpenBLAS itself detecting a NeoverseV2 CPU (reported in LIBCORE statement).
  - Building and installing OpenBLAS is now more robust relying more on DYNAMIC_ARCH feature.
  - On ARM in particular, "generic" was hard-coded as TARGET=NEHALEM.
  - The USE_THREAD setting is not necessary for CP2K (PThread flavor).
* MPICH/2
  - Apply --without-slurm as it otherwise is likely to meet an incompatible Slurm include file.
  - Resulted in compilation error on Alps-like self-hosted SuperMicro system (w/ Ubuntu LTS).
2024-09-04 12:44:38 +02:00
Matthias Krack
b8e0b09f7c GCC 14.1.0 -> 14.2.0 2024-08-30 15:59:55 +02:00
Johann Pototschnig
9c085283ef always printing test message 2024-08-29 10:59:27 +02:00
Johann Pototschnig
b98fa4f724 showing testing information 2024-08-29 10:59:27 +02:00
Ole Schütt
9b99305b54 Tests: Reorder TEST_DIRS to run slower dirs earlier 2024-08-22 22:48:50 +02:00
Matthias Krack
dc0740f0f0 Retire Intel 22.2 regression tester 2024-08-22 22:16:50 +02:00
Ole Schütt
2fc5bdf080 Docker: Fix ASE, i-Pi, and AiiDA tests 2024-08-22 21:49:47 +02:00
Matthias Krack
d747cf1f2a Drop "intel_classic" and introduce "with_ifx" instead 2024-08-22 16:29:22 +02:00
Matthias Krack
f1f17e3763 Update arch file 2024-08-22 16:29:22 +02:00
Juerg Hutter
b513455747
Calculate_wavefunction refactoring, fix dropped commit (#3643) 2024-08-22 10:36:56 +02:00
Ole Schütt
44379fe016 Tests: Adopt do_regtest.py for CMake builds 2024-08-21 22:42:27 +02:00
Ole Schütt
6eaca959c0 Docker: Upgrade to DBCSR 2.7.0 2024-08-21 13:14:18 +02:00
Juerg Hutter
be4bd8a435
Refactoring of calculate_wavefunction/collocate_function (#3636) 2024-08-21 12:15:49 +02:00
Johann Pototschnig
fb2f3b7b24 making tests less sensitive, because they are failing on a local cluster 2024-08-21 11:59:40 +02:00
Matthias Krack
cff56e9860 Use latest Intel HPC Toolkit version 2024-08-21 09:25:32 +02:00
André Nyberg Borrfors
95ccf9c4bd
Fix behavior of RTP/EMD restart file (#3637)
-   turn off any instantaneous perturbations which should only be applied once (deltakick)
-   disable APPLY_WFN_MIX_INIT_RESTART explicitly (doesnt change behavior since the restart file also updates INITIAL_WFN to RT_RESTART, but makes the file more clear).
-   update WFN_RESTART_FILE_NAME to be the .rtpwfn file generated by the previous RTP run.
2024-08-21 09:13:10 +02:00
Matthias Krack
68d95bacfe Delete outdated arch files 2024-08-16 16:18:10 +02:00
Hans Pabst
42d1e6b4da IFX: use __INTEL_LLVM_COMPILER instead of __MKL
* Note: it is common to use MKL even for non-Intel compiler
2024-08-16 15:02:23 +02:00
Matthias Krack
c709839e85
Fix issue #3631 (#3633) 2024-08-16 14:37:04 +02:00
Matthias Krack
8d4226dad8
Workarounds for the ICEs of the Intel ifx compiler (#3630) 2024-08-15 22:55:23 +02:00
Matthias Krack
5f2f4146c9
Update arch files and apply minor fix (#3629) 2024-08-14 15:55:03 +02:00
Max Graml
b1b0434454
BSE: Minor changes for optical spectra and BSE@evGW(0) (#3628) 2024-08-13 14:26:48 +02:00
Frederick Stein
ce58667492 Fix compilation of PEXSI if in use 2024-08-13 10:14:45 +02:00
Frederick Stein
537841399b Initialize DBCSR_related variables 2024-08-13 10:14:45 +02:00
Ole Schütt
f3901f63c6 Precommit: Exclude common cmake build dir 2024-08-12 16:11:23 +02:00
Ole Schütt
272f1e8a05 Dashboard: Add test for GCC 14 2024-08-12 15:20:28 +02:00
Ole Schütt
6ef57a97c0 Docker: Add test for GCC 14 2024-08-12 15:20:28 +02:00
Ole Schütt
28e608160b Docker: Run OpenMPI test with system GCC version 2024-08-12 15:20:28 +02:00
Matthias Krack
5f7769af9b
OpenBLAS 0.3.27 - 0.3.28 (#3623) 2024-08-12 13:56:32 +02:00
Johann Potot.
98eb17cd68
CMake: look for different scalapack names under linux 2024-08-12 12:42:57 +02:00
Frederick Stein
f630b010d5
Fix GCC14 (#3619) 2024-08-12 10:12:37 +02:00
Matthias Krack
18d2c0aaa5 Adapt tolerances 2024-08-12 09:59:50 +02:00
Juerg Hutter
7adf92c51d
Pretty (#3616) 2024-08-08 10:09:39 +02:00
Juerg Hutter
aeb36dafce
Remove explicit output unit (#3613) 2024-08-07 14:01:16 +02:00
Juerg Hutter
a4dd24759e
Remove explicit I/O Unit (#3612) 2024-08-07 10:49:55 +02:00
Ole Schütt
faa0fcc66c Increase development version after 2024.2 release 2024-08-06 16:45:10 +02:00
Juerg Hutter
729dda600b
kpoint (#3609) 2024-08-06 15:42:15 +02:00
Matthias Krack
615b0eb430 Retire CRAY-XC40 regression tester 2024-08-06 09:04:58 +02:00
Matthias Krack
8ee2c821e6 Update arch files 2024-08-06 00:42:37 +02:00
Matthias Krack
89c74ee636 Add -D__MPI_F08 flag 2024-08-05 15:12:42 +02:00
Matthias Krack
fdc09aa00a Update arch files (LIBGRPP 20231215 -> 20231225) 2024-08-04 23:46:33 +02:00
Ole Schütt
9a20f053d1 Move prettify into precommit folder and inline fprettify submodule 2024-08-04 12:45:16 +02:00
Ole Schütt
7f52ba2b1e Stabilize QS/regtest-dcdft-hfx/N2_t05.inp 2024-08-03 16:45:58 +02:00
Ole Schütt
d2e12b5470 Toolchain: Upgrade to Open MPI 5.0.5 2024-08-03 14:08:01 +02:00
Ole Schütt
c415b5ddc8 Mark support for QUIP and PEXSI as deprecated 2024-08-01 23:34:08 +02:00
Ole Schütt
5f3ae50cab Input: Add deprecation notices for sections 2024-08-01 23:34:08 +02:00
Max Graml
a18433023a
Add optical properties from BSE and improve cutoff handling 2024-08-01 17:20:12 +02:00
Jan Wilhelm
9e593d536b
Introduction on "Optical Spectroscopy"; clean comments in common/bibliography.F 2024-07-31 22:24:12 +02:00
Ole Schütt
08a39e73b5 Remove duplicate bibliography entries 2024-07-30 23:22:14 +02:00
Ole Schütt
39e8bf32a9 Remove month and day from bibliography 2024-07-30 23:22:14 +02:00
Ole Schütt
5b75e017cd Improve formatting of references in output file 2024-07-30 18:23:13 +02:00
Jan Wilhelm
b274508eba Abbreviate journal names, add missing pages, introduce small/large caps 2024-07-30 16:32:43 +02:00
Hans Pabst
0698928559 Updated libgrpp
* Supposedly includes thread-safety.
* CALL libgrpp_init().
2024-07-30 16:10:14 +02:00
Ole Schütt
5e5d546f60 Conventions: Fix false positives for allocatable char components 2024-07-30 14:00:51 +02:00
Ole Schütt
e85eed0387 Docs: Reformat authors to match APS citation style 2024-07-30 12:32:31 +02:00
Ole Schütt
5a1ba507b5 Docs: Fix malformatted authors 2024-07-30 12:32:31 +02:00
Ole Schütt
7457684155 Docs: Remove issue because it's not needed for APS-style citations 2024-07-30 11:21:49 +02:00
Jan Wilhelm
1b6f62e97f
improve convergence of GW bandstructure calculation & improve manual 2024-07-30 10:21:02 +02:00
Augustin Bussy
feaa26d2cd Added journal reference 2024-07-30 09:51:44 +02:00
Alfio Lazzaro
6260bb3e8f Update DBCSR 2024-07-29 17:24:00 +02:00
Juerg Hutter
e4b6ebc72d
Bug Fix: WANNIER_CUBES not printing #3584 (M. Coates) (#3585) 2024-07-29 16:32:07 +02:00
Hans Pabst
01bbc0c8bd dbm: fixed bug introduced some time ago
* The change was also inconsistent with calling dbm_dgemm.
2024-07-28 21:39:24 +02:00
Ole Schütt
96bff0e4cc Docs: Sprinkle in some recorded talks 2024-07-26 22:20:21 +02:00
Ole Schütt
fd62ec4009 Docs: Adopt Physical Review's citation style 2024-07-26 22:19:52 +02:00
Matthias Krack
91e7f8608d Update Alps/Eiger arch files 2024-07-26 16:46:21 +02:00
Matthias Krack
13b14fab7f
Merge redundant preprocessor flags __parallel and __SCALAPACK (#3579) 2024-07-26 13:41:55 +02:00
Augustin Bussy
91de2eb2a8 CMake fixes for PLUMED 2024-07-26 12:36:33 +02:00
Ole Schütt
c09f979aac Ensure every reference in bibliography.F has a source 2024-07-26 10:06:47 +02:00
Ole Schütt
b75c55e230 Replace ISI format in bibliography.F with plain Fortran 2024-07-26 10:06:47 +02:00
Matthias Krack
7a0d0c50df
Add -march compiler flag for CPUID recognition (#3570) 2024-07-26 07:46:47 +02:00
Ole Schütt
df1522a844 Docs: Switch links to cp2k-examples repository 2024-07-25 21:16:46 +02:00
Ole Schütt
988028fc7c Tests: Fix backwards compatibility of --mpiexec 2024-07-25 21:16:33 +02:00
Jan Wilhelm
0a07105a81
Docs: Update GW and GW+BSE howto 2024-07-25 16:35:45 +02:00
Frederick Stein
5bf6971258
Fix charge analysis in case of post-SCF methods (#3572)
The currently printed Mulliken and Hirshfeld charge analysis of post-SCF methods prints SCF-based charges. This PR fixes this behavior. See the CP2K Google forum for the bug report.
2024-07-25 16:20:18 +02:00
JWilhelm
4a68796e23 RI basis sets for MOLOPT basis sets for whole periodic table 2024-07-24 14:06:40 +02:00
Hans Pabst
28cdd9fdab Removed plan_mpi_omp from tools 2024-07-23 21:56:20 +02:00
Andre Borrfors
4e0d97480b wfn_mix fixed reverse_index key bug 2024-07-23 11:25:05 +02:00
Juerg Hutter
ca13a2bc0f
Fix typo Mn basis (Sanliang Ling) (#3567) 2024-07-23 10:00:38 +02:00
shadowzym
858397b686 Update install_openblas.sh
on the 'case ... esac' block, quotation marks should not be used if want to match different znver (znver2 / znver3)
2024-07-23 08:47:56 +02:00
Ole Schütt
6c3f55cdf6 Docs: Some minor touch ups 2024-07-22 10:01:13 +02:00
Matthias Krack
3d7ab457d1 Use internal hwloc and libevent to Build OpenMPI 2024-07-21 07:00:33 +02:00
Matthias Krack
ab58642e14 Update Darwin arch file 2024-07-21 07:00:33 +02:00
Ole Schütt
3aa77c817f Tests: Turn --mpiexec argument into a template 2024-07-19 16:44:27 +02:00
Matthias Krack
b8f1bc8f10 Minor improvements 2024-07-18 10:51:20 +02:00
Matthias Krack
83fefa0fea Add Intel arch file for Alps/Eiger cluster at CSCS 2024-07-18 09:05:26 +02:00
Matthias Krack
675fecbe8b Build ELPA always with OpenMP support 2024-07-18 09:05:26 +02:00
Matthias Krack
0a69f3c861 Apply fix whenever the tntel compiler is used 2024-07-18 09:05:26 +02:00
Matthias Krack
e6f36e8110 Adjust tolerances 2024-07-18 09:05:26 +02:00
Juerg Hutter
55a83f1f3a
Split input_cp2k_dft.F (#3554) 2024-07-17 14:01:21 +02:00
Matthias Krack
68ba995ea6 Add arch file for the Alps/Eiger cluster at CSCS
AMD (Zen 2) multi-core (mc) partition
2024-07-16 17:18:57 +02:00
Matthias Krack
f625c77ac7 Adjust tolerances (Zen 2) 2024-07-16 16:28:19 +02:00
Juerg Hutter
4aa16b4ca3
Remove some Pointer attributes (#3548) 2024-07-15 15:06:44 +02:00
Ole Schütt
b40b0702d2 Docs: Generate units.md from cp2k_input.xml 2024-07-13 22:53:17 +02:00
Ole Schütt
549678dcdd Docs: Move bibliography formatting logic to Python 2024-07-13 17:00:27 +02:00
Max Graml
aa4c4586da
Docs: Improve BSE methods section 2024-07-12 15:49:48 +02:00
Jan Wilhelm
cbf02b4f4e
simplified GW self-consistency input 2024-07-11 23:03:19 +02:00
Matthias Krack
9f0cd71ab6 Update Intel hpckit version 2024-07-11 22:49:11 +02:00
Andre Borrfors
da085fddd5 refactored wfn_mix inpit reference 2024-07-11 10:47:12 +02:00
Ole Schütt
c28027949b Docs: Add venv creation to README 2024-07-08 17:12:54 +02:00
Hans Pabst
6a627e7190 Fixed typo 2024-07-08 15:56:50 +02:00
Hans Pabst
f1a96aba08 Prefer -qopenmp rather than -fopenmp 2024-07-08 15:56:32 +02:00
Jan Wilhelm
f1d756efb4
Hedin shift for G0W0: gives similar results as evGW0 at much reduced computational cost 2024-07-07 18:26:20 +02:00
Ole Schütt
59807ca871 Tests: Re-run slow tests to avoid false positives 2024-07-07 16:42:26 +02:00
Matthias Krack
642a915181 Fix lib path 2024-07-06 11:47:42 +02:00
Matthias Krack
75327a12ef Fix lib path 2024-07-06 11:47:42 +02:00
Matthias Krack
0e46f50511 Try OpenMPI 4.1.6 -> 5.0.3 2024-07-05 17:45:37 +02:00
Matthias Krack
80ce0c545f CMake 3.29.5 -> 3.30.0 2024-07-05 12:23:31 +02:00
marcella
c9f1927411
improved documentation RTP with delta kick for spectra calculations (#3529) 2024-07-04 20:34:35 +02:00
marcella
b94eb8a185
EMD Documentation (#3528) 2024-07-04 16:54:41 +02:00
Matthias Krack
f8adc78728 Update arch files 2024-07-03 13:50:43 +02:00
Rocco Meli
9dcc6b6f27
Docs: Add page for getting started with CMake 2024-07-02 21:35:24 +02:00
Matthias Krack
a79ee96bcd Update arch file (Linux-intel) 2024-07-02 19:11:06 +02:00
Matthias Krack
4ee86ace40 Remove unrecognized variable 2024-07-02 19:11:06 +02:00
Matthias Krack
935cd7be1c Update arch file for statically linked CP2K binary 2024-07-02 16:08:01 +02:00
Matthias Krack
91f610dec5 Update arch file 2024-07-02 14:46:58 +02:00
Matthias Krack
b6e6fd85b4 Update arch file (daint-mc) 2024-07-02 13:43:54 +02:00
Matthias Krack
c583fa3a92 Retire daint-gpu (CRAY-XC50) regression tester 2024-07-02 13:43:54 +02:00
Ole Schütt
5b092d775b Docs: Use built-in xml-parser instead of lxml library 2024-07-01 20:53:43 +02:00
fbranunes
1a2ff8ad63
Docs: Updated tutorials on metadynamics and delta scf 2024-07-01 17:29:50 +02:00
Ole Schütt
0005770429 Docs: Fix special case for LDA_X functional 2024-07-01 15:56:29 +02:00
Ole Schütt
4eca575c91 Docs: Pin versions of python packages 2024-07-01 11:35:50 +02:00
Jan Wilhelm
ce58a42e59
computing SOC matrices with k-points with symmetry (fix) (#3513)
Co-authored-by: JWilhelm <jan.wilhelm@ur.de>
2024-07-01 10:19:50 +02:00
Matthias Krack
aaf81e18ef SpLA 1.6.0 -> 1.6.1 2024-06-30 17:03:22 +02:00
Matthias Krack
ae246d2954 SpFFT 1.0.6 -> 1.1.0 2024-06-30 15:35:07 +02:00
Matthias Krack
03dd5363c9 Update arch file (dftd4) 2024-06-30 07:16:00 +02:00
Matthias Krack
d90cae1787 Pretty 2024-06-29 01:03:57 +02:00
Matthias Krack
50b9b4eed9 Accelerate toolchain build for ninja and dftd4
- Add parallel flag
- Enable log file dump to screen on failure
2024-06-29 01:03:57 +02:00
Matthias Krack
866a03db65 Enable again OpenMP for the ELPA toolchain build using the Intel compiler
v2024.2 which seems to have fixed the issues with previous versions
2024-06-28 18:00:10 +02:00
Alfio Lazzaro
e85c93cda6 Update DBCSR 2024-06-28 15:08:29 +02:00
Frederick Stein
0c9345191b Tests: Adjust threshold 2024-06-28 13:45:31 +02:00
Frederick Stein
d47cfcfdae Add more exceptions to slow tests 2024-06-27 16:29:01 +02:00
Frederick Stein
9f2252800d Replace FFT library for a test to prevent fails on i386 2024-06-27 16:29:01 +02:00
Frederick Stein
8cc836e6a2 Add exception for huge output
This is necessary for Daint. This might be related to warnings.
2024-06-27 16:29:01 +02:00
Johann Potot
d2c729fa63
adding optional D4 support (#3501)
Co-authored-by: Johann Pototschnig <j.pototschnig@hzdr.de>
2024-06-27 16:09:28 +02:00
JWilhelm
1370f7d7c1 GW full k-points small cell: now also with perturbative SOC
(important for 2d TMDs where SOC can close bandgap by 0.3 eV)
2024-06-27 11:04:56 +01:00
Cristian Le
0eac0bce75 chore: Small maintenance of packit configuration
Signed-off-by: Cristian Le <cristian.le@mpsd.mpg.de>
2024-06-27 11:03:20 +01:00
Mathieu Taillefumier
2512beb442 [ toolchain ] Update Tiled-MM 2024-06-26 13:08:13 +02:00
Matthias Krack
058a9bbc5e Drop default "--bind-to none" flag for Intel 2024-06-25 18:09:26 +02:00
Matthias Krack
5d43bbffaf Move from Intel hpckit 2024.1.1 to 2024.2.0 2024-06-25 18:09:26 +02:00
Frederick Stein
a871511306 fftw3_lib: Enforce the correct length of Fortran Characters 2024-06-25 12:59:04 +02:00
Frederick Stein
a9c278e3b2 FFTW3_LIB: Convert aborts to warnings 2024-06-25 12:59:04 +02:00
Frederick Stein
001ac4ad96 Add a sporadically too slow tests to suppressions 2024-06-24 19:10:10 +02:00
Frederick Stein
b150c35a1b Attempt to fix Dashboard 2024-06-24 19:10:10 +02:00
Frederick Stein
557af287e4 Fix initialization of FFTW
This also fixes the import of wisdom files if they were created by CP2K.
2024-06-24 11:26:40 +02:00
Frederick Stein
933e21e4a2 Use 'CHARACTER(C_CHAR), DIMENSION(:), ALLOCATABLE' in favor of 'CHARACTER(:, C_CHAR), ALLOCATABLE' 2024-06-24 11:26:40 +02:00
Matthias Krack
44c900acc1 Update arch file 2024-06-23 13:49:35 +02:00
Frederick Stein
f86ddaf524
Grid: Initialize pointer (#3494) 2024-06-21 16:05:47 +02:00
Frederick Stein
26226abe09
FFTW: Fix import/export wisdom file (#3492)
This PR fixes the incorrect conversion between Fortran- and C-characters which leads to segfaults if CP2K attempts to import/export FFTW wisdom files (see #3491 ). Now, it works, if the wisdom file was created by FFTW3's fftw-wisdom.
2024-06-20 17:09:15 +02:00
Juerg Hutter
57fb22b494
Work on coding conventions, add some GOTO suppressions (#3489) 2024-06-18 22:55:40 +02:00
Juerg Hutter
14d6109598
Fix detailed energies and some small parallel bugs (#3486) 2024-06-18 16:13:51 +02:00
Matthias Krack
b95f8ede75 Add SIRIUS to Intel tester 2024-06-18 13:33:28 +02:00
Hans Pabst
1b343ffa1a dbt: deallocate local buffers 2024-06-18 12:33:13 +02:00
Frederick Stein
7dca6e979f
Fix conventions (#3485)
Fixes convention violations (except those from the lately introduced ones regarding k-point symmetries)
2024-06-18 11:37:41 +02:00
Juerg Hutter
17f893d634
Infrastructure for Kpoint symmetries (#3482) 2024-06-18 09:37:39 +02:00
Ole Schütt
a391c5a87d Docs: Add performance tips to README 2024-06-17 22:58:10 +02:00
Rocco Meli
bf66cd3cdd
Add H100 to supported architectures 2024-06-17 22:50:56 +02:00
marcella
f5a917bc5f
Docs: Update delta-kick.md 2024-06-17 22:47:18 +02:00
FurstPlattner
cd6f6b909c
Add i–PI server functionality 2024-06-17 21:56:29 +02:00
Matthias Krack
9ba71be77a Recover -fno-lto flag 2024-06-17 18:41:33 +02:00
Matthias Krack
4a781f82bb Use the new configure flags of ELPA 2024-06-17 18:41:33 +02:00
Frederick Stein
b7b4e7f64f
Conventions: Fix uninitialised variables and missing default initializers (#3480)
This PR:
- fixes uninitialised variables
- adds default initializers for most types
- adds an implicit interface to one module
- removes ~300 suppressions of the convention checker

Default initializers are still missing due if the respective type member variables of the libraries
- DBCSR
- SIRIUS
- PEXSI

For the record:
- Types derived from the abstract type eri_type_eri_element_func may be false positives as all their member variables have a default (the base type does not have any member variables)
- semi_empirical_int_debug could be reimplemented using submodules (requiring adjustments on the build system) due to dependencies between this file and semi_empirical_int_utils
2024-06-17 10:31:33 +02:00
Matthias Krack
fe903831ab Fix arch file generator for Intel compiler 2024-06-15 07:17:45 +02:00
Matthias Krack
71b32cfd9b Fix ELPA build with Intel compiler 2024-06-15 07:17:45 +02:00
Ole Schütt
96401045a5 Docker: Upgrade Intel test to hpckit:2024.1.1-devel-ubuntu22.04 2024-06-14 16:12:42 +02:00
Frederick Stein
323cece28b Docs: Add missing dependency to README 2024-06-14 12:35:40 +02:00
Frederick Stein
d4e6b0c644 Add additional references 2024-06-14 12:35:40 +02:00
Frederick Stein
59ce2abea8 Docs: Extend documentation of post-Hartree-Fock methods 2024-06-14 12:35:40 +02:00
Frederick Stein
9d45d454af
Fix local_gemm_api (#3472) 2024-06-13 15:45:49 +02:00
Frederick Stein
0a48604458
AXK: Fix dashboard (#3471) 2024-06-13 13:39:40 +02:00
Frederick Stein
578b4e2f43
Fix AXK implementation and extend it to SOSEX (#3468) 2024-06-12 21:44:46 +02:00
Matthias Krack
014179d9f4 Toolchain: ELPA 2023.05.001 -> 2024.03.001 2024-06-12 15:45:33 +02:00
Hans Pabst
6fb08d7878 expressed INTENT and DEALLOCATE local data 2024-06-12 14:19:17 +02:00
Matthias Krack
3fa69c40d1 Toolchain: cmake 3.29.0 -> 3.29.5 2024-06-12 14:18:42 +02:00
Hans Pabst
2e8533f7c0 hfx: express INTENTs, DEALLOCATE data, and cleanup
* Expressed INTENT and DEALLOCATE local data.
* Note: ALLOCATABEs are managed but still...
* Set atomic pairs at once (minor cleanup).
* Clarified scope/access of ATOMIC update.
* Slightly adjusted poly2 function.
2024-06-12 11:22:11 +02:00
Hans Pabst
6b70b64e2c dbm: fixed incorrect leading dimension
* Trans(B) results into desired shape.
2024-06-12 10:35:14 +02:00
Hans Pabst
18487d7d61 dbm: use squared epsilon instead of square-root of norm
* OpenCL: account for GEN-kernel (not part of PR).
* Removed comment about comparison (sp vs dp).
2024-06-12 10:14:00 +02:00
Matthias Krack
3549c43e2e Update arch files (SPLA 1.6.0) 2024-06-12 09:32:32 +02:00
Mathieu Taillefumier
8b8396bac9 [toolchain] update spla
- Use FindBLAS cmake module
- Rely on OpenMP implementation of the gemm.
2024-06-11 16:22:24 +02:00
Juerg Hutter
417e363ffe
Initialize energy array (#3461) 2024-06-11 15:22:13 +02:00
Matthias Krack
4261cd5b25 Add MOLOPT basis sets for Au and Th to Cm 2024-06-11 14:20:04 +02:00
Juerg Hutter
d2eb2ba5be
Energy decomposition: correct detailed analysis (#3459) 2024-06-11 14:18:47 +02:00
Jan Wilhelm
52714c9400
Initialize nkp_bs_and_DOS (#3456) 2024-06-10 16:12:35 +02:00
Matthias Krack
cfe466d30c Update front tester to GCC 14.1.0 2024-06-07 18:08:42 +02:00
Jan Wilhelm
bf82eeca4c
initialize pointers and avoid conversion (#3454)
Co-authored-by: JWilhelm <jan.wilhelm@ur.de>
2024-06-06 20:23:21 +02:00
Jan Wilhelm
11a343ac6f
GW for small unit cells with full k-points (using DFT with k-points) (#3448)
Co-authored-by: JWilhelm <jan.wilhelm@ur.de>
2024-06-05 12:13:03 +02:00
Maria Bilichenko
3a64028dc4 pretty 2024-06-05 09:50:48 +02:00
Maria Bilichenko
292c19018e reduced models & removed water-bulk-dp.inp energy and water-gra-film-sp.inp regtests 2024-06-05 09:50:48 +02:00
Maria Bilichenko
b5c07b1e1e pretty 2024-06-05 09:50:48 +02:00
Maria Bilichenko
74e342e229 Allegro: Fix parallelization with virials 2024-06-05 09:50:48 +02:00
Juerg Hutter
7d74e28acb
ED analysis : split PP term according to original proposal for core p… (#3452) 2024-06-04 23:14:00 +02:00
Rocco Meli
5f00d0ca4a Update .gitignore 2024-06-03 14:55:39 +02:00
Ole Schütt
b10eef3641 Remove keep_sparsity option from dbcsr_complete_redistribute 2024-06-02 21:55:44 +02:00
Ole Schütt
217d9860ff Replace dbcsr_copy_into_existing(...) with dbcsr_copy(..., keep_sparsity=.TRUE.) 2024-06-02 21:55:44 +02:00
Ole Schütt
50e1bb59d0 Turn cp_dbcsr_api into an actual wrapper 2024-06-01 00:42:23 +02:00
Matthias Krack
cc44763656 Bump macOS test to GCC version 14 2024-05-31 19:59:52 +02:00
Matthias Krack
0a4d1b2bbd Fix typos in keyword description 2024-05-30 23:38:59 +02:00
Matthias Krack
dbda804177 Drop compiler flag -march for build 2024-05-30 23:38:59 +02:00
Ole Schütt
0afa151ef8 prettify 2024-05-30 09:53:28 +02:00
Ole Schütt
4837b70ec0 Reintroduce cp_dbcsr_api as wrapper for DBCSR 2024-05-30 09:53:28 +02:00
Rocco Meli
3905869e4c
Add reference for DLA-Future 2024-05-30 09:52:07 +02:00
Juerg Hutter
2de3de77c7
Remove unused local module variables (#3439) 2024-05-29 11:29:50 +02:00
jpoto
b5caabbe03
Add support for Nvidia A40 2024-05-28 14:53:06 +02:00
Juerg Hutter
82f1140c91
non-scf methods will not enter SCF loop (#3437) 2024-05-28 14:30:16 +02:00
Juerg Hutter
acd4b0a29d
Update regtests non-scf DFTB + QMMM (prepare for new functionality) (#3436) 2024-05-28 13:23:17 +02:00
Frederick Stein
2eb6653729 Nequip: Fix parallelization with virials 2024-05-28 11:18:20 +02:00
Rocco Meli
19d2efb0a3
Use new external DLA-Future Fortran interface 2024-05-27 13:05:39 +02:00
Andre Borrfors
83ed01107c fixed cutoff and rel_cutoff tutorial
squash various syntax edits

pretty
2024-05-25 23:06:56 +02:00
Matthias Krack
efbebd7452 Revise optimization output (#3423)
* Tag and homogenize optimizer output
* Align optimizer output with MD output
* Fix ambiguous optimizer tags (#3423)
* Homogenize optimizer printout
2024-05-25 05:40:22 +02:00
Matthias Krack
49c4610f92 Reduce test output sizes 2024-05-25 05:40:22 +02:00
Juerg Hutter
7c26275767
Revise TDA basis set info output (#3430) 2024-05-24 18:26:50 +02:00
marcella
e3f64b7ecc
allow for constant efield with Gaussian envelop (#3429) 2024-05-24 12:05:40 +02:00
Frederick Stein
4da8881ab2
WFC-gradients: Do not free HFX buffers by default (#3427) 2024-05-24 09:19:45 +02:00
Maria Bilichenko
519c5118ff
Fix indexing and enable stress prediction in NequIP & Allegro (#3428)
Co-authored-by: Maria Bilichenko <mbilichenko@tcopt12.chem.uzh.ch>
2024-05-24 07:30:00 +02:00
Juerg Hutter
67d2f81faf
Output number of basis functions for TDA kernel calculations (#3426) 2024-05-23 11:43:52 +02:00
Ole Schütt
1525b05187 Docker: Fix i386 test 2024-05-22 20:56:03 +02:00
Hans Pabst
81d1c75683 DBM: allocate some comm buffer outside of loop
* Allocate send/receive buffers for known maximum size.
* Avoids frequent allocations inside of loop.
2024-05-22 13:25:58 +02:00
Hans Pabst
4e8a9213dd Avoid Werror for an uninitialized variable 2024-05-22 11:31:56 +02:00
Ole Schütt
c5411e048c Docker: Migrate ssmp test to CMake 2024-05-15 13:28:13 +02:00
Ole Schütt
3ae08ec09e Docker: Add libxsmm and spglib to Ubuntu based tests 2024-05-15 12:16:47 +02:00
Hans Pabst
ee725ffc68
dbm: leverage MPI_Alloc_mem/MPI_Free_mem (#3413) 2024-05-13 13:58:34 +02:00
Hans Pabst
be1f588258 abc_contract_xsmm code cleanup and comments 2024-05-10 18:21:56 +02:00
Ole Schütt
f30e229226 Docker: Migrate ASE, AiiDA, i-PI, and Gromacs tests to CMake 2024-05-10 14:01:57 +02:00
Matthias Krack
1bee5d4e22 Add -ld_classic linker flag only for Darwin arm64 2024-05-10 12:05:41 +02:00
Matthias Krack
9843133271 Add -ld_classic linker flag for Darwin-arm64 2024-05-10 00:23:01 +02:00
Matthias Krack
3e3454af34 Stay with gcc version 13 for the time being 2024-05-10 00:23:01 +02:00
Matthias Krack
3b1562d9c0 OpenBLAS 0.3.26 -> 0.3.27 2024-05-09 16:43:22 +02:00
Frederick Stein
1425fcd248 PW: Push FFT normalization downstream 2024-05-07 11:18:34 +02:00
Frederick Stein
2547ecc3e2 PW: Use constants to pass FFT direction 2024-05-07 11:18:34 +02:00
Frederick Stein
e14b23feec PW: Drop non-cartesian communicator in favor of the cartesian one
This step saves a communicator and ensures the use of correct information on the distribution.
2024-05-07 11:18:34 +02:00
Frederick Stein
1295dfb126 Merge pw_grid_create and pw_grid_setup 2024-05-07 11:18:34 +02:00
dependabot[bot]
20da4d9425 Bump jinja2 from 3.1.3 to 3.1.4 in /tools/precommit
Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.3 to 3.1.4.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/jinja/compare/3.1.3...3.1.4)

---
updated-dependencies:
- dependency-name: jinja2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-06 21:54:48 +02:00
dependabot[bot]
a98737dd6e Bump werkzeug from 3.0.1 to 3.0.3 in /tools/precommit
Bumps [werkzeug](https://github.com/pallets/werkzeug) from 3.0.1 to 3.0.3.
- [Release notes](https://github.com/pallets/werkzeug/releases)
- [Changelog](https://github.com/pallets/werkzeug/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/werkzeug/compare/3.0.1...3.0.3)

---
updated-dependencies:
- dependency-name: werkzeug
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-06 21:32:00 +02:00
Hans Pabst
e39d2370f1 * Removed reductions determining buffer-sizes and removed initial allocation at call-side
- Determining any maximum buffer-size at call-side removed.
  - Allocation at call-side removed.
2024-05-06 15:08:16 +02:00
Hans Pabst
93815594f3 * Allocate work buffers internal to abc_contract_xsmm
- Determining any maximum buffer-size at call-side can be removed later
  - Allocation at call-side can be removed later
2024-05-06 15:08:16 +02:00
Hans Pabst
ba355aa727 * Internalize allocation in abc_contract_xsmm
- Deallocate ccp_buffer and cpp_buffer in principle (ALLOCATABLEs are deallocated when scope of declaration is left).
  - Code/format cleanup.
* TODO
  - Adjust abc_contract_xsmm to always follow an optimal contraction flow (independent of buffer size).
  - Investigate abc_contract_xsmm to optionally write final result right away (flexible stride).
  - Investigate combining abc_contract_xsmm and abc_contract.
2024-05-06 15:08:16 +02:00
Ole Schütt
f9370183d4 Docker: Upgrade CMake test to Ubuntu 24.04 2024-05-06 12:02:25 +02:00
Ole Schütt
374b731bf2 Docker: Migrate minimal test to CMake 2024-05-05 23:04:28 +02:00
Ole Schütt
1aa8b447c5 Fix version in CMakeLists.txt 2024-05-05 22:28:44 +02:00
Ole Schütt
db03bd36ce Docker: Migrate GCC tests to CMake 2024-05-05 22:28:25 +02:00
Ole Schütt
b1f098bdf7 Fix conventions after upgrade to GCC 13 2024-05-04 10:39:25 +02:00
Hans Pabst
aeba166542 Optimal contraction flow in ab_contract 2024-05-03 13:06:31 +02:00
Mia Schambeck
4b87d2f105 Fix small typo in spectral function code 2024-05-03 12:11:06 +02:00
Ole Schütt
2a57904baa Fix doxygen build 2024-05-03 12:03:28 +02:00
Hans Pabst
95a24702a0 Reduced intermediate/temporary memory consumption of abc_contract 2024-05-03 10:09:06 +02:00
Hans Pabst
908860eada
Fixed leading dimensions of #3380 in BLAS based code-path (#3388) 2024-05-02 22:49:30 +02:00
Ole Schütt
fef33bd291 Docker: Fix i386 test 2024-05-02 21:47:24 +02:00
Ole Schütt
41b088e6f0 Dashboard: Add test for GCC 13 2024-05-01 18:50:29 +02:00
Ole Schütt
7137784189 Regtesting: Handle unparsable results 2024-05-01 17:44:43 +02:00
Ole Schütt
4dbdcdf615 precommit: Upgrade to Ubuntu 24.04 2024-05-01 17:11:52 +02:00
Ole Schütt
2872709a98 Docker: Upgrade to Ubuntu 24.04 2024-05-01 16:00:17 +02:00
Mathieu Taillefumier
3add4946b9 [PWDFT] SIRIUS returns -T S for the entropic term 2024-04-30 21:51:36 +02:00
Hans Pabst
b92d9c746f
Revised tensor contractions (#3380) 2024-04-30 21:05:59 +02:00
Juerg Hutter
db3ef62a33
Check for not supported stress tensor in TDDFT (#3377) 2024-04-29 14:13:19 +02:00
Hans Pabst
25edd69807
DBM: OpenCL implementation (#3375)
* There are three main implementations
  1. DBM_MULTIPLY_SPLIT=1: default kernel with smallest LOC-number uses private/register-backed buffer. This implementation is simple and performs best even on different vendor's GPUs. There is moderate unrolling/code-bloat leveraging macros. Though, there is no "old school GPU" like copy-into SLM; if there is re-use, it leverage existing caches between registers and global memory.
  2. DBM_MULTIPLY_SPLIT=2..N with DBM_MULTIPLY_SPLIT=8 matching the CUDA implementation using shared/local memory. This implementation matches the existing CUDA implementation and perform equal and reasonable across GPUs. There is moderate unrolling/code-bloat leveraging macros; heuristics are revised/different from CUDA implementation (less cases).
  3. DBM_MULTIPLY_GEN=1: uses https://github.com/intel/tiny-tensor-compiler and IR describing DBM's input format. The IR-file (https://github.com/hfp/cp2k/blob/master/src/dbm/dbm_multiply_opencl.ir) is not part of PR. The generated kernel-code is not yet competitive.
* The amount of code in the OpenCL-kernel and and C based glue-code can be *significantly* reduced (fraction of LOC) when removing for instance implementation 2 and 3 (above mentioned). Reducing the number of LOC can be part of a future cleanup (and once code is settled).
* check_file_properties.py: support C-comments, and omit checking OpenCL source code (it is usually compiled at runtime, i.e., machine-driven rather than user-controlled).
2024-04-29 12:23:24 +02:00
Hans Pabst
17d3be3016 Extra argument about number of repetitions of a kernel 2024-04-29 09:44:43 +02:00
Cristian Le
6a2e663d94
Add Badges! 2024-04-26 18:26:01 +02:00
Logan Ward
9dbea54b02
Introduce SETPOSFILE as a command in cp2k_shell 2024-04-26 16:27:14 +02:00
marcella
613b5c7f47
EMD: output (#3373) 2024-04-26 13:48:32 +02:00
IlyaFed
cd0efa8c23 Remove regtest for print Wannier and Cube in LOW SPIN ROKS 2024-04-26 11:32:56 +02:00
IlyaFed
f75843a6a3 Set CPABORT to PRINT MO_CUBES and WANNIER_CENTERS in the LOW SPIN ROKS method 2024-04-26 11:32:56 +02:00
IlyaFed
94519a5fd2 Fixed an error in the output of MO for ROKS
Added make_mo_eig(), which returns orbitals from OT space. Limited it to
nspin=1. Now everything works consistently with CPMD code.

More details in the Google Group discussion:
https://groups.google.com/g/cp2k/c/yJPJS2vUkBI
2024-04-26 11:32:56 +02:00
Hans Pabst
34ef4722c8 Accept H100 and reuse A100 tuned parameters w/ ARCH_NUMBER=90 2024-04-25 20:33:34 +02:00
Juerg Hutter
632bbc2b41
HFXLR using erfx/x potential (#3370) 2024-04-25 16:05:48 +02:00
Cristian Le
ccc2433b8a Synchronize with Fedora downstream
Signed-off-by: Cristian Le <cristian.le@mpsd.mpg.de>
2024-04-24 10:10:04 +02:00
Ole Schütt
7a36141859 Toolchain: Verify checksum of DeePMD tar-ball 2024-04-24 10:08:55 +02:00
Matthias Krack
b279b6b5e6 Intel oneapi-hpckit 2023.2.1 -> 2024.0.1 2024-04-23 15:49:24 +02:00
Andrey Sinyavskiy
b75b8352e1 TODO comment 2024-04-23 15:19:24 +02:00
Andrey Sinyavskiy
df33e8bb8d pretty 2024-04-23 15:19:24 +02:00
Andrey Sinyavskiy
b81347725f Two new subroutines which give correct determinant signs even in parallel environment with any number of ranks and threads
1) cp_fm_det computes the determinant of a real square matrix
2) cp_cfm_det computes the determinant of a complex square matrix
Both routines make a copy of the input matrix, thus it is NOT modified in any way and can be safely used after.
Also replaced the calls in two subroutines where determinant sign matters: calc_et_coupling and qs_moment_berry_phase.
2024-04-23 15:19:24 +02:00
Hans Pabst
adfb00c71e
Slightly revised build_3c_integrals (#3360) 2024-04-23 08:22:06 +02:00
Hans Pabst
1f285aab9e
Better leverage mathconstants module (#3359) 2024-04-22 14:18:18 +02:00
Frederick Stein
b195825777 MP2: Fix block size
In very rare cases, the blocksize may be determined to be 0. This Commit fixes this bug
2024-04-19 12:48:44 +02:00
Mia Schambeck
e7e05ae310 Add option to export GW spectral function only for specific levels 2024-04-17 13:23:59 +02:00
dependabot[bot]
fc017266ad Bump gunicorn from 21.2.0 to 22.0.0 in /tools/precommit
Bumps [gunicorn](https://github.com/benoitc/gunicorn) from 21.2.0 to 22.0.0.
- [Release notes](https://github.com/benoitc/gunicorn/releases)
- [Commits](https://github.com/benoitc/gunicorn/compare/21.2.0...22.0.0)

---
updated-dependencies:
- dependency-name: gunicorn
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-17 12:49:31 +02:00
marcella
1a29073fbc
E-field restart and output (#3354) 2024-04-16 12:53:47 +02:00
Frederick Stein
e5fdd8129e AS: Add truncated Coulomb potential 2024-04-15 09:53:55 +02:00
Frederick Stein
0f644303a1 AS: Perform second contraction step with FM instead of DBCSR
Significant performance boost for larger systems (Si 1x1x1: factor of 3 in total runtime)
2024-04-15 09:53:55 +02:00
Andreas Knüpfer
b977e330b9 Fix format in benchmark input file
Fix small format issue in benchmarks/QS_pao_ml_tio2/pao_ml_tio2.inp. The
benchmark runs still fine after this.

This seems atypical compared to the other input files included in the
repo. And it triggers a complicated bug in the cp2k-input-tools
https://github.com/cp2k/cp2k-input-tools. I think it is correct to fix
this here.
2024-04-11 17:17:54 +02:00
Ole Schütt
10d5862cfd Manual: Add support for youtube videos 2024-04-09 23:50:49 +02:00
Matthias Krack
0c0c0a7c81 Update arch files 2024-04-09 23:12:30 +02:00
Matthias Krack
1b0cf2987a Remove false warning 2024-04-09 17:44:43 +02:00
Frederick Stein
2ed94b8b96
Remove BROYDEN_MIXING_NEW option (#3346) 2024-04-05 18:40:15 +02:00
Matthias Krack
3204c26a83 Sync pseudopotential database files with cp2k-data repository
Replace Na-q9 pseudopotential with a revised version
2024-04-03 13:26:41 +02:00
Matthias Krack
f529a546d8 Fix logic 2024-03-29 10:13:29 +01:00
Matthias Krack
bfb26d4496 Check first if file exists 2024-03-29 10:13:29 +01:00
Cristian Le
58e3e09bda
fedora: Optimize builds (#3268)
Signed-off-by: Cristian Le <cristian.le@mpsd.mpg.de>
2024-03-28 21:07:23 +01:00
Matthias Krack
30f14bb71c Update arch files 2024-03-28 17:30:37 +01:00
Matthias Krack
d886f95390 HDF5 rollback to version 1.14.2 2024-03-28 17:30:37 +01:00
Matthias Krack
e659f8d559 Update Darwin arch file for HDF5 2024-03-28 17:30:37 +01:00
Matthias Krack
1fff5d3ca2 Add libsz only if available 2024-03-28 17:30:37 +01:00
Matthias Krack
d9129d66b6 HDF5 1.14.2 -> 1.14.3; use cmake 2024-03-28 17:30:37 +01:00
Cristian Le
18d5567dbc Update spack spglib
This was missed in #3322

Signed-off-by: Cristian Le <cristian.le@mpsd.mpg.de>
2024-03-28 15:36:07 +01:00
Cristian Le
bc51660984 Use upstream spglib interface
Signed-off-by: Cristian Le <cristian.le@mpsd.mpg.de>
2024-03-28 15:36:07 +01:00
BelizSertcan
e73a9c7b89
Improve element comparison in reftraj 2024-03-28 14:49:12 +01:00
Rocco Meli
7e8890003b
Upgrade to DLA-Future 0.4.0 2024-03-28 14:19:04 +01:00
Matthias Krack
0de0cc2fce Change build type for spglib from Release to RelWithDebInfo 2024-03-27 23:26:13 +01:00
Matthias Krack
a9c8be552c CMake 3.28.1 -> 3.29.0 2024-03-27 23:26:13 +01:00
Mia Schambeck
330c21ab04 Fix spectral function for evGW0 2024-03-27 12:29:10 +01:00
Taillefumier Mathieu
e998838b55
[PWDFT] Print the free energy (#3336) 2024-03-27 11:08:07 +01:00
Max Graml
f7c1873a57
BSE: Fix conventions 2024-03-25 15:09:43 +01:00
Ole Schütt
e3caab8e45 Adjust 5 regtests 2024-03-22 21:42:41 +01:00
Max Graml
05e7fda167 Add methods section for Bethe-Salpeter 2024-03-22 17:18:29 +01:00
Mathieu Taillefumier
719f94196a [cmake] Fix a typo 2024-03-22 13:51:40 +01:00
dependabot[bot]
ffcbeb74c2 Bump black from 23.11.0 to 24.3.0 in /tools/precommit
Bumps [black](https://github.com/psf/black) from 23.11.0 to 24.3.0.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](https://github.com/psf/black/compare/23.11.0...24.3.0)

---
updated-dependencies:
- dependency-name: black
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-20 20:46:49 +01:00
Matthias Krack
0cb0118aa4 Drop spglib in gcc8 test 2024-03-20 11:59:31 +01:00
Matthias Krack
c107214681 Disable SPGLIB tests 2024-03-20 11:59:31 +01:00
Matthias Krack
2b5f929660 SPGLIB 1.16.2 -> 2.3.1 2024-03-20 11:59:31 +01:00
Hans Pabst
aa4adac34c
DBM: introduced OpenCL support (#3321) 2024-03-15 16:41:35 +01:00
Hans Pabst
b59d163280
Legacy build_dbcsr cleanup (#3319) 2024-03-15 14:05:02 +01:00
Juerg Hutter
ae6dcbd3af
TDDFT State Following (#3320) 2024-03-14 11:15:03 +01:00
Alfio Lazzaro
14aa9caae6 Update DBCSR 2024-03-13 21:56:26 +01:00
Hans Pabst
4b070db377 Offload: support OpenCL
* This work "short-cuts" supporting OpenCL by leveraging DBCSR's OpenCL backend to implement CP2K's Offload interface.
  - Future work (may be soon) can decide/settle where the actual glue code is hosted making the "OpenCL backend".
  - OpenCL is very close to CUDA (streams/queues, events, etc), however, an OpenCL backend accounts for differences.
  - Pointer arithmetic on the host using device pointers is not supported with OpenCL without additional effort.
  - OpenCL abstracts device memory being "cl_mem" structure and does not expose actual device pointers.
* Some functions on CP2K's Offload interface (once derived from DBCSR's ACC interface) remain "TODO".
* For the time being offload_runtime.h "disables" support for Grid and PW/FFTs
  - Defines for __NO_OFFLOAD_GRID and __NO_OFFLOAD_PW must be still given for the Fortran code.
* Some changes remove CUDA and HIP specific code-paths by relying on Offload runtime (e.g., offload_create_buffer).
* Some changes also address problematic code format (multi-line control-flow w/o curly braces/block, etc).
* Further updating INSTALL.md and white-listing/removing certain items are part of follow-up changes.
* Cleaned FLAG_EXCEPTIONS (tools/precommit/check_file_properties.py).
2024-03-13 09:44:46 +01:00
Matthias Krack
5f6c7e94cf Tiled-MM v2.2 -> v2.3 2024-03-12 22:26:59 +01:00
Matthias Krack
cebb65e3a9 OpenBLAS 0.3.25 -> 0.3.26 2024-03-12 18:03:48 +01:00
Matthias Krack
5975982d2d Update arch file (disentangle spla and sirius build) 2024-03-12 16:53:44 +01:00
Matthias Krack
21952e73f5 Update arch file (disentangle spla and sirius build) 2024-03-12 16:53:44 +01:00
Matthias Krack
52048db2cd Update arch file (disentangle spla and sirius build) 2024-03-12 16:53:44 +01:00
Matthias Krack
9f42ed8dd1 Update arch file (disentangle spla and sirius build) 2024-03-12 16:53:44 +01:00
Matthias Krack
13b5917f92 Update arch file (disentangle spla and sirius build) 2024-03-12 16:53:44 +01:00
Hans Pabst
ded727474f DBM: introduced command line options for miniapp and adjusted some code format
* Miniapp: print exercised case even if validations fails (console output).
* Miniapp: support MNK command line argument like "M N K", "MxNxK", or filename.
* Code-format: avoid multi-line control-flow without curly braces.
* Fixed warnings loss of const-qualifier (-Wcast-qual).
* Account for recent LIBXSMM interface change.
* Fixed typos (code comments).
2024-03-11 15:54:51 +01:00
Ole Schütt
990486a5a6 Fix deadlock in build_core_ppnl 2024-03-09 23:39:56 +01:00
Ole Schütt
2814a741ad BSE: Fix conventions 2024-03-09 23:01:48 +01:00
Ole Schütt
183cd10e95 Disable ELPA for tests/QS/regtest-almo-2/ion-pair.inp 2024-03-09 00:28:34 +01:00
Max Graml
6a30819246
Bethe Salpeter equation for molecules (#3308) 2024-03-08 20:30:58 +01:00
Matthias Krack
cdee4f21b0 Include SpLA lib explicitly
This should fix performance drops on CRAY-XC50 after SIRIUS has been
excluded (thanks @fstein93)
2024-03-08 17:40:48 +01:00
Juerg Hutter
8976884333
Remove auto basis option for ADMM (#3307) 2024-03-08 09:43:10 +01:00
marcella
2204749985
bug fix in reading a repeated input keyword (#3304) 2024-03-07 11:39:11 +01:00
Juerg Hutter
dca71f4cda
Improve TDDFPT output for MD and state following (#3302) 2024-03-06 19:14:54 +01:00
marcella
0833382a82
projection on reference in RTP (#3298) 2024-03-05 11:23:13 +01:00
Juerg Hutter
dd7ddc28dc
Bug fix tapering function for HFX LR (#3300) 2024-03-04 21:42:43 +01:00
Andre Borrfors
8b9dca298f fixed typo in density print key 2024-03-04 15:32:34 +01:00
BelizSertcan
9dbc35b873
option to change the unit of HFXLR cutoff radius (#3295)
Co-authored-by: BelizSertcan <beliz.sertcan@uzh.ch>
2024-03-04 10:51:38 +01:00
Ole Schütt
38a20dc40e Rename reference Graml2023 to Graml2024 2024-03-01 15:45:08 +01:00
André Nyberg Borrfors
7c94dfa130
restructure E_DENSITY_CUBE printing procedure and default behavior (#3289) 2024-03-01 12:04:59 +01:00
Hans Pabst
5d0137bad4 Fixed some typos in code comments and abort messages 2024-02-29 12:04:05 +01:00
Hans Pabst
17b9f55875 Make use of SIMD directives
- Compilers allow to toggle OpenMP SIMD separate from targeting multicore.
- Note: -fopenmp may not enable SIMD directives (-fopenmp-simd).
2024-02-29 12:03:20 +01:00
Hans Pabst
b664c118cb Various smaller fixes or improvements
* Avoid calling offloadEnsureMallocHeapSize (if offloading the GRID code is disabled).
* Suppress error message when using "which" for an unknown command (exts/build_dbcsr).
* Improved finding OpenCL header file (exts/build_dbcsr).
2024-02-29 11:15:19 +01:00
JWilhelm
39d9274f51 update reference Graml2023 2024-02-29 10:40:03 +01:00
JWilhelm
de63a4603f Adjust TEST_FILES for printing the GW eigenvalues for a reduced number of k-points 2024-02-29 10:40:03 +01:00
JWilhelm
622040bfed use k <-> -k symmetry to reduce k-points for GW DOS and LDOS 2024-02-29 10:40:03 +01:00
Hans Pabst
b765ff6b26 Avoid invariant hash-calculation.
- This resolves a common issue when running CP2K built with no optimizations aka debug (-O0).
- With O0, GNU Fortran of course omits to perform Loop-Invariant-Code-Motion (LICM).
- Code in question previously caused checks claiming negative bounds (lock array).
- Now hoisting hash calculation in the outer possible loop (also more beautiful).
2024-02-29 10:23:59 +01:00
Juerg Hutter
904d571b43
Primitives for MinBas expansion can be set in input (#3288) 2024-02-27 11:37:46 +01:00
Andre Borrfors
45cb7bcf27 add option to ignore core charge when printing density cube 2024-02-26 17:26:16 +01:00
Ole Schütt
613b517e82 Manual: Update description of xc section 2024-02-25 17:04:21 +01:00
Ole Schütt
39e565f3c0 Manual: Set TOC maxdepth=2 in subfolder indexes 2024-02-25 16:33:46 +01:00
Ole Schütt
a608be7dd1 Stabilize tests/QS/regtest-almo-2/ion-pair.inp 2024-02-25 16:33:30 +01:00
Ole Schütt
1242c8f66e Increase ScaLAPACK default block size to 64 2024-02-25 16:33:30 +01:00
Ole Schütt
5417965e49 Fist: Fix segfault for systems without dihedrals 2024-02-24 00:03:43 +01:00
Ole Schütt
0f47048474 Manual: Create folder for Optical Spectroscopy 2024-02-23 23:34:56 +01:00
Ole Schütt
143fc55fcf Manual: Create folder for Hartree-Fock Exchange 2024-02-23 23:20:00 +01:00
Ole Schütt
4c9fa1087b Manual: Add placeholder page for Delta SCF method 2024-02-23 19:45:52 +01:00
Ole Schütt
5fc55b24fa Manual: Migrate howto:rtp_field_xas from wiki (Orig. Author: Guillaume Le Breton) 2024-02-23 19:45:52 +01:00
Ole Schütt
88f4f8a258 Manual: Migrate howto:delta_kick from wiki (Orig. Author: Guillaume Le Breton) 2024-02-23 19:45:52 +01:00
Ole Schütt
091ac2d761 Manual: Create folder for X-Ray Spectroscopy 2024-02-23 19:45:52 +01:00
Juerg Hutter
9fa292db88
Stop calculation if nl-vdW functionals are requested for Energy Correction (#3278) 2024-02-22 11:54:24 +01:00
Juerg Hutter
47690d8681
Uncontracted basis option for HFXSR (#3276) 2024-02-21 11:00:41 +01:00
Matthias Krack
d3f223ab80 cp2k -> cp2k_shell 2024-02-19 17:34:51 +01:00
Matthias Krack
3c67c053b9 New ASE config file syntax and default name 2024-02-19 17:34:51 +01:00
Juerg Hutter
56578675fe
TDA Kernel methods (#3273) 2024-02-19 14:14:08 +01:00
Rocco Meli
7d0f9bf18b
Use computed eigenvectors instead of required eigenvectors to determine ScaLAPACK fallback (#3270) 2024-02-16 09:47:33 +01:00
Frederick Stein
41a40305d1
Fix conventions (#3272)
Fix incorrect conversion of complex to real type
Fix erroneous change of type name
2024-02-15 11:28:47 +01:00
Matthias Krack
728ff8f54f Line length shortened 2024-02-14 18:00:54 +01:00
Matthias Krack
ac3fa93c06 Code simplified and hint added 2024-02-14 18:00:54 +01:00
Frederick Stein
7eeddba650 Fix branches to calculate dot products of grids 2024-02-13 15:06:01 +01:00
Frederick Stein
aae5287d7b Convert implicit type conversions to explicit ones
Prevents bugs with the Intel compiler on several threads
2024-02-13 15:06:01 +01:00
Frederick Stein
c91d761d49 Make poisson solver more flexible regarding auxiliary densities similar to what was already available 2024-02-13 15:06:01 +01:00
Frederick Stein
89c9722205 Fix GPU build 2024-02-13 15:06:01 +01:00
Frederick Stein
7da0ce14c9 Remove pw_transfer in favor of an interface
This removes the overhead of function calls
2024-02-13 15:06:01 +01:00
Frederick Stein
5b5dd0e7a5 Remove REALSPACE and RECIPROCALSPACE 2024-02-13 15:06:01 +01:00
Frederick Stein
3ee64391a6 Remove REALDATA3D 2024-02-13 15:06:01 +01:00
Frederick Stein
383c4fa823 Convert all C1D grids 2024-02-13 15:06:01 +01:00
Frederick Stein
8bd29a5691 Redirect intermediate routines to the new ones, Convert R1D and C3D entirely 2024-02-13 15:06:01 +01:00
Frederick Stein
29fe219d0a Add new pw types, adjust different interfaces 2024-02-13 15:06:01 +01:00
Cristian Le
9ca7d5e3f4 Add Fedora packaging via packit
Signed-off-by: Cristian Le <cristian.le@mpsd.mpg.de>
2024-02-13 14:05:16 +01:00
Juerg Hutter
ac0226eb54
Ge-At MOLOPT UZH basis sets update (#3266) 2024-02-12 13:03:24 +01:00
Mathieu Taillefumier
e2c8b65275 [SIRIUS] fix invalid memory access 2024-02-12 11:22:00 +01:00
Juerg Hutter
99544d10ee
Current (#3264) 2024-02-11 20:34:02 +01:00
Juerg Hutter
38c209cdd2
Update README.md 2024-02-10 19:35:35 +01:00
Andre Borrfors
14e4311192 added print key for RTP/EMD energy components 2024-02-08 10:33:56 +01:00
Taillefumier Mathieu
5b318d808a
Fix uninitialized variable (#3261) 2024-02-08 10:26:10 +01:00
Matthias Krack
26e59941a7 Fix arch file (add HDF5 explicitly) 2024-02-05 10:08:56 +01:00
Matthias Krack
577b676415 Revert #3247 2024-01-30 15:05:10 +01:00
Matthias Krack
224389f665 Adapt tolerances for testing 2024-01-30 10:18:36 +01:00
Rocco Meli
0f1b82f0b3 fix cmake relwithdebinfo build 2024-01-26 19:47:56 +01:00
Ole Schütt
94016fe734 Manual: Add links to RI-HFX page 2024-01-26 15:55:04 +01:00
Ole Schütt
8dc197ea58 Docker: Fix i-PI test 2024-01-26 14:23:31 +01:00
Matthias Krack
a1add34e4d Accelerate slow tests; add debug tags in output 2024-01-26 13:38:30 +01:00
Matthias Krack
3fb13861e7 Include DeePMD into testing 2024-01-26 09:43:12 +01:00
Matthias Krack
1aa3ad7d27 Drop testing of Sirius on Piz Daint (daint-gpu)
Sirius >= 7.5.2 requires cuda >= 11.4 which is not available on Piz Daint.
2024-01-25 14:00:29 +01:00
Ole Schütt
8d2419c75b MPI: Remove CONTIGUOUS from mp_free_mem to work around Flang bug 2024-01-23 21:01:19 +01:00
abussy
b8aa4e11f5 Low-scaling post-HF documentation 2024-01-23 16:07:07 +01:00
abussy
f924fb4383 Fix minor RI-HFX forces bug 2024-01-23 16:06:43 +01:00
Juerg Hutter
aa911b9f54
Enable density matrix and KS matrix output in DFTB/xTB (#3240) 2024-01-22 13:47:51 +01:00
Matthias Krack
0e1ed63c0a Update reference values 2024-01-22 12:11:07 +01:00
Matthias Krack
f016af206b Do not change occupied MOs before printout 2024-01-22 12:11:07 +01:00
abussy
d90c47c072 RI-HFX (incl. k-points) docs/tuto 2024-01-22 11:38:57 +01:00
robinzyb
d6c1e18a5d update CP2K arch file with deepmd for Piz Daint, CSCS, GPU partition 2024-01-22 10:09:10 +01:00
Matthias Krack
3754164dd6 Adapt tolerance 2024-01-20 18:12:57 +01:00
Ole Schütt
bfded9abfe Toolchain: Add leak suppression for DeePMD 2024-01-19 16:16:44 +01:00
Matthias Krack
22538ecd34 Print virtual orbital information with OT only after SCF convergence 2024-01-19 12:04:19 +01:00
abussy
d9ee689e39 TDDFPT forces regtest update 2024-01-19 11:47:29 +01:00
Matthias Krack
0907a84bef Update reference values 2024-01-19 08:59:37 +01:00
Matthias Krack
3e3e97baaa Fix #3217 (printout of eigenvalues and eigenvectors for unoccupied orbitals with OT) 2024-01-19 08:59:37 +01:00
abussy
d6703fd98d Tighten TDDFPT force regtest input params 2024-01-18 18:13:17 +01:00
abussy
8394fc1f69 Updated ref values for HFX response forces 2024-01-18 10:05:27 +01:00
Hsiaoyi Tsai
1f648edc8d
fix overlap derivatives (#3225) 2024-01-18 09:59:07 +01:00
Juerg Hutter
a32efcca01
Update regtests (#3226) 2024-01-17 11:52:32 +01:00
abussy
bde1f300d7 Clarify RI-HFXk input 2024-01-17 11:42:27 +01:00
Matthias Krack
e1e5a3eebc Apply default indentation 2024-01-16 22:55:16 +01:00
Matthias Krack
6b6e1723d1 Revise file extensions, use template as test input 2024-01-16 22:55:16 +01:00
Matthias Krack
f76adaefd7 Indent @-directives and set them upercase 2024-01-16 16:23:54 +01:00
Juerg Hutter
233cc04966
Bug fix screening in hfx_derivatives (#3221) 2024-01-16 16:00:43 +01:00
Matthias Krack
54edd9b749 Update arch files for SIRIUS 7.5.2 2024-01-16 00:11:56 +01:00
Matthias Krack
dcfa1d54c0 Add test inputs for common 3-site water models 2024-01-15 23:09:52 +01:00
Matthias Krack
3b6314e491 Introduce @FFTYPE directive
- @FFTYPE loads a &FORCEFIELD section from the database folder cp2k/data/forcefield_section analogous to the @XCTYPE directive for the &XC section
- Update vim syntax file
2024-01-15 23:09:52 +01:00
Matthias Krack
141400e9eb Rename folder data/Fist to data/forcefield_section 2024-01-15 23:09:52 +01:00
Frederick Stein
37739df8f6
Update OpenMPI (#3216) 2024-01-15 17:55:39 +01:00
Taillefumier Mathieu
6e730ce092
PWDFT: Print the band gap and total energy 2024-01-15 16:48:06 +01:00
Ole Schütt
75a566c04f Manual: Add more links to placeholder pages 2024-01-14 15:24:48 +01:00
Ole Schütt
60be3d2d66 Manual: Migrate howto:resp from wiki (Orig. Author: Dorothea Golze) 2024-01-14 15:24:48 +01:00
Ole Schütt
e4dcdfee98 Manual: Migrate howto:geometry_optimisation from wiki (Orig. Author: Lianheng Tong) 2024-01-14 15:24:48 +01:00
Ole Schütt
34a199bafc Manual: Migrate howto:langevin_regions from wiki (Orig. Author: Lianheng Tong) 2024-01-14 15:24:48 +01:00
Ole Schütt
7b8daa9167 Manual: Migrate howto:xas_tdp from wiki (Orig. Author: Augustin Bussy) 2024-01-14 15:24:48 +01:00
Orion Poplawski
df7e5848f3 Allow setting CP2K_DATA_DIR 2024-01-14 13:44:43 +01:00
dependabot[bot]
1f31a16965
precommit: Bump jinja2 from 3.1.2 to 3.1.3 2024-01-12 12:47:08 +01:00
Futaki Haduki
45e4a2263d
Manual: Add DeePMD-kit documentation 2024-01-12 12:46:13 +01:00
Matthias Krack
d73a108234 Highlight section and keyword names with hyphens too 2024-01-12 12:32:32 +01:00
abussy
48d3695c3c ECP nuclear gradients 2024-01-11 10:26:31 +01:00
Sergey Chulkov
644f5a76d6 External potential: Do not re-parse potential function at each grid-point 2024-01-10 11:41:51 +00:00
Jan-Robert Vogt
8485e0d524
TDDFT+SOC: Fix oscillator strength within length and velocity representation 2024-01-09 22:28:52 +01:00
Ole Schütt
922011330f Manual: Prepare for new GW / BSE page 2024-01-09 22:03:09 +01:00
Ole Schütt
9e76ba591f Docker: Disable DeePMD for ARM64 test 2024-01-09 11:04:39 +01:00
Ole Schütt
96ef312a72 Slight refactoring of deepmd_wrapper.F 2024-01-08 23:01:54 +01:00
Ole Schütt
e2aab9b4ac Docker: Use Python virtual env for ASE test 2024-01-08 23:01:29 +01:00
abussy
c5db040a23 Enable compilation without deepmd (unused arguments) 2024-01-08 11:54:31 +01:00
Juerg Hutter
38b08aabf6
Bug fix for parallel runs: state following with ADDED_MOS (#3199) 2024-01-04 16:41:59 +01:00
Futaki Haduki
969d126fc6
Add support for DeePMD 2024-01-04 16:31:37 +01:00
Ole Schütt
090414911f Increase development version after 2024.1 release 2024-01-02 00:23:26 +01:00
Ole Schütt
b4a17a59ed update to 2024 2024-01-01 21:47:48 +01:00
Ole Schütt
c078969bf9 Manual: Touch up page names and titles 2023-12-28 14:29:43 +01:00
Ole Schütt
8a6106c582 Add missing initializer to post_scf_bandstructure_type 2023-12-28 14:29:33 +01:00
Ole Schütt
da658c245a Docker: Add workaround for pika thread binding 2023-12-28 12:13:37 +01:00
Ole Schütt
94ac44b96e Regtesting: Use --bind-to none by default 2023-12-28 12:13:37 +01:00
Jan Wilhelm
bf6c9a47c9
Print LDOS in units of 1/(eV*Å^2) (LDOS is integrated in z direction) 2023-12-27 11:21:00 +01:00
Matthias Krack
ad61d0fb47 Update benchmark input (suppress abort) 2023-12-21 10:01:51 +01:00
Rocco Meli
d8a4189bb7
Docker: Speedup Spack build 2023-12-20 23:22:16 +01:00
Rocco Meli
afdde75240 cleanup old spack dockerfiles 2023-12-20 23:21:32 +01:00
abussy
fdb0e7a971 Clearer ECP gradient abort messages 2023-12-20 16:13:18 +01:00
Matthias Krack
7123f6cb95 OpenBLAS 0.3.24 -> 0.3.25 2023-12-19 21:52:42 +01:00
Matthias Krack
5e85b02138 CMake 3.27.6 -> 3.28.1 2023-12-19 18:08:12 +01:00
Ole Schütt
9dc68573fd Add 2b6ea5 to .git-blame-ignore-revs 2023-12-19 13:46:10 +01:00
abussy
7614adae79 Fix simplified ADMM input 2023-12-19 11:41:21 +01:00
Ole Schütt
2b6ea54d62 Format all input files 2023-12-18 22:41:19 +01:00
Ole Schütt
fafc0043f0 precommit: Add input file formatter 2023-12-18 22:41:19 +01:00
Ole Schütt
152324274f Remove/Rename/Tweak spurious input files 2023-12-18 22:41:19 +01:00
Ole Schütt
f30fb4db44 Remove abandoned Spack files 2023-12-18 22:40:52 +01:00
Rocco Meli
6ed950b3e6
Add experimental support for DLA-Future eigensolver
Co-authored-by: Mikael Simberg <mikael.simberg@iki.fi>
2023-12-18 20:42:36 +01:00
Matthias Krack
6157caa8a9 Recover original warning text and add hint to abort text 2023-12-17 19:06:15 +01:00
Matthias Krack
acfada4ef0 Print only a warning on SCF convergence failure when the run is terminated by an external request 2023-12-17 19:06:15 +01:00
abussy
4955cfc0d2 Put libgrpp calls in OMP CRITICAL 2023-12-15 16:14:35 +01:00
Ole Schütt
0dfeee1108 Drop support for NDEBUG 2023-12-15 15:31:33 +01:00
Taillefumier Mathieu
49d82271f9
Offload: Add support for MI300 and unified memory 2023-12-15 13:37:16 +01:00
Matthias Krack
9ae2c5d579 Switch to latest LIBGRPP version 2023-12-15 11:41:50 +01:00
Matthias Krack
c75b5083bd Ignore SCF convergence failure for H2O benchmark
The old H2O benchmark files do not use an OUTER_SCF with OT which causes
that the first SCF iteration, e.g. already for H2O-32.inp, does not converge.
This convergence failure, however, causes now an program abort. The keyword
IGNORE_CONVERGENCE_FAILURE is added in order to recover the old behavior
and to keep the obtained timings comparable.
2023-12-14 18:52:33 +01:00
Matthias Krack
459954f9c7 Format Quickstep H2O benchmark input files 2023-12-14 18:52:33 +01:00
Matthias Krack
c6730e7959 Fix toolchain rebuild of libgrpp 2023-12-13 19:46:20 +01:00
Matthias Krack
53bf3198f0 Update Piz Daint arch files (add libgrpp) 2023-12-13 16:53:32 +01:00
Frederick Stein
939f96457e
QMMM: Fix typos (#3166) 2023-12-13 16:38:12 +01:00
abussy
d9b93e4d3d Fix libgrpp coding convention dashboard 2023-12-13 16:34:01 +01:00
Andre Borrfors
c39adb1f1c small fix to printing E_DENSITY_CUBE%TOTAL_DENSITY 2023-12-13 14:51:20 +01:00
Matthias Krack
cddf79608f Update vim syntax file: include all alias names for keywords
Get also rid of unnecessary repetitions
2023-12-13 13:40:17 +01:00
Matthias Krack
d0d354228a Update Darwin arch files (add libgrpp) 2023-12-13 11:13:05 +01:00
Ole Schütt
7d8e3fba28 MC: Make code less depend on the order of input sections 2023-12-12 22:38:10 +01:00
Matthias Krack
472c987a54 Update vim syntax file generation
- Recognize XCTYPE macro keyword
- Indent macro kewords like sections, keywords, and comments
- Indent body of @IF/@ENDIF block like &SECTION/&END
2023-12-12 18:23:52 +01:00
Ole Schütt
47e8414d44 Docker: Copy logs into artifacts after failure 2023-12-12 18:09:04 +01:00
abussy
530e040ba0 Minor cosmetic changes 2023-12-12 16:21:41 +01:00
Matthias Krack
9f05a6a727 Update arch files: add libgrpp 2023-12-12 11:18:03 +01:00
Matthias Krack
f1c1858cfb Exclude libgrpp from gcc8 test 2023-12-12 10:28:18 +01:00
Matthias Krack
b7f057d21f Ignore SCF convergence for the new ECP test inputs 2023-12-11 18:10:45 +01:00
Matthias Krack
572501722d Relax SCF convergence threshold 2023-12-11 18:10:45 +01:00
Matthias Krack
6292a7e94e Use the same EPS_SCF for inner and outer SCF loop 2023-12-11 14:26:50 +01:00
Matthias Krack
eb79250fa7 Fix remaining issues missing in patch file 2023-12-11 14:26:50 +01:00
Matthias Krack
e430776491 Abort run by default on SCF convergence failure
The new keyword IGNORE_CONVERGENCE_FAILURE can be set to obtain the old permissive behaviour.
It replaces the keyword NOTCONV_STOPALL which enforced until now the strict behaviour which is now the default.
2023-12-11 14:26:50 +01:00
abussy
2b286a57fc Enabling calculations with ECPs (libgrpp library) 2023-12-11 14:21:29 +01:00
Ole Schütt
03c4f52a6f Manual: Migrate howto:gemc from wiki 2023-12-10 23:08:35 +01:00
Ole Schütt
dfb5a55ff3 Manual: Migrate howto:ipi from wiki (Orig. Author: Jinggang Lan) 2023-12-10 23:08:35 +01:00
Ole Schütt
91d9325da1 Manual: Migrate howto:newtonx from wiki (Orig. Author: Anna Hehn) 2023-12-10 23:08:35 +01:00
Ole Schütt
f1c8d858cc Manual: Migrate howto:tddft from wiki (Orig. Author: Anna Hehn) 2023-12-10 23:08:35 +01:00
Ole Schütt
2c6bf11af2 Manual: Migrate howto:md from wiki 2023-12-10 23:08:35 +01:00
Ole Schütt
052fbbe5cc Manual: Migrate howto:ic-qmmm from wiki (Orig. Author: Dorothea Golze) 2023-12-10 23:08:35 +01:00
Ole Schütt
cf4b0cce71 Manual: Migrate howto:biochem_qmmm from wiki (Orig. Author: Dries Van Rompaey) 2023-12-10 23:08:35 +01:00
Ole Schütt
9ae14ba4ce Manual: Add dummy page for QM/MM with Gromacs 2023-12-10 23:08:35 +01:00
Ole Schütt
66b69004d5 Manual: Add dummy page for NNP 2023-12-10 23:08:35 +01:00
Ole Schütt
668feff676 Manual: Add sub-directories to methods section 2023-12-10 17:01:50 +01:00
Ole Schütt
85135fe7db Docker: Install dependencies for CMake test via Spack 2023-12-10 15:56:44 +01:00
Juerg Hutter
f5d7817782
Energy decomposition:wq (#3146) 2023-12-08 12:01:04 +01:00
Juerg Hutter
b263019182
Add time and function value output to IBO localization (#3142) 2023-12-01 17:05:07 +01:00
Ole Schütt
9aa0083119 Manual: Add keyword mentions 2023-12-01 16:27:12 +01:00
Ole Schütt
5a98848444 Remove dependency on single-precision DBCSR matrices 2023-12-01 15:50:30 +01:00
Juerg Hutter
05a2402412
Bug fixes for TDDFPT-Forces + kernel ADMM + X correction (#3141) 2023-12-01 15:47:14 +01:00
Ole Schütt
ddec052557 Adjust tolerance of QS/regtest-tddfpt-admm/h2o_a04.inp 2023-12-01 13:58:31 +01:00
Juerg Hutter
845a3ae33c
Initial guess: skip atomic calculation for ghost atoms (#3136) 2023-11-29 13:56:57 +01:00
Ole Schütt
443e0b30de Docker: Workaround Intel's expired key 2023-11-27 22:38:47 +01:00
Ole Schütt
6a339c0786 Manual: Add default unit to keywords 2023-11-27 22:31:15 +01:00
Ole Schütt
d00e6285e1 Manual: Fix code blocks 2023-11-27 22:31:15 +01:00
Jan Wilhelm
70cdbe9d1f
periodic G0W0+SOC also for open-shell 2023-11-27 20:51:09 +01:00
Juerg Hutter
0b3f9b5b04
Fix Convention Violations (#3133) 2023-11-27 17:21:07 +01:00
Juerg Hutter
bbd14a5fe6
SGP Potential refactoring (#3129) 2023-11-24 17:18:59 +01:00
Ole Schütt
8529b7e3c2 DBM: Avoid calling dgemm on zero-sized blocks 2023-11-24 16:57:13 +01:00
Jan Wilhelm
59661274f7
open-shell periodic GW (#3125)
Co-authored-by: JWilhelm <jan.wilhelm@ur.de>
2023-11-24 16:48:24 +01:00
Ole Schütt
71ab6edeee precommit: Fix Python 3.6 incompatibility 2023-11-24 15:37:50 +01:00
Juerg Hutter
662b2c64c0
Remove debug code and CONTIGUOUS argument, update regtests (#3124) 2023-11-22 11:21:21 +01:00
Rocco Meli
183bfa028a
Explicitly initialize HIP/CUDA before MPI
Co-authored-by: Mikael Simberg <mikael.simberg@iki.fi>
2023-11-21 23:02:59 +01:00
Ole Schütt
65a7a05ca6 Manual: Migrate howto:allegro from wiki (Orig. Author: Gabriele Tocci) 2023-11-21 18:05:00 +01:00
Ole Schütt
51cc14eb1a Manual: Migrate howto:gfn1xtb from wiki (Orig. Author: Anna Hehn) 2023-11-21 18:05:00 +01:00
Ole Schütt
602c0e3230 Manual: Migrate howto:kg from wiki (Orig. Author: Samuel Andermatt) 2023-11-21 18:05:00 +01:00
Ole Schütt
79ab519a38 Manual: Migrate howto:gw from wiki (Orig. Author: Jan Wilhelm) 2023-11-21 18:05:00 +01:00
Ole Schütt
641be0aec5 Manual: Migrate howto:mp2 from wiki 2023-11-21 18:05:00 +01:00
Ole Schütt
4bf43545bd Manula: Add precommit check for biblio refs 2023-11-21 18:05:00 +01:00
Ole Schütt
42e37addd9 Manual: Fix equation in cdft page 2023-11-21 18:05:00 +01:00
Juerg Hutter
c3608e6d9b
2nd/3rd functional derivatives for TDDFT forces: (#3122) 2023-11-21 18:01:17 +01:00
Ole Schütt
39fc2feded Manual: Migrate howto:cdft from wiki (Orig. Author: Nico Holmberg) 2023-11-17 18:33:20 +01:00
Ole Schütt
3968f4cba6 Manual: Migrate howto:lrigpw from wiki (Orig. Author: Dorothea Golze) 2023-11-17 18:33:20 +01:00
Ole Schütt
5bd7b2de02 Manual: Enable some more MySt extensions 2023-11-17 18:33:20 +01:00
Juerg Hutter
e1b64ec72d
ADMM: input(short cuts) and output(write info to output) (#3118) 2023-11-17 12:42:20 +01:00
Ilya Fedorov
79e602843f Add regtests for ROKS: MO_CUBES & LOCALIZE WANNIER 2023-11-16 09:34:05 +01:00
Ilya Fedorov
102fcf359c Fix hardwired unit numbers 2023-11-16 09:34:05 +01:00
Ilya Fedorov
463e7a9832 Fix another auto-format error 2023-11-16 09:34:05 +01:00
Ilya Fedorov
4de64116f7 Fixed several formatting errors 2023-11-16 09:34:05 +01:00
Ilya Fedorov
9d884ae121 Fix Wannier localization when using LOW SPIN ROKS.
- Added the ability to calculate Wannier Сenters for the ROKS method (only LOCALIZE NONE and JACOBI).
- Added the error message when ROKS and LOCALIZE were used incorrectly (instead of Segmentation Fault).
- Replaced the output of two spins in ROKS by the output of spin 1 only, since the densities of spin_1/2 are the same.

I have previously raised this issue in the Google Group discussion https://groups.google.com/g/cp2k/c/yJPJS2vUkBI

This Wannier centres analysis is added in analogy to the implementation in CPMD code.
See https://github.com/CPMD-code/CPMD/blob/main/src/ddipo_utils.mod.F90,
The fragment “ELSEIF (lspin2%tlse) THEN…” means that for singly filled orbitals the Jacobi rotation is disabled.
In this case, the number of orbitals to which the Jacobi rotation can be applied has been reduced by 2 since SOMO-1 and SOMO-2 orbitals should not rotate.
2023-11-16 09:34:05 +01:00
Juerg Hutter
225305aa15
Bug fix Mixed GPW/GAPW TDDFPT forces (#3116) 2023-11-15 17:28:54 +01:00
Rocco Meli
9e23118c5f
Fix FFTW3 from MKL usage 2023-11-15 14:23:30 +01:00
Juerg Hutter
77c1cb79c0
TDDFPT GAPW forces: fix erroneous change (#3114) 2023-11-15 10:38:55 +01:00
Juerg Hutter
eb5c80b9cf
GAPW TDDFPT Forces: bug fix in fxc term (#3112) 2023-11-14 19:11:24 +01:00
Matthias Krack
8cac2ee4f4 Relocate check to make it independent of the chosen print level 2023-11-14 19:01:44 +01:00
Juerg Hutter
c074904eb1
TDDFPT forces for mixed GAPW/GPW (#3110) 2023-11-14 17:22:20 +01:00
Ole Schütt
443130275c precommit: Wrap Markdown lines after 100 characters 2023-11-14 12:47:36 +01:00
Ole Schütt
090ed75924 precommit: Add mdformat-myst and upgrade package 2023-11-14 12:47:36 +01:00
Ole Schütt
e3caab925d precommit: Fix Dockerfile 2023-11-12 19:48:03 +01:00
Frederick Stein
bfa4778286
PW: Bind functions to objects, remove reference counting from pw_poisson_type (#3106) 2023-11-12 16:23:59 +01:00
Frederick Stein
1df1199c14
PW: Remove module pw/fast in favor of more generic copy routines (#3105) 2023-11-11 16:30:44 +01:00
Matthias Krack
ac71c107aa Build plumed with all modules by default 2023-11-10 15:10:08 +01:00
BelizSertcan
14576fcd0d
create TDDFPT%LINRES section (#3101)
Co-authored-by: BelizSertcan <beliz.sertcan@uzh.ch>
2023-11-10 07:56:48 +01:00
Juerg Hutter
2f34a037fe
Another update of BASIS_MOLOPT_LnPP2 (#3102) 2023-11-10 07:56:23 +01:00
Juerg Hutter
164be73c51
Correct LnPP2 Basis sets. Some typos corrected Jun-Bo Lu (#3100) 2023-11-09 12:04:22 +01:00
abussy
44ddd7182a KP-RI-HFX| minor communication optimization for large systems 2023-11-08 16:57:02 +01:00
Matthias Krack
c510cb5c2a Update dashboard 2023-11-08 13:54:21 +01:00
Matthias Krack
a01af14846 Remove space after flag 2023-11-08 07:58:01 +01:00
Matthias Krack
b4f1a254cb Use legacy sed symtax and add library 2023-11-08 07:58:01 +01:00
Matthias Krack
5c4232f7b8 Switch test from MPICH to OpenMPI 2023-11-08 07:58:01 +01:00
Juerg Hutter
1e070e574e
GAPW TDDFPT Forces: bug fix in fxc term (#3094) 2023-11-07 09:59:20 +01:00
Matthias Krack
f7981f7f46 Remove SINGLE_PRECISION_MATRICES keyword 2023-11-07 09:30:00 +01:00
Frederick Stein
aecd330b8c MPI: Specify imported routines and constants with MPI_F08 2023-11-06 21:59:49 +01:00
Frederick Stein
635f2d594a MPI: Add wrapper to MPI_Comm_Get_Attr 2023-11-06 21:59:49 +01:00
tsaihsiaoyi
1eb99f0345 fix SIRIUS scripts for different sed on Darwin 2023-11-06 13:31:38 +01:00
Ole Schütt
ac343fdab9 Fix parsing of atom sites from CIF files 2023-11-06 13:03:04 +01:00
Rocco Meli
a1ef185ff9
Add short intro to Spack to documentation 2023-11-06 13:02:35 +01:00
Orion Poplawski
15d06616f0 Allow setting CMAKE_INSTALL_Fortran_MODULES 2023-11-04 15:20:29 +01:00
Ole Schütt
ab8d59069b precommit: Use Python venv 2023-11-04 14:30:06 +01:00
Ole Schütt
f8667229bc Fix Python 3.12 warnings 2023-11-04 14:30:06 +01:00
Ole Schütt
ecebeaa6cb Adjust tolerance of QS/regtest-hfx/H2O-hfx-emd.inp 2023-11-04 14:02:27 +01:00
Ole Schütt
27465532c2 Docker: Remove old prod files
The new ones are at http://github.com/cp2k/cp2k-containers
2023-11-01 13:01:46 +01:00
Ole Schütt
86d430199c Docker: Add CI-trigger for docs 2023-11-01 13:01:46 +01:00
Guillaume Le Breton
667ecb8f0e VG for EMD 2023-10-31 10:54:01 +01:00
Frederick Stein
b95f5459bc
Active space: Implement ERI calculation using half-transformed integrals (#3082)
This PR implements several options which have already been available in the input but were not implemented:

    half-transformed integral calculation algorithm: borrowed from the GPW-MP2 method. It is a much fast algorithm to calculate the integrals, especially if all orbitals are correlated. This implementation is 2-3 faster than the legacy FULL_GPW algorithm.
    store_wfn: this option enables the on-the-fly calculation the orbital functions on a grid. It increases the costs by 40 % in case of half-transformed integrals (no idea in case of the FULL_GPW method but probably much more expensive than the with storing the orbitals). It allows to reduce the memory footprint significantly, especially in case of molecular systems with their larger number of grid points
    subgroups: As in the WFC module, the calculation of integrals is possible in subgroups trading memory for reduced communication. I measured a threefold improvement.
    The new implementation is GPU accelerated as it relies on DBCSR and the grid code for the integration of the potential (untested).
    A bunch of new regression tests (QS/regtest-as-2, QS/regtest-as-3)

This implementation works well with the GPW method but is inadequate if highly localised AOs are present (known issue of GPW). In these cases, a GAPW-like implementation would be advantageous but a matter of implementation.
2023-10-31 10:50:19 +01:00
Matthias Krack
4b4a7401ca Production docker files moved to new repository https://github.com/cp2k/cp2k-containers 2023-10-31 10:32:34 +01:00
Taillefumier Mathieu
2e9ae7a9f4
Docker files for spack stack 2023-10-30 21:00:34 +01:00
Ole Schütt
c03a135806 Manual: Add special treatment for XC_FUNCTIONAL sections 2023-10-30 10:54:44 +01:00
Ole Schütt
73d5172bf9 Manual: Remove doctrees and sources from artifacts 2023-10-30 10:54:44 +01:00
Orion Poplawski
f4ae0b7372 Allow setting CP2K_CMAKE_SUFFIX to append to __cp2k_cmake_name 2023-10-30 10:37:23 +01:00
Rocco Meli
61cc8baa64
Allow usage of wrapper script when running regression tests with MPI 2023-10-26 17:24:09 +02:00
Jan Wilhelm
b3b72e1c52
Latex formulae in input description, remove 2 keywords 2023-10-26 17:16:13 +02:00
dependabot[bot]
b1e573e536 Bump werkzeug from 2.3.3 to 3.0.1 in /tools/precommit
Bumps [werkzeug](https://github.com/pallets/werkzeug) from 2.3.3 to 3.0.1.
- [Release notes](https://github.com/pallets/werkzeug/releases)
- [Changelog](https://github.com/pallets/werkzeug/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/werkzeug/compare/2.3.3...3.0.1)

---
updated-dependencies:
- dependency-name: werkzeug
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-26 10:55:19 +02:00
Ole Schütt
ed1be9b29a Manual: Fix formatting of links 2023-10-24 22:32:05 +02:00
Ole Schütt
25c905ac38 Manual: Fix github links for section descriptions 2023-10-24 22:32:05 +02:00
Ole Schütt
8b7388f4ba Manual: Preserve timestamp of unchanged files 2023-10-24 22:32:05 +02:00
Taillefumier Mathieu
3302655999
Use MKL implementation of fftw3 by default when mkl is found 2023-10-24 20:39:01 +02:00
Rocco Meli
01090ebf07
Fix documentation for ELPA_FORCE_REDISTRIBUTE 2023-10-23 20:58:59 +02:00
Rocco Meli
9df73a8e4b
Fix CMake test command message 2023-10-23 13:17:27 +02:00
Ole Schuett
03ec598368 Docker: Add trigger_path to cmake target 2023-10-23 12:24:35 +02:00
Ole Schütt
aa8cc80eb7 Docker: Add regtests to CMake test 2023-10-22 21:45:48 +02:00
Rocco Meli
b85a701a21 Fix MPI_F08 in CMake 2023-10-21 16:39:04 +02:00
Ole Schütt
d66e3bd31a Manual: Convert HTML tags to Markdown 2023-10-20 20:05:30 +02:00
Ole Schütt
8fbc8e1d2a Manual: Fix formatting of code blocks 2023-10-20 20:05:30 +02:00
Ole Schütt
9a016325ee Manual: Enable MathJax 2023-10-20 20:05:30 +02:00
Ole Schütt
4e51c62e63 Manual: Remove html_entity_table and switch to UTF-8 encoding 2023-10-20 20:05:30 +02:00
Matthias Krack
73d2c19d60 Fix docs 2023-10-20 18:27:25 +02:00
Matthias Krack
f6f3144d91 Stabilise MD extrapolation tests 4 and 7 2023-10-20 16:26:42 +02:00
Matthias Krack
a7a5de3429 Add description for CUDA 2023-10-20 12:06:08 +02:00
Matthias Krack
a3a2b52093 Update README.md 2023-10-20 09:25:31 +02:00
Matthias Krack
1a41a8b07a Add cross-links 2023-10-19 17:59:22 +02:00
Matthias Krack
520b3d2b5b Remove apptainer script from check list 2023-10-19 16:39:25 +02:00
Matthias Krack
03e5f03162 Update README.md 2023-10-19 16:39:25 +02:00
Matthias Krack
ea9cb3ffd9 Drop apptainer definition files 2023-10-19 16:39:25 +02:00
Matthias Krack
5be5e3874a Update README.md 2023-10-19 16:39:25 +02:00
Ole Schuett
c6c6fae94e Add two more commits to .git-blame-ignore-revs 2023-10-19 15:26:05 +02:00
Rocco Meli
9ea6229bac Create .git-blame-ignore-revs 2023-10-19 14:57:46 +02:00
Taillefumier Mathieu
25e21fa018
[cmake] fix issues when cp2k is build with spack
Co-authored-by: Rocco Meli <r.meli@bluemail.ch>
2023-10-19 13:05:19 +02:00
Jan Wilhelm
f45a645518
new file "BASIS_PERIODIC_GW" for Gaussian basis sets optimized for periodic GW calculations (#3052)
Co-authored-by: JWilhelm <jan.wilhelm@ur.de>
2023-10-19 11:19:47 +02:00
Matthias Krack
305ec3327c Filter invalid combinations 2023-10-18 11:58:07 +02:00
abussy
d53834fba4 KP-RI-HFX| minor bug fix 2023-10-17 16:59:53 +02:00
hforbert
715739a36e
Helium-Solute NNP for interaction [cschran/lduran/hforbert] (#3043)
Helium-Solute NNP for interaction [cschran/lduran/hforbert]
2023-10-17 16:52:59 +02:00
Matthias Krack
54ae6c8529 Fix line break 2023-10-17 15:43:38 +02:00
Matthias Krack
fa3fd8786f Production docker files using CUDA and Intel 2023-10-17 15:43:38 +02:00
BelizSertcan
60a40e82a5
Linres: Add solver convergence warning 2023-10-17 12:56:35 +02:00
JWilhelm
152c9a1782 fix: test G0W0 gap instead of DFT gap 2023-10-17 12:55:33 +02:00
JWilhelm
34a6a202a7 low-scaling peridioc: reduce memory consumption and computational cost of N^3 scaling step 2023-10-17 12:55:33 +02:00
JWilhelm
80abb51545 remove regtest on restart which is not supported any more 2023-10-17 12:55:33 +02:00
Juerg Hutter
6b94574d37
IBO localization update, bug fix in fm lapack routines (#3042) 2023-10-13 17:38:27 +02:00
Frederick Stein
d5cf19bccd
Accelerate calculation of ERIs for active space calculations (#3040) 2023-10-13 14:28:30 +02:00
Matthias Krack
cd939261d1 Remove redundant package from list 2023-10-12 12:53:55 +02:00
Juerg Hutter
0735bf4f46
Bug fix for TDDFT Triplet states with libxc functionals (#3032) 2023-10-11 10:13:20 +02:00
abussy
5db0f86a89 Specify units in HFX%INTERACTION_POTENTIAL input 2023-10-10 16:58:02 +02:00
Ole Schuett
737e746daa RTP: Fix line truncation 2023-10-10 14:35:06 +02:00
Matthias Krack
a449e6714c Fix quotes; install OpenMPI 2023-10-10 13:05:22 +02:00
Matthias Krack
d9436a05df Generate also production docker files for Intel 2023-10-10 13:05:22 +02:00
glb96
6a02f61952 fixing the core H for EMD 2023-10-10 12:52:43 +02:00
Guillaume Le Breton
188e445957
Projection for EMD 2023-10-10 12:52:00 +02:00
Matthias Krack
27cc8e44f4 Add missing package 2023-10-07 19:33:31 +02:00
Matthias Krack
53a226acd6 Update arch file 2023-10-07 06:23:01 +02:00
Matthias Krack
689583f9aa Use FFTW libary from homebrew 2023-10-07 06:23:01 +02:00
abussy
19fdd643dd Fix Dashboard (PSI, Merlin) 2023-10-06 16:29:08 +02:00
abussy
1de2ab923b RI-HFX| Some optimization 2023-10-06 15:17:39 +02:00
Matthias Krack
9a6ee7dcc1 Update Darwin arch files 2023-10-05 16:58:24 +02:00
Juerg Hutter
bc0d8934c5
ED: updates (#3022) 2023-10-05 14:48:16 +02:00
abussy
1e516dface KP-RI-HFX| More optimization 2023-10-04 17:03:41 +02:00
Matthias Krack
5b73edfb3e Try update HDF5 1.12.0 -> 1.14.2 2023-10-04 14:28:15 +02:00
Juerg Hutter
21eaee01cc
Bug fix: GAPW TDDFPT Triplets with ADMM/XC-correction kernel (#3018) 2023-10-04 13:36:16 +02:00
Ole Schütt
cc008e2247 Docker: Upgrade to Mypy 1.5.1 2023-10-04 13:03:22 +02:00
Ole Schütt
b0315a0180 Dashboard: Fix type annotations 2023-10-04 13:03:22 +02:00
Ole Schuett
7c90856a67 Add precommit check for spaces in multi-line strings 2023-10-02 21:47:59 +02:00
JWilhelm
baebecffbc remove gw_types.F which is not needed any more 2023-10-02 12:47:52 +02:00
Juerg Hutter
3c55af5c09
Bug fix for TDDFPT-ADMM-GAPW-Xcorrection forces (#3012) 2023-09-29 17:10:18 +02:00
Juerg Hutter
fb5fecc615
TDDFPT GAPW (#3011) 2023-09-29 13:41:03 +02:00
Taillefumier Mathieu
fc165b5e60
[cmake] More modern ways to use cmake (partially) 2023-09-29 11:14:42 +02:00
glb96
e4f5572f67 Update WFN_MIX and RTP 2023-09-28 14:12:02 +02:00
Matthias Krack
263bc55106 Consider move of do_regtest.py for master 2023-09-28 10:30:46 +02:00
Ole Schütt
04dd428432 Move do_regtest.py into tests dir 2023-09-27 11:17:40 +02:00
abussy
c94756ddc7 KP-RI-HFX| Minor performance optimization 2023-09-26 15:05:21 +02:00
BelizSertcan
ec5961682a
HFX warning for KS sparsity (#3006)
Co-authored-by: Beliz Sertcan <beliz.sertcan@uzh.ch>
2023-09-26 13:19:30 +02:00
Jan Wilhelm
2bd8311d34
Add initializers to post_scf_bandstructure_types.F 2023-09-25 13:17:13 +02:00
Matthias Krack
dfc565023e GCC 13.1.0 -> 13.2.0 2023-09-22 16:11:18 +02:00
Beliz Sertcan
8e56853b0d
Warning message for shortcut and explicit XC functional usage (#3001)
Co-authored-by: Beliz Sertcan <beliz.sertcan@uzh.ch>
2023-09-22 14:44:41 +02:00
Matthias Krack
15eace7124 CMake 3.26.3 -> 3.27.6 2023-09-22 14:43:47 +02:00
Matthias Krack
37c1559bd9 Update arch files 2023-09-22 13:43:48 +02:00
Jan Wilhelm
6a2264c2e1
high-level routines for SOC; bandstructure, PDOS, local bandgap for G0W0/SOC 2023-09-20 12:34:22 +02:00
Ole Schütt
6636911b7d Docker: Make ASE test temp files available as artifacts 2023-09-19 21:32:02 +02:00
abussy
e26bbca61b RI-HFX for K-points (with gradients and ADMM)
Co-authored-by: Tiziano Müller <tiziano.mueller@chem.uzh.ch>
2023-09-19 16:19:03 +02:00
Ole Schütt
aacccca480 DBM: Fix support for zero sized blocks 2023-09-16 00:02:50 +02:00
Matthias Krack
00bd377ddf Try an increase of NUM_THREADS: 64 -> 128 2023-09-14 14:52:12 +02:00
Matthias Krack
b6ff973a74 OpenBLAS 0.3.23 -> 0.3.24 2023-09-14 14:52:12 +02:00
Matthias Krack
7e52d8fe64 PLUMED 2.8.2 -> 2.9.0 2023-09-13 18:16:56 +02:00
Orion Poplawski
b3b5e33da2 Honor initial CMAKE_Fortran_FLAGS/FFLAGS 2023-09-13 18:12:30 +02:00
Frederick Stein
92e6ae67e3
Fix initialization issue with GCC8 and GCC9.3 (#2988) 2023-09-13 14:43:14 +02:00
Ole Schütt
0473348743 Docs: Add Github links 2023-09-11 14:11:03 +02:00
Ole Schütt
1e16acf3a4 Docs: Outline methods section 2023-09-11 14:11:03 +02:00
Ole Schütt
40996b0354 Docs: Migrate howto:pao-ml from wiki 2023-09-11 14:11:03 +02:00
Ole Schütt
8e1ea28c4f Manual: Add keyword deprecation notices 2023-09-11 14:10:31 +02:00
Ole Schütt
96b3c5ec5f MD: Refactor REFTRAJ / EVAL_ENERGY_FORCES keyword 2023-09-11 14:10:18 +02:00
Matthias Krack
113f45f1e2 Add missing initialisations detected by the Intel compiler 2023-09-09 00:23:59 +02:00
Matthias Krack
a7e2fa4c2e Fix conventions 2023-09-08 22:13:24 +02:00
Guillaume Le Breton
e72bf4cc93
Documentations update and user-friendly prints (#2976) 2023-09-08 17:04:28 +02:00
Guillaume Le Breton
07708672b8
Add tests for RTP and especially for VG implementation (#2977) 2023-09-08 17:03:41 +02:00
Frederick Stein
c980ceb41c
Fix TDDFPT restart (#2975)
This PR fixes the TDDFPT restart functionality broken since PR #2859.

Adds a regtest testing the restart functionality.
2023-09-08 13:24:51 +02:00
Matthias Krack
e4289968d5 Fix forces output with REFTRAJ 2023-09-07 16:07:21 +02:00
Tianxiang Wang
1f99e2510f Fix the error that the allocatable attribute globenv%gaussian_rng_stream is not allocated 2023-09-07 13:23:55 +02:00
Frederick Stein
de3ba621d3
Workaround missing findloc function if GCC8 is used (#2972) 2023-09-07 11:07:31 +02:00
Mia Schambeck
3bcd6e6d97 Fix crash when using GW without calculating the spec 2023-09-05 17:56:22 +02:00
Matthias Krack
a72b41a0ce Suppress convention 2023-09-05 11:14:51 +02:00
Ole Schütt
185b7b66b5 Dashboard: Add README
Source https://www.cp2k.org/dev:dashboard
2023-09-04 22:41:26 +02:00
glb96
178857898e Fix occ nbr
make pretty
2023-09-04 11:24:46 +02:00
Ole Schütt
b75a7836de Dashboard: Move weekly tests to the bottom 2023-09-04 00:27:49 +02:00
FX Coudert
de3948f284
Darwin: libint2 requires -lstdc++ flag (#2966) 2023-09-03 21:18:49 +02:00
Mia Schambeck
5cf5c9b258 Add printing of spectral functions in GW codes 2023-09-01 11:20:15 +02:00
Matthias Krack
edf7f2fb6b
Also log the reading of wfn restart files (#2960) 2023-08-31 13:16:19 +02:00
Ole Schütt
f67586f46b Docker: Avoid compiling cp2k twice 2023-08-30 20:02:42 +02:00
Ole Schütt
2e356e7d9b Docker: Fix quoting of TESTOPTS 2023-08-30 20:02:42 +02:00
Dr. Mathieu Taillefumier
130ab16a8f [fft backend] Fix an error when __MKL=0 but __FFTW3=1. 2023-08-30 20:02:29 +02:00
Ole Schütt
ad1d17f038 Dashboard: Reduce cadence of expensive tests 2023-08-30 15:45:47 +02:00
Matthias Krack
a647768d8b Fix target CPU for OpenBLAS build on AMD Zen 2023-08-30 12:03:58 +02:00
Taillefumier Mathieu
6aa93c4aec
[cmake] Add cmake module for finding the cusolver library 2023-08-30 10:59:06 +02:00
Ole Schütt
26828f2f1c Fist: Add IMPROPERS keyword to CHARMM parser 2023-08-30 10:58:40 +02:00
Ole Schütt
ebc1004aee Fist: Increase atom type length in missing parameter message 2023-08-30 10:58:40 +02:00
Matthias Krack
3f47a0c191
Find HDF5 in system paths and prefer static libs (#2954) 2023-08-30 10:56:53 +02:00
Matthias Krack
c08aeba105 Add missing libraries 2023-08-28 17:32:41 +02:00
Ole Schütt
9ee5af4463 Docs: Add cross-references for sections 2023-08-28 17:19:06 +02:00
Matthias Krack
e49da1f770 Turn HDF5 library to a general dependency 2023-08-28 14:27:06 +02:00
Stefano Battaglia
967ffb23fc
Fix compilation errors without HDF5 library (#2947) 2023-08-25 13:16:27 +02:00
Matthias Krack
0f474a84fe Fix replication of Intel compiler flags 2023-08-25 09:21:11 +02:00
Frederick Stein
0a8eaf69db
Use routines in pw_methods for some standard grid operations (#2939)
This PR prepares later improvement steps for the OpenMP parallelization.

This PR enforces the developer to provide proper spaces and data types when a PW grid is created. In that regard, there are also some inconsistencies within the PW methods.
2023-08-24 16:52:55 +02:00
Stefano Battaglia
cd366a4022
Long-range quantum computing (WF) in short-range DFT embedding (#2924) 2023-08-24 14:15:15 +02:00
Matthias Krack
ce4b5920fa Make functional selection case insensitive
Update URL for DFT-D3 web page
2023-08-24 10:30:01 +02:00
Matthias Krack
992aa927d0 Fix for Intel compiler (suppress OpenMP for loop) 2023-08-23 21:55:55 +02:00
Matthias Krack
73942e2fcb Fix for Intel compiler (suppress OpenMP for loop) 2023-08-23 21:55:55 +02:00
Juerg Hutter
118b17cf78
GAPW_XC : TDDFT forces (#2940) 2023-08-23 16:31:47 +02:00
Juerg Hutter
069eaf4d8c
GAPW TDDFPT more bug fixes (#2937) 2023-08-23 14:03:31 +02:00
Matthias Krack
5d7e5d7280 Fix some INTENT attributes, remove unused variables 2023-08-23 13:50:22 +02:00
Matthias Krack
48569ea349 Switch to latest oneAPI HPC Toolkit version 2023.2.1 2023-08-22 17:27:34 +02:00
Matthias Krack
77ffc18d1b Move flag for the selected Intel compiler to compiler command 2023-08-22 17:27:34 +02:00
Matthias Krack
b3253c96b2
Fix brackets (#2935) 2023-08-21 22:47:22 +02:00
Jan Wilhelm
1ba8f62498 Initialize integers 2023-08-21 12:30:35 +02:00
Juerg Hutter
19cf1968ac
New Benchmark (small/medium) for different types of functionals (#2934) 2023-08-21 11:49:13 +02:00
Juerg Hutter
e709bc9b96
GAPW TDDFPT (#2932) 2023-08-18 15:18:36 +02:00
Matthias Krack
627b89bbdc Run checks for new python script 2023-08-17 17:36:08 +02:00
Matthias Krack
04160cfa1d Apply make pretty 2023-08-17 17:36:08 +02:00
Matthias Krack
331bfeab41 Extend docs for docker 2023-08-17 17:36:08 +02:00
Matthias Krack
92ce83fef4 Update README.md 2023-08-17 17:36:08 +02:00
Matthias Krack
666f65ee3f Add docker files for CP2K production containers
These docker files create CP2K containers providing CP2k production binaries for
different target CPUs. Their compressed sizes range from 600-900 MiB depending on
the CP2K version and the inclusion of regression test capabilities.
2023-08-17 17:36:08 +02:00
Jan Wilhelm
5b040937cb
GW: Add default initializers, remove gw_env_create, and fix double free 2023-08-17 10:50:25 +02:00
Matthias Krack
5080151e8b Avoid compiler warning 2023-08-16 13:42:15 +02:00
Frederick Stein
719a49c189
Refactor rs and pw grids (#2927)
- turn many POINTERs to ALLOCATABLEs
- make POINTERs CONTIGUOUS
- remove some calculations of flop counts where they are actually never used
2023-08-16 09:53:10 +02:00
Jan Wilhelm
8ce3b69bbf
Initial commit of scalable, low-memory periodic GW 2023-08-15 17:17:57 +02:00
Matthias Krack
229f47c443 Adjust tolerances 2023-08-15 14:41:33 +02:00
Matthias Krack
d6c37dd69f Fix typo 2023-08-14 16:43:01 +02:00
Matthias Krack
b331c57d0a Fix convention: WRITE with hardcoded unit number 2023-08-11 14:14:43 +02:00
Ole Schütt
95099fafeb Docker: Upgrade to Fedora 38 2023-08-11 14:09:23 +02:00
Ole Schütt
73e002b346 Docs: Fix cross-referencing 2023-08-11 14:05:27 +02:00
Matthias Krack
dfc25fd9e9 Use year range in copyright 2023-08-11 12:35:04 +02:00
Matthias Krack
a7dbf5514b Fix keyword list entries with underscores 2023-08-11 12:35:04 +02:00
Matthias Krack
f437168fd5 Fix typo in variable name 2023-08-11 12:35:04 +02:00
Ole Schütt
34dff9424b Docs: Add link to keywords in TOC 2023-08-11 09:28:39 +02:00
Ole Schütt
6e11a35759 Docs: Touch up README 2023-08-11 09:28:39 +02:00
Frederick Stein
3b580084b3
Fix incorrect density gradients from collocation (#2916) 2023-08-10 17:06:07 +02:00
Ole Schuett
281badbfed Docs: Exclude README.md from Sphinx build 2023-08-10 16:58:18 +02:00
Ole Schuett
cc3649de41 Docs: Add README 2023-08-10 15:18:29 +02:00
Matthias Krack
d1376dc496 Compile QUIP for OpenMP 2023-08-09 22:29:44 +02:00
Matthias Krack
c9b6d17c3b Prefer static library if available 2023-08-09 22:29:44 +02:00
Matthias Krack
edd4516f21 Update arch files (ELPA 2023.05.001) 2023-08-09 11:19:20 +02:00
Frederick Stein
1668dc7f1d
Fix dashboard (#2904)
This bugfix circumvents bugs of some older versions of gcc. These are related to default initializers of derived types with allocatable components. In order to circumvent that bug, the respective components have to be explicitly initialized with NULL().
2023-08-09 08:12:29 +02:00
abussy
3c614b3d26 XAS_TDP| Fix bug leading to crashes when n_ranks >>> nex_atom 2023-08-08 17:46:30 +02:00
Juerg Hutter
b696fd2f1a
Energy decomposition analysis (#2906) 2023-08-08 14:29:14 +02:00
Frederick Stein
2f19cdfe1e Bump ELPA to version 2023.05.001 2023-08-08 11:14:54 +02:00
Ole Schütt
95f49a754b Docker: Fix i-PI test 2023-08-07 16:25:32 +02:00
Ole Schütt
a909717e11 Docs: Touch up generate_input_reference.py 2023-08-07 16:25:32 +02:00
abussy
e7df6e8053 Higher precision for new ADMM force regtests 2023-08-07 14:05:33 +02:00
abussy
da72331b10 ADMM| Fix bugs in ADMMP and ADMMS forces/virial 2023-08-06 17:15:07 +02:00
Matthias Krack
f783b28058 Sort keywords in new manual and "ruff" script 2023-08-06 15:31:28 +02:00
Dr. Mathieu Taillefumier
4773fc6ffb [hip] bump version to 50300000 2023-08-04 19:51:28 +02:00
Matthias Krack
44530f2c6c Update license dump 2023-08-04 19:06:31 +02:00
Frederick Stein
2968ed4d97
Add more initializers (#2896) 2023-08-04 17:09:41 +02:00
Matthias Krack
28fd90ebcf Minor fixes 2023-08-04 15:27:01 +02:00
Matthias Krack
416f200f6f Fix indentation 2023-08-04 13:17:43 +02:00
Anna Hehn
2adf4decec Pseudopotential for spin-orbit coupling for TDDFPT 2023-08-04 09:47:32 +02:00
Matthias Krack
aa92176459 Increase threshold for eigenvector orthonormality check if enabled 2023-08-03 15:20:42 +02:00
Matthias Krack
cf1be641b9 Insert missing word 2023-08-03 13:57:27 +02:00
Matthias Krack
38121ef92c Add apptainer definition files for release 2023.2 2023-08-03 13:57:27 +02:00
Ole Schütt
f008f64441 Docs: Remove XSLT-based manual 2023-08-02 17:18:01 +02:00
Juerg Hutter
ad7b276f2d
New default settings for regtesting with DEBUG (#2889) 2023-08-02 15:16:24 +02:00
Frederick Stein
e0de08f55d
Fix initializers (#2888) 2023-08-02 13:44:19 +02:00
Frederick Stein
72113d53c0
Add default initialization in HFX/WFC types (#2838) 2023-08-01 14:53:05 +02:00
Ole Schütt
5f9ab2f991 offload: Fix build for HIP_VERSION < 5.2 2023-08-01 14:34:30 +02:00
Ole Schütt
9e9c285912 Docs: Restore generation of vim plugin 2023-08-01 14:34:14 +02:00
Ole Schütt
91069aecfb Docs: Add favicon 2023-08-01 14:34:14 +02:00
Ole Schütt
ebf5b8bd73 Docs: Launch Sphinx-based manual 2023-07-31 15:06:59 +02:00
Ole Schütt
b72f727f4a Docs: Add versions page 2023-07-31 15:06:59 +02:00
Ole Schütt
a86c0e565d Docker: Restore Fedora test which got lost in 7b909a0 2023-07-31 15:06:50 +02:00
Matthias Krack
de16073c74 Minor arch file update 2023-07-31 12:38:14 +02:00
Nils Holle
85aa16b2c2 Add apptainer images for znver2 and znver3 2023-07-31 12:37:51 +02:00
Juerg Hutter
047b44d364
Move all ScaLapack routines to the fm folder (#2882) 2023-07-31 11:46:16 +02:00
abussy
75b52d3e1f XAS_TDP| fix dipole matrix type in VELOCITY gauge 2023-07-24 16:01:41 +02:00
Taillefumier Mathieu
3b45327215
offload: Only set LimitMallocHeapSize for HIP_VERSION > 5.2 2023-07-24 12:33:04 +02:00
Ole Schütt
bf5cdd7210 Fix typo in tools/manual/index.html 2023-07-22 17:31:51 +02:00
Ole Schütt
83e41f0a86 Docker: Skip libcp2k_unittest in prod builds 2023-07-22 14:03:37 +02:00
Ole Schütt
1509dbbfbd Increase development version after 2023.2 release 2023-07-22 14:03:37 +02:00
8860 changed files with 1285517 additions and 740240 deletions

View file

@ -1,6 +1,7 @@
exe
lib
obj
build
regtesting
tools/toolchain/install
tools/toolchain/build
@ -9,3 +10,6 @@ docs/CP2K_INPUT
.git*
*~
\#*\#
/install
/spack
/spack_cache

1
.fmf/version Normal file
View file

@ -0,0 +1 @@
1

10
.git-blame-ignore-revs Normal file
View file

@ -0,0 +1,10 @@
# .git-blame-ignore-revs
# prettify TEST_FILES files
bb17fff6cb5d3268353275b6fea7c5f276b83cc2
# Reformatting with new prettify
1af1bff06048f25cd9eedba29de08bb626487881
# Prettify using fpretty 0.3.7
d96e1b0d16ad35be34d4309f3ee892dd9bae216a
# Format all input files
2b6ea54d62d47f612ebe393feb43fe4afc1444b3

5
.gitattributes vendored
View file

@ -1,5 +1,4 @@
CODEOWNERS export-ignore
.gitattributes export-ignore
.git-blame-ignore-revs export-ignore
.gitignore export-ignore
.gitmodules export-ignore
.pre-commit-config.yaml export-ignore
.github/** export-ignore

40
.gitignore vendored
View file

@ -1,14 +1,15 @@
# base directory structure
/bin/
/build*/
/doxygen/
/exe/
/install*/
/lib/
/obj/
/bin/
/doxygen/
/regtesting/
/install/
# ignore local arch files not meant to be shared
/arch/local*
# ignore former git submodules
/tools/prettify/fprettify
# ensure people are not accidentally committing an old .svnignore when copying their stuff
.svnignore
@ -92,16 +93,12 @@ dkms.conf
# Executables
### CMake ###
CMakeLists.txt.user
CMakeCache.txt
CMakeFiles
CMakeScripts
Testing
cmake_install.cmake
install_manifest.txt
compile_commands.json
CTestTestfile.cmake
_deps
build*/
# Spack
build-*
.spack_patched
/spack*/
### CMake Patch ###
# External projects
@ -186,6 +183,8 @@ flycheck_*.el
__pycache__/
*.py[cod]
*$py.class
# venv
docs_venv/
# C extensions
@ -255,6 +254,10 @@ docs/_build/
docs/CP2K_INPUT/
docs/CP2K_INPUT.md
docs/bibliography.md
docs/cp2k_input.xml
docs/references.html
docs/units.html
docs/units.md
# PyBuilder
.pybuilder/
@ -312,6 +315,7 @@ venv/
ENV/
env.bak/
venv.bak/
.envrc
# Spyder project settings
.spyderproject
@ -368,3 +372,9 @@ tags
[._]*.un~
# End of https://www.gitignore.io/api/python,fortran,c,c++,cuda,emacs,vim,cmake
!tools/fedora/cp2k.spec
# CLion directories
/.idea/
/cmake-build-*

8
.gitmodules vendored
View file

@ -1,8 +0,0 @@
[submodule "exts/dbcsr"]
path = exts/dbcsr
url = https://github.com/cp2k/dbcsr
branch = master
[submodule "tools/prettify/fprettify"]
path = tools/prettify/fprettify
url = https://github.com/pseewald/fprettify.git
branch = master

65
.packit.yaml Normal file
View file

@ -0,0 +1,65 @@
specfile_path: tools/fedora/cp2k.spec
files_to_sync:
- src: tools/fedora/
dest: ./
delete: true
filters:
- "protect .git*"
- "protect sources"
- "protect changelog"
- "- tests/"
- src: .fmf/
dest: .fmf/
- .packit.yaml
upstream_package_name: cp2k
downstream_package_name: cp2k
upstream_tag_template: v{version}
# Run only smoke tests by default
test_command:
default_identifier: smoke
targets:
- fedora-development-x86_64
- fedora-development-aarch64
- fedora-latest-x86_64
- fedora-latest-aarch64
jobs:
- &copr_build
job: copr_build
trigger: release
owner: lecris
project: release
- <<: *copr_build
trigger: commit
branch: master
project: nightly
- &tests
job: tests
trigger: commit
tmt_plan: .*/smoke
- job: copr_build
trigger: pull_request
manual_trigger: true
- <<: *tests
identifier: smoke
trigger: pull_request
manual_trigger: true
- <<: *tests
identifier: full
trigger: pull_request
manual_trigger: true
tmt_plan: .*/full
- job: propose_downstream
trigger: release
dist_git_branches:
- fedora-rawhide
- job: koji_build
trigger: commit
dist_git_branches:
- fedora-all
- job: bodhi_update
trigger: commit
dist_git_branches:
- fedora-branched

File diff suppressed because it is too large Load diff

73
CODEOWNERS Normal file
View file

@ -0,0 +1,73 @@
# Top-level files
/* @cp2k/cp2k-admins
# Data
/data/ @mkrack @juerghutter
# CMake
/cmake/ @mkrack @mtaillefumier @RMeli
/CMakeLists.txt @mkrack @mtaillefumier @RMeli
# Spack
/tools/spack/ @mkrack @mtaillefumier @RMeli
/make_cp2k.sh @mkrack @mtaillefumier @RMeli
# Toolchain
/tools/toolchain/ @mkrack @oschuett
# Testing + Conventions
/tools/conventions/ @mkrack @oschuett
/tools/precommit/ @mkrack @oschuett
/tools/dashboard/ @mkrack @oschuett
/tools/docker/ @mkrack @oschuett
# Load bearing APIs and files
/src/fm/ @fstein93 @oschuett
/src/pw/ @fstein93 @oschuett
/src/pw_env/ @fstein93 @oschuett
/src/mpiwrap/ @fstein93 @oschuett
/src/dbm/ @fstein93 @oschuett
/src/dbt/ @fstein93 @oschuett
/src/dbx/ @fstein93 @oschuett
/src/base/ @fstein93 @oschuett
/src/start/ @fstein93 @oschuett
/src/f77_interface.F @fstein93 @oschuett
/tests/do_regtest.py @fstein93 @oschuett
/tests/matcher_classes.py @fstein93 @oschuett
# Offload + Grid
/src/offload/ @mtaillefumier @oschuett
/src/grid/ @mtaillefumier @oschuett
# SIRIUS
/src/sirius_interface.F @mtaillefumier @RMeli
/src/*pwdft* @mtaillefumier @RMeli
# DLA-Future
/src/fm/*dlaf* @RMeli @mtaillefumier
# PAO
/src/pao_* @oschuett
/tools/pao-ml/ @oschuett
# Path integrals and NNP
/src/motion/pint_* @hforbert
/src/motion/helium_* @hforbert
/src/nnp_* @hforbert
# Dispersion + tblite
/src/qs_dispersion_* @jpoto
/src/tblite_* @jpoto
# NEGF
/src/negf_* @dryndyk
# Post Hartree-Fock
/src/mp2_* @JWilhelm @fstein93
/src/rpa_* @JWilhelm @fstein93
/src/gw_* @JWilhelm @fstein93
# Post SCF
/src/qs_scf_post_* @marci73 @juerghutter
#EOF

1
CONTRIBUTING.md Symbolic link
View file

@ -0,0 +1 @@
./docs/development/onboarding.md

View file

@ -3,17 +3,43 @@
## 1. Acquire the code
For users, the preferred method is to [download a release](https://github.com/cp2k/cp2k/releases/)
(use the versioned tarballs, `cp2k-X.Y.tar.bz2`). For developers, the preferred
method is to [download from Git](./README.md#downloading-cp2k-source-code).
(use the versioned tarballs, `cp2k-X.Y.tar.bz2`). For developers, the preferred method is to
[download from Git](./README.md#downloading-cp2k-source-code).
For more details on downloading CP2K, see <https://www.cp2k.org/download>.
## 2. Install prerequisites
The easiest way to build CP2K with all its dependencies is as a [Docker container](./tools/docker/README.md).
### Method 1: make_cp2k.sh
Alternatively, the [toolchain script](./tools/toolchain/install_cp2k_toolchain.sh)
can also be run directly.
The easiest way to build CP2K with its dependencies is via the `make_cp2k.sh` script, which builds
CP2K using Spack and CMake locally within the CP2K_ROOT folder.
The script can either be sourced with:
```shell
source ./make_cp2k.sh
```
or run in a subshell with:
```shell
./make_cp2k.sh
```
You can run the following command to get information about how to use this script:
```shell
./make_cp2k.sh --help
```
Note: it is recommended to install podman to take advantage of a spack cache. This will accelerate
the build of the CP2K dependencies with Spack significantly.
### Method 2: Toolchain
Alternatively, the [toolchain script](./tools/toolchain/install_cp2k_toolchain.sh) can also be run
directly.
For a complete introduction to the toolchain script, see the [README](./tools/toolchain/README.md).
@ -26,601 +52,69 @@ cd tools/toolchain/
./install_cp2k_toolchain.sh --help
```
- Launch toolchain script (example option choice)
CP2K supports GPU acceleration via CUDA (for NVIDIA GPUs), HIP/ROCm (for AMD GPUs), and OpenCL (for
a range of devices). If you wish to build with GPU support, please see the
[manual](https://manual.cp2k.org/trunk/technologies/accelerators/index.html).
- Launch toolchain script (example option choice for NVIDIA/CUDA):
```shell
./install_cp2k_toolchain.sh --with-libxsmm=install --with-openblas=system \
--with-fftw=system --with-reflapack=no --enable-cuda
--with-fftw=system --enable-cuda
```
- Once the script has completed successfully, follow the instructions given at
the end of its output. Note that the pre-built arch files provided by the
toolchain are for the GNU compiler, users must adapt them for other compilers.
It is possible to use the provided [arch files](./arch) as guidance.
There are [arch files](./arch) for a few specific platforms (e.g.
[Linux-gnu-x86_64](./arch/Linux-gnu-x86_64.psmp),
[Linux-intel-x86_64](./arch/Linux-intel-x86_64.psmp))
which include a toolchain build.
Sourcing such an arch file in the cp2k folder launches a toolchain build, e.g.
```
source ./arch/Linux-gnu-x86_64.psmp
```
After a successful toolchain build, run one of the suggested `make` commands
```
make -j ARCH=Linux-gnu-x86_64 VERSION=psmp
```
Check also the corresponding [HowTos](https://www.cp2k.org/howto/) for
[Apple M1 (macOS)](https://www.cp2k.org/howto:compile_on_macos/) and
[Cray XC40/50 (Piz Daint, CSCS)](https://www.cp2k.org/howto:compile_on_cray_cscs/).
Sub-points here discuss prerequisites needed to build CP2K. Copies of the
recommended versions of 3rd party software can be downloaded from <https://www.cp2k.org/static/downloads/>.
Generally, CP2K supports only one version for each of its dependencies.
These are defined by the [toolchain scripts](./tools/toolchain/scripts/).
Other versions might work too, but we don't test them. So, your mileage may vary.
### 2a. GNU make (required, build system)
GNU make should be on your system (gmake or make on linux) and used for the build,
go to <https://www.gnu.org/software/make/make.html> download from <https://ftp.gnu.org/pub/gnu/make/>.
### 2b. Python (required, build system)
Python 3.5+ is needed to run the dependency generator. On most system Python is
already installed. For more information visit: <https://www.python.org>
### 2c. Fortran and C Compiler (required, build system)
A Fortran 2008 compiler and matching C99 compiler should be installed on your system.
We have good experience with gcc/gfortran (gcc >=4.6 works, later version recommended).
Be aware that some compilers have bugs that might cause them to fail (internal
compiler errors, segfaults) or, worse, yield a mis-compiled CP2K. Report bugs to
compiler vendors; they (and we) have an interest in fixing them. A list of tested
compiler can be found [here](https://www.cp2k.org/dev:compiler_support).
Always run a `make -j test` (See point 5.) after compilation to identify these problems.
### 2d. BLAS and LAPACK (required, base functionality)
BLAS and LAPACK should be installed. Using vendor-provided libraries can make a
very significant difference (up to 100%, e.g., ACML, MKL, ESSL), not all optimized
libraries are bug free. Use the latest versions available, use the interfaces
matching your compiler, and download all patches!
- The canonical BLAS and LAPACK can be obtained from the Netlib repository:
- <http://www.netlib.org/blas/>
- <http://www.netlib.org/lapack/> and see also
- <http://www.netlib.org/lapack-dev/>
- Open fast alternatives, include:
- <http://www.openblas.net>
- <http://math-atlas.sourceforge.net>
- <https://www.tacc.utexas.edu/research-development/tacc-software/gotoblas2>
Please note that the BLAS/LAPACK implementation used by CP2K needs to be
thread-safe (OpenMP). Examples are the sequential variant of the Intel MKL,
the Cray libsci, the OpenBLAS OpenMP variant and the reference BLAS/LAPACK packages.
If compiling with MKL, users must
define `-D__MKL` to ensure the code is thread-safe. MKL with multiple OpenMP
threads in CP2K requires that CP2K was compiled with the Intel compiler.
If the `cpp` precompiler is used in a separate precompilation step in combination
with the Intel Fortran compiler, `-D__INTEL_COMPILER` must be added explicitly
(the Intel compiler sets `__INTEL_COMPILER` otherwise automatically).
On the Mac, BLAS and LAPACK may be provided by Apple's Accelerate framework.
If using this framework, `-D__ACCELERATE` must be defined to account for some
interface incompatibilities between Accelerate and reference BLAS/LAPACK.
When building on/for Windows using the Minimalist GNU for Windows (MinGW) environment,
you must set `-D__MINGW`, `-D__NO_STATM_ACCESS` and `-D__NO_IPI_DRIVER` to avoid
undefined references during linking, respectively errors while printing the statistics.
### 2e. MPI and SCALAPACK (optional, required for MPI parallel builds)
MPI (version 3) and SCALAPACK are needed for parallel code.
(Use the latest versions available and download all patches!).
:warning: Note that your MPI installation must match the used Fortran compiler.
If your computing platform does not provide MPI,
there are several freely available alternatives:
- MPICH2 MPI: <http://www-unix.mcs.anl.gov/mpi/mpich/>
(may require `-fallow-argument-mismatch` when building with GCC 10)
- OpenMPI MPI: <http://www.open-mpi.org/>
- ScaLAPACK:
- <http://www.netlib.org/scalapack/>
- <http://www.netlib.org/lapack-dev/>
- ScaLAPACK can be part of ACML or cluster MKL.
These libraries are recommended if available.
- Recently a [ScaLAPACK installer](http://www.netlib.org/scalapack/scalapack_installer.tgz)
has been added that simplifies the installation.
CP2K assumes that the MPI library implements MPI version 3. Older
versions of MPI (e.g., MPI 2.0) are not supported and the old flag `-D__MPI_VERSION` in
the arch file will be ignored. CP2K can make use of the mpi_f08 module. If its use is requested,
set the flag `-D__MPI_F08`.
### 2f. FFTW (optional, improved performance of FFTs)
FFTW can be used to improve FFT speed on a wide range of architectures.
It is strongly recommended to install and use FFTW3. The current version of CP2K
works with FFTW 3.X (use `-D__FFTW3`). It can be downloaded from <http://www.fftw.org>
:warning: Note that FFTW must know the Fortran compiler you will use in order to
install properly (e.g., `export F77=gfortran` before configure if you intend to
use gfortran).
:warning: Note that on machines and compilers which support SSE you can configure
FFTW3 with `--enable-sse2`. Compilers/systems that do not align memory (NAG f95,
Intel IA32/gfortran) should either not use `--enable-sse2` or otherwise set the
define `-D__FFTW3_UNALIGNED` in the arch file. Since CP2K is OpenMP parallelized,
the FFTW3 threading library libfftw3_threads (or libfftw3_omp) is required.
### 2g. LIBINT (optional, enables methods including HF exchange)
- Hartree-Fock exchange (optional, use `-D__LIBINT`)
requires the LIBINT package to be installed.
- Recommended way to build LIBINT: Download a CP2K-configured LIBINT library
from [libint-cp2k](https://github.com/cp2k/libint-cp2k). Build and install
LIBINT by following the instructions provided there. Note that using a library
configured for higher maximum angular momentum will increase build time and
binary size of CP2K executable (assuming static linking).
- CP2K is not hardwired to these provided libraries and any other LIBINT
library (version >= 2.5.0) should be compatible as long as it was compiled
with `--enable-eri=1` and default ordering.
- Avoid debugging information (`-g` flag) for compiling LIBINT since this will
increase library size by a large factor.
- In the arch file of CP2K: add `-D__LIBINT` to the `DFLAGS`.
Add `-L$(LIBINT_DIR)/lib -lint2 -lstdc++` to `LIBS` and `-I$(LIBINT_DIR)/include`
to `FCFLAGS`. `lstdc++` is needed if you use the GNU C++ compiler.
- Libint 1 is no longer supported and the previously needed flags
`-D__LIBINT_MAX_AM` and `-D__LIBDERIV_MAX_AM1` are ignored.
- `-D__MAX_CONTR=4` (default=2) can be used to compile efficient contraction
kernels up to l=4, but the build time will increase accordingly.
### 2h. LIBXSMM (optional, improved performance for matrix multiplication)
- A library for matrix operations and deep learning primitives: <https://github.com/hfp/libxsmm/>.
- Add `-D__LIBXSMM` to enable it, with suitable include and library paths,
e.g., `FCFLAGS += -I${LIBXSMM_DIR}/include -D__LIBXSMM`
and `LIBS += -L${LIBXSMM_DIR}/lib -lxsmmf -lxsmm -ldl`
- LIBSMM is not used if LIBXSMM is enabled.
### 2i. CUDA (optional, improved performance on GPU systems)
- Specify OFFLOAD_CC (e.g., `OFFLOAD_CC = nvcc`) and
OFFLOAD_FLAGS (e.g., `OFFLOAD_FLAGS = -O3 -g -w --std=c++11`) variables.
Remember to include the support for the C++11 standard.
- Use `-D__OFFLOAD_CUDA` to generally enable support for Nvidia GPUs
- Use the `-D__DBCSR_ACC` and `OFFLOAD_TARGET = cuda` to enable
accelerator support for matrix multiplications.
- Add `-lstdc++ -lcudart -lnvrtc -lcuda -lcublas` to LIBS.
- Specify the GPU type (e.g., `GPUVER = P100`),
possible values are K20X, K40, K80, P100, V100, A100.
- Specify the C++ compiler (e.g., `CXX = g++`) and the CXXFLAGS to support
the C++11 standard.
- CUFFT 7.0 has a known bug and is therefore disabled by default.
NVIDIA's webpage list a patch (an upgraded version cufft i.e. >= 7.0.35) -
use this together with `-D__HAS_PATCHED_CUFFT_70`.
- Use `-D__OFFLOAD_PROFILING` to turn on Nvidia Tools Extensions.
It requires to link `-lnvToolsExt`.
- Link to a blas/scalapack library that accelerates large DGEMMs (e.g., libsci_acc)
- Use `-D__NO_OFFLOAD_GRID` to disable the GPU backend of the grid library.
- Use `-D__NO_OFFLOAD_DBM` to disable the GPU backend of the sparse tensor library.
- Use `-D__NO_OFFLOAD_PW` to disable the GPU backend of FFTs
and associated gather/scatter operations.
### 2j. LIBXC (optional, wider choice of xc functionals)
- The version 5.1.0 (or later) of LIBXC can be downloaded from <https://www.tddft.org/programs/libxc>
- CP2K does not make use of fourth derivates such that LIBXC may be configured
with './configure --disable-lxc \<other LIBXC configuration flags>'.
- During the installation, the directories `$(LIBXC_DIR)/lib`
and `$(LIBXC_DIR)/include` are created.
- Add `-D__LIBXC` to DFLAGS, `-I$(LIBXC_DIR)/include` to FCFLAGS
and `-L$(LIBXC_DIR)/lib -lxcf03 -lxc` to LIBS.
- :warning: Note that the deprecated flags `-D__LIBXC2` and `-D__LIBXC3` are ignored.
### 2k. ELPA (optional, improved performance for diagonalization)
Library ELPA for the solution of the eigenvalue problem
- ELPA replaces the ScaLapack `SYEVD` to improve the performance of the diagonalization
- A version of ELPA can be downloaded from <http://elpa.rzg.mpg.de/software>.
- During the installation the `libelpa_openmp.a` is created.
- Minimal supported version of ELPA is 2018.05.001.
- Add `-D__ELPA` to `DFLAGS`
- Add `-D__ELPA_NVIDIA_GPU`, `-D__ELPA_AMD_GPU`, or `-D__ELPA_INTEL_GPU`
to `DFLAGS` to enable GPU support for the respective vendor.
- Add `-I$(ELPA_INCLUDE_DIR)/modules` to `FCFLAGS`
- Add `-I$(ELPA_INCLUDE_DIR)/elpa` to `FCFLAGS`
- Add `-L$(ELPA_DIR)` to `LDFLAGS`
- Add `-lelpa` to `LIBS`
- For specific architectures it can be better to install specifically optimized
kernels (see BG) and/or employ a higher optimization level to compile it.
### 2l. cuSOLVERMp (experimental, improved performance for diagonalization on Nvidia GPUs)
NVIDIA cuSOLVERMp is a high-performance, distributed-memory, GPU-accelerated library
that provides tools for the solution of dense linear systems and eigenvalue problems.
- cuSOLVERMp replaces the ScaLapack `SYEVD` to improve the performance of the diagonalization
- A version of cuSOLVERMp can be downloaded from <https://docs.nvidia.com/hpc-sdk/cusolvermp>.
- Add `-D__CUSOLVERMP` to `DFLAGS`
- Add `-lcusolverMp -lcusolver -lcal -lnvidia-ml` to `LIBS`
### 2m. PEXSI (optional, low scaling SCF method)
The Pole EXpansion and Selected Inversion (PEXSI) method requires the PEXSI
library and two dependencies (ParMETIS or PT-Scotch and SuperLU_DIST).
- Download PEXSI (www.pexsi.org) and install it and its dependencies by
following its README.md.
- PEXSI versions 0.10.x have been tested with CP2K. Older versions are not supported.
- PEXSI needs to be built with `make finstall`.
In the arch file of CP2K:
- Add `-lpexsi_${SUFFIX} -llapack -lblas -lsuperlu_dist_3.3 -lparmetis -lmetis`,
and their paths (with `-L$(LIB_DIR)`) to LIBS.
- It is important that a copy of LAPACK and BLAS is placed before and after these
libraries (replace `-llapack` and `-lblas` with the optimized versions as needed).
- In order to link in PT-Scotch instead of ParMETIS replace `-lparmetis -lmetis`
with: `-lptscotchparmetis -lptscotch -lptscotcherr -lscotchmetis -lscotch -lscotcherr`
- Add `-I$(PEXSI_DIR)/fortran/` to FCFLAGS.
- Add `-D__LIBPEXSI` to DFLAGS.
Below are some additional hints that may help in the compilation process:
- For building PT-Scotch, the flag `-DSCOTCH_METIS_PREFIX` in `Makefile.inc`
must not be set and the flag `-DSCOTCH_PTHREAD` must be removed.
- For building SuperLU_DIST with PT-Scotch, you must set the following in `make.inc`:
- For AMD/ROCm/HIP support, use:
```shell
METISLIB = -lscotchmetis -lscotch -lscotcherr
PARMETISLIB = -lptscotchparmetis -lptscotch -lptscotcherr
./install_cp2k_toolchain.sh --with-libxsmm=install --with-openblas=system \
--with-fftw=system --enable-hip
```
### 2n. QUIP (optional, wider range of interaction potentials)
- Build and install CP2K with prepared toolchain environment:
QUIP - QUantum mechanics and Interatomic Potentials Support for QUIP can be
enabled via the flag `-D__QUIP`.
```shell
./build_cp2k.sh
```
For more information see <http://www.libatoms.org>.
It is also available to make installed program and dependencies outside the source tree:
### 2o. PLUMED (optional, enables various enhanced sampling methods)
CP2K can be compiled with PLUMED 2.x (`-D__PLUMED2`).
See <https://cp2k.org/howto:install_with_plumed> for full instructions.
### 2p. spglib (optional, crystal symmetries tools)
A library for finding and handling crystal symmetries
- The spglib can be downloaded from <https://github.com/atztogo/spglib>
- For building CP2K with the spglib add `-D__SPGLIB` to DFLAGS
### 2q. SIRIUS (optional, plane wave calculations)
SIRIUS is a domain specific library for electronic structure calculations.
- The code is available at <https://github.com/electronic-structure/SIRIUS>
- For building CP2K with SIRIUS add `-D__SIRIUS` to DFLAGS.
- Add `-D__LIBVDWXC` if support is activated in SIRIUS.
- See <https://electronic-structure.github.io/SIRIUS-doc/> for more information.
### 2r. FPGA (optional, plane wave FFT calculations)
- Use `-D__PW_FPGA` to enable FPGA support for PW (fft) calculations.
Currently tested only for Intel Stratix 10 and Arria 10 GX1150 FPGAs.
- Supports single precision and double precision fft calculations with the use
of dedicated APIs.
- Double precision is the default API chosen when set using the `-D__PW_FPGA` flag.
- Single precision can be set using an additional `-D__PW_FPGA_SP` flag along
with the `-D__PW_FPGA` flag.
- Kernel code must be synthesized separately and copied to a specific location.
- See <https://github.com/pc2/fft3d-fpga/>
for the kernel code and instructions for synthesis.
- Read `src/pw/fpga/README.md`
for information on the specific location to copy the binaries to.
- Currently supported FFT3d sizes - 16^3, 32^3, 64^3.
- Include aocl compile flags and `-D__PW_FPGA -D__PW_FPGA_SP` to `CFLAGS`,
aocl linker flags to `LDFLAGS` and aocl libs to `LIBS`.
- When building FPGA and OFFLOAD together then `-D__NO_OFFLOAD_PW` must be used.
### 2s. COSMA (Distributed Communication-Optimal Matrix-Matrix Multiplication Algorithm)
- COSMA is an alternative for the pdgemm routine included in ScaLAPACK.
The library supports both CPU and GPUs.
- Add `-D__COSMA` to the DFLAGS to enable support for COSMA.
- See <https://github.com/eth-cscs/COSMA> for more information.
### 2t. LibVori (Voronoi Integration for Electrostatic Properties from Electron Density)
- LibVori is a library which enables the calculation of electrostatic properties
(charge, dipole vector, quadrupole tensor, etc.) via integration of the total
electron density in the Voronoi cell of each atom.
- Add `-D__LIBVORI` to the DFLAGS to enable support for LibVori.
- See <https://brehm-research.de/libvori> for more information.
- LibVori also enables support for the BQB file format for compressed trajectories,
please see <https://brehm-research.de/bqb> for more information as well as
the `bqbtool` to inspect BQB files.
### 2u. Torch (Machine Learning Framework needed for NequIP)
- The C++ API of PyTorch can be downloaded from https://pytorch.org/get-started/locally/.
- Add `-D__LIBTORCH` to the DFLAGS to enable support for libtorch.
### 2v. ROCM/HIP (Support for AMD GPU)
The code for the HIP based grid backend was developed and tested on Mi100 but
should work out of the box on Nvidia hardware as well.
- Use `-D__OFFLOAD_HIP` to generally enable support for AMD GPUs
- Use `-D__NO_OFFLOAD_GRID` to disable the GPU backend of the grid library.
- Use `-D__NO_OFFLOAD_DBM` to disable the GPU backend of the sparse tensor library.
- Use `-D__NO_OFFLOAD_PW` to disable the GPU backend of FFTs
and associated gather/scatter operations.
- Add `GPUVER=Mi50, Mi60, Mi100, Mi250`
- Add `OFFLOAD_CC = hipcc`
- Add `-lamdhip64` to the `LIBS` variable
- Add `OFFLOAD_FLAGS = '-fopenmp -m64 -pthread -fPIC -D__GRID_HIP -O2 --offload-arch=gfx908 --rocm-path=$(ROCM_PATH)'` where `ROCM_PATH` is the path
where the rocm sdk resides. Architectures Mi250 (gfx90a), Mi100 (gfx908),
Mi50 (gfx906) the hip backend for the grid library supports nvidia hardware
as well. It uses the same code and can be used to validate the backend in case
of access to Nvidia hardware only. To get the compilation working, follow
the steps above and set the `OFFLOAD_FLAGS` with right `nvcc` parameters
(see the cuda section of this document). The environment variable `HIP_PLATFORM`
should be set to `HIP_PLATFORM=nvidia` to indicate to hipcc to use the
nvcc compiler instead.
- Specify the C++ compiler (e.g., `CXX = g++`). Remember to set the
CXXFLAGS flags to support C++11 standard and OpenMP.
- When the HIP backend is enabled for DBCSR using `-D__DBCSR_ACC`, then add
`-D__HIP_PLATFORM_AMD__` to `CXXFLAGS` and set `OFFLOAD_TARGET = hip`.
- Use `-D__OFFLOAD_PROFILING` to turn on the AMD ROC TX and Tracer libray.
It requires to link `-lroctx64 -lroctracer64`.
### 2w. OpenCL Devices
OpenCL devices are currently supported for DBCSR and can cover GPUs and other devices.
Kernels can be automatically tuned like for the CUDA/HIP backend in DBCSR.
Note: the OpenCL backend uses some functionality from LIBXSMM (dependency).
- Installing an OpenCL runtime depends on the operating system and the device vendor.
Debian for instance brings two packages called `opencl-headers` and
`ocl-icd-opencl-dev` which can be present in addition to a vendor-specific
installation. The OpenCL header files are only necessary if CP2K/DBCSR is compiled
from source. Please note, some implementations ship with outdated OpenCL
headers which can prevent using latest features (if an application discovers such
features only at compile-time). When building from source, for instance
`libOpenCL.so` is sufficient (ICD loader) at link-time. However, an Installable
Client Driver (ICD) is finally necessary at runtime.
- Nvidia CUDA, AMD HIP, and Intel OneAPI are fully equipped with an OpenCL runtime
(if `opencl-headers` package is not installed, CPATH can be needed to point into
such an installation, similarly `LIBRARY_PATH` for finding `libOpenCL.so`
at link-time). Installing a minimal or stand-alone OpenCL is also possible,
e.g., following the instructions for Debian (or Ubuntu) as given for every
[release](https://github.com/intel/compute-runtime/releases) of the
[Intel Compute Runtime](https://github.com/intel/compute-runtime).
- CP2K's toolchain supports `--enable-opencl` to select DBCSR's OpenCL backend.
This can be combined with `--enable-cuda` (`--gpu-ver` is then imposed) to
use a GPU for CP2K's grid and DBM/DBT components (no OpenCL support yet).
- For manually writing an ARCH-file add `-D__OPENCL` and `-D__DBCSR_ACC` to `CFLAGS`,
and add `-lOpenCL` to the `LIBS` variable, i.e., `OFFLOAD_CC` and `OFFLOAD_FLAGS`
can duplicate `CC` and `CFLAGS` (no special offload compiler needed). Please also
set `OFFLOAD_TARGET = opencl` to enable the OpenCL backend in DBCSR. For OpenCL,
it is not necessary to specify a GPU version (e.g., `GPUVER = V100` would map to
`exts/dbcsr/src/acc/opencl/smm/params/tune_multiply_V100.csv`). In fact, `GPUVER`
limits tuned parameters to the specified GPU, and by default all tuned parameters
are embedded (`exts/dbcsr/src/acc/opencl/smm/params/*.csv`) and applied at runtime.
If auto-tuned parameters are not available for DBCSR, well-chosen defaults will
be used to populate kernels at runtime. Refer to the toolchain method (above)
for an ARCH-file that blends, e.g., OpenCL and CUDA.
- Auto-tuned parameters are embedded into the binary, i.e., CP2K does not rely on
a hard-coded location. Setting `OPENCL_LIBSMM_SMM_PARAMS=/path/to/csv-file`
environment variable can supply parameters for an already built application,
or `OPENCL_LIBSMM_SMM_PARAMS=0` can disable using tuned parameters.
- The environment variable `ACC_OPENCL_VERBOSE=2` prints information about
kernels generated at runtime (and thereby checks the installation).
- Refer to <https://cp2k.github.io/dbcsr/> for, e.g., environment variables,
or how to tune kernels (auto tuned parameters).
### 2x. matrix-matrix multiplication offloading on GPU using SPLA
The SPLA library is a hard dependency of SIRIUS but can also be used as a
standalone library. It provides a generic interface to the blas gemm family with
offloading on GPU. Offloading supports both CUDA and ROCM.
To make the functionality available, add the flag `-D__SPLA -D__OFFLOAD_GEMM` to
the `DFLAGS` variable and compile SPLA with Fortran interface and GPU support.
Please note that only the functions replacing the dgemm calls with
`offload_dgemm` will eventually be offloaded to the GPU. The SPLA library has
internal criteria to decide if it is worth to do the operation on GPU or not.
Calls to `offload_dgemm` also accept pointers on GPU or a combination of them.
<!---
### 2y. LibMaxwell (External Maxwell Solver)
- LibMaxwell is a library to solve the time-dependent Maxwell equations
and use the resulting electric field in MD runs or real-time propagation.
- Add `-D__LIBMAXWELL` to DFLAGS to enable support for LibMaxwell.
- See <https://brehm-research.de> for more information.
-->
```shell
./install_cp2k_toolchain.sh --install-dir=/opt/cp2k/toolchain
./build_cp2k.sh --prefix /opt/cp2k
```
## 3. Compile
### 3a. ARCH files
The location of compiler and libraries needs to be specified.
Examples for several common architectures can be found in
[arch folder](./arch/). The names of these files match `architecture.version`
e.g., [Linux-x86-64-gfortran.sopt](./arch/Linux-x86-64-gfortran.sopt).
Alternatively, <https://dashboard.cp2k.org> provides sample arch files as part of
the testing reports (click on the status field, search for 'ARCH-file').
- With -DNDEBUG assertions may be stripped ("compiled out").
- NDEBUG is the ANSI-conforming symbol name (not \_\_NDEBUG).
- Regular release builds may carry assertions for safety.
Conventionally, there are six versions:
| Acronym | Meaning |
| ------- | -------------------------------- |
| sdbg | OpenMP + debug settings |
| sopt | OpenMP + OMP_NUM_THREADS=1 |
| ssmp | OpenMP |
| pdbg | MPI + OpenMP + debug settings |
| popt | MPI + OpenMP + OMP_NUM_THREADS=1 |
| psmp | MPI + OpenMP |
You'll need to modify one of these files to match your system's settings.
You can now build CP2K using these settings
(where -j N allows for a parallel build using N processes):
```shell
make -j N ARCH=architecture VERSION=version
```
e.g.
```shell
make -j N ARCH=Linux-x86-64-gfortran VERSION=sopt
```
as a short-cut, you can build several version of the code at once
```shell
make -j N ARCH=Linux-x86-64-gfortran VERSION="sopt popt ssmp psmp"
```
An executable should appear in the `./exe/` folder.
All compiled files, libraries, executables, etc. of all architectures and
versions can be removed with
```shell
make distclean
```
To remove only objects and mod files (i.e., keep exe) for a given
ARCH/VERSION use, e.g.,
```shell
make ARCH=Linux-x86-64-gfortran VERSION=sopt clean
```
to remove everything for a given ARCH/VERSION use, e.g.,
```shell
make ARCH=Linux-x86-64-gfortran VERSION=sopt realclean
```
### 3b. Compilation Flags
The following flags should be present (or not) in the arch file,
partially depending on installed libraries (see 2.)
- `-D__parallel -D__SCALAPACK` parallel runs
- `-D__LIBINT` use LIBINT (needed for HF exchange)
- `-D__LIBXC` use LIBXC
- `-D__ELPA` use ELPA in place of SYEVD to solve the eigenvalue problem
- `-D__FFTW3` FFTW version 3 is recommended
- `-D__MKL` link the MKL library for linear algebra and/or FFT
- `-D__GRID_CORE=X` (with X=1..6) specific optimized core routines can be
selected. Reasonable defaults are [provided](./src/grid/collocate_fast.f90)
but trial-and-error might yield (a small ~10%) speedup.
- `-D__PILAENV_BLOCKSIZE`: can be used to specify the blocksize (e.g., `-D__PILAENV_BLOCKSIZE=1024`),
which is a hack to overwrite (if the linker allows this) the PILAENV function
provided by Scalapack. This can lead to much improved PDGEMM performance.
The optimal value depends on hardware (GPU?) and precise problem.
Alternatively, Cray provides an environment variable to this effect
(e.g., `export LIBSCI_ACC_PILAENV=4000`)
- `-D__STATM_RESIDENT` or `-D__STATM_TOTAL`
toggles memory usage reporting between resident memory and total memory
- `-D__CRAY_PM_ACCEL_ENERGY` or `-D__CRAY_PM_ENERGY`
switch on energy profiling on Cray systems
- `-D__NO_ABORT` to avoid calling abort, but STOP instead (useful for coverage
testing, and to avoid core dumps on some systems)
Features useful to deal with legacy systems
- `-D__NO_MPI_THREAD_SUPPORT_CHECK` - Workaround for MPI libraries that do not
declare they are thread safe (serialized).
- `-D__NO_IPI_DRIVER` disables the socket interface in case of troubles compiling
on systems that do not support POSIX sockets.
- `-D__HAS_IEEE_EXCEPTIONS` disables trapping temporarily for libraries like scalapack.
- The Makefile automatically compiles in the path to the data directory via the
flag `-D__DATA_DIR`. If you want to compile in a different path, set the
variable `DATA_DIR` in your arch-file.
- `-D__NO_STATM_ACCESS` - Do not try to read from /proc/self/statm to get memory
usage information. This is otherwise attempted on several. Linux-based
architectures or using with the NAG, gfortran, compilers.
- `-D__CHECK_DIAG` Debug option which activates an orthonormality check of the
eigenvectors calculated by the selected eigensolver
### 3c. Building CP2K as a library
You can build CP2K for use as a library by adding `libcp2k` as an option to
your `make` command, e.g.
```shell
make -j N ARCH=Linux-x86-64-gfortran VERSION=sopt libcp2k
```
This will create `libcp2k.a` in the relevant subdirectory of `./lib/`. You will
need to add this subdirectory to the library search path of your compiler
(typically via the `LD_LIBRARY_PATH` environment variable or the `-L` option to
your compiler) and link to the library itself with `-lcp2k`.
In order to use the functions in the library you will also require the `libcp2k.h`
header file. This can be found in `./src/start/` directory. You should add this
directory to the header search path of your compiler (typically via the `CPATH`
environment variable or the `-I` option to your compiler).
For Fortran users, you will require the module interface file (`.mod` file) for
every MODULE encountered in the source. These are compiler specific and are to
be found in the subdirectory of `./obj/` that corresponds to your build, e.g.,
```shell
./obj/Linux-x86-64-gfortran/sopt/
```
In order for your compiler to find these, you will need to indicate their
location to the compiler as is done for header files (typically via the `CPATH`
environment variable or the `-I` option to your compiler).
This section has been moved to the
[manual](https://manual.cp2k.org/trunk/getting-started/build-from-source.html).
## 4. If it doesn't work
If things fail, take a break... go back to 2a (or skip to step 6).
If things fail, take a break... go back to step 2.
## 5. Regtesting
If compilation works fine, it is recommended to test the generated binary,
to exclude errors in libraries, or miscompilations, etc.
If compilation works fine, it is recommended to test the generated binary, to exclude errors in
libraries, or miscompilations, etc.
```shell
make -j ARCH=... VERSION=... test
./tests/do_regtest.py ./build/bin/ ${VERSION}
```
should work if you can locally execute CP2K without the need for, e.g., batch submission.
In the other case, you might need to configure the underlying testing script as
described more systematically at <https://www.cp2k.org/dev:regtesting>
In the other case, you might need to configure the underlying testing script as described more
systematically at <https://www.cp2k.org/dev:regtesting>
## 6. Talk to us
In any case please tell us your comments, praise, criticism, thanks, etc. see <https://www.cp2k.org>.
In any case please tell us your comments, praise, criticism, thanks, etc. see
<https://www.cp2k.org>.
## 7. Manual
A reference manual of CP2K can be found on the web: <https://manual.cp2k.org> or
can be generated using the cp2k executable, see <https://manual.cp2k.org/trunk/generate_manual_howto.html>
A reference manual of CP2K can be found on the web: <https://manual.cp2k.org> or can be generated
using the cp2k binary, see <https://manual.cp2k.org/trunk/generate_manual_howto.html>
## 8. Happy computing

571
Makefile
View file

@ -1,571 +0,0 @@
#
# make -j 16 ssmp psmp
#
# will now perform a parallel build of 4 cp2k executables
#
SHELL = /bin/sh
#
# the home dir is taken from the current directory.
ifeq ($(CP2KHOME),)
CP2KHOME := $(abspath $(shell pwd))
export CP2KHOME
endif
ARCH := local
export VERSION=ssmp
MAKEFILE := $(CP2KHOME)/Makefile
ARCHDIR := $(CP2KHOME)/arch
DATA_DIR := $(CP2KHOME)/data
MAINEXEDIR := $(CP2KHOME)/exe
MAINLIBDIR := $(CP2KHOME)/lib
MAINOBJDIR := $(CP2KHOME)/obj
MAINTSTDIR := $(CP2KHOME)/regtesting
PRECOMMITDIR := $(CP2KHOME)/obj/precommit
PRETTYOBJDIR := $(CP2KHOME)/obj/prettified
DOXIFYOBJDIR := $(CP2KHOME)/obj/doxified
TOOLSRC := $(CP2KHOME)/tools
SRCDIR := $(CP2KHOME)/src
EXEDIR := $(MAINEXEDIR)/$(ARCH)
REVISION := $(shell $(CP2KHOME)/tools/build_utils/get_revision_number $(SRCDIR))
EXTSDIR := exts
EXTSHOME := $(CP2KHOME)/$(EXTSDIR)
EXTSPACKAGES := $(shell cd $(EXTSHOME) ; find * -maxdepth 0 -type d | grep -v build_ )
PYTHON := /usr/bin/env python3
# Common Targets ============================================================
default_target: all
# Discover programs =========================================================
ifeq ($(ALL_EXE_FILES),)
export ALL_EXE_FILES := $(sort $(shell $(TOOLSRC)/build_utils/discover_programs.py $(SRCDIR)))
endif
EXE_NAMES := $(basename $(notdir $(ALL_EXE_FILES)))
# Once we are down to a single version ======================================
# this only happens on stage 3 and 4
ifneq ($(ONEVERSION),)
MODDEPS = "lower"
include $(ARCHDIR)/$(ARCH).$(ONEVERSION)
LIBDIR := $(MAINLIBDIR)/$(ARCH)/$(ONEVERSION)
PKGCONFIGDIR := $(LIBDIR)/pkgconfig
PKGCONFIG := $(PKGCONFIGDIR)/libcp2k.pc
LIBEXTSDIR := $(LIBDIR)/$(EXTSDIR)
OBJDIR := $(MAINOBJDIR)/$(ARCH)/$(ONEVERSION)
OBJEXTSDIR := $(OBJDIR)/$(EXTSDIR)
OBJEXTSINCL := $(foreach dir,$(EXTSPACKAGES),-I'$(OBJEXTSDIR)/$(dir)')
TSTDIR := $(MAINTSTDIR)/$(ARCH)/$(ONEVERSION)
ifneq ($(LD_SHARED),)
ARCHIVE_EXT := .so
else
ARCHIVE_EXT := .a
endif
include $(EXTSHOME)/Makefile.inc
endif
# Declare PHONY targets =====================================================
.PHONY: $(VERSION) $(EXE_NAMES) \
dirs makedep default_target all \
toolversions exts extversions extclean \
libcp2k cp2k_shell pkgconfig python-bindings \
pre-commit pre-commit-clean \
pretty precommit precommitclean doxygenclean doxygen \
fpretty fprettyclean \
doxify doxifyclean \
install clean realclean distclean help \
test testbg testclean \
data \
$(EXTSPACKAGES)
# Discover files and directories ============================================
#
# File type is derived from name. Only the following extensions are supported:
# .F -> Fortran
# .c -> C
# .h -> C header
# .cu -> CUDA or HIP kernel
ALL_SRC_DIRS := $(shell find $(SRCDIR) -type d | awk '{printf("%s:",$$1)}')
ALL_PKG_FILES = $(shell find $(SRCDIR) -name "PACKAGE")
OBJ_SRC_FILES = $(shell cd $(SRCDIR); find . -name "*.F")
OBJ_SRC_FILES += $(shell cd $(SRCDIR); find . -name "*.c")
ifneq ($(filter nvcc hipcc, $(notdir $(OFFLOAD_CC))),)
OBJ_SRC_FILES += $(shell cd $(SRCDIR); find . -name "*.cu")
endif
# Begrudgingly tolerated because PyTorch has no C API.
OBJ_SRC_FILES += $(SRCDIR)/torch_c_api.cpp
# Included files used by Fypp preprocessor
INCLUDED_SRC_FILES = $(notdir $(shell find $(SRCDIR) -name "*.fypp"))
# Include also source files which won't compile into an object file
ALL_SRC_FILES = $(strip $(subst $(NULL) .,$(NULL) $(SRCDIR),$(NULL) $(OBJ_SRC_FILES)))
ALL_SRC_FILES += $(shell find $(SRCDIR) -name "*.h")
ALL_OBJECTS = $(addsuffix .o, $(basename $(notdir $(OBJ_SRC_FILES))))
ALL_EXE_OBJECTS = $(addsuffix .o, $(EXE_NAMES))
ALL_NONEXE_OBJECTS = $(filter-out $(ALL_EXE_OBJECTS), $(ALL_OBJECTS))
# stage 1: Call make recursively with each element in $(VERSION) as a target,
# The actual target is stored in ORIG_TARGET.
# Make can then parallelize over multiple versions targets.
ifeq ($(ONEVERSION),)
ORIG_TARGET = default_target
fes:
@+$(MAKE) --no-print-directory -f $(MAKEFILE) $(VERSION) ORIG_TARGET=graph
$(EXE_NAMES) all toolversions extversions extclean libcp2k cp2k_shell exts $(EXTSPACKAGES) python-bindings test testbg:
@+$(MAKE) --no-print-directory -f $(MAKEFILE) $(VERSION) ORIG_TARGET=$@
# stage 2: Store the version target in $(ONEVERSION),
# Call make recursively with $(ORIG_TARGET) as target.
$(filter-out sopt, popt, $(VERSION)):
@+$(MAKE) --no-print-directory -f $(MAKEFILE) $(ORIG_TARGET) ORIG_TARGET="" VERSION="" ONEVERSION=$@
sopt:
@+echo "Version sopt is now an alias for ssmp with OMP_NUM_THREADS=1."
@+$(MAKE) --no-print-directory -f $(MAKEFILE) $(ORIG_TARGET) ORIG_TARGET="" VERSION="" ONEVERSION="ssmp"
popt:
@+echo "Version popt is now an alias for psmp with OMP_NUM_THREADS=1."
@+$(MAKE) --no-print-directory -f $(MAKEFILE) $(ORIG_TARGET) ORIG_TARGET="" VERSION="" ONEVERSION="psmp"
else
# stage 3: Include arch-file, create dirs, and run makedep.py for given $(ONEVERSION).
# Afterwards, call make recursively again with -C $(OBJDIR) and INCLUDE_DEPS=true
ifeq ($(INCLUDE_DEPS),)
$(EXE_NAMES): makedep | dirs exts
@+$(MAKE) --no-print-directory -C $(OBJDIR) -f $(MAKEFILE) $(EXEDIR)/$@.$(ONEVERSION) INCLUDE_DEPS=true
all: makedep | dirs exts
@+$(MAKE) --no-print-directory -C $(OBJDIR) -f $(MAKEFILE) all INCLUDE_DEPS=true
# compilation for testing happens here
test: dirs makedep all
@$(TOOLSRC)/regtesting/print_environment.sh $(ARCH) $(ONEVERSION)
@+$(MAKE) --no-print-directory -C $(TSTDIR) -f $(MAKEFILE) test INCLUDE_DEPS=true
testbg: dirs makedep all
@+$(MAKE) --no-print-directory -C $(TSTDIR) -f $(MAKEFILE) testbg INCLUDE_DEPS=true
libcp2k: pkgconfig makedep | dirs exts
@+$(MAKE) --no-print-directory -C $(OBJDIR) -f $(MAKEFILE) $(LIBDIR)/libcp2k$(ARCHIVE_EXT) INCLUDE_DEPS=true
python-bindings: libcp2k
@cd $(SRCDIR)/start/python ; \
env CC='$(CC)' LDSHARED='$(LD) -shared' CFLAGS='$(CFLAGS)' LDFLAGS='$(LDFLAGS) $(LDFLAGS_C) $(LIBS)' \
$(PYTHON) setup.py build_ext \
--build-temp="$(OBJDIR)/python" \
--build-lib="$(LIBDIR)/python" \
--library-dirs="$(LIBDIR)" \
--libraries="$(patsubst -l%,%,$(filter -l%,$(LIBS)))"
exts: $(EXTSPACKAGES)
dirs:
@mkdir -p $(OBJDIR)
@mkdir -p $(OBJEXTSDIR)
@mkdir -p $(LIBDIR)
@mkdir -p $(PKGCONFIGDIR)
@mkdir -p $(LIBEXTSDIR)
@mkdir -p $(EXEDIR)
@mkdir -p $(TSTDIR)
pkgconfig: dirs
@echo "Writing pkg-config $(PKGCONFIG)"
@echo "Name: libcp2k" > $(PKGCONFIG)
@echo "Description: CP2K as a library" >> $(PKGCONFIG)
@echo "URL: https://www.cp2k.org" >> $(PKGCONFIG)
@echo "Version: $(REVISION)" >> $(PKGCONFIG)
@echo "includedir=$(SRCDIR)/start" >> $(PKGCONFIG)
@echo "Cflags: -I\$${includedir}" >> $(PKGCONFIG)
@echo "libdir=$(LIBDIR)" >> $(PKGCONFIG)
@echo "Libs: -L\$${libdir} -Wl,-rpath=\$${libdir} -lcp2k $(LDFLAGS) $(LIBS)" >> $(PKGCONFIG)
toolversions:
ifneq ($(FC),)
@echo "=========== FC ($(ONEVERSION)) ==========="
ifeq (Cray,$(shell $(CC) -V 2>&1 | head -n1 | cut -d' ' -f1))
$(FC) -V
else ifeq (IBM,$(shell $(CC) -qversion 2>&1 | head -n1 | cut -d' ' -f1))
$(FC) -qversion
else
$(FC) --version
endif
endif
ifneq ($(CC),)
@echo "=========== CC ($(ONEVERSION)) ==========="
ifeq (Cray,$(shell $(CC) -V 2>&1 | head -n1 | cut -d' ' -f1))
$(CC) -V
else ifeq (IBM,$(shell $(CC) -qversion 2>&1 | head -n1 | cut -d' ' -f1))
$(CC) -qversion
else
$(CC) --version
endif
endif
ifneq ($(OFFLOAD_CC),)
@echo "========== OFFLOAD_CC ($(ONEVERSION)) =========="
$(OFFLOAD_CC) --version
@echo ""
endif
ifneq ($(AR),)
ifeq (Linux,$(shell uname -s))
@echo "=========== AR ($(ONEVERSION)) ==========="
$(firstword $(AR)) V
@echo ""
endif
endif
@echo "========== Make ($(ONEVERSION)) =========="
$(MAKE) --version
@echo ""
@echo "========= Python ($(ONEVERSION)) ========="
$(PYTHON) --version
else
# Force CP2K recompilations if exts are updated
$(ALL_OBJECTS): $(EXTSDEPS_MOD)
$(ALL_EXE_OBJECTS): $(EXTSDEPS_LIB)
# stage 4: Include $(OBJDIR)/all.dep, expand target all and libcp2k, and perform actual build.
ifeq ("$(ONEVERSION)","psmp")
all: $(foreach e, $(EXE_NAMES) cp2k_shell, $(EXEDIR)/$(e).$(ONEVERSION)) $(EXEDIR)/cp2k.popt
else ifeq ("$(ONEVERSION)","ssmp")
all: $(foreach e, $(EXE_NAMES) cp2k_shell, $(EXEDIR)/$(e).$(ONEVERSION)) $(EXEDIR)/cp2k.sopt
else
all: $(foreach e, $(EXE_NAMES) cp2k_shell, $(EXEDIR)/$(e).$(ONEVERSION))
endif
$(LIBDIR)/libcp2k$(ARCHIVE_EXT) : $(ALL_NONEXE_OBJECTS)
# Create always a cp2k.[ps]opt soft link for each cp2k.[ps]smp executable
$(EXEDIR)/cp2k.sopt: $(EXEDIR)/cp2k.ssmp
cd $(EXEDIR); ln -sf cp2k.ssmp cp2k.sopt
$(EXEDIR)/cp2k.popt: $(EXEDIR)/cp2k.psmp
cd $(EXEDIR); ln -sf cp2k.psmp cp2k.popt
$(EXEDIR)/cp2k_shell.$(ONEVERSION): $(EXEDIR)/cp2k.$(ONEVERSION)
cd $(EXEDIR); ln -sf cp2k.$(ONEVERSION) cp2k_shell.$(ONEVERSION)
test:
@$(TOOLSRC)/regtesting/do_regtest.py $(ARCH) $(ONEVERSION) $(TESTOPTS)
testbg:
@echo "testing: $(ONEVERSION) : full log in $(TSTDIR)/regtest.log "
@$(TOOLSRC)/regtesting/do_regtest.py $(ARCH) $(ONEVERSION) $(TESTOPTS) > $(TSTDIR)/regtest.log 2>&1
@grep -e "Summary:" -e "Status:" $(TSTDIR)/regtest.log
endif
endif
OTHER_HELP += "test : run the regression tests"
OTHER_HELP += "testbg : run the regression tests in background"
OTHER_HELP += "toolversions : Print versions of build tools"
OTHER_HELP += "extversions : Print versions of external modules"
OTHER_HELP += "extclean : Clean build of external modules"
# extract help text from doxygen "\brief"-tag
help:
@echo "=================== Binaries ===================="
@echo "all Builds all executables (default target)"
@for i in $(ALL_EXE_FILES); do \
basename $$i | sed 's/^\(.*\)\..*/\1/' | awk '{printf "%-28s", $$1}'; \
grep "brief" $$i | head -n 1 | sed 's/^.*\\brief\s*//'; \
done
@echo "libcp2k Builds CP2K as a single library archive"
@echo "cp2k_shell Creates symlink for backward compatibility"
@echo ""
@echo "===================== Tools ====================="
@printf "%s\n" $(TOOL_HELP) | awk -F ':' '{printf "%-28s%s\n", $$1, $$2}'
@echo ""
@echo "================= Other Targets ================="
@printf "%s\n" $(OTHER_HELP) | awk -F ':' '{printf "%-28s%s\n", $$1, $$2}'
@echo "help Print this help text"
#
# so far CP2K does not install, but give a hint to the user
#
install:
@echo ""
@echo "The CP2K executable is $(foreach v, $(VERSION), $(EXEDIR)/cp2k.$(v))"
@echo ""
OTHER_HELP += "install : Print installation help"
#
# delete the intermediate files, but not the libraries and executables, or created directories.
# Most useful to save space on the disk or e.g. for recompiles with PGO that still needs the .gcda files in the objdir
#
# To avoid printing out all non-gcda files within a directory with 'make clean',
# a list of all non-gcda file extensions within a directory is first created with the get_extensions macro,
# and a wildcard expression is then used to remove the appropriate files
# cleaning stuff ============================================================
define get_extensions
$(shell test -d $(1) && find $(1) -type f -name "*.*" ! -name "*.gcda" | sed 's|.*\.||' | sort -u)
endef
clean:
@echo rm -rf $(foreach v, $(VERSION), $(MAINOBJDIR)/$(ARCH)/$(v))
@$(foreach v, $(VERSION), $(foreach ext, $(call get_extensions, $(MAINOBJDIR)/$(ARCH)/$(v)/), $(shell rm -rf $(MAINOBJDIR)/$(ARCH)/$(v)/*.$(ext))))
rm -rf $(foreach v, $(VERSION), $(MAINLIBDIR)/$(ARCH)/$(v))
OTHER_HELP += "clean : Remove intermediate object and mod files, but not the libraries and executables, for given ARCH and VERSION"
# The Intel compiler creates a corresponding .dbg file for each executable when static linking of the Intel MPI library is requested (flag -static_mpi)
# and also potential soft links (.popt and .sopt files) have to be cleaned
execlean:
rm -rf $(foreach v, $(VERSION), $(EXEDIR)/*.$(v) $(EXEDIR)/*.$(v).dbg) $(EXEDIR)/cp2k.[ps]opt
OTHER_HELP += "execlean : Remove the executables, for given ARCH and VERSION"
#
# delete the intermediate files, the programs and libraries and anything that might be in the objdir or libdir directory
# Use this if you want to fully rebuild an executable (for a given compiler and or VERSION)
#
realclean: extclean clean execlean
rm -rf $(foreach v, $(VERSION), $(MAINOBJDIR)/$(ARCH)/$(v))
rm -rf $(foreach v, $(VERSION), $(MAINLIBDIR)/$(ARCH)/$(v))
OTHER_HELP += "realclean : Remove all files for given ARCH and VERSION"
testclean:
rm -rf $(foreach v, $(VERSION), $(MAINTSTDIR)/$(ARCH)/$(v)/TEST-*)
OTHER_HELP += "testclean : Remove all TEST-* files for given ARCH and VERSION"
#
# Remove all files from previous builds
#
distclean: precommitclean fprettyclean doxifyclean
rm -rf $(DOXYGENDIR) $(MAINEXEDIR) $(MAINOBJDIR) $(MAINLIBDIR) $(MAINTSTDIR)
OTHER_HELP += "distclean : Remove all files from previous builds"
# Prettyfier stuff ==========================================================
vpath %.pretty $(PRETTYOBJDIR)
fpretty: $(addprefix $(PRETTYOBJDIR)/, $(ALL_OBJECTS:.o=.pretty)) $(addprefix $(PRETTYOBJDIR)/, $(INCLUDED_SRC_FILES:.f90=.pretty_included))
TOOL_HELP += "fpretty : Reformat all Fortran source files in a pretty way."
fprettyclean:
-rm -rf $(PRETTYOBJDIR)
TOOL_HELP += "fprettyclean : Remove prettify marker files and preprettify directories"
$(PRETTYOBJDIR)/%.pretty: %.F $(DOXIFYOBJDIR)/%.doxified
@mkdir -p $(PRETTYOBJDIR)
cd $(dir $<); $(TOOLSRC)/prettify/prettify.py --do-backup --backup-dir=$(PRETTYOBJDIR) $(notdir $<)
@touch $@
$(PRETTYOBJDIR)/%.pretty_included: %.f90 $(DOXIFYOBJDIR)/%.doxified_included
@mkdir -p $(PRETTYOBJDIR)
cd $(dir $<); $(TOOLSRC)/prettify/prettify.py --do-backup --backup-dir=$(PRETTYOBJDIR) $(notdir $<)
@touch $@
$(PRETTYOBJDIR)/%.pretty: %.c $(DOXIFYOBJDIR)/%.doxified
# TODO: call indent here?
@mkdir -p $(PRETTYOBJDIR)
@touch $@
$(PRETTYOBJDIR)/%.pretty: %.cpp $(DOXIFYOBJDIR)/%.doxified
# TODO: call indent here?
@mkdir -p $(PRETTYOBJDIR)
@touch $@
# Doxyifier stuff ===========================================================
vpath %.doxified $(DOXIFYOBJDIR)
doxify: $(addprefix $(DOXIFYOBJDIR)/, $(ALL_OBJECTS:.o=.doxified)) $(addprefix $(DOXIFYOBJDIR)/, $(INCLUDED_SRC_FILES:.f90=.doxified_included))
TOOL_HELP += "doxify : Autogenerate doxygen headers for subroutines"
doxifyclean:
-rm -rf $(DOXIFYOBJDIR)
TOOL_HELP += "doxifyclean : Remove doxify marker files"
$(DOXIFYOBJDIR)/%.doxified: %.F
$(TOOLSRC)/doxify/doxify.sh $<
@mkdir -p $(DOXIFYOBJDIR)
@touch $@
$(DOXIFYOBJDIR)/%.doxified_included: %.f90
$(TOOLSRC)/doxify/doxify.sh $<
@mkdir -p $(DOXIFYOBJDIR)
@touch $@
$(DOXIFYOBJDIR)/%.doxified: %.c
@mkdir -p $(DOXIFYOBJDIR)
@touch $@
$(DOXIFYOBJDIR)/%.doxified: %.cpp
@mkdir -p $(DOXIFYOBJDIR)
@touch $@
# doxygen stuff =============================================================
doxygenclean:
-rm -rf $(CP2KHOME)/doxygen
TOOL_HELP += "doxygenclean : Remove the generated doxygen documentation"
doxygen: doxygenclean
$(TOOLSRC)/doxify/generate_doxygen.sh
TOOL_HELP += "doxygen : Generate the doxygen documentation"
# Precommit stuff ===========================================================
pretty: precommit
TOOL_HELP += "pretty : Alias for precommit."
precommit:
$(TOOLSRC)/precommit/precommit.py --allow-modifications
TOOL_HELP += "precommit : Run precommit checks."
precommitclean:
-rm -rf $(PRECOMMITDIR)
TOOL_HELP += "precommitclean : Remove temporary files from precommit checks."
# pre-commit script for manual execution ====================================
pre-commit:
@$(TOOLSRC)/pre-commit-install.sh
@$(CP2KHOME)/.pre-commit-env/bin/pre-commit run -a
TOOL_HELP += "pre-commit : Install pre-commit tools, register git hooks and run a full pre-commit check"
pre-commit-clean:
-@$(CP2KHOME)/.pre-commit-env/bin/pre-commit uninstall
-@$(CP2KHOME)/.pre-commit-env/bin/pre-commit clean
-rm -rf $(CP2KHOME)/.pre-commit-env
TOOL_HELP += "pre-commit-clean : Uninstall git hooks, drop the pre-commit tool cache and remove its environment"
# data stuff ================================================================
data: data/POTENTIAL
@:
data/POTENTIAL: data/GTH_POTENTIALS data/HF_POTENTIALS data/NLCC_POTENTIALS data/ALL_POTENTIALS
@echo "(re-)generating $@ ..."
@cat $^ > $@
OTHER_HELP += "data : (re-)generate merged data files (e.g. data/POTENTIALS)"
# automatic dependency generation ===========================================
MAKEDEPMODE = "normal"
ifeq ($(HACKDEP),yes)
MAKEDEPMODE = "hackdep"
else
ifneq ($(MC),)
MAKEDEPMODE = "mod_compiler"
endif
endif
# this happens on stage 3
makedep: $(ALL_SRC_FILES) $(ALL_PKG_FILES) dirs
ifeq ($(LD_SHARED),)
@echo "Removing stale archives for $(ONEVERSION) ... "
@$(TOOLSRC)/build_utils/check_archives.py $(firstword $(AR)) $(SRCDIR) $(LIBDIR)
endif
@echo "Resolving dependencies for $(ONEVERSION) ... "
@$(TOOLSRC)/build_utils/makedep.py $(OBJDIR)/all.dep cp2k $(MODDEPS) $(MAKEDEPMODE) $(ARCHIVE_EXT) $(SRCDIR) $(OBJ_SRC_FILES)
# on stage 4, load the rules generated by makedep.py
ifeq ($(INCLUDE_DEPS), true)
include $(OBJDIR)/all.dep
endif
# ================= Stuff need for compiling (stage 4) ======================
# These rules are executed in a recursive call to make -C $(OBJDIR)
# The change of $(CURDIR) allows to find targets without abs paths and vpaths.
### Slave rules ###
vpath %.F $(ALL_SRC_DIRS)
vpath %.h $(ALL_SRC_DIRS)
vpath %.f90 $(ALL_SRC_DIRS)
vpath %.cu $(ALL_SRC_DIRS)
vpath %.c $(ALL_SRC_DIRS)
vpath %.cpp $(ALL_SRC_DIRS)
#
# Add additional dependency of cp2k_info.F to git-HEAD.
# Ensuring that cp2k prints the correct source code revision number in its banner.
#
GIT_REF := ${MAINOBJDIR}/git-ref
# use a force (fake) target to always rebuild this file but have Make consider this updated
# iff it was actually rewritten (a .PHONY target is always considered new)
$(GIT_REF): FORCE
echo $(REVISION) > "$@.tmp"
@cmp "$@.tmp" "$@" || mv -f "$@.tmp" "$@"
FORCE: ;
cp2k_info.o: $(GIT_REF)
# Add some practical metadata about the build.
FCFLAGS += -D__COMPILE_ARCH="\"$(ARCH)\""\
-D__COMPILE_DATE="\"$(shell date)\""\
-D__COMPILE_HOST="\"$(shell hostname 2>/dev/null || hostnamectl --transient)\""\
-D__COMPILE_REVISION="\"$(strip $(REVISION))\""\
-D__DATA_DIR="\"$(DATA_DIR)\""
# $(FCLOGPIPE) can be used to store compiler output, e.g. warnings, for each F-file separately.
# This is used e.g. by the convention checker.
FYPPFLAGS ?= -n
%.o: %.F
$(TOOLSRC)/build_utils/fypp $(FYPPFLAGS) $< $*.F90
$(FC) -c $(FCFLAGS) -D__SHORT_FILE__="\"$(subst $(SRCDIR)/,,$<)\"" -I'$(dir $<)' $(OBJEXTSINCL) $*.F90 $(FCLOGPIPE)
%.o: %.c
$(CC) -c $(CFLAGS) $<
%.o: %.cu
$(OFFLOAD_CC) -c $(OFFLOAD_FLAGS) $<
# Disable built-in rules for C++.
%.o: %.cc
@echo "Error: C++ is not supported: $<"; false
%.o: %.cpp
@echo "Error: C++ is not supported: $<"; false
%.o: %.C
@echo "Error: C++ is not supported: $<"; false
# Begrudgingly tolerated because PyTorch has no C API.
torch_c_api.o: torch_c_api.cpp
$(CXX) -c $(CXXFLAGS) $<
ifneq ($(LIBDIR),)
$(LIBDIR)/%:
ifneq ($(LD_SHARED),)
@echo "Creating shared library $@"
@$(LD_SHARED) $(LDFLAGS) -o $(@:.a=.so) $^ $(LIBS)
else
@echo "Updating archive $@"
@$(AR) $@ $?
endif
ifneq ($(RANLIB),)
@$(RANLIB) $@
endif
endif
# module compiler magic =====================================================
ifeq ($(MC),)
#
# here we cheat... this tells make that .mod can be generated from .o (this holds in CP2K) by doing nothing
# it avoids recompilation if .o is more recent than .F, but .mod is older than .F
# (because it didn't change, as e.g. g95 can do)
#
# this is problematic if the module names are uppercase e.g. KINDS.mod (because this rule expands to kinds.mod)
#
%.mod: %.o
@true
else
#
# if MC is defined, it is our 'module compiler' which generates the .mod file from the source file
# it is useful in a two-stage compile.
#
%.mod: %.F
$(MC) -c $(FCFLAGS) -D__SHORT_FILE__="\"$(subst $(SRCDIR)/,,$<)\"" $<
endif
#EOF

View file

@ -1,69 +1,85 @@
# CP2K
CP2K is a quantum chemistry and solid state physics software package that can
perform atomistic simulations of solid state, liquid, molecular, periodic,
material, crystal, and biological systems. CP2K provides a general framework for
different modeling methods such as DFT using the mixed Gaussian and plane waves
approaches GPW and GAPW. Supported theory levels include DFTB, LDA, GGA, MP2,
RPA, semi-empirical methods (AM1, PM3, PM6, RM1, MNDO, ...), and classical force
fields (AMBER, CHARMM, ...). CP2K can do simulations of molecular dynamics,
metadynamics, Monte Carlo, Ehrenfest dynamics, vibrational analysis, core level
spectroscopy, energy minimization, and transition state optimization using NEB
or dimer method.
[![Release Status][release-badge]][release-link] [![Debian Status][debian-badge]][debian-link]
[![Fedora Status][fedora-badge]][fedora-link] [![Ubuntu Status][ubuntu-badge]][ubuntu-link]
[![Homebrew Status][homebrew-badge]][homebrew-link] [![Docker Status][docker-badge]][docker-link]
[![Spack Status][spack-badge]][spack-link] [![Conda Status][conda-badge]][conda-link]
CP2K is written in Fortran 2008 and can be run efficiently in parallel using
a combination of multi-threading, MPI, and CUDA.
CP2K is a quantum chemistry and solid state physics software package that can perform atomistic
simulations of solid state, liquid, molecular, periodic, material, crystal, and biological systems.
CP2K provides a general framework for different modeling methods such as DFT using the mixed
Gaussian and plane waves approaches GPW and GAPW. Supported theory levels include DFT, MP2, RPA, GW,
tight-binding (xTB, DFTB), semi-empirical methods (AM1, PM3, PM6, RM1, MNDO, ...), and classical
force fields (AMBER, CHARMM, ...). CP2K can do simulations of molecular dynamics, metadynamics,
Monte Carlo, Ehrenfest dynamics, vibrational analysis, core level spectroscopy, energy minimization,
and transition state optimization using NEB or dimer method.
CP2K is written in Fortran 2008 and can be run efficiently in parallel using a combination of
multi-threading, MPI, and GPU acceleration (CUDA for NVIDIA GPUs, HIP/ROCm for AMD GPUs, and
OpenCL).
## Downloading CP2K source code
To clone the current master (development version):
```shell
git clone --recursive https://github.com/cp2k/cp2k.git cp2k
git clone https://github.com/cp2k/cp2k.git cp2k
```
Note the `--recursive` flag that is needed because CP2K uses git submodules.
To clone a release version v*x.y*:
```shell
git clone -b support/vx.y --recursive https://github.com/cp2k/cp2k.git cp2k
```
For more information on downloading CP2K, see [Downloading CP2K](https://www.cp2k.org/download).
For help on git, see [Git Tips & Tricks](https://github.com/cp2k/cp2k/wiki/Git-Tips-&-Tricks).
For more information on downloading CP2K, see [Downloading CP2K](https://www.cp2k.org/download). For
help on git, see [Git Tips & Tricks](https://github.com/cp2k/cp2k/wiki/Git-Tips-&-Tricks).
## Install CP2K
The easiest way to build CP2K with all of its dependencies is as a [Docker container](./tools/docker/README.md).
CP2K manual provides installation instructions for below available methods:
For building CP2K from scratch see the [installation instructions](./INSTALL.md).
- [Build from Source](https://manual.cp2k.org/trunk/getting-started/build-from-source.html)
- [Build with Spack](https://manual.cp2k.org/trunk/getting-started/build-with-spack.html)
- [Install from Distribution](https://manual.cp2k.org/trunk/getting-started/distributions.html)
For building CP2K from scratch, including GPU acceleration for NVIDIA (CUDA), AMD (HIP/ROCm), or
OpenCL devices, also see the [installation instructions](./INSTALL.md).
## Links
- [CP2K.org](https://www.cp2k.org)
for showcases of scientific work, tutorials, exercises, presentation slides, etc.
- [The manual](https://manual.cp2k.org/)
with descriptions of all the keywords for the CP2K input file
- [The dashboard](https://dashboard.cp2k.org)
to get an overview of the currently tested architectures
- [The Google group](https://groups.google.com/group/cp2k) to get help if you
could not find an answer in one of the previous links
- [Acknowledgements](https://www.cp2k.org/funding) for list of institutions and
grants that help to fund the development of CP2K
- [CP2K.org](https://www.cp2k.org) for showcases of scientific work, tutorials, exercises,
presentation slides, etc.
- [The manual](https://manual.cp2k.org/) with descriptions of all the keywords for the CP2K input
file
- [The dashboard](https://dashboard.cp2k.org) to get an overview of the currently tested
architectures
- [The Google group](https://groups.google.com/group/cp2k) to get help if you could not find an
answer in one of the previous links
- [Acknowledgements](https://www.cp2k.org/funding) for list of institutions and grants that help to
fund the development of CP2K
## Directory organization
- [`arch`](./arch): Collection of definitions for different architectures and compilers
- [`benchmarks`](./benchmarks): Inputs for benchmarks
- [`data`](./data): Simulation parameters e.g. basis sets and pseudopotentials
- [`exts`](./exts): Access to external libraries via GIT submodules
- [`src`](./src): The source code
- [`data`](./data): Simulation parameters e.g. basis sets and pseudopotentials
- [`tests`](./tests): Inputs for tests and regression tests
- [`tools`](./tools): Mixed collection of useful scripts related to cp2k
- [`benchmarks`](./benchmarks): Inputs for benchmarks
Additional directories created during build process:
- `lib`: Libraries built during compilation
- `obj`: Objects and other intermediate compilation-time files
- `exe`: Where the executables will be located
[conda-badge]: https://img.shields.io/conda/vn/conda-forge/cp2k
[conda-link]: https://anaconda.org/conda-forge/cp2k
[debian-badge]: https://img.shields.io/debian/v/cp2k
[debian-link]: https://packages.debian.org/search?keywords=cp2k
[docker-badge]: https://img.shields.io/docker/v/cp2k/cp2k?label=docker
[docker-link]: https://hub.docker.com/r/cp2k/cp2k
[fedora-badge]: https://img.shields.io/fedora/v/cp2k
[fedora-link]: https://src.fedoraproject.org/rpms/cp2k
[homebrew-badge]: https://img.shields.io/homebrew/v/cp2k
[homebrew-link]: https://formulae.brew.sh/formula/cp2k
[release-badge]: https://img.shields.io/github/v/release/cp2k/cp2k
[release-link]: https://github.com/cp2k/cp2k/releases
[spack-badge]: https://img.shields.io/spack/v/cp2k
[spack-link]: https://packages.spack.io/package.html?name=cp2k
[ubuntu-badge]: https://img.shields.io/ubuntu/v/cp2k
[ubuntu-link]: https://packages.ubuntu.com/search?keywords=cp2k

View file

@ -1,300 +0,0 @@
# Build CP2K with CMake
This document regroups information about the CP2K CMake system. CMake is used to
detect CP2K dependencies and configure the compilation process. Dependencies
should be installed independently either with a distribution package manager,
easybuild, or spack to name a few.
It is easier to build and install all manually built dependencies in a single
directory ideally where CP2K will also be installed. CMake will have less
difficulties to find the `FindPACKAGE.cmake` files and dependent libraries. CMake
will also use environment variables such as `ORNL_FFTW3_ROOT`, etc. Usually a
standard prefix is used in HPC environments. If known just add it in the
`cmake/cp2k_utils.cmake` file.
The CMake build system requires a minimum set of dependencies:
- a c, C++, and fortran compiler (gcc, intel oneapi, AMD or nvidia SDK, xlf, etc...)
- an MPI implementation
- [DBCSR](https://cp2k.github.io/dbcsr/develop/).
- openmp
- any flavor of BLAS, LAPACK, SCALAPACK.
- fftw3
- CMake
Major vendors implementations of BLAS, LAPACK, and scalapack are supported. The
build system was tested with MKL, cray libsci, OpenBLAS, flexiblas, blis or
ATLAS.
All optional dependencies are turned off by default. DBCSR is the only dependency that
can be built at the same time than CP2K. It is OFF by default. We assume that mpi, blas,
lapack, and scalapack are installed. To compile `CP2K and `DBCSR\` open a terminal and write
```shell
cmake -DCMAKE_INSTALL_PREFIX=/pyprefix -DCP2K_BUILD_DBCSR=ON ..
```
This command will build cp2k and dbcsr dependencies in cpu only mode. Openmp is turned
on by default for dbcsr (see dedicated session in this README).
If MKL is present on your system then add this
```shell
cmake -DCMAKE_INSTALL_PREFIX=/pyprefix \
-DCP2K_BUILD_DBCSR=ON \
-DCP2K_BLAS_VENDOR=MKL \
-DCP2K_SCALAPACK_VENDOR=MKL ..
make -j
```
CP2K can be compiled on CRAY systems with the following command line
```shell
cmake -DCMAKE_INSTALL_PREFIX=/pyprefix \
-DCP2K_BUILD_DBCSR=ON \
-DCP2K_BLAS_VENDOR=SCI \
-DCP2K_SCALAPACK_VENDOR=SCI ..
make -j
```
MKL (or openblas, etc) can be combined with CUDA or HIP after adding the
additional flags enabling GPU support to the one of the previous cmake commands.
To get CUDA support (V100 gpus) write this command
```shell
cmake -DCMAKE_INSTALL_PREFIX=/pyprefix \
-DCP2K_BUILD_DBCSR=ON \
-DCP2K_USE_ACCEL=CUDA \
-DCP2K_WUTH_GPU=V100 ..
make -j
```
HIP is also supported. To enable it use this command
```shell
cmake -DCMAKE_INSTALL_PREFIX=/pyprefix \
-DCP2K_BUILD_DBCSR=ON \
-DCP2K_USE_ACCEL=HIP \
-DCP2K_WUTH_GPU=Mi250 ..
make -j
```
The option `CP2K_ENABLE_REGTESTS=ON` will configure the build system such that
the regtests are ran as usuall. `CMake` will create the binaries in the
`exe/cmake-build-{cpu,cuda,hip}` directory located in the cp2k root
directory. Users will have to set the environment variabble `CP2K_DATA_DIR`
accordingly.
For additional options please read the section below.
## Use of spack to build cp2k
The \[spack\]{https://github.com/spack/spack.git} tool can build CP2K and all its
dependencies with relative ease. We assume that you have spack available on your
system. Enter the command
```shell
spack install cp2k@master build_system=cmake ^openblas
```
To build cp2k master with MPI, openblas, scalapack, fftw and openmp. CP2K with
CUDA support is compiled with
```shell
spack install cp2k@master build_system=cmake +cuda cuda_arch=70 ^openblas ^dbcsr+cuda cuda_arch=70
```
For hip support run this command line
```shell
spack install cp2k@master build_system=cmake +rocm amdgpu_target=gfx1030 ^openblas ^dbcsr+rocm amdgpu_target=gfx1030
```
To build the other depednencies add them to the command line. A full cp2k build can be obtained with
```shell
spack install \
cp2k@master \
build_system=cmake \
+cuda cuda_arch=70 \
+libint \
+libxc \
+spglib \
+sirius \
+elpa \
+pexsi \
+plumed \
+cosma \
^openblas \
^dbcsr+cuda cuda_arch=70 \
^sirius+scalapack \
^cosma+scalapack
```
## Additional dependencies
The CP2K cmake build system also supports the following dependencies :
- `CP2K_USE_SIRIUS = OFF`: add [SIRIUS](https://github.com/electronic-structure/SIRIUS)
support to CP2K
- `CP2K_USE_FFTW3 = ON`: add support of [fftw3](https://www.fftw.org)
- `CP2K_USE_ELPA = OFF`: add [elpa](https://elpa.mpcdf.mpg.de) support. WARNING: Expect the
detection to fail at that stage
- `CP2K_USE_PEXSI = OFF`
- `CP2K_USE_SUPERLU = OFF`: detection should work but needs improvement
- `CP2K_USE_COSMA = OFF` : add [cosma](https://github.com/eth-cscs/COSMA) drop-in
replacement for sclapack pdgemnm
- `CP2K_USE_LIBINT2 = OFF`: add [libint2](https://github.com/evaleev/libint) support
(detection works ok, module files may not be found at compilation time though)
- `CP2K_USE_VORI = OFF`: detection is fine compilation might fail at linking time
(investigating why)
- `CP2K_USE_QUIP = OFF` :
- `CP2K_USE_SPGLIB = OFF`: everything alright
- `CP2K_USE_LIBXC = OFF`: Use `pkg-config` by default (ideally
the library should be built with CMake, if so we can get rid of the
`FindLibXC.cmake`). If you installed LIBXC in a non-standard location,
modify the `PKG_CONFIG_PATH` variable accordingly.
- `CP2K_USE_SPLA = OFF`: enable spla off-loading capabilities (use CMake modules
to detect it)
- `CP2K_USE_METIS = OFF`:
- `CP2K_USE_LIBXSMM = OFF`: use [libxsmm](https://libxsmm.readthedocs.io/en/latest/)
library for small matrices operations. Detection based on `pkg-config`. If you
installed libxsmm in a non-standard location, modify the `PKG_CONFIG_PATH` variable
accordingly.
- `CP2K_USE_ACCEL = NONE, CUDA, HIP`: enable GPU support
- `CP2K_BLAS_VENDOR = auto`: CMake will search for the most common blas / lapack
implementations. If possible indicate which implementation you are using. Supported
values are: `auto` (default), `MKL`, `SCI`, `OpenBLAS`, `FlexiBLAS`, `Armpl`.
- `CP2K_SCALAPACK_VENDOR = MKL, SCI, GENERIC`: similar to the previous option but for
scalapack
- `CP2K_BLAS_THREADING = sequential, openmp, etc...`: leave the default value (or
use it at your own peril)
- `CP2K_BLAS_INTERFACE = 32 bits, 64 bits`: size of the integers for the matrices
and vectors sizes. Default: 32 bits
- `CP2K_DEV_OPTIONS = OFF`: enable developer options. The main purpose is for
debugging
- `CP2K_USE_GRID_GPU = ON`: turn on of gpu support for collocate integrate
- `CP2K_USE_PW_GPU = ON`: turn on or off gpu fft support
- `CP2K_USE_DBM_GPU = ON`: turn on or off dbm gpu support
- `CP2K_CHECK_CONSISTENCY = OFF` : Compare the list of compiled files to the
files found in the tree. This function is only relevant to developers and should
be left to its default value. It has no incidence on the binaries generated by
the build.
ROCM 5.0.x is known to have a bug in the CMake configuration files. It is
possible to go around this but at the expense of time. The build system was not
tested with ROCM 5.1.x but this version shows performance regression and should
be avoided. The Jiting capabilities of ROCM 5.2.x do not work properly which
affects DBCSR. It is highly recommended to update ROCM to the latest version to
avoid all these issues. CP2K can be built with ROCM 5.2.x but GPU support in
DBCSR should be turned off otherwise a crash is expected. ROCM 5.3.x and
later seems to work fine.
## Threading with blas and lapack
CP2K expect by default a single threaded version of blas and lapack. The option
`-DCP2K_BLAS_THREADING` can change this behavior. Be careful when tweaking this
specific option as many implementations of blas / lapack are either threaded or
(exclusive) sequential but not both. I think the only exception to this is MKL.
Also note that CP2K dependencies will most likely have the same issue (COSMA
with cray-libsci for instance).
## Typical examples of CMake use
The following list gives several examples of CMake command lines. Just add
`-DCP2K_USE_SIRIUS=ON` to add support of SIRIUS in CP2K
```shell
cmake -DCP2K_INSTALL_PREFIX=/myprefix -DCP2K_USE_SIRIUS=ON ..
```
then
```shell
make
```
- MKL
```shell
cmake -DCP2K_INSTALL_PREFIX=/myprefix -DCP2K_BLAS_VENDOR=MKL
-DCP2K_SCALAPACK_VENDOR=MKL ..
```
- Cray environments (with cray-libsci)
```shell
MPICC=cc MPICXX=CC cmake -DCP2K_INSTALL_PREFIX=/myprefix
-DCP2K_BLAS_VENDOR=SCI -DCP2K_SCALAPACK_VENDOR=SCI ..
```
## CUDA / HIP
Let us consider the case where OpenBLAS and netlib scalapack are installed
(openmpi or mpich)
```shell
cmake -DCP2K_INSTALL_PREFIX=/myprefix -DCP2K_BLAS_VENDOR=OpenBLAS
-DCP2K_SCALAPACK_VENDOR=GENERIC -DCP2K_USE_ACCEL=CUDA -DCP2K_WITH_GPU=A100 ..
```
If HIP is needed then
```shell
cmake -DCP2K_INSTALL_PREFIX=/myprefix -DCP2K_BLAS_VENDOR=OpenBLAS
-DCP2K_SCALAPACK_VENDOR=GENERIC -DCP2K_USE_ACCEL=HIP -DCP2K_WITH_GPU=Mi250 ..
```
## Troubleshooting
This build system is relatevily stable and was tested on Cray, IBM, and redhat
like distributions. However it is not perfect and problems will show up, that's
why the two build systems will be available. We encourage the user to test the
build system just reporting the output of `cmake ..` is already beneficial.
The best way to report these problems is to open an issue including the CMake
command line, error message, and operating systems.
What is known to fail sometimes
- Nvidia HPC SDK: The location of the cuda maths libraries has changed
recently. While CUDA support will be detected, the CUDA maths libraries may not.
- HIP : CMake support of ROCM is still under development and is known to fail
from time to time. Update to ROCM 5.3.x or above to solve the issue.
- BLAS / LAPACK / SCALAPACK : use the options `CP2K_BLAS_VENDOR` and
`CP2K_SCALPACK_VENDOR` if you know that `MKL` or `SCI` (cray libsci) are
present. `-DCP2k_BLAS_VENDOR=OpenBLAS` will also help CMake to find OpenBLAS if
it is used. Detecting the scalapack library might also fail if the user
environment is not properly set up.
- BLAS / LAPACK / SCALAPACK: It is possible to set up BLAS / LAPACK / SCALAPACK
libraries manually with the command
```shell
cmake -DCP2K_BLAS_LINK_LIBRARIES=libmyblas.so -DCP2K_BLAS_VENDOR=CUSTOM
-DCP2K_LAPACK_LINK_LIBRARIES=libmylapack.so -DCP2K_SCALAPACK_VENDOR=GENERIC
-DCP2K_SCALAPACK_LIBRARIES=libscalapack.so
```

View file

@ -1,24 +0,0 @@
# Alfio Lazzaro (alfio.lazzaro@hpe.com)
# Tested with CCE 12.0.3 (required at least 12.0.1)
# Set CP2K_LIBS to CP2K dependencies
CC = cc
FC = ftn
# -M E7212: promote to error the warning `Variable XXX is used before it is defined.`
#FC += -M E7212 -M E7208
LD = ftn
AR = ar -r
DFLAGS = -D__FFTW3 -D__parallel -D__SCALAPACK -D__FORCE_USE_FAST_MATH
# DFLAGS += -D__LIBXSMM
DFLAGS += -D__LIBINT -D__MAX_CONTR=4
DFLAGS += -D__LIBXC
CFLAGS = $(DFLAGS) -O2 -fopenmp -fopenmp-simd
FCFLAGS = $(DFLAGS) -O2 -emf -ffree -homp
# FCFLAGS += -I${CP2K_LIBS}/libxsmm/include
FCFLAGS += -I${CP2K_LIBS}/libint-lmax-5/include
FCFLAGS += -I${CP2K_LIBS}/libxc/include
LDFLAGS = $(FCFLAGS)
# LIBS += -L${CP2K_LIBS}/libxsmm/lib -lxsmmf -lxsmm -ldl
LIBS += -L${CP2K_LIBS}/libint-lmax-5/lib -lint2
LIBS += -L${CP2K_LIBS}/libxc/lib -lxcf03 -lxc

View file

@ -1,275 +0,0 @@
#!/bin/bash
#
# CP2K arch file for Cray-XC40 (Piz Daint, CSCS, multi-core partition)
#
# Tested with: GNU 11.2.0, Cray-MPICH 7.7.18, Cray-libsci 20.09.1, Cray-FFTW 3.3.8.10,
# COSMA 2.6.6, ELPA 2022.11.001, LIBINT 2.6.0, LIBPEXSI 1.2.0,
# LIBXC 6.2.2, LIBVORI 220621, LIBXSMM 1.17, PLUMED 2.8.2,
# SIRIUS 7.4.3, SPGLIB 1.16.2
#
# Usage: Source this arch file and then run make as instructed.
# A full toolchain installation is performed as default.
# Replace or adapt the "module add" commands below if needed.
#
# Last update: 21.06.2023
#
# \
if [ "${0}" = "${BASH_SOURCE}" ]; then \
echo "ERROR: Script ${0##*/} must be sourced"; \
echo "Usage: source ${0##*/}"; \
exit 1; \
fi; \
this_file=${BASH_SOURCE##*/}; \
if [ -n "${1}" ]; then \
gcc_version="${1}"; \
else \
gcc_version="11.2.0"; \
fi; \
module add daint-mc; \
module rm PrgEnv-cray; \
module add PrgEnv-gnu; \
module rm gcc; \
module add gcc/${gcc_version}; \
module add cray-fftw/3.3.8.10; \
echo "Expected setup:"; \
echo " cray-mpich/7.7.18"; \
echo " craype-broadwell"; \
echo " daint-mc/21.09"; \
echo " craype/2.7.10"; \
echo " cray-libsci/20.09.1"; \
echo " PrgEnv-gnu/6.0.10"; \
echo " gcc/${gcc_version}"; \
echo " cray-fftw/3.3.8.10"; \
module list; \
module -f save cp2k_mc_gnu_psmp; \
echo "To load the required modules in your batch job script, use:"; \
echo " module restore cp2k_mc_gnu_psmp"; \
cd tools/toolchain; \
./install_cp2k_toolchain.sh -j${maxtasks} --no-arch-files --with-gcc=system --with-libvdwxc --with-pexsi --with-plumed; \
cd ../..; \
printf "Sourcing ${PWD}/tools/toolchain/install/setup ... "; \
source ${PWD}/tools/toolchain/install/setup; \
printf "done\n"; \
echo "Check the output above for error messages and consistency!"; \
echo; \
echo "If everything is OK, you can build a CP2K production binary with"; \
echo " make -j ARCH=${this_file%.*} VERSION=${this_file##*.}"; \
echo; \
echo "Alternatively, you can add further checks, e.g. for regression testing, with"; \
echo " make -j ARCH=${this_file%.*} VERSION=${this_file##*.} DO_CHECKS=yes"; \
echo "or build CP2K as a library with"; \
echo " make -j ARCH=${this_file%.*} VERSION=${this_file##*.} libcp2k"; \
echo; \
return
# Set options
DO_CHECKS := no
USE_COSMA := 2.6.6
USE_ELPA := 2022.11.001
USE_LIBINT := 2.6.0
USE_LIBPEXSI := 1.2.0
USE_LIBVORI := 220621
USE_LIBXC := 6.2.2
USE_LIBXSMM := 1.17
USE_PLUMED := 2.8.2
#USE_QUIP := 0.9.10
USE_SIRIUS := 7.4.3
USE_SPGLIB := 1.16.2
# Only needed for SIRIUS
LIBVDWXC_VER := 0.4.0
SPFFT_VER := 1.0.6
SPLA_VER := 1.5.5
HDF5_VER := 1.12.0
# Only needed for LIBPEXSI
SCOTCH_VER := 6.0.0
SUPERLU_VER := 6.1.0
LMAX := 5
MAX_CONTR := 4
CC := cc
FC := ftn
LD := ftn
AR := ar -r
# cc, CC, and ftn include already the proper -march flag
CFLAGS := -O2 -fopenmp -fopenmp-simd -ftree-vectorize -funroll-loops -g
DFLAGS := -D__parallel
DFLAGS += -D__SCALAPACK
DFLAGS += -D__FFTW3
DFLAGS += -D__MAX_CONTR=$(strip $(MAX_CONTR))
INSTALL_PATH := $(PWD)/tools/toolchain/install
ifeq ($(DO_CHECKS), yes)
DFLAGS += -D__CHECK_DIAG
endif
ifneq ($(USE_PLUMED),)
USE_PLUMED := $(strip $(USE_PLUMED))
PLUMED_LIB := $(INSTALL_PATH)/plumed-$(USE_PLUMED)/lib
DFLAGS += -D__PLUMED2
USE_GSL := 2.7
LIBS += $(PLUMED_LIB)/libplumed.a
endif
ifneq ($(USE_ELPA),)
USE_ELPA := $(strip $(USE_ELPA))
TARGET := cpu
ELPA_INC := $(INSTALL_PATH)/elpa-$(USE_ELPA)/$(TARGET)/include/elpa-$(USE_ELPA)
ELPA_LIB := $(INSTALL_PATH)/elpa-$(USE_ELPA)/$(TARGET)/lib
CFLAGS += -I$(ELPA_INC)/elpa -I$(ELPA_INC)/modules
DFLAGS += -D__ELPA
LIBS += $(ELPA_LIB)/libelpa.a
endif
ifneq ($(USE_QUIP),)
USE_QUIP := $(strip $(USE_QUIP))
QUIP_INC := $(INSTALL_PATH)/quip-$(USE_QUIP)/include
QUIP_LIB := $(INSTALL_PATH)/quip-$(USE_QUIP)/lib
CFLAGS += -I$(QUIP_INC)
DFLAGS += -D__QUIP
LIBS += $(QUIP_LIB)/libquip_core.a
LIBS += $(QUIP_LIB)/libatoms.a
LIBS += $(QUIP_LIB)/libFoX_sax.a
LIBS += $(QUIP_LIB)/libFoX_common.a
LIBS += $(QUIP_LIB)/libFoX_utils.a
LIBS += $(QUIP_LIB)/libFoX_fsys.a
endif
ifneq ($(USE_LIBPEXSI),)
USE_LIBPEXSI := $(strip $(USE_LIBPEXSI))
SCOTCH_VER := $(strip $(SCOTCH_VER))
SUPERLU_VER := $(strip $(SUPERLU_VER))
LIBPEXSI_INC := $(INSTALL_PATH)/pexsi-$(USE_LIBPEXSI)/include
LIBPEXSI_LIB := $(INSTALL_PATH)/pexsi-$(USE_LIBPEXSI)/lib
SCOTCH_INC := $(INSTALL_PATH)/scotch-$(SCOTCH_VER)/include
SCOTCH_LIB := $(INSTALL_PATH)/scotch-$(SCOTCH_VER)/lib
SUPERLU_INC := $(INSTALL_PATH)/superlu_dist-$(SUPERLU_VER)/include
SUPERLU_LIB := $(INSTALL_PATH)/superlu_dist-$(SUPERLU_VER)/lib
CFLAGS += -I$(LIBPEXSI_INC) -I$(SCOTCH_INC) -I$(SUPERLU_INC)
DFLAGS += -D__LIBPEXSI
LIBS += $(LIBPEXSI_LIB)/libpexsi.a
LIBS += $(SUPERLU_LIB)/libsuperlu_dist.a
LIBS += $(SCOTCH_LIB)/libptscotchparmetis.a
LIBS += $(SCOTCH_LIB)/libptscotch.a
LIBS += $(SCOTCH_LIB)/libptscotcherr.a
LIBS += $(SCOTCH_LIB)/libscotchmetis.a
LIBS += $(SCOTCH_LIB)/libscotch.a
endif
ifneq ($(USE_LIBVORI),)
USE_LIBVORI := $(strip $(USE_LIBVORI))
LIBVORI_LIB := $(INSTALL_PATH)/libvori-$(USE_LIBVORI)/lib
DFLAGS += -D__LIBVORI
LIBS += $(LIBVORI_LIB)/libvori.a
endif
ifneq ($(USE_LIBXC),)
USE_LIBXC := $(strip $(USE_LIBXC))
LIBXC_INC := $(INSTALL_PATH)/libxc-$(USE_LIBXC)/include
LIBXC_LIB := $(INSTALL_PATH)/libxc-$(USE_LIBXC)/lib
CFLAGS += -I$(LIBXC_INC)
DFLAGS += -D__LIBXC
LIBS += $(LIBXC_LIB)/libxcf03.a
LIBS += $(LIBXC_LIB)/libxc.a
endif
ifneq ($(USE_LIBINT),)
USE_LIBINT := $(strip $(USE_LIBINT))
LMAX := $(strip $(LMAX))
LIBINT_INC := $(INSTALL_PATH)/libint-v$(USE_LIBINT)-cp2k-lmax-$(LMAX)/include
LIBINT_LIB := $(INSTALL_PATH)/libint-v$(USE_LIBINT)-cp2k-lmax-$(LMAX)/lib
CFLAGS += -I$(LIBINT_INC)
DFLAGS += -D__LIBINT
LIBS += $(LIBINT_LIB)/libint2.a
endif
ifneq ($(USE_SPGLIB),)
USE_SPGLIB := $(strip $(USE_SPGLIB))
SPGLIB_INC := $(INSTALL_PATH)/spglib-$(USE_SPGLIB)/include
SPGLIB_LIB := $(INSTALL_PATH)/spglib-$(USE_SPGLIB)/lib
CFLAGS += -I$(SPGLIB_INC)
DFLAGS += -D__SPGLIB
LIBS += $(SPGLIB_LIB)/libsymspg.a
endif
ifneq ($(USE_LIBXSMM),)
USE_LIBXSMM := $(strip $(USE_LIBXSMM))
LIBXSMM_INC := $(INSTALL_PATH)/libxsmm-$(USE_LIBXSMM)/include
LIBXSMM_LIB := $(INSTALL_PATH)/libxsmm-$(USE_LIBXSMM)/lib
CFLAGS += -I$(LIBXSMM_INC)
DFLAGS += -D__LIBXSMM
LIBS += $(LIBXSMM_LIB)/libxsmmf.a
LIBS += $(LIBXSMM_LIB)/libxsmm.a
endif
ifneq ($(USE_SIRIUS),)
USE_SIRIUS := $(strip $(USE_SIRIUS))
HDF5_VER := $(strip $(HDF5_VER))
HDF5_LIB := $(INSTALL_PATH)/hdf5-$(HDF5_VER)/lib
LIBVDWXC_VER := $(strip $(LIBVDWXC_VER))
LIBVDWXC_INC := $(INSTALL_PATH)/libvdwxc-$(LIBVDWXC_VER)/include
LIBVDWXC_LIB := $(INSTALL_PATH)/libvdwxc-$(LIBVDWXC_VER)/lib
SPFFT_VER := $(strip $(SPFFT_VER))
SPFFT_INC := $(INSTALL_PATH)/SpFFT-$(SPFFT_VER)/include
SPFFT_LIB := $(INSTALL_PATH)/SpFFT-$(SPFFT_VER)/lib
SPLA_VER := $(strip $(SPLA_VER))
SPLA_INC := $(INSTALL_PATH)/SpLA-$(SPLA_VER)/include/spla
SPLA_LIB := $(INSTALL_PATH)/SpLA-$(SPLA_VER)/lib
SIRIUS_INC := $(INSTALL_PATH)/sirius-$(USE_SIRIUS)/include
SIRIUS_LIB := $(INSTALL_PATH)/sirius-$(USE_SIRIUS)/lib
CFLAGS += -I$(LIBVDWXC_INC)
CFLAGS += -I$(SPFFT_INC)
CFLAGS += -I$(SPLA_INC)
CFLAGS += -I$(SIRIUS_INC)
DFLAGS += -D__HDF5
DFLAGS += -D__LIBVDWXC
DFLAGS += -D__SPFFT
DFLAGS += -D__SPLA
DFLAGS += -D__SIRIUS
LIBS += $(SIRIUS_LIB)/libsirius.a
LIBS += $(SPLA_LIB)/libspla.a
LIBS += $(SPFFT_LIB)/libspfft.a
LIBS += $(LIBVDWXC_LIB)/libvdwxc.a
LIBS += $(HDF5_LIB)/libhdf5.a
endif
ifneq ($(USE_COSMA),)
USE_COSMA := $(strip $(USE_COSMA))
COSMA_INC := $(INSTALL_PATH)/COSMA-$(USE_COSMA)/include
COSMA_LIB := $(INSTALL_PATH)/COSMA-$(USE_COSMA)/lib
CFLAGS += -I$(COSMA_INC)
DFLAGS += -D__COSMA
LIBS += $(COSMA_LIB)/libcosma_prefixed_pxgemm.a
LIBS += $(COSMA_LIB)/libcosma.a
LIBS += $(COSMA_LIB)/libcosta.a
endif
ifneq ($(USE_GSL),)
USE_GSL := $(strip $(USE_GSL))
GSL_INC := $(INSTALL_PATH)/gsl-$(USE_GSL)/include
GSL_LIB := $(INSTALL_PATH)/gsl-$(USE_GSL)/lib
CFLAGS += -I$(GSL_INC)
DFLAGS += -D__GSL
LIBS += $(GSL_LIB)/libgsl.a
endif
CFLAGS += $(DFLAGS)
FCFLAGS := $(CFLAGS)
ifeq ($(shell [ $(shell gcc -dumpversion | cut -d. -f1) -gt 9 ] && echo yes), yes)
FCFLAGS += -fallow-argument-mismatch
endif
FCFLAGS += -fbacktrace
FCFLAGS += -ffree-form
FCFLAGS += -ffree-line-length-none
FCFLAGS += -fno-omit-frame-pointer
FCFLAGS += -std=f2008
LDFLAGS := $(FCFLAGS) -static
LIBS += -lz -ldl -lstdc++
# End

View file

@ -1,62 +0,0 @@
#!/bin/bash
#
# CP2K (Intel/MKL x86_64) minimal arch file for CRAY XC40
#
# Tested with: Intel(R) Fortran Intel(R) 64 Compiler Classic for applications running on Intel(R) 64, Version 2021.3.0
# on Cray XC40 (Piz Daint, CSCS, multi-core partition)
#
# Last update: 25.02.2022
# \
if [[ "${0}" == "${BASH_SOURCE}" ]]; then \
echo "ERROR: Script ${0##*/} must be sourced"; \
echo "Usage: source ${0##*/}"; \
exit 1; \
fi; \
this_file=${BASH_SOURCE##*/}; \
module add daint-mc; \
module rm PrgEnv-cray; \
module add PrgEnv-intel; \
module rm intel; \
module add intel-classic; \
module list; \
make -j ARCH=${this_file%.*} VERSION=${this_file##*.} realclean; \
make -j ARCH=${this_file%.*} VERSION=${this_file##*.}; \
return
CC = cc
FC = ftn
LD = ftn
AR = ar -r
CFLAGS = -O2 -fopenmp -fp-model precise -funroll-loops -g -qopenmp-simd -traceback
DFLAGS = -D__FFTW3
DFLAGS += -D__MAX_CONTR=4
DFLAGS += -D__MKL
DFLAGS += -D__parallel
DFLAGS += -D__SCALAPACK
FCFLAGS = $(CFLAGS) $(DFLAGS)
FCFLAGS += -diag-disable=8291
FCFLAGS += -diag-disable=8293
FCFLAGS += -fpp
FCFLAGS += -free
FCFLAGS += -I$(MKLROOT)/include
FCFLAGS += -I$(MKLROOT)/include/fftw
LDFLAGS = $(FCFLAGS)
LDFLAGS_C = -nofor-main
MKL_LIB = $(MKLROOT)/lib/intel64
LIBS = $(MKL_LIB)/libmkl_scalapack_lp64.a
LIBS += -Wl,--start-group
LIBS += $(MKL_LIB)/libmkl_intel_lp64.a
LIBS += $(MKL_LIB)/libmkl_sequential.a
LIBS += $(MKL_LIB)/libmkl_core.a
LIBS += $(MKL_LIB)/libmkl_blacs_intelmpi_lp64.a
LIBS += -Wl,--end-group
# Required due to memory leak that occurs if high optimisations are used
mp2_optimize_ri_basis.o: mp2_optimize_ri_basis.F
$(FC) -c $(subst O2,O0,$(FCFLAGS)) $<

View file

@ -1,315 +0,0 @@
#!/bin/bash
#
# CP2K arch file for Cray-XC50 (Piz Daint, CSCS, GPU partition)
#
# Tested with: GNU 9.3.0, Cray-MPICH 7.7.18, Cray-libsci 20.09.1, Cray-FFTW 3.3.8.10,
# COSMA 2.6.6, ELPA 2022.11.001, LIBINT 2.6.0, LIBPEXSI 1.2.0,
# LIBXC 6.2.2, LIBVORI 220621, LIBXSMM 1.17, PLUMED 2.8.2,
# SIRIUS 7.4.3, SPGLIB 1.16.2
#
# Usage: Source this arch file and then run make as instructed.
# A full toolchain installation is performed as default.
# Replace or adapt the "module add" commands below if needed.
#
# Last update: 21.06.2023
#
# \
if [ "${0}" = "${BASH_SOURCE}" ]; then \
echo "ERROR: Script ${0##*/} must be sourced"; \
echo "Usage: source ${0##*/}"; \
exit 1; \
fi; \
this_file=${BASH_SOURCE##*/}; \
if [ -n "${1}" ]; then \
gcc_version="${1}"; \
else \
gcc_version="9.3.0"; \
fi; \
module add daint-gpu; \
module rm PrgEnv-cray; \
module add PrgEnv-gnu; \
module rm gcc; \
module add gcc/${gcc_version}; \
module add cray-fftw/3.3.8.10; \
module add cudatoolkit; \
echo "Expected setup:"; \
echo " cray-mpich/7.7.18"; \
echo " craype-haswell"; \
echo " daint-gpu/21.09"; \
echo " craype/2.7.10"; \
echo " cray-libsci/20.09.1"; \
echo " PrgEnv-gnu/6.0.10"; \
echo " gcc/${gcc_version}"; \
echo " cray-fftw/3.3.8.10"; \
echo " cudatoolkit/11.0.2_3.38-8.1__g5b73779"; \
module list; \
module -f save cp2k_gpu_gnu_psmp; \
echo "To load the required modules in your batch job script, use:"; \
echo " module restore cp2k_gpu_gnu_psmp"; \
cd tools/toolchain; \
./install_cp2k_toolchain.sh --enable-cuda=yes --gpu-ver=P100 -j${maxtasks} --no-arch-files --with-gcc=system --with-libvdwxc --with-pexsi --with-plumed; \
cd ../..; \
printf "Sourcing ${PWD}/tools/toolchain/install/setup ... "; \
source ${PWD}/tools/toolchain/install/setup; \
printf "done\n"; \
echo "Check the output above for error messages and consistency!"; \
echo; \
echo "If everything is OK, you can build a CP2K production binary with"; \
echo " make -j ARCH=${this_file%.*} VERSION=${this_file##*.}"; \
echo; \
echo "Alternatively, you can add further checks, e.g. for regression testing, with"; \
echo " make -j ARCH=${this_file%.*} VERSION=${this_file##*.} DO_CHECKS=yes"; \
echo "or build CP2K as a library with"; \
echo " make -j ARCH=${this_file%.*} VERSION=${this_file##*.} libcp2k"; \
echo; \
return
# Set options
DO_CHECKS := no
USE_ACC := yes
USE_COSMA := 2.6.6
USE_ELPA := 2022.11.001
USE_LIBINT := 2.6.0
USE_LIBPEXSI := 1.2.0
USE_LIBVORI := 220621
USE_LIBXC := 6.2.2
USE_LIBXSMM := 1.17
USE_PLUMED := 2.8.2
#USE_QUIP := 0.9.10
USE_SIRIUS := 7.4.3
USE_SPGLIB := 1.16.2
# Only needed for SIRIUS
LIBVDWXC_VER := 0.4.0
SPFFT_VER := 1.0.6
SPLA_VER := 1.5.5
HDF5_VER := 1.12.0
# Only needed for LIBPEXSI
SCOTCH_VER := 6.0.0
SUPERLU_VER := 6.1.0
LMAX := 5
MAX_CONTR := 4
GPUVER := P100
OFFLOAD_TARGET := cuda
CC := cc
CXX := CC
OFFLOAD_CC := nvcc
FC := ftn
LD := ftn
AR := ar -r
# cc, CC, and ftn include already the proper -march flag
CFLAGS := -O2 -fopenmp -fopenmp-simd -ftree-vectorize -funroll-loops -g
DFLAGS := -D__parallel
DFLAGS += -D__SCALAPACK
DFLAGS += -D__FFTW3
DFLAGS += -D__MAX_CONTR=$(strip $(MAX_CONTR))
INSTALL_PATH := $(PWD)/tools/toolchain/install
ifeq ($(DO_CHECKS), yes)
DFLAGS += -D__CHECK_DIAG
endif
ifeq ($(USE_ACC), yes)
DFLAGS += -D__DBCSR_ACC
DFLAGS += -D__OFFLOAD_CUDA
# Possibly no performance gain with PW_CUDA currently
DFLAGS += -D__NO_OFFLOAD_PW
endif
ifneq ($(USE_PLUMED),)
USE_PLUMED := $(strip $(USE_PLUMED))
PLUMED_LIB := $(INSTALL_PATH)/plumed-$(USE_PLUMED)/lib
DFLAGS += -D__PLUMED2
USE_GSL := 2.7
LIBS += $(PLUMED_LIB)/libplumed.a
endif
ifneq ($(USE_ELPA),)
USE_ELPA := $(strip $(USE_ELPA))
TARGET := nvidia
ELPA_INC := $(INSTALL_PATH)/elpa-$(USE_ELPA)/$(TARGET)/include/elpa-$(USE_ELPA)
ELPA_LIB := $(INSTALL_PATH)/elpa-$(USE_ELPA)/$(TARGET)/lib
CFLAGS += -I$(ELPA_INC)/elpa -I$(ELPA_INC)/modules
DFLAGS += -D__ELPA
ifeq ($(TARGET), nvidia)
DFLAGS += -D__ELPA_NVIDIA_GPU
endif
LIBS += $(ELPA_LIB)/libelpa.a
endif
ifneq ($(USE_QUIP),)
USE_QUIP := $(strip $(USE_QUIP))
QUIP_INC := $(INSTALL_PATH)/quip-$(USE_QUIP)/include
QUIP_LIB := $(INSTALL_PATH)/quip-$(USE_QUIP)/lib
CFLAGS += -I$(QUIP_INC)
DFLAGS += -D__QUIP
LIBS += $(QUIP_LIB)/libquip_core.a
LIBS += $(QUIP_LIB)/libatoms.a
LIBS += $(QUIP_LIB)/libFoX_sax.a
LIBS += $(QUIP_LIB)/libFoX_common.a
LIBS += $(QUIP_LIB)/libFoX_utils.a
LIBS += $(QUIP_LIB)/libFoX_fsys.a
endif
ifneq ($(USE_LIBPEXSI),)
USE_LIBPEXSI := $(strip $(USE_LIBPEXSI))
SCOTCH_VER := $(strip $(SCOTCH_VER))
SUPERLU_VER := $(strip $(SUPERLU_VER))
LIBPEXSI_INC := $(INSTALL_PATH)/pexsi-$(USE_LIBPEXSI)/include
LIBPEXSI_LIB := $(INSTALL_PATH)/pexsi-$(USE_LIBPEXSI)/lib
SCOTCH_INC := $(INSTALL_PATH)/scotch-$(SCOTCH_VER)/include
SCOTCH_LIB := $(INSTALL_PATH)/scotch-$(SCOTCH_VER)/lib
SUPERLU_INC := $(INSTALL_PATH)/superlu_dist-$(SUPERLU_VER)/include
SUPERLU_LIB := $(INSTALL_PATH)/superlu_dist-$(SUPERLU_VER)/lib
CFLAGS += -I$(LIBPEXSI_INC) -I$(SCOTCH_INC) -I$(SUPERLU_INC)
DFLAGS += -D__LIBPEXSI
LIBS += $(LIBPEXSI_LIB)/libpexsi.a
LIBS += $(SUPERLU_LIB)/libsuperlu_dist.a
LIBS += $(SCOTCH_LIB)/libptscotchparmetis.a
LIBS += $(SCOTCH_LIB)/libptscotch.a
LIBS += $(SCOTCH_LIB)/libptscotcherr.a
LIBS += $(SCOTCH_LIB)/libscotchmetis.a
LIBS += $(SCOTCH_LIB)/libscotch.a
endif
ifneq ($(USE_LIBVORI),)
USE_LIBVORI := $(strip $(USE_LIBVORI))
LIBVORI_LIB := $(INSTALL_PATH)/libvori-$(USE_LIBVORI)/lib
DFLAGS += -D__LIBVORI
LIBS += $(LIBVORI_LIB)/libvori.a
endif
ifneq ($(USE_LIBXC),)
USE_LIBXC := $(strip $(USE_LIBXC))
LIBXC_INC := $(INSTALL_PATH)/libxc-$(USE_LIBXC)/include
LIBXC_LIB := $(INSTALL_PATH)/libxc-$(USE_LIBXC)/lib
CFLAGS += -I$(LIBXC_INC)
DFLAGS += -D__LIBXC
LIBS += $(LIBXC_LIB)/libxcf03.a
LIBS += $(LIBXC_LIB)/libxc.a
endif
ifneq ($(USE_LIBINT),)
USE_LIBINT := $(strip $(USE_LIBINT))
LMAX := $(strip $(LMAX))
LIBINT_INC := $(INSTALL_PATH)/libint-v$(USE_LIBINT)-cp2k-lmax-$(LMAX)/include
LIBINT_LIB := $(INSTALL_PATH)/libint-v$(USE_LIBINT)-cp2k-lmax-$(LMAX)/lib
CFLAGS += -I$(LIBINT_INC)
DFLAGS += -D__LIBINT
LIBS += $(LIBINT_LIB)/libint2.a
endif
ifneq ($(USE_SPGLIB),)
USE_SPGLIB := $(strip $(USE_SPGLIB))
SPGLIB_INC := $(INSTALL_PATH)/spglib-$(USE_SPGLIB)/include
SPGLIB_LIB := $(INSTALL_PATH)/spglib-$(USE_SPGLIB)/lib
CFLAGS += -I$(SPGLIB_INC)
DFLAGS += -D__SPGLIB
LIBS += $(SPGLIB_LIB)/libsymspg.a
endif
ifneq ($(USE_LIBXSMM),)
USE_LIBXSMM := $(strip $(USE_LIBXSMM))
LIBXSMM_INC := $(INSTALL_PATH)/libxsmm-$(USE_LIBXSMM)/include
LIBXSMM_LIB := $(INSTALL_PATH)/libxsmm-$(USE_LIBXSMM)/lib
CFLAGS += -I$(LIBXSMM_INC)
DFLAGS += -D__LIBXSMM
LIBS += $(LIBXSMM_LIB)/libxsmmf.a
LIBS += $(LIBXSMM_LIB)/libxsmm.a
endif
ifneq ($(USE_SIRIUS),)
USE_SIRIUS := $(strip $(USE_SIRIUS))
HDF5_VER := $(strip $(HDF5_VER))
HDF5_LIB := $(INSTALL_PATH)/hdf5-$(HDF5_VER)/lib
LIBVDWXC_VER := $(strip $(LIBVDWXC_VER))
LIBVDWXC_INC := $(INSTALL_PATH)/libvdwxc-$(LIBVDWXC_VER)/include
LIBVDWXC_LIB := $(INSTALL_PATH)/libvdwxc-$(LIBVDWXC_VER)/lib
SPFFT_VER := $(strip $(SPFFT_VER))
SPFFT_INC := $(INSTALL_PATH)/SpFFT-$(SPFFT_VER)/include
SPLA_VER := $(strip $(SPLA_VER))
SPLA_INC := $(INSTALL_PATH)/SpLA-$(SPLA_VER)/include/spla
ifeq ($(USE_ACC), yes)
DFLAGS += -D__OFFLOAD_GEMM
SPFFT_LIB := $(INSTALL_PATH)/SpFFT-$(SPFFT_VER)/lib/cuda
SPLA_LIB := $(INSTALL_PATH)/SpLA-$(SPLA_VER)/lib/cuda
SIRIUS_INC := $(INSTALL_PATH)/sirius-$(USE_SIRIUS)/include/cuda
SIRIUS_LIB := $(INSTALL_PATH)/sirius-$(USE_SIRIUS)/lib/cuda
else
SPFFT_LIB := $(INSTALL_PATH)/SpFFT-$(SPFFT_VER)/lib
SPLA_LIB := $(INSTALL_PATH)/SpLA-$(SPLA_VER)/lib
SIRIUS_INC := $(INSTALL_PATH)/sirius-$(USE_SIRIUS)/include
SIRIUS_LIB := $(INSTALL_PATH)/sirius-$(USE_SIRIUS)/lib
endif
CFLAGS += -I$(LIBVDWXC_INC)
CFLAGS += -I$(SPFFT_INC)
CFLAGS += -I$(SPLA_INC)
CFLAGS += -I$(SIRIUS_INC)
DFLAGS += -D__HDF5
DFLAGS += -D__LIBVDWXC
DFLAGS += -D__SPFFT
DFLAGS += -D__SPLA
DFLAGS += -D__SIRIUS
LIBS += $(SIRIUS_LIB)/libsirius.a
LIBS += $(SPLA_LIB)/libspla.a
LIBS += $(SPFFT_LIB)/libspfft.a
LIBS += $(LIBVDWXC_LIB)/libvdwxc.a
LIBS += $(HDF5_LIB)/libhdf5.a
endif
ifneq ($(USE_COSMA),)
USE_COSMA := $(strip $(USE_COSMA))
ifeq ($(USE_ACC), yes)
USE_COSMA := $(USE_COSMA)-cuda
endif
COSMA_INC := $(INSTALL_PATH)/COSMA-$(USE_COSMA)/include
COSMA_LIB := $(INSTALL_PATH)/COSMA-$(USE_COSMA)/lib
CFLAGS += -I$(COSMA_INC)
DFLAGS += -D__COSMA
LIBS += $(COSMA_LIB)/libcosma_prefixed_pxgemm.a
LIBS += $(COSMA_LIB)/libcosma.a
LIBS += $(COSMA_LIB)/libcosta.a
LIBS += $(COSMA_LIB)/libTiled-MM.a
endif
ifneq ($(USE_GSL),)
USE_GSL := $(strip $(USE_GSL))
GSL_INC := $(INSTALL_PATH)/gsl-$(USE_GSL)/include
GSL_LIB := $(INSTALL_PATH)/gsl-$(USE_GSL)/lib
CFLAGS += -I$(GSL_INC)
DFLAGS += -D__GSL
LIBS += $(GSL_LIB)/libgsl.a
endif
CFLAGS += $(DFLAGS)
CXXFLAGS := $(CFLAGS) -std=c++11
OFFLOAD_FLAGS := $(DFLAGS) -O3 -Xcompiler="-fopenmp" -arch sm_60 --std=c++11
FCFLAGS := $(CFLAGS)
ifeq ($(shell [ $(shell gcc -dumpversion | cut -d. -f1) -gt 9 ] && echo yes), yes)
FCFLAGS += -fallow-argument-mismatch
endif
FCFLAGS += -fbacktrace
FCFLAGS += -ffree-form
FCFLAGS += -ffree-line-length-none
FCFLAGS += -fno-omit-frame-pointer
FCFLAGS += -std=f2008
ifneq ($(CUDA_HOME),)
CUDA_LIB := $(CUDA_HOME)/lib64
LDFLAGS := $(FCFLAGS) -L$(CUDA_LIB) -Wl,-rpath=$(CUDA_LIB)
else
LDFLAGS := $(FCFLAGS)
endif
LIBS += -lcusolver -lcudart -lnvrtc -lcuda -lcufft -lcublas -lrt
LIBS += -lz -ldl -lpthread -lstdc++
# End

View file

@ -1,18 +0,0 @@
# With GCC 4.9 or later, for gcc and gfortran
# With a recent OpenMPI and scalapack installed
# libxc is installed in LIBXC_INCLUDE_DIR / LIBXC_LIB_DIR
# libint is installed in LIBINT_INCLUDE_DIR / LIBINT_LIB_DIR
CC = gcc
FC = mpifort
LD = mpifort
AR = ar -r
RANLIB = ranlib
CFLAGS = -O2 -fopenmp -g
DFLAGS = -D__parallel -D__SCALAPACK \
-D__NO_STATM_ACCESS -D__ACCELERATE -D__LIBXC -D__LIBINT
FCFLAGS = -I $(LIBXC_INCLUDE_DIR) -I $(LIBINT_INCLUDE_DIR) -fopenmp -O2 -g \
-funroll-loops -ftree-vectorize -ffree-form $(DFLAGS)
LDFLAGS = $(FCFLAGS)
LIBS = -framework Accelerate -lscalapack \
-L$(LIBXC_LIB_DIR) -lxcf03 -lxc \
-L$(LIBINT_LIB_DIR) -lint2

View file

@ -1,16 +0,0 @@
# With GCC 4.9 or later, for gcc and gfortran
# libxc is installed in LIBXC_INCLUDE_DIR / LIBXC_LIB_DIR
# libint is installed in LIBINT_INCLUDE_DIR / LIBINT_LIB_DIR
CC = gcc
FC = gfortran
LD = gfortran
AR = ar -r
RANLIB = ranlib
CFLAGS = -O2 -fopenmp -g
DFLAGS = -D__NO_STATM_ACCESS -D__ACCELERATE -D__LIBXC -D__LIBINT
FCFLAGS = -I $(LIBXC_INCLUDE_DIR) -I $(LIBINT_INCLUDE_DIR) -fopenmp -funroll-loops \
-ftree-vectorize -ffree-form -O2 -g $(DFLAGS)
LDFLAGS = $(FCFLAGS)
LIBS = -framework Accelerate \
-L$(LIBXC_LIB_DIR) -lxcf03 -lxc \
-L$(LIBINT_LIB_DIR) -lint2

View file

@ -1,312 +0,0 @@
#!/bin/bash
#
# CP2K Darwin arch file for a parallel arm64 binary
# (https://www.cp2k.org/howto:compile_on_macos)
#
# Tested with: GNU 12.3.0, MPICH 4.0.3,
# ScaLAPACK 2.2.1, OpenBLAS 0.3.23, FFTW 3.3.10, LIBINT 2.6.0,
# LIBXC 6.2.2, SPGLIB 1.16.2, PLUMED 2.8.2,
# LIBVORI 220621, GSL 2.7, COSMA 2.6.6, SIRIUS 7.4.3
# on an Apple M1 (macOS Ventura 13.1)
#
# Usage: Source this arch file and then run make as instructed.
#
# Last update: 21.06.2023
#
# \
if [[ "${0}" == "${BASH_SOURCE}" ]]; then \
echo "ERROR: Script ${0##*/} must be sourced"; \
echo "Usage: source ${0##*/}"; \
exit 1; \
fi; \
this_file=${BASH_SOURCE##*/}; \
cd tools/toolchain; \
[[ -z "${mpi_implementation}" ]] && mpi_implementation="mpich"; \
[[ -z "${target_cpu}" ]] && target_cpu="native"; \
if $(command -v brew >/dev/null 2>&1); then \
brew install cmake; \
brew install coreutils; \
brew install gcc@12; \
brew install gsed; \
brew install pkg-config; \
brew install wget; \
else \
echo "ERROR: Homebrew installation not found"; \
echo ' Run: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"'; \
cd ../..; \
return 1; \
fi; \
./install_cp2k_toolchain.sh --install-all -j${maxtasks} --no-arch-files --target-cpu=${target_cpu} --with-cmake=system --with-gcc=system --with-${mpi_implementation} --with-elpa=no --with-libxsmm=no --with-pexsi=no --with-quip=no; \
source ./install/setup; \
cd ../..; \
echo; \
echo "Check the output above for error messages and consistency!"; \
echo; \
echo "If everything is OK, you can build a CP2K production binary with"; \
echo " make -j ARCH=${this_file%.*} VERSION=${this_file##*.}"; \
echo; \
echo "Alternatively, you can add further checks, e.g. for regression testing, with"; \
echo " make -j ARCH=${this_file%.*} VERSION=${this_file##*.} DO_CHECKS=yes"; \
echo; \
echo "Run always the following command before using the CP2K binary"; \
echo " source ${PWD}/tools/toolchain/install/setup"; \
echo; \
return
# Set options
DO_CHECKS := no
SHARED := no
TARGET_CPU := native
USE_COSMA := 2.6.6
USE_FFTW := 3.3.10
USE_LIBINT := 2.6.0
USE_LIBVORI := 220621
USE_LIBXC := 6.2.2
USE_OPENBLAS := 0.3.23
USE_PLUMED := 2.8.2
USE_SCALAPACK := 2.2.1
USE_SIRIUS := 7.4.3
USE_SPGLIB := 1.16.2
LMAX := 5
MAX_CONTR := 4
CC := mpicc
FC := mpifort
LD := mpifort
AR := ar -r -s
CFLAGS := -O2 -fopenmp -fopenmp-simd -ftree-vectorize -funroll-loops -g -mtune=$(TARGET_CPU)
DFLAGS := -D__parallel
DFLAGS += -D__SCALAPACK
DFLAGS += -D__HAS_IEEE_EXCEPTIONS
DFLAGS += -D__MAX_CONTR=$(strip $(MAX_CONTR))
DFLAGS += -D__NO_STATM_ACCESS
INSTALL_PATH := $(PWD)/tools/toolchain/install
ifeq ($(SHARED), yes)
LD_SHARED := $(FC) -shared
CFLAGS += -fPIC
LDFLAGS := -Wl,--enable-new-dtags
CP2K_LIB := $(PWD)/lib/$(ARCH)/$(ONEVERSION)
LDFLAGS += -Wl,-rpath,$(CP2K_LIB)
LDFLAGS += -Wl,-rpath,$(CP2K_LIB)/exts/dbcsr
endif
# Settings for regression testing
ifeq ($(DO_CHECKS), yes)
DFLAGS += -D__CHECK_DIAG
FCFLAGS_DEBUG := -fcheck=bounds,do,recursion,pointer
FCFLAGS_DEBUG += -fcheck=all,no-array-temps
# FCFLAGS_DEBUG += -ffpe-trap=invalid,overflow,zero
FCFLAGS_DEBUG += -fimplicit-none
FCFLAGS_DEBUG += -finit-derived
FCFLAGS_DEBUG += -finit-real=snan
FCFLAGS_DEBUG += -finit-integer=-42
FCFLAGS_DEBUG += -finline-matmul-limit=0
WFLAGS := -Werror=aliasing
WFLAGS += -Werror=ampersand
WFLAGS += -Werror=c-binding-type
WFLAGS += -Werror=conversion
WFLAGS += -Werror=intrinsic-shadow
WFLAGS += -Werror=intrinsics-std
WFLAGS += -Werror=line-truncation
WFLAGS += -Wrealloc-lhs
WFLAGS += -Werror=tabs
WFLAGS += -Werror=target-lifetime
WFLAGS += -Werror=underflow
WFLAGS += -Werror=unused-but-set-variable
WFLAGS += -Werror=unused-dummy-argument
WFLAGS += -Werror=unused-variable
endif
ifneq ($(USE_PLUMED),)
USE_GSL := 2.7
USE_PLUMED := $(strip $(USE_PLUMED))
PLUMED_LIB := $(INSTALL_PATH)/plumed-$(USE_PLUMED)/lib
DFLAGS += -D__PLUMED2
ifeq ($(SHARED), yes)
LIBS += -Wl,-rpath,$(PLUMED_LIB) -L$(PLUMED_LIB) -lplumed -lplumedKernel
else
LIBS += $(PLUMED_LIB)/libplumed.a
endif
endif
ifneq ($(USE_LIBVORI),)
USE_LIBVORI := $(strip $(USE_LIBVORI))
LIBVORI_LIB := $(INSTALL_PATH)/libvori-$(USE_LIBVORI)/lib
DFLAGS += -D__LIBVORI
ifeq ($(SHARED), yes)
LIBS += -Wl,-rpath,$(LIBVORI_LIB) -L$(LIBVORI_LIB) -lvori
else
LIBS += $(LIBVORI_LIB)/libvori.a
endif
endif
ifneq ($(USE_LIBXC),)
USE_LIBXC := $(strip $(USE_LIBXC))
LIBXC_INC := $(INSTALL_PATH)/libxc-$(USE_LIBXC)/include
LIBXC_LIB := $(INSTALL_PATH)/libxc-$(USE_LIBXC)/lib
CFLAGS += -I$(LIBXC_INC)
DFLAGS += -D__LIBXC
ifeq ($(SHARED), yes)
LIBS += -Wl,-rpath,$(LIBXC_LIB) -L$(LIBXC_LIB) -lxcf03 -lxc
else
LIBS += $(LIBXC_LIB)/libxcf03.a
LIBS += $(LIBXC_LIB)/libxc.a
endif
endif
ifneq ($(USE_LIBINT),)
USE_LIBINT := $(strip $(USE_LIBINT))
LMAX := $(strip $(LMAX))
LIBINT_INC := $(INSTALL_PATH)/libint-v$(USE_LIBINT)-cp2k-lmax-$(LMAX)/include
LIBINT_LIB := $(INSTALL_PATH)/libint-v$(USE_LIBINT)-cp2k-lmax-$(LMAX)/lib
CFLAGS += -I$(LIBINT_INC)
DFLAGS += -D__LIBINT
ifeq ($(SHARED), yes)
LIBS += -Wl,-rpath,$(LIBINT_LIB) -L$(LIBINT_LIB) -lint2
else
LIBS += $(LIBINT_LIB)/libint2.a
LIBS += $(LIBINT_LIB)/libint2.a
endif
endif
ifneq ($(USE_SPGLIB),)
USE_SPGLIB := $(strip $(USE_SPGLIB))
SPGLIB_INC := $(INSTALL_PATH)/spglib-$(USE_SPGLIB)/include
SPGLIB_LIB := $(INSTALL_PATH)/spglib-$(USE_SPGLIB)/lib
CFLAGS += -I$(SPGLIB_INC)
DFLAGS += -D__SPGLIB
ifeq ($(SHARED), yes)
LIBS += -Wl,-rpath,$(SPGLIB_LIB) -L$(SPGLIB_LIB) -lsymspg
else
LIBS += $(SPGLIB_LIB)/libsymspg.a
endif
endif
ifneq ($(USE_SIRIUS),)
USE_GSL := 2.7
HDF5_VER := 1.12.0
LIBVDWXC_VER := 0.4.0
SPFFT_VER := 1.0.6
SPLA_VER := 1.5.5
USE_SIRIUS := $(strip $(USE_SIRIUS))
HDF5_VER := $(strip $(HDF5_VER))
HDF5_LIB := $(INSTALL_PATH)/hdf5-$(HDF5_VER)/lib
LIBVDWXC_VER := $(strip $(LIBVDWXC_VER))
LIBVDWXC_INC := $(INSTALL_PATH)/libvdwxc-$(LIBVDWXC_VER)/include
LIBVDWXC_LIB := $(INSTALL_PATH)/libvdwxc-$(LIBVDWXC_VER)/lib
SPFFT_VER := $(strip $(SPFFT_VER))
SPFFT_INC := $(INSTALL_PATH)/SpFFT-$(SPFFT_VER)/include
SPFFT_LIB := $(INSTALL_PATH)/SpFFT-$(SPFFT_VER)/lib
SPLA_VER := $(strip $(SPLA_VER))
SPLA_INC := $(INSTALL_PATH)/SpLA-$(SPLA_VER)/include/spla
SPLA_LIB := $(INSTALL_PATH)/SpLA-$(SPLA_VER)/lib
SIRIUS_INC := $(INSTALL_PATH)/sirius-$(USE_SIRIUS)/include
SIRIUS_LIB := $(INSTALL_PATH)/sirius-$(USE_SIRIUS)/lib
CFLAGS += -I$(LIBVDWXC_INC)
CFLAGS += -I$(SPFFT_INC)
CFLAGS += -I$(SPLA_INC)
CFLAGS += -I$(SIRIUS_INC)
DFLAGS += -D__HDF5
DFLAGS += -D__LIBVDWXC
DFLAGS += -D__SPFFT
DFLAGS += -D__SPLA
DFLAGS += -D__SIRIUS
ifeq ($(SHARED), yes)
LIBS += -Wl,-rpath,$(SIRIUS_LIB) -L$(SIRIUS_LIB) -lsirius
LIBS += -Wl,-rpath,$(SPLA_LIB) -L$(SPLA_LIB) -lspla
LIBS += -Wl,-rpath,$(SPFFT_LIB) -L$(SPFFT_LIB) -lspfft
LIBS += -Wl,-rpath,$(LIBVDWXC_LIB) -L$(LIBVDWXC_LIB) -lvdwxc
LIBS += -Wl,-rpath,$(HDF5_LIB) -L$(HDF5_LIB) -lhdf5
else
LIBS += $(SIRIUS_LIB)/libsirius.a
LIBS += $(SPLA_LIB)/libspla.a
LIBS += $(SPFFT_LIB)/libspfft.a
LIBS += $(LIBVDWXC_LIB)/libvdwxc.a
LIBS += $(HDF5_LIB)/libhdf5.a
endif
endif
ifneq ($(USE_COSMA),)
USE_COSMA := $(strip $(USE_COSMA))
COSMA_INC := $(INSTALL_PATH)/COSMA-$(USE_COSMA)/include
COSMA_LIB := $(INSTALL_PATH)/COSMA-$(USE_COSMA)/lib
CFLAGS += -I$(COSMA_INC)
DFLAGS += -D__COSMA
ifeq ($(SHARED), yes)
LIBS += -Wl,-rpath,$(COSMA_LIB) -L$(COSMA_LIB) -lcosma_prefixed_pxgemm -lcosma -lcosta
else
LIBS += $(COSMA_LIB)/libcosma_prefixed_pxgemm.a
LIBS += $(COSMA_LIB)/libcosma.a
LIBS += $(COSMA_LIB)/libcosta.a
endif
endif
ifneq ($(USE_FFTW),)
USE_FFTW := $(strip $(USE_FFTW))
FFTW_INC := $(INSTALL_PATH)/fftw-$(USE_FFTW)/include
FFTW_LIB := $(INSTALL_PATH)/fftw-$(USE_FFTW)/lib
CFLAGS += -I$(FFTW_INC)
DFLAGS += -D__FFTW3
ifeq ($(SHARED), yes)
LIBS += -Wl,-rpath,$(FFTW_LIB) -L$(FFTW_LIB) -lfftw3_mpi -lfftw3_omp -lfftw3
else
LIBS += $(FFTW_LIB)/libfftw3_mpi.a
LIBS += $(FFTW_LIB)/libfftw3_omp.a
LIBS += $(FFTW_LIB)/libfftw3.a
endif
endif
ifneq ($(USE_SCALAPACK),)
SCALAPACK_LIB := $(INSTALL_PATH)/scalapack-$(USE_SCALAPACK)/lib
ifeq ($(SHARED), yes)
LIBS += -Wl,-rpath,$(SCALAPACK_LIB) -L$(SCALAPACK_LIB) -lscalapack
else
LIBS += $(SCALAPACK_LIB)/libscalapack.a
endif
endif
ifneq ($(USE_OPENBLAS),)
USE_OPENBLAS := $(strip $(USE_OPENBLAS))
OPENBLAS_INC := $(INSTALL_PATH)/openblas-$(USE_OPENBLAS)/include
OPENBLAS_LIB := $(INSTALL_PATH)/openblas-$(USE_OPENBLAS)/lib
CFLAGS += -I$(OPENBLAS_INC)
ifeq ($(SHARED), yes)
LIBS += -Wl,-rpath,$(OPENBLAS_LIB) -L$(OPENBLAS_LIB) -lopenblas
else
LIBS += $(OPENBLAS_LIB)/libopenblas.a
endif
endif
ifneq ($(USE_GSL),)
USE_GSL := $(strip $(USE_GSL))
GSL_INC := $(INSTALL_PATH)/gsl-$(USE_GSL)/include
GSL_LIB := $(INSTALL_PATH)/gsl-$(USE_GSL)/lib
CFLAGS += -I$(GSL_INC)
DFLAGS += -D__GSL
ifeq ($(SHARED), yes)
LIBS += -Wl,-rpath,$(GSL_LIB) -L$(GSL_LIB) -lgsl
else
LIBS += $(GSL_LIB)/libgsl.a -llapack
endif
endif
CFLAGS += $(DFLAGS)
FCFLAGS := $(CFLAGS) $(FCFLAGS_DEBUG) $(WFLAGS)
FCFLAGS += -fallow-argument-mismatch
FCFLAGS += -fbacktrace
FCFLAGS += -ffree-form
FCFLAGS += -ffree-line-length-none
FCFLAGS += -fno-omit-frame-pointer
FCFLAGS += -std=f2008
LDFLAGS += $(FCFLAGS)
LIBS += -lz -ldl -lstdc++
# End

View file

@ -1,174 +0,0 @@
#!/bin/bash
#
# CP2K Darwin arch file for a serial arm64 binary
# (https://www.cp2k.org/howto:compile_on_macos)
#
# Tested with: GNU 12.3.0, FFTW 3.3.10, LIBINT 2.6.0, LIBVORI 220621,
# LIBXC 6.2.2, OpenBLAS 0.3.23, SPGLIB 1.16.2
# on an Apple M1 (macOS Ventura 13.4)
#
# Usage: Source this arch file and then run make as instructed.
#
# Last update: 21.06.2023
#
# \
if [[ "${0}" == "${BASH_SOURCE}" ]]; then \
echo "ERROR: Script ${0##*/} must be sourced"; \
echo "Usage: source ${0##*/}"; \
exit 1; \
fi; \
this_file=${BASH_SOURCE##*/}; \
cd tools/toolchain; \
[[ -z "${target_cpu}" ]] && target_cpu="native"; \
if $(command -v brew >/dev/null 2>&1); then \
brew install cmake; \
brew install coreutils; \
brew install gcc; \
brew install pkg-config; \
brew install wget; \
else \
echo "ERROR: Homebrew installation not found"; \
echo ' Run: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"'; \
cd ../..; \
return 1; \
fi; \
./install_cp2k_toolchain.sh -j${maxtasks} --mpi-mode=no --no-arch-files --target-cpu=${target_cpu} --with-cmake=system --with-gcc=system --with-libxsmm=no; \
source ./install/setup; \
cd ../..; \
echo; \
echo "Check the output above for error messages and consistency!"; \
echo; \
echo "If everything is OK, you can build a CP2K production binary with"; \
echo " make -j ARCH=${this_file%.*} VERSION=${this_file##*.}"; \
echo; \
echo "Alternatively, you can add further checks, e.g. for regression testing, with"; \
echo " make -j ARCH=${this_file%.*} VERSION=${this_file##*.} DO_CHECKS=yes"; \
echo; \
echo "Run always the following command before using the CP2K binary"; \
echo " source ${PWD}/tools/toolchain/install/setup"; \
echo; \
return
# Set options
DO_CHECKS := no
TARGET_CPU := native
USE_FFTW := 3.3.10
USE_LIBINT := 2.6.0
USE_LIBVORI := 220621
USE_LIBXC := 6.2.2
USE_OPENBLAS := 0.3.23
USE_SPGLIB := 1.16.2
LMAX := 5
MAX_CONTR := 4
CC := gcc
CXX := g++
FC := gfortran
LD := gfortran
AR := ar -r -s
CFLAGS := -O2 -fopenmp -fopenmp-simd -ftree-vectorize -funroll-loops -g -mtune=$(TARGET_CPU)
DFLAGS += -D__MAX_CONTR=$(strip $(MAX_CONTR))
DFLAGS += -D__NO_STATM_ACCESS
INSTALL_PATH := $(PWD)/tools/toolchain/install
# Settings for regression testing
ifeq ($(DO_CHECKS), yes)
DFLAGS += -D__CHECK_DIAG
FCFLAGS_DEBUG := -fcheck=bounds,do,recursion,pointer
FCFLAGS_DEBUG += -fcheck=all,no-array-temps
# FCFLAGS_DEBUG += -ffpe-trap=invalid,overflow,zero
FCFLAGS_DEBUG += -fimplicit-none
FCFLAGS_DEBUG += -finit-derived
FCFLAGS_DEBUG += -finit-real=snan
FCFLAGS_DEBUG += -finit-integer=-42
FCFLAGS_DEBUG += -finline-matmul-limit=0
WFLAGS := -Werror=aliasing
WFLAGS += -Werror=ampersand
WFLAGS += -Werror=c-binding-type
WFLAGS += -Werror=conversion
WFLAGS += -Werror=intrinsic-shadow
WFLAGS += -Werror=intrinsics-std
WFLAGS += -Werror=line-truncation
WFLAGS += -Wrealloc-lhs
WFLAGS += -Werror=tabs
WFLAGS += -Werror=target-lifetime
WFLAGS += -Werror=underflow
WFLAGS += -Werror=unused-but-set-variable
WFLAGS += -Werror=unused-dummy-argument
WFLAGS += -Werror=unused-variable
endif
ifneq ($(USE_LIBVORI),)
USE_LIBVORI := $(strip $(USE_LIBVORI))
LIBVORI_LIB := $(INSTALL_PATH)/libvori-$(USE_LIBVORI)/lib
DFLAGS += -D__LIBVORI
LIBS += $(LIBVORI_LIB)/libvori.a
endif
ifneq ($(USE_LIBXC),)
USE_LIBXC := $(strip $(USE_LIBXC))
LIBXC_INC := $(INSTALL_PATH)/libxc-$(USE_LIBXC)/include
LIBXC_LIB := $(INSTALL_PATH)/libxc-$(USE_LIBXC)/lib
CFLAGS += -I$(LIBXC_INC)
DFLAGS += -D__LIBXC
LIBS += $(LIBXC_LIB)/libxcf03.a
LIBS += $(LIBXC_LIB)/libxc.a
endif
ifneq ($(USE_LIBINT),)
USE_LIBINT := $(strip $(USE_LIBINT))
LMAX := $(strip $(LMAX))
LIBINT_INC := $(INSTALL_PATH)/libint-v$(USE_LIBINT)-cp2k-lmax-$(LMAX)/include
LIBINT_LIB := $(INSTALL_PATH)/libint-v$(USE_LIBINT)-cp2k-lmax-$(LMAX)/lib
CFLAGS += -I$(LIBINT_INC)
DFLAGS += -D__LIBINT
LIBS += $(LIBINT_LIB)/libint2.a
LIBS += $(LIBINT_LIB)/libint2.a
endif
ifneq ($(USE_SPGLIB),)
USE_SPGLIB := $(strip $(USE_SPGLIB))
SPGLIB_INC := $(INSTALL_PATH)/spglib-$(USE_SPGLIB)/include
SPGLIB_LIB := $(INSTALL_PATH)/spglib-$(USE_SPGLIB)/lib
CFLAGS += -I$(SPGLIB_INC)
DFLAGS += -D__SPGLIB
LIBS += $(SPGLIB_LIB)/libsymspg.a
endif
ifneq ($(USE_FFTW),)
USE_FFTW := $(strip $(USE_FFTW))
FFTW_INC := $(INSTALL_PATH)/fftw-$(USE_FFTW)/include
FFTW_LIB := $(INSTALL_PATH)/fftw-$(USE_FFTW)/lib
CFLAGS += -I$(FFTW_INC)
DFLAGS += -D__FFTW3
LIBS += $(FFTW_LIB)/libfftw3_omp.a
LIBS += $(FFTW_LIB)/libfftw3.a
endif
ifneq ($(USE_OPENBLAS),)
USE_OPENBLAS := $(strip $(USE_OPENBLAS))
OPENBLAS_INC := $(INSTALL_PATH)/openblas-$(USE_OPENBLAS)/include
OPENBLAS_LIB := $(INSTALL_PATH)/openblas-$(USE_OPENBLAS)/lib
CFLAGS += -I$(OPENBLAS_INC)
LIBS += $(OPENBLAS_LIB)/libopenblas.a
endif
CFLAGS += $(DFLAGS)
FCFLAGS := $(CFLAGS) $(FCFLAGS_DEBUG) $(WFLAGS)
FCFLAGS += -fallow-argument-mismatch
FCFLAGS += -fbacktrace
FCFLAGS += -ffree-form
FCFLAGS += -ffree-line-length-none
FCFLAGS += -fno-omit-frame-pointer
FCFLAGS += -std=f2008
LDFLAGS += $(FCFLAGS)
LIBS += -ldl -lstdc++
# End

View file

@ -1,137 +0,0 @@
# === For the CSCS HPE Cray EX System Alps (Eiger) ====
# Uses only libraries provided by CSCS in the cpeGNU environment.
#
# USAGE:
# 1. source this arch file to load the required modules:
# source arch/Eiger-gfortran.psmp
# 2. follow the printed instructions
# 3. Optionally: use some of the options below to tune the installation
# 4. To run a calculation: no module has to be loaded
#
# \
module load cray/21.12 ; \
module load cpeGNU/21.12 ; \
module load \
cray-fftw \
ELPA/2021.11.001 \
libxsmm/1.17 \
libxc/5.1.7 \
Libint-CP2K/2.6.0 \
SIRIUS/7.3.1 \
spglib/1.16.3 \
libvori/210412 \
PLUMED/2.7.3 \
cray-mpich/8.1.12 \
; \
module list ; \
module save cp2k_gfortran_psmp ; \
echo "Please check the output above for error messages!" ; \
echo "If everything is OK, build CP2K with:" ; \
echo " make -j ARCH=Eiger-gfortran VERSION=psmp" ; \
echo "" ; \
echo "To load the required modules in your sbatch script, use:" ; \
echo " module restore cp2k_gfortran_psmp" ; \
/usr/bin/test _`echo is_csh 2>/dev/null` != _is_csh && exit ; \
return
# === OPTIONS ===
# To disable/enable them add them to the make call:
# ex.: make -j ARCH=Eiger-gfortran VERSION=psmp USE_ELPA=0
# NOTES:
# Current versions of ELPA, SIRIUS, LIBVORI and PLUMED provided by CSCS on Eiger are too old to run
# with the current development version of CP2K. The user should install these via the toolchain,
# in case they should need these libraries.
WITH_MKL=0
USE_ELPA=0
USE_LIBINT=1
USE_SIRIUS=0
USE_SPGLIB=1
USE_LIBVORI=0
USE_PLUMED=0
CHECKS=0
# === PRE-PROCESSOR FLAGS (base) ===
DFLAGS = -D__parallel -D__SCALAPACK \
-D__FFTW3 \
-D__LIBXSMM \
-D__LIBXC
# === LIBRARIES and MODULES ===
LIBS += -lfftw3 -lfftw3_omp
LIBS += -lxcf03 -lxc
INCS += -I$(EBROOTLIBXC)/include
LIBS += -lxsmmf -lxsmm -ldl
INCS += -I$(EBROOTLIBXSMM)/include
ifeq ($(USE_ELPA),1)
DFLAGS += -D__ELPA
LIBS += -lelpa_openmp
INCS += -I$(ELPA_INCLUDE_DIR)/modules
endif
ifeq ($(USE_LIBINT),1)
DFLAGS += -D__LIBINT -D__MAX_CONTR=4
LIBS += -lint2 -lstdc++
INCS += -I$(EBROOTLIBINTMINCP2K)/include
endif
ifeq ($(USE_SIRIUS),1)
DFLAGS += -D__SIRIUS
LIBS += -lsirius
INCS += -I$(EBROOTSIRIUS)/include/sirius
endif
ifeq ($(USE_SPGLIB),1)
DFLAGS += -D__SPGLIB
LIBS += -lsymspg
INCS += -I$(EBROOTSPGLIB)/include
endif
ifeq ($(USE_LIBVORI),1)
DFLAGS += -D__LIBVORI
LIBS += $(EBROOTLIBVORI)/lib/libvori.a
endif
ifeq ($(USE_PLUMED),1)
DFLAGS += -D__PLUMED2
LIBS += -lplumed
endif
ifeq ($(WITH_MKL),1)
LIBS += -L/opt/intel/mkl/lib/intel64 -Wl,-rpath=/opt/intel/mkl/lib/intel64 \
-lmkl_scalapack_lp64 \
-Wl,--start-group \
-lmkl_gf_lp64 \
-lmkl_sequential \
-lmkl_core \
-lmkl_blacs_intelmpi_lp64 \
-Wl,--end-group
INCS += -I/opt/intel/mkl/include
endif
# === BINARIES (COMPILER, LINKER, ...) ===
CC = cc
CXX = CC
FC = ftn
LD = ftn
AR = ar -r
# === COMPILER FLAGS ===
AFLAGS = $(DFLAGS) $(INCS) -g1 -fopenmp -O3 -funroll-loops
FCFLAGS = $(AFLAGS) -ffree-form -ffree-line-length-512 -fallow-argument-mismatch
CFLAGS = $(AFLAGS)
CXXFLAGS = $(AFLAGS)
LDFLAGS = $(FCFLAGS)
# -fallow-argument-mismatch: needed for (Cray-)MPICH and tightened interface requirements introduced in GCC-10
ifeq ($(CHECKS),1)
FCFLAGS += -g -fcheck=bounds,do,recursion,pointer -Wconversion -fbacktrace
endif

View file

@ -1,8 +0,0 @@
CC = gcc
FC = mpifort
LD = mpifort
AR = ar -r
DFLAGS = -D__FFTW3 -D__NO_STATM_ACCESS -D__parallel -D__SCALAPACK
FCFLAGS = -O2 -fopenmp -funroll-loops -ftree-vectorize -march=native -ffree-form $(DFLAGS)
LDFLAGS = $(FCFLAGS)
LIBS = -llapack -lblas -lscalapack -lfftw3 -lfftw3_omp -lmpich

View file

@ -1,9 +0,0 @@
CC = gcc
FC = gfortran
LD = gfortran
AR = ar -r
DFLAGS = -D__FFTW3 -D__NO_STATM_ACCESS
FCFLAGS = -O2 -fopenmp -funroll-loops -ftree-vectorize -march=native -ffree-form $(DFLAGS)
LDFLAGS = $(FCFLAGS)
LIBS = -llapack -lblas -lfftw3 -lfftw3_omp

View file

@ -1,26 +0,0 @@
# arch file for CP2K on Fugaku with the Fujitsu compiler, with minimal dependencies.
# RIKEN uses Spack to provide libraries.
# XXX: you may have to append a hash, e.g., /3q6zoxs
FFTW_DIR := $(shell spack location -i fujitsu-fftw)
CC = mpifccpx
CXX = mpiFCCpx
AR = ar -r
FC = mpifrtpx
LD = mpiFCCpx
DFLAGS = -D__parallel -D__SCALAPACK
DFLAGS += -D__FFTW3
FCFLAGS = -Free -X08 -Kopenmp,SVE $(DFLAGS)
FCFLAGS += -I$(FFTW_DIR)/include
CFLAGS = -Kopenmp,SVE $(DFLAGS)
CXXFLAGS = -Kopenmp,SVE $(DFLAGS)
LDFLAGS = -SCALAPACK -SSL2 $(CXXFLAGS) --linkfortran
# The libfftw.so provided by fj-fftw is missing the RPATH/RUNPATH to the compilers libfjcrt.so.1, add it explicitly to avoid a warning.
LIBS += -L$(FFTW_DIR)/lib -lfftw3 -lfftw3_omp -lfjcrt
# the compiler runs out of memory when optimizing the following:
mp2_eri.o: mp2_eri.F
$(TOOLSRC)/build_utils/fypp $(FYPPFLAGS) $< $*.F90
$(FC) -c $(FCFLAGS) -O0 -D__SHORT_FILE__="\"$(subst $(SRCDIR)/,,$<)\"" -I'$(dir $<)' $(OBJEXTSINCL) $*.F90 $(FCLOGPIPE)

View file

@ -1,30 +0,0 @@
# The following settings are intended for IBM/BlueGene Q with
# - ESSL library essl/5.1 or later
# - ESSL SMP library esslsmp/5.1 or later
# - LAPACK library lapack/3.4.2 or later
# - SCALAPACK library scalapack/1.8.0 or later
# - MASS library mass/7.3 or later
# Optional (if FFTW3 is requested)
# - FFTW3 library fftw/3.3.3 or later
# WARNING: Check your own libraries and paths !
#
CC = mpixlc
FC = mpixlf2003_r -qpreprocess
LD = mpixlf2003_r
AR = ar -r
DFLAGS = -D__AIX -D__FFTW3 -D__FFTSG -D__parallel -D__BLACS -D__SCALAPACK
FCFLAGS = $(DFLAGS) -O3 -qhot -g -qsmp=omp -qstrict -qarch=qp -qtune=qp -qmaxmem=-1 \
-I/bgsys/ibm_essl/prod/opt/ibmmath/essl/5.1/include \
-I/bglocal/cn/pub/LAPACK/3.4.2/include -I/bglocal/cn/pub/FFTW/3.3.3/include
LDFLAGS = $(FCFLAGS) -Wl,--allow-multiple-definition
LIBS = -L/bglocal/cn/pub/FFTW/3.3.3/lib -lfftw3_mpi -lfftw3_omp -lfftw3 -lfftw3f_mpi -lfftw3f_omp -lfftw3f \
/bglocal/cn/pub/ScaLAPACK/1.8.0/lib/libscalapack.a /bglocal/cn/pub/BLACS/1.1/lib/libblacsF77init.a \
/bglocal/cn/pub/BLACS/1.1/lib/libblacsCinit.a /bglocal/cn/pub/BLACS/1.1/lib/libblacs.a \
/bglocal/cn/pub/LAPACK/3.4.2/lib/liblapack.a \
/bgsys/ibm_essl/prod/opt/ibmmath/essl/5.1/lib64/libesslbg.a \
/opt/ibmcmp/xlmass/bg/7.3/bglib64/libmass.a
OBJECTS_ARCHITECTURE = machine_aix.o

View file

@ -1,52 +0,0 @@
# arch file for CP2K on Isambard2 with the Fujitsu compiler, with minimal dependencies.
CC = mpifcc
CXX = mpiFCC
AR = ar -r
FC = mpifrt
LD = mpifrt
DFLAGS = -D__parallel -D__SCALAPACK
#DFLAGS += -D__FFTW3
FCFLAGS = -Free -X08 -Kopenmp,SVE $(DFLAGS)
CFLAGS = -Kopenmp,SVE $(DFLAGS)
CXXFLAGS = -Kopenmp,SVE $(DFLAGS)
LDFLAGS = -SCALAPACK -SSL2 $(FCFLAGS)
#LIBS += -lfftw3 -lfftw3_omp
# the compiler runs out of memory when optimizing the following:
mp2_eri.o: mp2_eri.F
$(TOOLSRC)/build_utils/fypp $(FYPPFLAGS) $< $*.F90
$(FC) -c $(FCFLAGS) -O0 -D__SHORT_FILE__="\"$(subst $(SRCDIR)/,,$<)\"" -I'$(dir $<)' $(OBJEXTSINCL) $*.F90 $(FCLOGPIPE)
# Note: the Fujitsu compiler still has a problem with some INTENT specifications in DBCSR and you may have to apply the following patch:
# diff --git a/exts/dbcsr/src/dist/dbcsr_dist_methods.F b/exts/dbcsr/src/dist/dbcsr_dist_methods.F
# index 38a5724e3..a3f242da4 100644
# --- a/exts/dbcsr/src/dist/dbcsr_dist_methods.F
# +++ b/exts/dbcsr/src/dist/dbcsr_dist_methods.F
# @@ -77,7 +77,7 @@ CONTAINS
# OPTIONAL :: template
# INTEGER, INTENT(IN), OPTIONAL :: group
# INTEGER, DIMENSION(:, :), OPTIONAL, POINTER :: pgrid
# - INTEGER, DIMENSION(:), INTENT(IN), POINTER, CONTIGUOUS :: row_dist, col_dist
# + INTEGER, DIMENSION(:), POINTER, CONTIGUOUS :: row_dist, col_dist
# LOGICAL, INTENT(IN), OPTIONAL :: reuse_arrays
#
# TYPE(dbcsr_mp_obj) :: mp_env
# @@ -116,7 +116,7 @@ CONTAINS
# !! distribution
# TYPE(dbcsr_mp_obj), INTENT(IN) :: mp_env
# !! multiprocessing environment
# - TYPE(array_i1d_obj), INTENT(IN) :: row_dist_block, col_dist_block
# + TYPE(array_i1d_obj) :: row_dist_block, col_dist_block
# TYPE(array_i1d_obj), INTENT(IN), OPTIONAL :: local_rows, local_cols
#
# INTEGER, DIMENSION(:), POINTER, CONTIGUOUS :: cont_row_dist, cont_col_dist, &
# @@ -145,7 +145,7 @@ CONTAINS
# !! distribution
# TYPE(dbcsr_mp_obj), INTENT(IN) :: mp_env
# !! multiprocessing environment
# - INTEGER, DIMENSION(:), INTENT(IN), POINTER, CONTIGUOUS :: row_dist_block, col_dist_block
# + INTEGER, DIMENSION(:), POINTER, CONTIGUOUS :: row_dist_block, col_dist_block
# INTEGER, DIMENSION(:), INTENT(IN), OPTIONAL, &
# POINTER, CONTIGUOUS :: local_rows, local_cols
# LOGICAL, OPTIONAL

View file

@ -1,444 +0,0 @@
#!/bin/bash
#
# CP2K arch file for JURECA at FZ Juelich (2 AMD EPYC 7742 CPUs per node)
#
# Tested with: GNU 11.3.0, ParaStationMPI, ScaLAPACK 2.2.1, OpenBLAS 0.3.23,
# FFTW 3.3.10, COSMA 2.6.6, ELPA 2022.11.001, LIBINT 2.6.0,
# LIBPEXSI 1.2.0, LIBXC 6.2.2, LIBVORI 220621, LIBXSMM 1.17,
# PLUMED 2.8.2, SIRIUS 7.4.3, SPGLIB 1.16.2
#
# Usage: Source this arch file and then run make as instructed.
# A full toolchain installation is performed as default.
# Replace or adapt the "module add" commands below if needed.
#
# Last update: 21.06.2023
#
# \
if [ "${0}" = "${BASH_SOURCE}" ]; then \
echo "ERROR: Script ${0##*/} must be sourced"; \
echo "Usage: source ${0##*/}"; \
exit 1; \
fi; \
this_file=${BASH_SOURCE##*/}; \
module purge; \
module add GCC/11.3.0; \
module add ParaStationMPI/5.8.0-1-mt; \
module list; \
module save cp2k_jureca_cpu_psmp; \
echo "To load the required modules in your batch job script, use:"; \
echo " module restore cp2k_jureca_cpu_psmp"; \
cd tools/toolchain; \
./install_cp2k_toolchain.sh --enable-cuda=no --install-all -j32 --no-arch-files --with-gcc=system --with-mpich=system; \
cd ../..; \
printf "Sourcing ${PWD}/tools/toolchain/install/setup ... "; \
source ${PWD}/tools/toolchain/install/setup; \
printf "done\n"; \
echo "Check the output above for error messages and consistency!"; \
echo; \
echo "If everything is OK, you can build a CP2K production binary with"; \
echo " make -j ARCH=${this_file%.*} VERSION=${this_file##*.}"; \
echo; \
echo "Alternatively, you can add further checks, e.g. for regression testing, with"; \
echo " make -j ARCH=${this_file%.*} VERSION=${this_file##*.} DO_CHECKS=yes"; \
echo "or build CP2K as a library with"; \
echo " make -j ARCH=${this_file%.*} VERSION=${this_file##*.} libcp2k"; \
echo; \
return
# Set options
DO_CHECKS := no
SHARED := no
TARGET_CPU := native
USE_ACC := no
USE_COSMA := 2.6.6
USE_ELPA := 2022.11.001
USE_FFTW := 3.3.10
USE_LIBINT := 2.6.0
USE_LIBPEXSI := 1.2.0
USE_LIBTORCH := 1.12.1
USE_LIBVORI := 220621
USE_LIBXC := 6.2.2
USE_LIBXSMM := 1.17
USE_OPENBLAS := 0.3.23
USE_PLUMED := 2.8.2
USE_QUIP := 0.9.10
USE_SCALAPACK := 2.2.1
USE_SIRIUS := 7.4.3
USE_SPGLIB := 1.16.2
# Only needed for SIRIUS
LIBVDWXC_VER := 0.4.0
SPFFT_VER := 1.0.6
SPLA_VER := 1.5.5
HDF5_VER := 1.12.0
# Only needed for LIBPEXSI
SCOTCH_VER := 6.0.0
SUPERLU_VER := 6.1.0
LMAX := 5
MAX_CONTR := 4
ifeq ($(USE_ACC), yes)
GPUVER := A100
OFFLOAD_TARGET := cuda
OFFLOAD_CC := nvcc
endif
CC := mpicc
CXX := mpicxx
FC := mpifort
LD := mpifort
AR := ar -r
# cc, CC, and ftn include already the proper -march flag
CFLAGS := -O2 -fPIC -fopenmp -fopenmp-simd -ftree-vectorize -funroll-loops -g -mtune=$(TARGET_CPU)
DFLAGS := -D__parallel
DFLAGS += -D__SCALAPACK
DFLAGS += -D__MAX_CONTR=$(strip $(MAX_CONTR))
INSTALL_PATH := $(PWD)/tools/toolchain/install
ifeq ($(SHARED), yes)
LD_SHARED := $(FC) -shared
CFLAGS += -fPIC
LDFLAGS := -Wl,--enable-new-dtags
CP2K_LIB := $(PWD)/lib/$(ARCH)/$(ONEVERSION)
LDFLAGS += -Wl,-rpath=$(CP2K_LIB)
LDFLAGS += -Wl,-rpath=$(CP2K_LIB)/exts/dbcsr
endif
# Settings for regression testing
ifeq ($(DO_CHECKS), yes)
DFLAGS += -D__CHECK_DIAG
# CFLAGS_DEBUG := -fsanitize=address
CFLAGS_DEBUG := -fsanitize=leak
# FCFLAGS_DEBUG := -fcheck=bounds,do,recursion,pointer
FCFLAGS_DEBUG += -fcheck=all,no-array-temps
FCFLAGS_DEBUG += -ffpe-trap=invalid,overflow,zero
FCFLAGS_DEBUG += -fimplicit-none
FCFLAGS_DEBUG += -finit-derived
FCFLAGS_DEBUG += -finit-real=snan
FCFLAGS_DEBUG += -finit-integer=-42
FCFLAGS_DEBUG += -finline-matmul-limit=0
WFLAGS := -Werror=aliasing
WFLAGS += -Werror=ampersand
WFLAGS += -Werror=c-binding-type
WFLAGS += -Werror=conversion
WFLAGS += -Werror=intrinsic-shadow
WFLAGS += -Werror=intrinsics-std
WFLAGS += -Werror=line-truncation
WFLAGS += -Wrealloc-lhs
WFLAGS += -Werror=tabs
WFLAGS += -Werror=target-lifetime
WFLAGS += -Werror=underflow
WFLAGS += -Werror=unused-but-set-variable
WFLAGS += -Werror=unused-dummy-argument
WFLAGS += -Werror=unused-variable
endif
ifeq ($(USE_ACC), yes)
DFLAGS += -D__DBCSR_ACC
DFLAGS += -D__OFFLOAD_CUDA
# Possibly no performance gain with PW_CUDA currently
DFLAGS += -D__NO_OFFLOAD_PW
endif
ifneq ($(USE_PLUMED),)
USE_PLUMED := $(strip $(USE_PLUMED))
PLUMED_LIB := $(INSTALL_PATH)/plumed-$(USE_PLUMED)/lib
DFLAGS += -D__PLUMED2
USE_GSL := 2.7
ifeq ($(SHARED), yes)
LIBS += -Wl,-rpath=$(PLUMED_LIB) -L$(PLUMED_LIB) -lplumed -lplumedKernel
else
LIBS += $(PLUMED_LIB)/libplumed.a
endif
endif
ifneq ($(USE_ELPA),)
USE_ELPA := $(strip $(USE_ELPA))
ifeq ($(USE_ACC), yes)
TARGET := nvidia
DFLAGS += -D__ELPA_NVIDIA_GPU
else
TARGET := cpu
endif
ELPA_INC := $(INSTALL_PATH)/elpa-$(USE_ELPA)/$(TARGET)/include/elpa_openmp-$(USE_ELPA)
ELPA_LIB := $(INSTALL_PATH)/elpa-$(USE_ELPA)/$(TARGET)/lib
CFLAGS += -I$(ELPA_INC)/elpa -I$(ELPA_INC)/modules
DFLAGS += -D__ELPA
ifeq ($(SHARED), yes)
LIBS += -Wl,-rpath=$(ELPA_LIB) -L$(ELPA_LIB) -lelpa_openmp
else
LIBS += $(ELPA_LIB)/libelpa_openmp.a
endif
endif
ifneq ($(USE_QUIP),)
USE_QUIP := $(strip $(USE_QUIP))
QUIP_INC := $(INSTALL_PATH)/quip-$(USE_QUIP)/include
QUIP_LIB := $(INSTALL_PATH)/quip-$(USE_QUIP)/lib
CFLAGS += -I$(QUIP_INC)
DFLAGS += -D__QUIP
LIBS += $(QUIP_LIB)/libquip_core.a
LIBS += $(QUIP_LIB)/libatoms.a
LIBS += $(QUIP_LIB)/libFoX_sax.a
LIBS += $(QUIP_LIB)/libFoX_common.a
LIBS += $(QUIP_LIB)/libFoX_utils.a
LIBS += $(QUIP_LIB)/libFoX_fsys.a
endif
ifneq ($(USE_LIBPEXSI),)
USE_LIBPEXSI := $(strip $(USE_LIBPEXSI))
SCOTCH_VER := $(strip $(SCOTCH_VER))
SUPERLU_VER := $(strip $(SUPERLU_VER))
LIBPEXSI_INC := $(INSTALL_PATH)/pexsi-$(USE_LIBPEXSI)/include
LIBPEXSI_LIB := $(INSTALL_PATH)/pexsi-$(USE_LIBPEXSI)/lib
SCOTCH_INC := $(INSTALL_PATH)/scotch-$(SCOTCH_VER)/include
SCOTCH_LIB := $(INSTALL_PATH)/scotch-$(SCOTCH_VER)/lib
SUPERLU_INC := $(INSTALL_PATH)/superlu_dist-$(SUPERLU_VER)/include
SUPERLU_LIB := $(INSTALL_PATH)/superlu_dist-$(SUPERLU_VER)/lib
CFLAGS += -I$(LIBPEXSI_INC) -I$(SCOTCH_INC) -I$(SUPERLU_INC)
DFLAGS += -D__LIBPEXSI
LIBS += $(LIBPEXSI_LIB)/libpexsi.a
LIBS += $(SUPERLU_LIB)/libsuperlu_dist.a
LIBS += $(SCOTCH_LIB)/libptscotchparmetis.a
LIBS += $(SCOTCH_LIB)/libptscotch.a
LIBS += $(SCOTCH_LIB)/libptscotcherr.a
LIBS += $(SCOTCH_LIB)/libscotchmetis.a
LIBS += $(SCOTCH_LIB)/libscotch.a
endif
ifneq ($(USE_LIBVORI),)
USE_LIBVORI := $(strip $(USE_LIBVORI))
LIBVORI_LIB := $(INSTALL_PATH)/libvori-$(USE_LIBVORI)/lib
DFLAGS += -D__LIBVORI
ifeq ($(SHARED), yes)
LIBS += -Wl,-rpath=$(LIBVORI_LIB) -L$(LIBVORI_LIB) -lvori
else
LIBS += $(LIBVORI_LIB)/libvori.a
endif
endif
ifneq ($(USE_LIBXC),)
USE_LIBXC := $(strip $(USE_LIBXC))
LIBXC_INC := $(INSTALL_PATH)/libxc-$(USE_LIBXC)/include
LIBXC_LIB := $(INSTALL_PATH)/libxc-$(USE_LIBXC)/lib
CFLAGS += -I$(LIBXC_INC)
DFLAGS += -D__LIBXC
ifeq ($(SHARED), yes)
LIBS += -Wl,-rpath=$(LIBXC_LIB) -L$(LIBXC_LIB) -lxcf03 -lxc
else
LIBS += $(LIBXC_LIB)/libxcf03.a
LIBS += $(LIBXC_LIB)/libxc.a
endif
endif
ifneq ($(USE_LIBINT),)
USE_LIBINT := $(strip $(USE_LIBINT))
LMAX := $(strip $(LMAX))
LIBINT_INC := $(INSTALL_PATH)/libint-v$(USE_LIBINT)-cp2k-lmax-$(LMAX)/include
LIBINT_LIB := $(INSTALL_PATH)/libint-v$(USE_LIBINT)-cp2k-lmax-$(LMAX)/lib
CFLAGS += -I$(LIBINT_INC)
DFLAGS += -D__LIBINT
ifeq ($(SHARED), yes)
LIBS += -Wl,-rpath=$(LIBINT_LIB) -L$(LIBINT_LIB) -lint2
else
LIBS += $(LIBINT_LIB)/libint2.a
endif
endif
ifneq ($(USE_SPGLIB),)
USE_SPGLIB := $(strip $(USE_SPGLIB))
SPGLIB_INC := $(INSTALL_PATH)/spglib-$(USE_SPGLIB)/include
SPGLIB_LIB := $(INSTALL_PATH)/spglib-$(USE_SPGLIB)/lib
CFLAGS += -I$(SPGLIB_INC)
DFLAGS += -D__SPGLIB
ifeq ($(SHARED), yes)
LIBS += -Wl,-rpath=$(SPGLIB_LIB) -L$(SPGLIB_LIB) -lsymspg
else
LIBS += $(SPGLIB_LIB)/libsymspg.a
endif
endif
ifneq ($(USE_LIBXSMM),)
USE_LIBXSMM := $(strip $(USE_LIBXSMM))
LIBXSMM_INC := $(INSTALL_PATH)/libxsmm-$(USE_LIBXSMM)/include
LIBXSMM_LIB := $(INSTALL_PATH)/libxsmm-$(USE_LIBXSMM)/lib
CFLAGS += -I$(LIBXSMM_INC)
DFLAGS += -D__LIBXSMM
ifeq ($(SHARED), yes)
LIBS += -Wl,-rpath=$(LIBXSMM_LIB) -L$(LIBXSMM_LIB) -lxsmmf -lxsmm
else
LIBS += $(LIBXSMM_LIB)/libxsmmf.a
LIBS += $(LIBXSMM_LIB)/libxsmm.a
endif
endif
ifneq ($(USE_SIRIUS),)
USE_SIRIUS := $(strip $(USE_SIRIUS))
HDF5_VER := $(strip $(HDF5_VER))
HDF5_LIB := $(INSTALL_PATH)/hdf5-$(HDF5_VER)/lib
LIBVDWXC_VER := $(strip $(LIBVDWXC_VER))
LIBVDWXC_INC := $(INSTALL_PATH)/libvdwxc-$(LIBVDWXC_VER)/include
LIBVDWXC_LIB := $(INSTALL_PATH)/libvdwxc-$(LIBVDWXC_VER)/lib
SPFFT_VER := $(strip $(SPFFT_VER))
SPFFT_INC := $(INSTALL_PATH)/SpFFT-$(SPFFT_VER)/include
SPLA_VER := $(strip $(SPLA_VER))
SPLA_INC := $(INSTALL_PATH)/SpLA-$(SPLA_VER)/include/spla
ifeq ($(USE_ACC), yes)
DFLAGS += -D__OFFLOAD_GEMM
SPFFT_LIB := $(INSTALL_PATH)/SpFFT-$(SPFFT_VER)/lib/cuda
SPLA_LIB := $(INSTALL_PATH)/SpLA-$(SPLA_VER)/lib/cuda
SIRIUS_INC := $(INSTALL_PATH)/sirius-$(USE_SIRIUS)/include/cuda
SIRIUS_LIB := $(INSTALL_PATH)/sirius-$(USE_SIRIUS)/lib/cuda
else
SPFFT_LIB := $(INSTALL_PATH)/SpFFT-$(SPFFT_VER)/lib
SPLA_LIB := $(INSTALL_PATH)/SpLA-$(SPLA_VER)/lib
SIRIUS_INC := $(INSTALL_PATH)/sirius-$(USE_SIRIUS)/include
SIRIUS_LIB := $(INSTALL_PATH)/sirius-$(USE_SIRIUS)/lib
endif
CFLAGS += -I$(LIBVDWXC_INC)
CFLAGS += -I$(SPFFT_INC)
CFLAGS += -I$(SPLA_INC)
CFLAGS += -I$(SIRIUS_INC)
DFLAGS += -D__HDF5
DFLAGS += -D__LIBVDWXC
DFLAGS += -D__SPFFT
DFLAGS += -D__SPLA
DFLAGS += -D__SIRIUS
ifeq ($(SHARED), yes)
LIBS += -Wl,-rpath=$(SIRIUS_LIB) -L$(SIRIUS_LIB) -lsirius
LIBS += -Wl,-rpath=$(SPLA_LIB) -L$(SPLA_LIB) -lspla
LIBS += -Wl,-rpath=$(SPFFT_LIB) -L$(SPFFT_LIB) -lspfft
LIBS += -Wl,-rpath=$(LIBVDWXC_LIB) -L$(LIBVDWXC_LIB) -lvdwxc
LIBS += -Wl,-rpath=$(HDF5_LIB) -L$(HDF5_LIB) -lhdf5
else
LIBS += $(SIRIUS_LIB)/libsirius.a
LIBS += $(SPLA_LIB)/libspla.a
LIBS += $(SPFFT_LIB)/libspfft.a
LIBS += $(LIBVDWXC_LIB)/libvdwxc.a
LIBS += $(HDF5_LIB)/libhdf5.a
endif
endif
ifneq ($(USE_COSMA),)
USE_COSMA := $(strip $(USE_COSMA))
ifeq ($(USE_ACC), yes)
USE_COSMA := $(USE_COSMA)-cuda
endif
COSMA_INC := $(INSTALL_PATH)/COSMA-$(USE_COSMA)/include
COSMA_LIB := $(INSTALL_PATH)/COSMA-$(USE_COSMA)/lib
CFLAGS += -I$(COSMA_INC)
DFLAGS += -D__COSMA
ifeq ($(SHARED), yes)
LIBS += -Wl,-rpath=$(COSMA_LIB) -L$(COSMA_LIB) -lcosma_prefixed_pxgemm -lcosma -lcosta
ifeq ($(USE_ACC), yes)
LIBS += -lTiled-MM
endif
else
LIBS += $(COSMA_LIB)/libcosma_prefixed_pxgemm.a
LIBS += $(COSMA_LIB)/libcosma.a
LIBS += $(COSMA_LIB)/libcosta.a
ifeq ($(USE_ACC), yes)
LIBS += $(COSMA_LIB)/libTiled-MM.a
endif
endif
endif
ifneq ($(USE_FFTW),)
USE_FFTW := $(strip $(USE_FFTW))
FFTW_INC := $(INSTALL_PATH)/fftw-$(USE_FFTW)/include
FFTW_LIB := $(INSTALL_PATH)/fftw-$(USE_FFTW)/lib
CFLAGS += -I$(FFTW_INC)
DFLAGS += -D__FFTW3
ifeq ($(SHARED), yes)
LIBS += -Wl,-rpath=$(FFTW_LIB) -L$(FFTW_LIB) -lfftw3_mpi -lfftw3_omp -lfftw3
else
LIBS += $(FFTW_LIB)/libfftw3_mpi.a
LIBS += $(FFTW_LIB)/libfftw3_omp.a
LIBS += $(FFTW_LIB)/libfftw3.a
endif
endif
ifneq ($(USE_SCALAPACK),)
SCALAPACK_LIB := $(INSTALL_PATH)/scalapack-$(USE_SCALAPACK)/lib
ifeq ($(SHARED), yes)
LIBS += -Wl,-rpath=$(SCALAPACK_LIB) -L$(SCALAPACK_LIB) -lscalapack
else
LIBS += $(SCALAPACK_LIB)/libscalapack.a
endif
endif
ifneq ($(USE_GSL),)
USE_GSL := $(strip $(USE_GSL))
GSL_INC := $(INSTALL_PATH)/gsl-$(USE_GSL)/include
GSL_LIB := $(INSTALL_PATH)/gsl-$(USE_GSL)/lib
CFLAGS += -I$(GSL_INC)
DFLAGS += -D__GSL
ifeq ($(SHARED), yes)
LIBS += -Wl,-rpath=$(GSL_LIB) -L$(GSL_LIB) -lgsl
else
LIBS += $(GSL_LIB)/libgsl.a
endif
endif
ifneq ($(USE_OPENBLAS),)
USE_OPENBLAS := $(strip $(USE_OPENBLAS))
OPENBLAS_INC := $(INSTALL_PATH)/openblas-$(USE_OPENBLAS)/include
OPENBLAS_LIB := $(INSTALL_PATH)/openblas-$(USE_OPENBLAS)/lib
CFLAGS += -I$(OPENBLAS_INC)
ifeq ($(SHARED), yes)
LIBS += -Wl,-rpath=$(OPENBLAS_LIB) -L$(OPENBLAS_LIB) -lopenblas
else
LIBS += $(OPENBLAS_LIB)/libopenblas.a
endif
endif
ifeq ($(shell [ $(shell ldd --version | head -n 1 | tr -s '.' '\n' | tail -n 1) -ge 27 ] && echo yes), yes)
ifneq ($(USE_LIBTORCH),)
USE_LIBTORCH := $(strip $(USE_LIBTORCH))
LIBTORCH_INC := $(INSTALL_PATH)/libtorch-$(USE_LIBTORCH)/include
LIBTORCH_LIB := $(INSTALL_PATH)/libtorch-$(USE_LIBTORCH)/lib
CFLAGS += -I$(LIBTORCH_INC)
DFLAGS += -D__LIBTORCH
ifeq ($(USE_ACC), yes)
LIBS += -Wl,-rpath=$(LIBTORCH_LIB) -L$(LIBTORCH_LIB) -lc10 -ltorch_cpu -ltorch
# LIBS += -Wl,-rpath=$(LIBTORCH_LIB) -L$(LIBTORCH_LIB) -lc10 -lc10_cuda -ltorch_cpu -ltorch_cuda -ltorch
else
LIBS += -Wl,-rpath=$(LIBTORCH_LIB) -L$(LIBTORCH_LIB) -lc10 -ltorch_cpu -ltorch
endif
endif
endif
CFLAGS += $(DFLAGS)
FCFLAGS := $(CFLAGS)
ifeq ($(shell [ $(shell gcc -dumpversion | cut -d. -f1) -gt 9 ] && echo yes), yes)
FCFLAGS += -fallow-argument-mismatch
endif
FCFLAGS += -fbacktrace
FCFLAGS += -ffree-form
FCFLAGS += -ffree-line-length-none
FCFLAGS += -fno-omit-frame-pointer
FCFLAGS += -std=f2008
ifneq ($(CUDA_HOME),)
CFLAGS += -I$(CUDA_HOME)/include
FCFLAGS += -I$(CUDA_HOME)/include
CUDA_LIB := $(CUDA_HOME)/lib64
LDFLAGS += $(FCFLAGS) -L$(CUDA_LIB) -Wl,-rpath=$(CUDA_LIB)
else
LDFLAGS += $(FCFLAGS)
endif
CFLAGS += $(CFLAGS) -std=c11
CXXFLAGS := $(CFLAGS) -std=c++14
ifeq ($(USE_ACC), yes)
OFFLOAD_FLAGS := $(DFLAGS) -O3 -Xcompiler='-fopenmp' -allow-unsupported-compiler -arch sm_80 -g --std=c++11
LIBS += -lcusolver -lcudart -lnvrtc -lcuda -lcufft -lcublas -lrt
endif
LIBS += -lz -ldl -lpthread -lstdc++
# End

View file

@ -1,445 +0,0 @@
#!/bin/bash
#
# CP2K arch file for JURECA at FZ Juelich (2 AMD EPYC 7742 CPUs and 4 A100 GPUs per node)
#
# Tested with: GNU 11.3.0, ParaStationMPI, ScaLAPACK 2.2.1, OpenBLAS 0.3.23,
# FFTW 3.3.10, COSMA 2.6.6, ELPA 2022.11.001, LIBINT 2.6.0,
# LIBPEXSI 1.2.0, LIBXC 6.2.2, LIBVORI 220621, LIBXSMM 1.17,
# PLUMED 2.8.2, SIRIUS 7.4.3, SPGLIB 1.16.2
#
# Usage: Source this arch file and then run make as instructed.
# A full toolchain installation is performed as default.
# Replace or adapt the "module add" commands below if needed.
#
# Last update: 21.06.2023
#
# \
if [ "${0}" = "${BASH_SOURCE}" ]; then \
echo "ERROR: Script ${0##*/} must be sourced"; \
echo "Usage: source ${0##*/}"; \
exit 1; \
fi; \
this_file=${BASH_SOURCE##*/}; \
module purge; \
module add GCC/11.3.0; \
module add ParaStationMPI/5.8.0-1-mt; \
module add CUDA/11.7; \
module list; \
module save cp2k_jureca_gpu_psmp; \
echo "To load the required modules in your batch job script, use:"; \
echo " module restore cp2k_jureca_gpu_psmp"; \
cd tools/toolchain; \
./install_cp2k_toolchain.sh --enable-cuda=yes --gpu-ver=A100 --install-all -j32 --no-arch-files --with-gcc=system --with-mpich=system; \
cd ../..; \
printf "Sourcing ${PWD}/tools/toolchain/install/setup ... "; \
source ${PWD}/tools/toolchain/install/setup; \
printf "done\n"; \
echo "Check the output above for error messages and consistency!"; \
echo; \
echo "If everything is OK, you can build a CP2K production binary with"; \
echo " make -j ARCH=${this_file%.*} VERSION=${this_file##*.}"; \
echo; \
echo "Alternatively, you can add further checks, e.g. for regression testing, with"; \
echo " make -j ARCH=${this_file%.*} VERSION=${this_file##*.} DO_CHECKS=yes"; \
echo "or build CP2K as a library with"; \
echo " make -j ARCH=${this_file%.*} VERSION=${this_file##*.} libcp2k"; \
echo; \
return
# Set options
DO_CHECKS := no
SHARED := no
TARGET_CPU := native
USE_ACC := yes
USE_COSMA := 2.6.6
USE_ELPA := 2022.11.001
USE_FFTW := 3.3.10
USE_LIBINT := 2.6.0
USE_LIBPEXSI := 1.2.0
USE_LIBTORCH := 1.12.1
USE_LIBVORI := 220621
USE_LIBXC := 6.2.2
USE_LIBXSMM := 1.17
USE_OPENBLAS := 0.3.23
USE_PLUMED := 2.8.2
USE_QUIP := 0.9.10
USE_SCALAPACK := 2.2.1
USE_SIRIUS := 7.4.3
USE_SPGLIB := 1.16.2
# Only needed for SIRIUS
LIBVDWXC_VER := 0.4.0
SPFFT_VER := 1.0.6
SPLA_VER := 1.5.5
HDF5_VER := 1.12.0
# Only needed for LIBPEXSI
SCOTCH_VER := 6.0.0
SUPERLU_VER := 6.1.0
LMAX := 5
MAX_CONTR := 4
ifeq ($(USE_ACC), yes)
GPUVER := A100
OFFLOAD_TARGET := cuda
OFFLOAD_CC := nvcc
endif
CC := mpicc
CXX := mpicxx
FC := mpifort
LD := mpifort
AR := ar -r
# cc, CC, and ftn include already the proper -march flag
CFLAGS := -O2 -fPIC -fopenmp -fopenmp-simd -ftree-vectorize -funroll-loops -g -mtune=$(TARGET_CPU)
DFLAGS := -D__parallel
DFLAGS += -D__SCALAPACK
DFLAGS += -D__MAX_CONTR=$(strip $(MAX_CONTR))
INSTALL_PATH := $(PWD)/tools/toolchain/install
ifeq ($(SHARED), yes)
LD_SHARED := $(FC) -shared
CFLAGS += -fPIC
LDFLAGS := -Wl,--enable-new-dtags
CP2K_LIB := $(PWD)/lib/$(ARCH)/$(ONEVERSION)
LDFLAGS += -Wl,-rpath=$(CP2K_LIB)
LDFLAGS += -Wl,-rpath=$(CP2K_LIB)/exts/dbcsr
endif
# Settings for regression testing
ifeq ($(DO_CHECKS), yes)
DFLAGS += -D__CHECK_DIAG
# CFLAGS_DEBUG := -fsanitize=address
CFLAGS_DEBUG := -fsanitize=leak
# FCFLAGS_DEBUG := -fcheck=bounds,do,recursion,pointer
FCFLAGS_DEBUG += -fcheck=all,no-array-temps
FCFLAGS_DEBUG += -ffpe-trap=invalid,overflow,zero
FCFLAGS_DEBUG += -fimplicit-none
FCFLAGS_DEBUG += -finit-derived
FCFLAGS_DEBUG += -finit-real=snan
FCFLAGS_DEBUG += -finit-integer=-42
FCFLAGS_DEBUG += -finline-matmul-limit=0
WFLAGS := -Werror=aliasing
WFLAGS += -Werror=ampersand
WFLAGS += -Werror=c-binding-type
WFLAGS += -Werror=conversion
WFLAGS += -Werror=intrinsic-shadow
WFLAGS += -Werror=intrinsics-std
WFLAGS += -Werror=line-truncation
WFLAGS += -Wrealloc-lhs
WFLAGS += -Werror=tabs
WFLAGS += -Werror=target-lifetime
WFLAGS += -Werror=underflow
WFLAGS += -Werror=unused-but-set-variable
WFLAGS += -Werror=unused-dummy-argument
WFLAGS += -Werror=unused-variable
endif
ifeq ($(USE_ACC), yes)
DFLAGS += -D__DBCSR_ACC
DFLAGS += -D__OFFLOAD_CUDA
# Possibly no performance gain with PW_CUDA currently
DFLAGS += -D__NO_OFFLOAD_PW
endif
ifneq ($(USE_PLUMED),)
USE_PLUMED := $(strip $(USE_PLUMED))
PLUMED_LIB := $(INSTALL_PATH)/plumed-$(USE_PLUMED)/lib
DFLAGS += -D__PLUMED2
USE_GSL := 2.7
ifeq ($(SHARED), yes)
LIBS += -Wl,-rpath=$(PLUMED_LIB) -L$(PLUMED_LIB) -lplumed -lplumedKernel
else
LIBS += $(PLUMED_LIB)/libplumed.a
endif
endif
ifneq ($(USE_ELPA),)
USE_ELPA := $(strip $(USE_ELPA))
ifeq ($(USE_ACC), yes)
TARGET := nvidia
DFLAGS += -D__ELPA_NVIDIA_GPU
else
TARGET := cpu
endif
ELPA_INC := $(INSTALL_PATH)/elpa-$(USE_ELPA)/$(TARGET)/include/elpa_openmp-$(USE_ELPA)
ELPA_LIB := $(INSTALL_PATH)/elpa-$(USE_ELPA)/$(TARGET)/lib
CFLAGS += -I$(ELPA_INC)/elpa -I$(ELPA_INC)/modules
DFLAGS += -D__ELPA
ifeq ($(SHARED), yes)
LIBS += -Wl,-rpath=$(ELPA_LIB) -L$(ELPA_LIB) -lelpa_openmp
else
LIBS += $(ELPA_LIB)/libelpa_openmp.a
endif
endif
ifneq ($(USE_QUIP),)
USE_QUIP := $(strip $(USE_QUIP))
QUIP_INC := $(INSTALL_PATH)/quip-$(USE_QUIP)/include
QUIP_LIB := $(INSTALL_PATH)/quip-$(USE_QUIP)/lib
CFLAGS += -I$(QUIP_INC)
DFLAGS += -D__QUIP
LIBS += $(QUIP_LIB)/libquip_core.a
LIBS += $(QUIP_LIB)/libatoms.a
LIBS += $(QUIP_LIB)/libFoX_sax.a
LIBS += $(QUIP_LIB)/libFoX_common.a
LIBS += $(QUIP_LIB)/libFoX_utils.a
LIBS += $(QUIP_LIB)/libFoX_fsys.a
endif
ifneq ($(USE_LIBPEXSI),)
USE_LIBPEXSI := $(strip $(USE_LIBPEXSI))
SCOTCH_VER := $(strip $(SCOTCH_VER))
SUPERLU_VER := $(strip $(SUPERLU_VER))
LIBPEXSI_INC := $(INSTALL_PATH)/pexsi-$(USE_LIBPEXSI)/include
LIBPEXSI_LIB := $(INSTALL_PATH)/pexsi-$(USE_LIBPEXSI)/lib
SCOTCH_INC := $(INSTALL_PATH)/scotch-$(SCOTCH_VER)/include
SCOTCH_LIB := $(INSTALL_PATH)/scotch-$(SCOTCH_VER)/lib
SUPERLU_INC := $(INSTALL_PATH)/superlu_dist-$(SUPERLU_VER)/include
SUPERLU_LIB := $(INSTALL_PATH)/superlu_dist-$(SUPERLU_VER)/lib
CFLAGS += -I$(LIBPEXSI_INC) -I$(SCOTCH_INC) -I$(SUPERLU_INC)
DFLAGS += -D__LIBPEXSI
LIBS += $(LIBPEXSI_LIB)/libpexsi.a
LIBS += $(SUPERLU_LIB)/libsuperlu_dist.a
LIBS += $(SCOTCH_LIB)/libptscotchparmetis.a
LIBS += $(SCOTCH_LIB)/libptscotch.a
LIBS += $(SCOTCH_LIB)/libptscotcherr.a
LIBS += $(SCOTCH_LIB)/libscotchmetis.a
LIBS += $(SCOTCH_LIB)/libscotch.a
endif
ifneq ($(USE_LIBVORI),)
USE_LIBVORI := $(strip $(USE_LIBVORI))
LIBVORI_LIB := $(INSTALL_PATH)/libvori-$(USE_LIBVORI)/lib
DFLAGS += -D__LIBVORI
ifeq ($(SHARED), yes)
LIBS += -Wl,-rpath=$(LIBVORI_LIB) -L$(LIBVORI_LIB) -lvori
else
LIBS += $(LIBVORI_LIB)/libvori.a
endif
endif
ifneq ($(USE_LIBXC),)
USE_LIBXC := $(strip $(USE_LIBXC))
LIBXC_INC := $(INSTALL_PATH)/libxc-$(USE_LIBXC)/include
LIBXC_LIB := $(INSTALL_PATH)/libxc-$(USE_LIBXC)/lib
CFLAGS += -I$(LIBXC_INC)
DFLAGS += -D__LIBXC
ifeq ($(SHARED), yes)
LIBS += -Wl,-rpath=$(LIBXC_LIB) -L$(LIBXC_LIB) -lxcf03 -lxc
else
LIBS += $(LIBXC_LIB)/libxcf03.a
LIBS += $(LIBXC_LIB)/libxc.a
endif
endif
ifneq ($(USE_LIBINT),)
USE_LIBINT := $(strip $(USE_LIBINT))
LMAX := $(strip $(LMAX))
LIBINT_INC := $(INSTALL_PATH)/libint-v$(USE_LIBINT)-cp2k-lmax-$(LMAX)/include
LIBINT_LIB := $(INSTALL_PATH)/libint-v$(USE_LIBINT)-cp2k-lmax-$(LMAX)/lib
CFLAGS += -I$(LIBINT_INC)
DFLAGS += -D__LIBINT
ifeq ($(SHARED), yes)
LIBS += -Wl,-rpath=$(LIBINT_LIB) -L$(LIBINT_LIB) -lint2
else
LIBS += $(LIBINT_LIB)/libint2.a
endif
endif
ifneq ($(USE_SPGLIB),)
USE_SPGLIB := $(strip $(USE_SPGLIB))
SPGLIB_INC := $(INSTALL_PATH)/spglib-$(USE_SPGLIB)/include
SPGLIB_LIB := $(INSTALL_PATH)/spglib-$(USE_SPGLIB)/lib
CFLAGS += -I$(SPGLIB_INC)
DFLAGS += -D__SPGLIB
ifeq ($(SHARED), yes)
LIBS += -Wl,-rpath=$(SPGLIB_LIB) -L$(SPGLIB_LIB) -lsymspg
else
LIBS += $(SPGLIB_LIB)/libsymspg.a
endif
endif
ifneq ($(USE_LIBXSMM),)
USE_LIBXSMM := $(strip $(USE_LIBXSMM))
LIBXSMM_INC := $(INSTALL_PATH)/libxsmm-$(USE_LIBXSMM)/include
LIBXSMM_LIB := $(INSTALL_PATH)/libxsmm-$(USE_LIBXSMM)/lib
CFLAGS += -I$(LIBXSMM_INC)
DFLAGS += -D__LIBXSMM
ifeq ($(SHARED), yes)
LIBS += -Wl,-rpath=$(LIBXSMM_LIB) -L$(LIBXSMM_LIB) -lxsmmf -lxsmm
else
LIBS += $(LIBXSMM_LIB)/libxsmmf.a
LIBS += $(LIBXSMM_LIB)/libxsmm.a
endif
endif
ifneq ($(USE_SIRIUS),)
USE_SIRIUS := $(strip $(USE_SIRIUS))
HDF5_VER := $(strip $(HDF5_VER))
HDF5_LIB := $(INSTALL_PATH)/hdf5-$(HDF5_VER)/lib
LIBVDWXC_VER := $(strip $(LIBVDWXC_VER))
LIBVDWXC_INC := $(INSTALL_PATH)/libvdwxc-$(LIBVDWXC_VER)/include
LIBVDWXC_LIB := $(INSTALL_PATH)/libvdwxc-$(LIBVDWXC_VER)/lib
SPFFT_VER := $(strip $(SPFFT_VER))
SPFFT_INC := $(INSTALL_PATH)/SpFFT-$(SPFFT_VER)/include
SPLA_VER := $(strip $(SPLA_VER))
SPLA_INC := $(INSTALL_PATH)/SpLA-$(SPLA_VER)/include/spla
ifeq ($(USE_ACC), yes)
DFLAGS += -D__OFFLOAD_GEMM
SPFFT_LIB := $(INSTALL_PATH)/SpFFT-$(SPFFT_VER)/lib/cuda
SPLA_LIB := $(INSTALL_PATH)/SpLA-$(SPLA_VER)/lib/cuda
SIRIUS_INC := $(INSTALL_PATH)/sirius-$(USE_SIRIUS)/include/cuda
SIRIUS_LIB := $(INSTALL_PATH)/sirius-$(USE_SIRIUS)/lib/cuda
else
SPFFT_LIB := $(INSTALL_PATH)/SpFFT-$(SPFFT_VER)/lib
SPLA_LIB := $(INSTALL_PATH)/SpLA-$(SPLA_VER)/lib
SIRIUS_INC := $(INSTALL_PATH)/sirius-$(USE_SIRIUS)/include
SIRIUS_LIB := $(INSTALL_PATH)/sirius-$(USE_SIRIUS)/lib
endif
CFLAGS += -I$(LIBVDWXC_INC)
CFLAGS += -I$(SPFFT_INC)
CFLAGS += -I$(SPLA_INC)
CFLAGS += -I$(SIRIUS_INC)
DFLAGS += -D__HDF5
DFLAGS += -D__LIBVDWXC
DFLAGS += -D__SPFFT
DFLAGS += -D__SPLA
DFLAGS += -D__SIRIUS
ifeq ($(SHARED), yes)
LIBS += -Wl,-rpath=$(SIRIUS_LIB) -L$(SIRIUS_LIB) -lsirius
LIBS += -Wl,-rpath=$(SPLA_LIB) -L$(SPLA_LIB) -lspla
LIBS += -Wl,-rpath=$(SPFFT_LIB) -L$(SPFFT_LIB) -lspfft
LIBS += -Wl,-rpath=$(LIBVDWXC_LIB) -L$(LIBVDWXC_LIB) -lvdwxc
LIBS += -Wl,-rpath=$(HDF5_LIB) -L$(HDF5_LIB) -lhdf5
else
LIBS += $(SIRIUS_LIB)/libsirius.a
LIBS += $(SPLA_LIB)/libspla.a
LIBS += $(SPFFT_LIB)/libspfft.a
LIBS += $(LIBVDWXC_LIB)/libvdwxc.a
LIBS += $(HDF5_LIB)/libhdf5.a
endif
endif
ifneq ($(USE_COSMA),)
USE_COSMA := $(strip $(USE_COSMA))
ifeq ($(USE_ACC), yes)
USE_COSMA := $(USE_COSMA)-cuda
endif
COSMA_INC := $(INSTALL_PATH)/COSMA-$(USE_COSMA)/include
COSMA_LIB := $(INSTALL_PATH)/COSMA-$(USE_COSMA)/lib
CFLAGS += -I$(COSMA_INC)
DFLAGS += -D__COSMA
ifeq ($(SHARED), yes)
LIBS += -Wl,-rpath=$(COSMA_LIB) -L$(COSMA_LIB) -lcosma_prefixed_pxgemm -lcosma -lcosta
ifeq ($(USE_ACC), yes)
LIBS += -lTiled-MM
endif
else
LIBS += $(COSMA_LIB)/libcosma_prefixed_pxgemm.a
LIBS += $(COSMA_LIB)/libcosma.a
LIBS += $(COSMA_LIB)/libcosta.a
ifeq ($(USE_ACC), yes)
LIBS += $(COSMA_LIB)/libTiled-MM.a
endif
endif
endif
ifneq ($(USE_FFTW),)
USE_FFTW := $(strip $(USE_FFTW))
FFTW_INC := $(INSTALL_PATH)/fftw-$(USE_FFTW)/include
FFTW_LIB := $(INSTALL_PATH)/fftw-$(USE_FFTW)/lib
CFLAGS += -I$(FFTW_INC)
DFLAGS += -D__FFTW3
ifeq ($(SHARED), yes)
LIBS += -Wl,-rpath=$(FFTW_LIB) -L$(FFTW_LIB) -lfftw3_mpi -lfftw3_omp -lfftw3
else
LIBS += $(FFTW_LIB)/libfftw3_mpi.a
LIBS += $(FFTW_LIB)/libfftw3_omp.a
LIBS += $(FFTW_LIB)/libfftw3.a
endif
endif
ifneq ($(USE_SCALAPACK),)
SCALAPACK_LIB := $(INSTALL_PATH)/scalapack-$(USE_SCALAPACK)/lib
ifeq ($(SHARED), yes)
LIBS += -Wl,-rpath=$(SCALAPACK_LIB) -L$(SCALAPACK_LIB) -lscalapack
else
LIBS += $(SCALAPACK_LIB)/libscalapack.a
endif
endif
ifneq ($(USE_GSL),)
USE_GSL := $(strip $(USE_GSL))
GSL_INC := $(INSTALL_PATH)/gsl-$(USE_GSL)/include
GSL_LIB := $(INSTALL_PATH)/gsl-$(USE_GSL)/lib
CFLAGS += -I$(GSL_INC)
DFLAGS += -D__GSL
ifeq ($(SHARED), yes)
LIBS += -Wl,-rpath=$(GSL_LIB) -L$(GSL_LIB) -lgsl
else
LIBS += $(GSL_LIB)/libgsl.a
endif
endif
ifneq ($(USE_OPENBLAS),)
USE_OPENBLAS := $(strip $(USE_OPENBLAS))
OPENBLAS_INC := $(INSTALL_PATH)/openblas-$(USE_OPENBLAS)/include
OPENBLAS_LIB := $(INSTALL_PATH)/openblas-$(USE_OPENBLAS)/lib
CFLAGS += -I$(OPENBLAS_INC)
ifeq ($(SHARED), yes)
LIBS += -Wl,-rpath=$(OPENBLAS_LIB) -L$(OPENBLAS_LIB) -lopenblas
else
LIBS += $(OPENBLAS_LIB)/libopenblas.a
endif
endif
ifeq ($(shell [ $(shell ldd --version | head -n 1 | tr -s '.' '\n' | tail -n 1) -ge 27 ] && echo yes), yes)
ifneq ($(USE_LIBTORCH),)
USE_LIBTORCH := $(strip $(USE_LIBTORCH))
LIBTORCH_INC := $(INSTALL_PATH)/libtorch-$(USE_LIBTORCH)/include
LIBTORCH_LIB := $(INSTALL_PATH)/libtorch-$(USE_LIBTORCH)/lib
CFLAGS += -I$(LIBTORCH_INC)
DFLAGS += -D__LIBTORCH
ifeq ($(USE_ACC), yes)
LIBS += -Wl,-rpath=$(LIBTORCH_LIB) -L$(LIBTORCH_LIB) -lc10 -ltorch_cpu -ltorch
# LIBS += -Wl,-rpath=$(LIBTORCH_LIB) -L$(LIBTORCH_LIB) -lc10 -lc10_cuda -ltorch_cpu -ltorch_cuda -ltorch
else
LIBS += -Wl,-rpath=$(LIBTORCH_LIB) -L$(LIBTORCH_LIB) -lc10 -ltorch_cpu -ltorch
endif
endif
endif
CFLAGS += $(DFLAGS)
FCFLAGS := $(CFLAGS)
ifeq ($(shell [ $(shell gcc -dumpversion | cut -d. -f1) -gt 9 ] && echo yes), yes)
FCFLAGS += -fallow-argument-mismatch
endif
FCFLAGS += -fbacktrace
FCFLAGS += -ffree-form
FCFLAGS += -ffree-line-length-none
FCFLAGS += -fno-omit-frame-pointer
FCFLAGS += -std=f2008
ifneq ($(CUDA_HOME),)
CFLAGS += -I$(CUDA_HOME)/include
FCFLAGS += -I$(CUDA_HOME)/include
CUDA_LIB := $(CUDA_HOME)/lib64
LDFLAGS += $(FCFLAGS) -L$(CUDA_LIB) -Wl,-rpath=$(CUDA_LIB)
else
LDFLAGS += $(FCFLAGS)
endif
CFLAGS += $(CFLAGS) -std=c11
CXXFLAGS := $(CFLAGS) -std=c++14
ifeq ($(USE_ACC), yes)
OFFLOAD_FLAGS := $(DFLAGS) -O3 -Xcompiler='-fopenmp' -allow-unsupported-compiler -arch sm_80 -g --std=c++11
LIBS += -lcusolver -lcudart -lnvrtc -lcuda -lcufft -lcublas -lrt
endif
LIBS += -lz -ldl -lpthread -lstdc++
# End

View file

@ -1,163 +0,0 @@
#!/bin/bash
#
# CP2K (GNU aarch64) arch file for a serial static ARM64 binary
#
# Tested with: GNU 12.3.0, FFTW 3.3.10, LIBINT 2.6.0, LIBVORI 220621,
# LIBXC 6.2.2, OpenBLAS 0.3.23, SPGLIB 1.16.2
#
# Usage: Source this arch file and then run make as instructed.
#
# Last update: 21.06.2023
#
# \
if [[ "${0}" == "${BASH_SOURCE}" ]]; then \
echo "ERROR: Script ${0##*/} must be sourced"; \
echo "Usage: source ${0##*/}"; \
exit 1; \
fi; \
this_file=${BASH_SOURCE##*/}; \
cd tools/toolchain; \
[[ -z "${target_cpu}" ]] && target_cpu="native"; \
./install_cp2k_toolchain.sh -j${maxtasks} --mpi-mode=no --no-arch-files --target-cpu=${target_cpu} --with-cmake=system --with-gcc=system --with-libxsmm=no; \
source ./install/setup; \
cd ../..; \
echo; \
echo "Check the output above for error messages and consistency!"; \
echo; \
echo "If everything is OK, you can build a CP2K production binary with"; \
echo " make -j ARCH=${this_file%.*} VERSION=${this_file##*.}"; \
echo "Further checks are performed, if DO_CHECKS=yes is added."; \
echo; \
return
# Set options
DO_CHECKS := no
TARGET_CPU := native
USE_FFTW := 3.3.10
USE_LIBINT := 2.6.0
USE_LIBVORI := 220621
USE_LIBXC := 6.2.2
USE_OPENBLAS := 0.3.23
USE_SPGLIB := 1.16.2
LMAX := 5
MAX_CONTR := 4
CC := gcc
CXX := g++
FC := gfortran
LD := gfortran
AR := ar -r
CFLAGS := -O2 -fopenmp -fopenmp-simd -ftree-vectorize -funroll-loops -g -mtune=$(TARGET_CPU)
DFLAGS += -D__MAX_CONTR=$(strip $(MAX_CONTR))
INSTALL_PATH := $(PWD)/tools/toolchain/install
# Settings for regression testing
ifeq ($(DO_CHECKS), yes)
DFLAGS += -D__CHECK_DIAG
# CFLAGS_DEBUG := -fsanitize=address
CFLAGS_DEBUG := -fsanitize=leak
FCFLAGS_DEBUG := -fcheck=bounds,do,recursion,pointer
FCFLAGS_DEBUG += -fcheck=all,no-array-temps
FCFLAGS_DEBUG += -ffpe-trap=invalid,overflow,zero
FCFLAGS_DEBUG += -fimplicit-none
FCFLAGS_DEBUG += -finit-derived
FCFLAGS_DEBUG += -finit-real=snan
FCFLAGS_DEBUG += -finit-integer=-42
FCFLAGS_DEBUG += -finline-matmul-limit=0
WFLAGS := -Werror=aliasing
WFLAGS += -Werror=ampersand
WFLAGS += -Werror=c-binding-type
WFLAGS += -Werror=conversion
WFLAGS += -Werror=intrinsic-shadow
WFLAGS += -Werror=intrinsics-std
WFLAGS += -Werror=line-truncation
WFLAGS += -Wrealloc-lhs
WFLAGS += -Werror=tabs
WFLAGS += -Werror=target-lifetime
WFLAGS += -Werror=underflow
WFLAGS += -Werror=unused-but-set-variable
WFLAGS += -Werror=unused-dummy-argument
WFLAGS += -Werror=unused-variable
endif
ifneq ($(USE_LIBVORI),)
USE_LIBVORI := $(strip $(USE_LIBVORI))
LIBVORI_LIB := $(INSTALL_PATH)/libvori-$(USE_LIBVORI)/lib
DFLAGS += -D__LIBVORI
LIBS += $(LIBVORI_LIB)/libvori.a
endif
ifneq ($(USE_LIBXC),)
USE_LIBXC := $(strip $(USE_LIBXC))
LIBXC_INC := $(INSTALL_PATH)/libxc-$(USE_LIBXC)/include
LIBXC_LIB := $(INSTALL_PATH)/libxc-$(USE_LIBXC)/lib
CFLAGS += -I$(LIBXC_INC)
DFLAGS += -D__LIBXC
LIBS += $(LIBXC_LIB)/libxcf03.a
LIBS += $(LIBXC_LIB)/libxc.a
endif
ifneq ($(USE_LIBINT),)
USE_LIBINT := $(strip $(USE_LIBINT))
LMAX := $(strip $(LMAX))
LIBINT_INC := $(INSTALL_PATH)/libint-v$(USE_LIBINT)-cp2k-lmax-$(LMAX)/include
LIBINT_LIB := $(INSTALL_PATH)/libint-v$(USE_LIBINT)-cp2k-lmax-$(LMAX)/lib
CFLAGS += -I$(LIBINT_INC)
DFLAGS += -D__LIBINT
LIBS += $(LIBINT_LIB)/libint2.a
LIBS += $(LIBINT_LIB)/libint2.a
endif
ifneq ($(USE_SPGLIB),)
USE_SPGLIB := $(strip $(USE_SPGLIB))
SPGLIB_INC := $(INSTALL_PATH)/spglib-$(USE_SPGLIB)/include
SPGLIB_LIB := $(INSTALL_PATH)/spglib-$(USE_SPGLIB)/lib
CFLAGS += -I$(SPGLIB_INC)
DFLAGS += -D__SPGLIB
LIBS += $(SPGLIB_LIB)/libsymspg.a
endif
ifneq ($(USE_FFTW),)
USE_FFTW := $(strip $(USE_FFTW))
FFTW_INC := $(INSTALL_PATH)/fftw-$(USE_FFTW)/include
FFTW_LIB := $(INSTALL_PATH)/fftw-$(USE_FFTW)/lib
CFLAGS += -I$(FFTW_INC)
DFLAGS += -D__FFTW3
LIBS += $(FFTW_LIB)/libfftw3_omp.a
LIBS += $(FFTW_LIB)/libfftw3.a
endif
ifneq ($(USE_OPENBLAS),)
USE_OPENBLAS := $(strip $(USE_OPENBLAS))
OPENBLAS_INC := $(INSTALL_PATH)/openblas-$(USE_OPENBLAS)/include
OPENBLAS_LIB := $(INSTALL_PATH)/openblas-$(USE_OPENBLAS)/lib
CFLAGS += -I$(OPENBLAS_INC)
LIBS += $(OPENBLAS_LIB)/libopenblas.a
endif
CFLAGS += $(DFLAGS) $(CFLAGS_DEBUG)
FCFLAGS := $(CFLAGS) $(FCFLAGS_DEBUG) $(WFLAGS)
ifeq ($(shell [ $(shell gcc -dumpversion | cut -d. -f1) -gt 9 ] && echo yes), yes)
FCFLAGS += -fallow-argument-mismatch
endif
FCFLAGS += -fbacktrace
FCFLAGS += -ffree-form
FCFLAGS += -ffree-line-length-none
FCFLAGS += -fno-omit-frame-pointer
FCFLAGS += -std=f2008
# The LeakSanitizer does not work with static linking
ifeq ($(DO_CHECKS), yes)
LDFLAGS += $(FCFLAGS)
else
LDFLAGS += $(FCFLAGS) -static
endif
LIBS += -Wl,--whole-archive -lpthread -Wl,--no-whole-archive -ldl -lstdc++
# End

View file

@ -1,374 +0,0 @@
#!/bin/bash
#
# CP2K (GNU aarch64) arch file for Linux clusters
#
# Tested with: GNU 12.3.0, MPICH 4.0.3,
# ScaLAPACK 2.2.1, OpenBLAS 0.3.23, FFTW 3.3.10, LIBINT 2.6.0,
# LIBXC 6.2.2, ELPA 2022.11.001, PLUMED 2.8.2, SPGLIB 1.16.2,
# LIBVORI 220621, GSL 2.7, COSMA 2.6.6, SIRIUS 7.4.3
#
# Usage: Source this arch file and then run make as instructed.
# A full toolchain installation is performed as default.
#
# Last update: 21.06.2023
#
# \
if [[ "${0}" == "${BASH_SOURCE}" ]]; then \
echo "ERROR: Script ${0##*/} must be sourced"; \
echo "Usage: source ${0##*/}"; \
exit 1; \
fi; \
this_file=${BASH_SOURCE##*/}; \
cd tools/toolchain; \
[[ -z "${mpi_implementation}" ]] && mpi_implementation="mpich"; \
[[ -z "${target_cpu}" ]] && target_cpu="native"; \
./install_cp2k_toolchain.sh --install-all -j${maxtasks} --no-arch-files --target-cpu=${target_cpu} --with-gcc --with-${mpi_implementation} --with-libxsmm=no; \
source ./install/setup; \
cd ../..; \
echo; \
echo "Check the output above for error messages and consistency!"; \
echo; \
echo "If everything is OK, you can build a CP2K production binary with"; \
echo " make -j ARCH=${this_file%.*} VERSION=${this_file##*.}"; \
echo; \
echo "Alternatively, you can add further checks, e.g. for regression testing, with"; \
echo " make -j ARCH=${this_file%.*} VERSION=${this_file##*.} DO_CHECKS=yes"; \
echo "or build CP2K only with shared libraries using"; \
echo " make -j ARCH=${this_file%.*} VERSION=${this_file##*.} SHARED=yes"; \
echo "or build CP2K as a library with"; \
echo " make -j ARCH=${this_file%.*} VERSION=${this_file##*.} libcp2k"; \
echo; \
echo "Run always the following command before using the CP2K binary"; \
echo " source ${PWD}/tools/toolchain/install/setup"; \
echo; \
return
# Set options
DO_CHECKS := no
SHARED := no
TARGET_CPU := native
USE_COSMA := 2.6.6
USE_ELPA := 2022.11.001
USE_FFTW := 3.3.10
USE_LIBINT := 2.6.0
USE_LIBPEXSI := 1.2.0
USE_LIBVORI := 220621
USE_LIBXC := 6.2.2
#USE_LIBXSMM := 1.17
USE_OPENBLAS := 0.3.23
USE_PLUMED := 2.8.2
USE_QUIP := 0.9.10
USE_SCALAPACK := 2.2.1
USE_SIRIUS := 7.4.3
USE_SPGLIB := 1.16.2
# Only needed for SIRIUS
LIBVDWXC_VER := 0.4.0
SPFFT_VER := 1.0.6
SPLA_VER := 1.5.5
HDF5_VER := 1.12.0
# Only needed for LIBPEXSI
SCOTCH_VER := 6.0.0
SUPERLU_VER := 6.1.0
LMAX := 5
MAX_CONTR := 4
CC := mpicc
FC := mpifort
LD := mpifort
AR := ar -r
CFLAGS := -O2 -fopenmp -fopenmp-simd -ftree-vectorize -funroll-loops -g -mtune=$(TARGET_CPU)
DFLAGS := -D__parallel
DFLAGS += -D__SCALAPACK
DFLAGS += -D__HAS_IEEE_EXCEPTIONS
DFLAGS += -D__MAX_CONTR=$(strip $(MAX_CONTR))
INSTALL_PATH := $(PWD)/tools/toolchain/install
ifeq ($(SHARED), yes)
LD_SHARED := $(FC) -shared
CFLAGS += -fPIC
LDFLAGS := -Wl,--enable-new-dtags
CP2K_LIB := $(PWD)/lib/$(ARCH)/$(ONEVERSION)
LDFLAGS += -Wl,-rpath=$(CP2K_LIB)
LDFLAGS += -Wl,-rpath=$(CP2K_LIB)/exts/dbcsr
endif
# Settings for regression testing
ifeq ($(DO_CHECKS), yes)
DFLAGS += -D__CHECK_DIAG
# CFLAGS_DEBUG := -fsanitize=address
CFLAGS_DEBUG := -fsanitize=leak
FCFLAGS_DEBUG := -fcheck=bounds,do,recursion,pointer
FCFLAGS_DEBUG += -fcheck=all,no-array-temps
FCFLAGS_DEBUG += -ffpe-trap=invalid,overflow,zero
FCFLAGS_DEBUG += -fimplicit-none
FCFLAGS_DEBUG += -finit-derived
FCFLAGS_DEBUG += -finit-real=snan
FCFLAGS_DEBUG += -finit-integer=-42
FCFLAGS_DEBUG += -finline-matmul-limit=0
WFLAGS := -Werror=aliasing
WFLAGS += -Werror=ampersand
WFLAGS += -Werror=c-binding-type
WFLAGS += -Werror=conversion
WFLAGS += -Werror=intrinsic-shadow
WFLAGS += -Werror=intrinsics-std
WFLAGS += -Werror=line-truncation
WFLAGS += -Wrealloc-lhs
WFLAGS += -Werror=tabs
WFLAGS += -Werror=target-lifetime
WFLAGS += -Werror=underflow
WFLAGS += -Werror=unused-but-set-variable
WFLAGS += -Werror=unused-dummy-argument
WFLAGS += -Werror=unused-variable
endif
ifneq ($(USE_PLUMED),)
USE_PLUMED := $(strip $(USE_PLUMED))
PLUMED_LIB := $(INSTALL_PATH)/plumed-$(USE_PLUMED)/lib
DFLAGS += -D__PLUMED2
USE_GSL := 2.7
ifeq ($(SHARED), yes)
LIBS += -Wl,-rpath=$(PLUMED_LIB) -L$(PLUMED_LIB) -lplumed -lplumedKernel
else
LIBS += $(PLUMED_LIB)/libplumed.a
endif
endif
ifneq ($(USE_ELPA),)
USE_ELPA := $(strip $(USE_ELPA))
ELPA_INC := $(INSTALL_PATH)/elpa-$(USE_ELPA)/cpu/include/elpa_openmp-$(USE_ELPA)
ELPA_LIB := $(INSTALL_PATH)/elpa-$(USE_ELPA)/cpu/lib
CFLAGS += -I$(ELPA_INC)/elpa -I$(ELPA_INC)/modules
DFLAGS += -D__ELPA
ifeq ($(SHARED), yes)
LIBS += -Wl,-rpath=$(ELPA_LIB) -L$(ELPA_LIB) -lelpa_openmp
else
LIBS += $(ELPA_LIB)/libelpa_openmp.a
endif
endif
ifneq ($(USE_QUIP),)
USE_QUIP := $(strip $(USE_QUIP))
QUIP_INC := $(INSTALL_PATH)/quip-$(USE_QUIP)/include
QUIP_LIB := $(INSTALL_PATH)/quip-$(USE_QUIP)/lib
CFLAGS += -I$(QUIP_INC)
DFLAGS += -D__QUIP
LIBS += $(QUIP_LIB)/libquip_core.a
LIBS += $(QUIP_LIB)/libatoms.a
LIBS += $(QUIP_LIB)/libFoX_sax.a
LIBS += $(QUIP_LIB)/libFoX_common.a
LIBS += $(QUIP_LIB)/libFoX_utils.a
LIBS += $(QUIP_LIB)/libFoX_fsys.a
endif
ifneq ($(USE_LIBPEXSI),)
USE_LIBPEXSI := $(strip $(USE_LIBPEXSI))
SCOTCH_VER := $(strip $(SCOTCH_VER))
SUPERLU_VER := $(strip $(SUPERLU_VER))
LIBPEXSI_INC := $(INSTALL_PATH)/pexsi-$(USE_LIBPEXSI)/include
LIBPEXSI_LIB := $(INSTALL_PATH)/pexsi-$(USE_LIBPEXSI)/lib
SCOTCH_INC := $(INSTALL_PATH)/scotch-$(SCOTCH_VER)/include
SCOTCH_LIB := $(INSTALL_PATH)/scotch-$(SCOTCH_VER)/lib
SUPERLU_INC := $(INSTALL_PATH)/superlu_dist-$(SUPERLU_VER)/include
SUPERLU_LIB := $(INSTALL_PATH)/superlu_dist-$(SUPERLU_VER)/lib
CFLAGS += -I$(LIBPEXSI_INC) -I$(SCOTCH_INC) -I$(SUPERLU_INC)
DFLAGS += -D__LIBPEXSI
LIBS += $(LIBPEXSI_LIB)/libpexsi.a
LIBS += $(SUPERLU_LIB)/libsuperlu_dist.a
LIBS += $(SCOTCH_LIB)/libptscotchparmetis.a
LIBS += $(SCOTCH_LIB)/libptscotch.a
LIBS += $(SCOTCH_LIB)/libptscotcherr.a
LIBS += $(SCOTCH_LIB)/libscotchmetis.a
LIBS += $(SCOTCH_LIB)/libscotch.a
endif
ifneq ($(USE_LIBVORI),)
USE_LIBVORI := $(strip $(USE_LIBVORI))
LIBVORI_LIB := $(INSTALL_PATH)/libvori-$(USE_LIBVORI)/lib
DFLAGS += -D__LIBVORI
ifeq ($(SHARED), yes)
LIBS += -Wl,-rpath=$(LIBVORI_LIB) -L$(LIBVORI_LIB) -lvori
else
LIBS += $(LIBVORI_LIB)/libvori.a
endif
endif
ifneq ($(USE_LIBXC),)
USE_LIBXC := $(strip $(USE_LIBXC))
LIBXC_INC := $(INSTALL_PATH)/libxc-$(USE_LIBXC)/include
LIBXC_LIB := $(INSTALL_PATH)/libxc-$(USE_LIBXC)/lib
CFLAGS += -I$(LIBXC_INC)
DFLAGS += -D__LIBXC
ifeq ($(SHARED), yes)
LIBS += -Wl,-rpath=$(LIBXC_LIB) -L$(LIBXC_LIB) -lxcf03 -lxc
else
LIBS += $(LIBXC_LIB)/libxcf03.a
LIBS += $(LIBXC_LIB)/libxc.a
endif
endif
ifneq ($(USE_LIBINT),)
USE_LIBINT := $(strip $(USE_LIBINT))
LMAX := $(strip $(LMAX))
LIBINT_INC := $(INSTALL_PATH)/libint-v$(USE_LIBINT)-cp2k-lmax-$(LMAX)/include
LIBINT_LIB := $(INSTALL_PATH)/libint-v$(USE_LIBINT)-cp2k-lmax-$(LMAX)/lib
CFLAGS += -I$(LIBINT_INC)
DFLAGS += -D__LIBINT
ifeq ($(SHARED), yes)
LIBS += -Wl,-rpath=$(LIBINT_LIB) -L$(LIBINT_LIB) -lint2
else
LIBS += $(LIBINT_LIB)/libint2.a
LIBS += $(LIBINT_LIB)/libint2.a
endif
endif
ifneq ($(USE_SPGLIB),)
USE_SPGLIB := $(strip $(USE_SPGLIB))
SPGLIB_INC := $(INSTALL_PATH)/spglib-$(USE_SPGLIB)/include
SPGLIB_LIB := $(INSTALL_PATH)/spglib-$(USE_SPGLIB)/lib
CFLAGS += -I$(SPGLIB_INC)
DFLAGS += -D__SPGLIB
ifeq ($(SHARED), yes)
LIBS += -Wl,-rpath=$(SPGLIB_LIB) -L$(SPGLIB_LIB) -lsymspg
else
LIBS += $(SPGLIB_LIB)/libsymspg.a
endif
endif
ifneq ($(USE_LIBXSMM),)
USE_LIBXSMM := $(strip $(USE_LIBXSMM))
LIBXSMM_INC := $(INSTALL_PATH)/libxsmm-$(USE_LIBXSMM)/include
LIBXSMM_LIB := $(INSTALL_PATH)/libxsmm-$(USE_LIBXSMM)/lib
CFLAGS += -I$(LIBXSMM_INC)
DFLAGS += -D__LIBXSMM
ifeq ($(SHARED), yes)
LIBS += -Wl,-rpath=$(LIBXSMM_LIB) -L$(LIBXSMM_LIB) -lxsmmf -lxsmm
else
LIBS += $(LIBXSMM_LIB)/libxsmmf.a
LIBS += $(LIBXSMM_LIB)/libxsmm.a
endif
endif
ifneq ($(USE_SIRIUS),)
USE_SIRIUS := $(strip $(USE_SIRIUS))
HDF5_VER := $(strip $(HDF5_VER))
HDF5_LIB := $(INSTALL_PATH)/hdf5-$(HDF5_VER)/lib
LIBVDWXC_VER := $(strip $(LIBVDWXC_VER))
LIBVDWXC_INC := $(INSTALL_PATH)/libvdwxc-$(LIBVDWXC_VER)/include
LIBVDWXC_LIB := $(INSTALL_PATH)/libvdwxc-$(LIBVDWXC_VER)/lib
SPFFT_VER := $(strip $(SPFFT_VER))
SPFFT_INC := $(INSTALL_PATH)/SpFFT-$(SPFFT_VER)/include
SPFFT_LIB := $(INSTALL_PATH)/SpFFT-$(SPFFT_VER)/lib
SPLA_VER := $(strip $(SPLA_VER))
SPLA_INC := $(INSTALL_PATH)/SpLA-$(SPLA_VER)/include/spla
SPLA_LIB := $(INSTALL_PATH)/SpLA-$(SPLA_VER)/lib
SIRIUS_INC := $(INSTALL_PATH)/sirius-$(USE_SIRIUS)/include
SIRIUS_LIB := $(INSTALL_PATH)/sirius-$(USE_SIRIUS)/lib
CFLAGS += -I$(LIBVDWXC_INC)
CFLAGS += -I$(SPFFT_INC)
CFLAGS += -I$(SPLA_INC)
CFLAGS += -I$(SIRIUS_INC)
DFLAGS += -D__HDF5
DFLAGS += -D__LIBVDWXC
DFLAGS += -D__SPFFT
DFLAGS += -D__SPLA
DFLAGS += -D__SIRIUS
ifeq ($(SHARED), yes)
LIBS += -Wl,-rpath=$(SIRIUS_LIB) -L$(SIRIUS_LIB) -lsirius
LIBS += -Wl,-rpath=$(SPLA_LIB) -L$(SPLA_LIB) -lspla
LIBS += -Wl,-rpath=$(SPFFT_LIB) -L$(SPFFT_LIB) -lspfft
LIBS += -Wl,-rpath=$(LIBVDWXC_LIB) -L$(LIBVDWXC_LIB) -lvdwxc
LIBS += -Wl,-rpath=$(HDF5_LIB) -L$(HDF5_LIB) -lhdf5
else
LIBS += $(SIRIUS_LIB)/libsirius.a
LIBS += $(SPLA_LIB)/libspla.a
LIBS += $(SPFFT_LIB)/libspfft.a
LIBS += $(LIBVDWXC_LIB)/libvdwxc.a
LIBS += $(HDF5_LIB)/libhdf5.a
endif
endif
ifneq ($(USE_COSMA),)
USE_COSMA := $(strip $(USE_COSMA))
COSMA_INC := $(INSTALL_PATH)/COSMA-$(USE_COSMA)/include
COSMA_LIB := $(INSTALL_PATH)/COSMA-$(USE_COSMA)/lib
CFLAGS += -I$(COSMA_INC)
DFLAGS += -D__COSMA
ifeq ($(SHARED), yes)
LIBS += -Wl,-rpath=$(COSMA_LIB) -L$(COSMA_LIB) -lcosma_prefixed_pxgemm -lcosma -lcosta
else
LIBS += $(COSMA_LIB)/libcosma_prefixed_pxgemm.a
LIBS += $(COSMA_LIB)/libcosma.a
LIBS += $(COSMA_LIB)/libcosta.a
endif
endif
ifneq ($(USE_FFTW),)
USE_FFTW := $(strip $(USE_FFTW))
FFTW_INC := $(INSTALL_PATH)/fftw-$(USE_FFTW)/include
FFTW_LIB := $(INSTALL_PATH)/fftw-$(USE_FFTW)/lib
CFLAGS += -I$(FFTW_INC)
DFLAGS += -D__FFTW3
ifeq ($(SHARED), yes)
LIBS += -Wl,-rpath=$(FFTW_LIB) -L$(FFTW_LIB) -lfftw3_mpi -lfftw3_omp -lfftw3
else
LIBS += $(FFTW_LIB)/libfftw3_mpi.a
LIBS += $(FFTW_LIB)/libfftw3_omp.a
LIBS += $(FFTW_LIB)/libfftw3.a
endif
endif
ifneq ($(USE_SCALAPACK),)
SCALAPACK_LIB := $(INSTALL_PATH)/scalapack-$(USE_SCALAPACK)/lib
ifeq ($(SHARED), yes)
LIBS += -Wl,-rpath=$(SCALAPACK_LIB) -L$(SCALAPACK_LIB) -lscalapack
else
LIBS += $(SCALAPACK_LIB)/libscalapack.a
endif
endif
ifneq ($(USE_GSL),)
USE_GSL := $(strip $(USE_GSL))
GSL_INC := $(INSTALL_PATH)/gsl-$(USE_GSL)/include
GSL_LIB := $(INSTALL_PATH)/gsl-$(USE_GSL)/lib
CFLAGS += -I$(GSL_INC)
DFLAGS += -D__GSL
ifeq ($(SHARED), yes)
LIBS += -Wl,-rpath=$(GSL_LIB) -L$(GSL_LIB) -lgsl
else
LIBS += $(GSL_LIB)/libgsl.a
endif
endif
ifneq ($(USE_OPENBLAS),)
USE_OPENBLAS := $(strip $(USE_OPENBLAS))
OPENBLAS_INC := $(INSTALL_PATH)/openblas-$(USE_OPENBLAS)/include
OPENBLAS_LIB := $(INSTALL_PATH)/openblas-$(USE_OPENBLAS)/lib
CFLAGS += -I$(OPENBLAS_INC)
ifeq ($(SHARED), yes)
LIBS += -Wl,-rpath=$(OPENBLAS_LIB) -L$(OPENBLAS_LIB) -lopenblas
else
LIBS += $(OPENBLAS_LIB)/libopenblas.a
endif
endif
CFLAGS += $(DFLAGS) $(CFLAGS_DEBUG)
FCFLAGS := $(CFLAGS) $(FCFLAGS_DEBUG) $(WFLAGS)
ifeq ($(shell [ $(shell gcc -dumpversion | cut -d. -f1) -gt 9 ] && echo yes), yes)
FCFLAGS += -fallow-argument-mismatch
endif
FCFLAGS += -fbacktrace
FCFLAGS += -ffree-form
FCFLAGS += -ffree-line-length-none
FCFLAGS += -fno-omit-frame-pointer
FCFLAGS += -std=f2008
LDFLAGS += $(FCFLAGS)
LIBS += -lz -ldl -lstdc++
# End

View file

@ -1,163 +0,0 @@
#!/bin/bash
#
# CP2K (GNU) arch file for a serial static x86_64 binary
#
# Tested with: GNU 12.3.0, FFTW 3.3.10, LIBINT 2.6.0, LIBVORI 220621,
# LIBXC 6.2.2, OpenBLAS 0.3.23, SPGLIB 1.16.2
#
# Usage: Source this arch file and then run make as instructed.
#
# Last update: 21.06.2023
#
# \
if [[ "${0}" == "${BASH_SOURCE}" ]]; then \
echo "ERROR: Script ${0##*/} must be sourced"; \
echo "Usage: source ${0##*/}"; \
exit 1; \
fi; \
this_file=${BASH_SOURCE##*/}; \
cd tools/toolchain; \
[[ -z "${target_cpu}" ]] && target_cpu="native"; \
./install_cp2k_toolchain.sh -j${maxtasks} --mpi-mode=no --no-arch-files --target-cpu=${target_cpu} --with-gcc; \
source ./install/setup; \
cd ../..; \
echo; \
echo "Check the output above for error messages and consistency!"; \
echo; \
echo "If everything is OK, you can build a CP2K production binary with"; \
echo " make -j ARCH=${this_file%.*} VERSION=${this_file##*.}"; \
echo "Further checks are performed, if DO_CHECKS=yes is added, but this disables static linking."; \
echo; \
return
# Set options
DO_CHECKS := no
TARGET_CPU := native
USE_FFTW := 3.3.10
USE_LIBINT := 2.6.0
USE_LIBVORI := 220621
USE_LIBXC := 6.2.2
USE_OPENBLAS := 0.3.23
USE_SPGLIB := 1.16.2
LMAX := 5
MAX_CONTR := 4
CC := gcc
CXX := g++
FC := gfortran
LD := gfortran
AR := ar -r
CFLAGS := -O2 -fopenmp -fopenmp-simd -ftree-vectorize -funroll-loops -g -mtune=$(TARGET_CPU)
DFLAGS += -D__MAX_CONTR=$(strip $(MAX_CONTR))
INSTALL_PATH := $(PWD)/tools/toolchain/install
# Settings for regression testing
ifeq ($(DO_CHECKS), yes)
DFLAGS += -D__CHECK_DIAG
# CFLAGS_DEBUG := -fsanitize=address
CFLAGS_DEBUG := -fsanitize=leak
FCFLAGS_DEBUG := -fcheck=bounds,do,recursion,pointer
FCFLAGS_DEBUG += -fcheck=all,no-array-temps
FCFLAGS_DEBUG += -ffpe-trap=invalid,overflow,zero
FCFLAGS_DEBUG += -fimplicit-none
FCFLAGS_DEBUG += -finit-derived
FCFLAGS_DEBUG += -finit-real=snan
FCFLAGS_DEBUG += -finit-integer=-42
FCFLAGS_DEBUG += -finline-matmul-limit=0
WFLAGS := -Werror=aliasing
WFLAGS += -Werror=ampersand
WFLAGS += -Werror=c-binding-type
WFLAGS += -Werror=conversion
WFLAGS += -Werror=intrinsic-shadow
WFLAGS += -Werror=intrinsics-std
WFLAGS += -Werror=line-truncation
WFLAGS += -Wrealloc-lhs
WFLAGS += -Werror=tabs
WFLAGS += -Werror=target-lifetime
WFLAGS += -Werror=underflow
WFLAGS += -Werror=unused-but-set-variable
WFLAGS += -Werror=unused-dummy-argument
WFLAGS += -Werror=unused-variable
endif
ifneq ($(USE_LIBVORI),)
USE_LIBVORI := $(strip $(USE_LIBVORI))
LIBVORI_LIB := $(INSTALL_PATH)/libvori-$(USE_LIBVORI)/lib
DFLAGS += -D__LIBVORI
LIBS += $(LIBVORI_LIB)/libvori.a
endif
ifneq ($(USE_LIBXC),)
USE_LIBXC := $(strip $(USE_LIBXC))
LIBXC_INC := $(INSTALL_PATH)/libxc-$(USE_LIBXC)/include
LIBXC_LIB := $(INSTALL_PATH)/libxc-$(USE_LIBXC)/lib
CFLAGS += -I$(LIBXC_INC)
DFLAGS += -D__LIBXC
LIBS += $(LIBXC_LIB)/libxcf03.a
LIBS += $(LIBXC_LIB)/libxc.a
endif
ifneq ($(USE_LIBINT),)
USE_LIBINT := $(strip $(USE_LIBINT))
LMAX := $(strip $(LMAX))
LIBINT_INC := $(INSTALL_PATH)/libint-v$(USE_LIBINT)-cp2k-lmax-$(LMAX)/include
LIBINT_LIB := $(INSTALL_PATH)/libint-v$(USE_LIBINT)-cp2k-lmax-$(LMAX)/lib
CFLAGS += -I$(LIBINT_INC)
DFLAGS += -D__LIBINT
LIBS += $(LIBINT_LIB)/libint2.a
LIBS += $(LIBINT_LIB)/libint2.a
endif
ifneq ($(USE_SPGLIB),)
USE_SPGLIB := $(strip $(USE_SPGLIB))
SPGLIB_INC := $(INSTALL_PATH)/spglib-$(USE_SPGLIB)/include
SPGLIB_LIB := $(INSTALL_PATH)/spglib-$(USE_SPGLIB)/lib
CFLAGS += -I$(SPGLIB_INC)
DFLAGS += -D__SPGLIB
LIBS += $(SPGLIB_LIB)/libsymspg.a
endif
ifneq ($(USE_FFTW),)
USE_FFTW := $(strip $(USE_FFTW))
FFTW_INC := $(INSTALL_PATH)/fftw-$(USE_FFTW)/include
FFTW_LIB := $(INSTALL_PATH)/fftw-$(USE_FFTW)/lib
CFLAGS += -I$(FFTW_INC)
DFLAGS += -D__FFTW3
LIBS += $(FFTW_LIB)/libfftw3_omp.a
LIBS += $(FFTW_LIB)/libfftw3.a
endif
ifneq ($(USE_OPENBLAS),)
USE_OPENBLAS := $(strip $(USE_OPENBLAS))
OPENBLAS_INC := $(INSTALL_PATH)/openblas-$(USE_OPENBLAS)/include
OPENBLAS_LIB := $(INSTALL_PATH)/openblas-$(USE_OPENBLAS)/lib
CFLAGS += -I$(OPENBLAS_INC)
LIBS += $(OPENBLAS_LIB)/libopenblas.a
endif
CFLAGS += $(DFLAGS) $(CFLAGS_DEBUG)
FCFLAGS := $(CFLAGS) $(FCFLAGS_DEBUG) $(WFLAGS)
ifeq ($(shell [ $(shell gcc -dumpversion | cut -d. -f1) -gt 9 ] && echo yes), yes)
FCFLAGS += -fallow-argument-mismatch
endif
FCFLAGS += -fbacktrace
FCFLAGS += -ffree-form
FCFLAGS += -ffree-line-length-none
FCFLAGS += -fno-omit-frame-pointer
FCFLAGS += -std=f2008
# The LeakSanitizer does not work with static linking
ifeq ($(DO_CHECKS), yes)
LDFLAGS += $(FCFLAGS)
else
LDFLAGS += $(FCFLAGS) -static
endif
LIBS += -Wl,--whole-archive -lpthread -Wl,--no-whole-archive -ldl -lstdc++
# End

View file

@ -1,402 +0,0 @@
#!/bin/bash
#
# CP2K (GNU x86_64) arch file for Linux clusters
#
# Tested with: GNU 12.3.0, MPICH 4.0.3 and OpenMPI 4.1.4,
# ScaLAPACK 2.2.1, OpenBLAS 0.3.23, FFTW 3.3.10, LIBINT 2.6.0,
# LIBXC 6.2.2, ELPA 2022.11.001, PLUMED 2.8.2, SPGLIB 1.16.2,
# LIBVORI 220621, GSL 2.7, COSMA 2.6.6, SIRIUS 7.4.3, LIBTORCH 1.12.1
# on the Merlin cluster (PSI)
#
# Usage: Source this arch file and then run make as instructed.
# A full toolchain installation is performed as default.
# Optionally, GNU compiler and MPI implementation can be specified as arguments.
# Replace or adapt the "module add" commands below if needed.
#
# Last update: 21.05.2023
#
# \
if [[ "${0}" == "${BASH_SOURCE}" ]]; then \
echo "ERROR: Script ${0##*/} must be sourced"; \
echo "Usage: source ${0##*/}"; \
exit 1; \
fi; \
this_file=${BASH_SOURCE##*/}; \
cd tools/toolchain; \
[[ -z "${mpi_implementation}" ]] && mpi_implementation="mpich"; \
[[ -z "${target_cpu}" ]] && target_cpu="native"; \
if [[ -n "${1}" ]]; then \
module add ${1}; \
if [[ -n "${2}" ]]; then \
module add ${2}; \
module list; \
./install_cp2k_toolchain.sh --install-all -j${maxtasks} --no-arch-files --target-cpu=${target_cpu} --with-gcc=system --with-${mpi_implementation}=system; \
else \
module list; \
./install_cp2k_toolchain.sh --install-all -j${maxtasks} --no-arch-files --target-cpu=${target_cpu} --with-gcc=system --with-${mpi_implementation}; \
fi; \
else \
./install_cp2k_toolchain.sh --install-all -j${maxtasks} --no-arch-files --target-cpu=${target_cpu} --with-gcc --with-${mpi_implementation}; \
fi; \
source ./install/setup; \
cd ../..; \
echo; \
echo "Check the output above for error messages and consistency!"; \
echo; \
echo "If everything is OK, you can build a CP2K production binary with"; \
echo " make -j ARCH=${this_file%.*} VERSION=${this_file##*.}"; \
echo; \
echo "Alternatively, you can add further checks, e.g. for regression testing, with"; \
echo " make -j ARCH=${this_file%.*} VERSION=${this_file##*.} DO_CHECKS=yes"; \
echo "or build CP2K only with shared libraries using"; \
echo " make -j ARCH=${this_file%.*} VERSION=${this_file##*.} SHARED=yes"; \
echo "or build CP2K as a library with"; \
echo " make -j ARCH=${this_file%.*} VERSION=${this_file##*.} libcp2k"; \
echo; \
echo "Run always the following command before using the CP2K binary"; \
echo " source ${PWD}/tools/toolchain/install/setup"; \
echo; \
return
# Set options
DO_CHECKS := no
SHARED := no
TARGET_CPU := native
USE_COSMA := 2.6.6
USE_ELPA := 2022.11.001
USE_FFTW := 3.3.10
USE_LIBINT := 2.6.0
USE_LIBPEXSI := 1.2.0
USE_LIBTORCH := 1.12.1
USE_LIBVORI := 220621
USE_LIBXC := 6.2.2
USE_LIBXSMM := 1.17
USE_OPENBLAS := 0.3.23
USE_PLUMED := 2.8.2
USE_QUIP := 0.9.10
USE_SCALAPACK := 2.2.1
USE_SIRIUS := 7.4.3
USE_SPGLIB := 1.16.2
# Only needed for SIRIUS
LIBVDWXC_VER := 0.4.0
SPFFT_VER := 1.0.6
SPLA_VER := 1.5.5
HDF5_VER := 1.12.0
# Only needed for LIBPEXSI
SCOTCH_VER := 6.0.0
SUPERLU_VER := 6.1.0
LMAX := 5
MAX_CONTR := 4
CC := mpicc
FC := mpifort
LD := mpifort
AR := ar -r
CFLAGS := -O2 -fopenmp -fopenmp-simd -ftree-vectorize -funroll-loops -g -mtune=$(TARGET_CPU)
DFLAGS := -D__parallel
DFLAGS += -D__SCALAPACK
DFLAGS += -D__HAS_IEEE_EXCEPTIONS
DFLAGS += -D__MAX_CONTR=$(strip $(MAX_CONTR))
INSTALL_PATH := $(PWD)/tools/toolchain/install
ifeq ($(SHARED), yes)
LD_SHARED := $(FC) -shared
CFLAGS += -fPIC
LDFLAGS := -Wl,--enable-new-dtags
CP2K_LIB := $(PWD)/lib/$(ARCH)/$(ONEVERSION)
LDFLAGS += -Wl,-rpath=$(CP2K_LIB)
LDFLAGS += -Wl,-rpath=$(CP2K_LIB)/exts/dbcsr
endif
# Settings for regression testing
ifeq ($(DO_CHECKS), yes)
DFLAGS += -D__CHECK_DIAG
# CFLAGS_DEBUG := -fsanitize=address
CFLAGS_DEBUG := -fsanitize=leak
# FCFLAGS_DEBUG := -fcheck=bounds,do,recursion,pointer
FCFLAGS_DEBUG += -fcheck=all,no-array-temps
FCFLAGS_DEBUG += -ffpe-trap=invalid,overflow,zero
FCFLAGS_DEBUG += -fimplicit-none
FCFLAGS_DEBUG += -finit-derived
FCFLAGS_DEBUG += -finit-real=snan
FCFLAGS_DEBUG += -finit-integer=-42
FCFLAGS_DEBUG += -finline-matmul-limit=0
WFLAGS := -Werror=aliasing
WFLAGS += -Werror=ampersand
WFLAGS += -Werror=c-binding-type
WFLAGS += -Werror=conversion
WFLAGS += -Werror=intrinsic-shadow
WFLAGS += -Werror=intrinsics-std
WFLAGS += -Werror=line-truncation
WFLAGS += -Wrealloc-lhs
WFLAGS += -Werror=tabs
WFLAGS += -Werror=target-lifetime
WFLAGS += -Werror=underflow
WFLAGS += -Werror=unused-but-set-variable
WFLAGS += -Werror=unused-dummy-argument
WFLAGS += -Werror=unused-variable
endif
ifneq ($(USE_PLUMED),)
USE_PLUMED := $(strip $(USE_PLUMED))
PLUMED_LIB := $(INSTALL_PATH)/plumed-$(USE_PLUMED)/lib
DFLAGS += -D__PLUMED2
USE_GSL := 2.7
ifeq ($(SHARED), yes)
LIBS += -Wl,-rpath=$(PLUMED_LIB) -L$(PLUMED_LIB) -lplumed -lplumedKernel
else
LIBS += $(PLUMED_LIB)/libplumed.a
endif
endif
ifneq ($(USE_ELPA),)
USE_ELPA := $(strip $(USE_ELPA))
ELPA_INC := $(INSTALL_PATH)/elpa-$(USE_ELPA)/cpu/include/elpa_openmp-$(USE_ELPA)
ELPA_LIB := $(INSTALL_PATH)/elpa-$(USE_ELPA)/cpu/lib
CFLAGS += -I$(ELPA_INC)/elpa -I$(ELPA_INC)/modules
DFLAGS += -D__ELPA
ifeq ($(SHARED), yes)
LIBS += -Wl,-rpath=$(ELPA_LIB) -L$(ELPA_LIB) -lelpa_openmp
else
LIBS += $(ELPA_LIB)/libelpa_openmp.a
endif
endif
ifneq ($(USE_QUIP),)
USE_QUIP := $(strip $(USE_QUIP))
QUIP_INC := $(INSTALL_PATH)/quip-$(USE_QUIP)/include
QUIP_LIB := $(INSTALL_PATH)/quip-$(USE_QUIP)/lib
CFLAGS += -I$(QUIP_INC)
DFLAGS += -D__QUIP
LIBS += $(QUIP_LIB)/libquip_core.a
LIBS += $(QUIP_LIB)/libatoms.a
LIBS += $(QUIP_LIB)/libFoX_sax.a
LIBS += $(QUIP_LIB)/libFoX_common.a
LIBS += $(QUIP_LIB)/libFoX_utils.a
LIBS += $(QUIP_LIB)/libFoX_fsys.a
endif
ifneq ($(USE_LIBPEXSI),)
USE_LIBPEXSI := $(strip $(USE_LIBPEXSI))
SCOTCH_VER := $(strip $(SCOTCH_VER))
SUPERLU_VER := $(strip $(SUPERLU_VER))
LIBPEXSI_INC := $(INSTALL_PATH)/pexsi-$(USE_LIBPEXSI)/include
LIBPEXSI_LIB := $(INSTALL_PATH)/pexsi-$(USE_LIBPEXSI)/lib
SCOTCH_INC := $(INSTALL_PATH)/scotch-$(SCOTCH_VER)/include
SCOTCH_LIB := $(INSTALL_PATH)/scotch-$(SCOTCH_VER)/lib
SUPERLU_INC := $(INSTALL_PATH)/superlu_dist-$(SUPERLU_VER)/include
SUPERLU_LIB := $(INSTALL_PATH)/superlu_dist-$(SUPERLU_VER)/lib
CFLAGS += -I$(LIBPEXSI_INC) -I$(SCOTCH_INC) -I$(SUPERLU_INC)
DFLAGS += -D__LIBPEXSI
LIBS += $(LIBPEXSI_LIB)/libpexsi.a
LIBS += $(SUPERLU_LIB)/libsuperlu_dist.a
LIBS += $(SCOTCH_LIB)/libptscotchparmetis.a
LIBS += $(SCOTCH_LIB)/libptscotch.a
LIBS += $(SCOTCH_LIB)/libptscotcherr.a
LIBS += $(SCOTCH_LIB)/libscotchmetis.a
LIBS += $(SCOTCH_LIB)/libscotch.a
endif
ifneq ($(USE_LIBVORI),)
USE_LIBVORI := $(strip $(USE_LIBVORI))
LIBVORI_LIB := $(INSTALL_PATH)/libvori-$(USE_LIBVORI)/lib
DFLAGS += -D__LIBVORI
ifeq ($(SHARED), yes)
LIBS += -Wl,-rpath=$(LIBVORI_LIB) -L$(LIBVORI_LIB) -lvori
else
LIBS += $(LIBVORI_LIB)/libvori.a
endif
endif
ifneq ($(USE_LIBXC),)
USE_LIBXC := $(strip $(USE_LIBXC))
LIBXC_INC := $(INSTALL_PATH)/libxc-$(USE_LIBXC)/include
LIBXC_LIB := $(INSTALL_PATH)/libxc-$(USE_LIBXC)/lib
CFLAGS += -I$(LIBXC_INC)
DFLAGS += -D__LIBXC
ifeq ($(SHARED), yes)
LIBS += -Wl,-rpath=$(LIBXC_LIB) -L$(LIBXC_LIB) -lxcf03 -lxc
else
LIBS += $(LIBXC_LIB)/libxcf03.a
LIBS += $(LIBXC_LIB)/libxc.a
endif
endif
ifneq ($(USE_LIBINT),)
USE_LIBINT := $(strip $(USE_LIBINT))
LMAX := $(strip $(LMAX))
LIBINT_INC := $(INSTALL_PATH)/libint-v$(USE_LIBINT)-cp2k-lmax-$(LMAX)/include
LIBINT_LIB := $(INSTALL_PATH)/libint-v$(USE_LIBINT)-cp2k-lmax-$(LMAX)/lib
CFLAGS += -I$(LIBINT_INC)
DFLAGS += -D__LIBINT
ifeq ($(SHARED), yes)
LIBS += -Wl,-rpath=$(LIBINT_LIB) -L$(LIBINT_LIB) -lint2
else
LIBS += $(LIBINT_LIB)/libint2.a
endif
endif
ifneq ($(USE_SPGLIB),)
USE_SPGLIB := $(strip $(USE_SPGLIB))
SPGLIB_INC := $(INSTALL_PATH)/spglib-$(USE_SPGLIB)/include
SPGLIB_LIB := $(INSTALL_PATH)/spglib-$(USE_SPGLIB)/lib
CFLAGS += -I$(SPGLIB_INC)
DFLAGS += -D__SPGLIB
ifeq ($(SHARED), yes)
LIBS += -Wl,-rpath=$(SPGLIB_LIB) -L$(SPGLIB_LIB) -lsymspg
else
LIBS += $(SPGLIB_LIB)/libsymspg.a
endif
endif
ifneq ($(USE_LIBXSMM),)
USE_LIBXSMM := $(strip $(USE_LIBXSMM))
LIBXSMM_INC := $(INSTALL_PATH)/libxsmm-$(USE_LIBXSMM)/include
LIBXSMM_LIB := $(INSTALL_PATH)/libxsmm-$(USE_LIBXSMM)/lib
CFLAGS += -I$(LIBXSMM_INC)
DFLAGS += -D__LIBXSMM
ifeq ($(SHARED), yes)
LIBS += -Wl,-rpath=$(LIBXSMM_LIB) -L$(LIBXSMM_LIB) -lxsmmf -lxsmm
else
LIBS += $(LIBXSMM_LIB)/libxsmmf.a
LIBS += $(LIBXSMM_LIB)/libxsmm.a
endif
endif
ifneq ($(USE_SIRIUS),)
USE_SIRIUS := $(strip $(USE_SIRIUS))
HDF5_VER := $(strip $(HDF5_VER))
HDF5_LIB := $(INSTALL_PATH)/hdf5-$(HDF5_VER)/lib
LIBVDWXC_VER := $(strip $(LIBVDWXC_VER))
LIBVDWXC_INC := $(INSTALL_PATH)/libvdwxc-$(LIBVDWXC_VER)/include
LIBVDWXC_LIB := $(INSTALL_PATH)/libvdwxc-$(LIBVDWXC_VER)/lib
SPFFT_VER := $(strip $(SPFFT_VER))
SPFFT_INC := $(INSTALL_PATH)/SpFFT-$(SPFFT_VER)/include
SPFFT_LIB := $(INSTALL_PATH)/SpFFT-$(SPFFT_VER)/lib
SPLA_VER := $(strip $(SPLA_VER))
SPLA_INC := $(INSTALL_PATH)/SpLA-$(SPLA_VER)/include/spla
SPLA_LIB := $(INSTALL_PATH)/SpLA-$(SPLA_VER)/lib
SIRIUS_INC := $(INSTALL_PATH)/sirius-$(USE_SIRIUS)/include
SIRIUS_LIB := $(INSTALL_PATH)/sirius-$(USE_SIRIUS)/lib
CFLAGS += -I$(LIBVDWXC_INC)
CFLAGS += -I$(SPFFT_INC)
CFLAGS += -I$(SPLA_INC)
CFLAGS += -I$(SIRIUS_INC)
DFLAGS += -D__HDF5
DFLAGS += -D__LIBVDWXC
DFLAGS += -D__SPFFT
DFLAGS += -D__SPLA
DFLAGS += -D__SIRIUS
ifeq ($(SHARED), yes)
LIBS += -Wl,-rpath=$(SIRIUS_LIB) -L$(SIRIUS_LIB) -lsirius
LIBS += -Wl,-rpath=$(SPLA_LIB) -L$(SPLA_LIB) -lspla
LIBS += -Wl,-rpath=$(SPFFT_LIB) -L$(SPFFT_LIB) -lspfft
LIBS += -Wl,-rpath=$(LIBVDWXC_LIB) -L$(LIBVDWXC_LIB) -lvdwxc
LIBS += -Wl,-rpath=$(HDF5_LIB) -L$(HDF5_LIB) -lhdf5
else
LIBS += $(SIRIUS_LIB)/libsirius.a
LIBS += $(SPLA_LIB)/libspla.a
LIBS += $(SPFFT_LIB)/libspfft.a
LIBS += $(LIBVDWXC_LIB)/libvdwxc.a
LIBS += $(HDF5_LIB)/libhdf5.a
endif
endif
ifneq ($(USE_COSMA),)
USE_COSMA := $(strip $(USE_COSMA))
COSMA_INC := $(INSTALL_PATH)/COSMA-$(USE_COSMA)/include
COSMA_LIB := $(INSTALL_PATH)/COSMA-$(USE_COSMA)/lib
CFLAGS += -I$(COSMA_INC)
DFLAGS += -D__COSMA
ifeq ($(SHARED), yes)
LIBS += -Wl,-rpath=$(COSMA_LIB) -L$(COSMA_LIB) -lcosma_prefixed_pxgemm -lcosma -lcosta
else
LIBS += $(COSMA_LIB)/libcosma_prefixed_pxgemm.a
LIBS += $(COSMA_LIB)/libcosma.a
LIBS += $(COSMA_LIB)/libcosta.a
endif
endif
ifneq ($(USE_FFTW),)
USE_FFTW := $(strip $(USE_FFTW))
FFTW_INC := $(INSTALL_PATH)/fftw-$(USE_FFTW)/include
FFTW_LIB := $(INSTALL_PATH)/fftw-$(USE_FFTW)/lib
CFLAGS += -I$(FFTW_INC)
DFLAGS += -D__FFTW3
ifeq ($(SHARED), yes)
LIBS += -Wl,-rpath=$(FFTW_LIB) -L$(FFTW_LIB) -lfftw3_mpi -lfftw3_omp -lfftw3
else
LIBS += $(FFTW_LIB)/libfftw3_mpi.a
LIBS += $(FFTW_LIB)/libfftw3_omp.a
LIBS += $(FFTW_LIB)/libfftw3.a
endif
endif
ifneq ($(USE_SCALAPACK),)
SCALAPACK_LIB := $(INSTALL_PATH)/scalapack-$(USE_SCALAPACK)/lib
ifeq ($(SHARED), yes)
LIBS += -Wl,-rpath=$(SCALAPACK_LIB) -L$(SCALAPACK_LIB) -lscalapack
else
LIBS += $(SCALAPACK_LIB)/libscalapack.a
endif
endif
ifneq ($(USE_GSL),)
USE_GSL := $(strip $(USE_GSL))
GSL_INC := $(INSTALL_PATH)/gsl-$(USE_GSL)/include
GSL_LIB := $(INSTALL_PATH)/gsl-$(USE_GSL)/lib
CFLAGS += -I$(GSL_INC)
DFLAGS += -D__GSL
ifeq ($(SHARED), yes)
LIBS += -Wl,-rpath=$(GSL_LIB) -L$(GSL_LIB) -lgsl
else
LIBS += $(GSL_LIB)/libgsl.a
endif
endif
ifneq ($(USE_OPENBLAS),)
USE_OPENBLAS := $(strip $(USE_OPENBLAS))
OPENBLAS_INC := $(INSTALL_PATH)/openblas-$(USE_OPENBLAS)/include
OPENBLAS_LIB := $(INSTALL_PATH)/openblas-$(USE_OPENBLAS)/lib
CFLAGS += -I$(OPENBLAS_INC)
ifeq ($(SHARED), yes)
LIBS += -Wl,-rpath=$(OPENBLAS_LIB) -L$(OPENBLAS_LIB) -lopenblas
else
LIBS += $(OPENBLAS_LIB)/libopenblas.a
endif
endif
ifeq ($(shell [ $(shell ldd --version | head -n 1 | tr -s '.' '\n' | tail -n 1) -ge 27 ] && echo yes), yes)
ifneq ($(USE_LIBTORCH),)
USE_LIBTORCH := $(strip $(USE_LIBTORCH))
LIBTORCH_INC := $(INSTALL_PATH)/libtorch-$(USE_LIBTORCH)/include
LIBTORCH_LIB := $(INSTALL_PATH)/libtorch-$(USE_LIBTORCH)/lib
CFLAGS += -I$(LIBTORCH_INC)
DFLAGS += -D__LIBTORCH
LIBS += -Wl,-rpath=$(LIBTORCH_LIB) -L$(LIBTORCH_LIB) -lc10 -ltorch_cpu -ltorch
endif
endif
CFLAGS += $(DFLAGS) $(CFLAGS_DEBUG)
CXXFLAGS := $(CFLAGS) --std=c++14
FCFLAGS := $(CFLAGS) $(FCFLAGS_DEBUG) $(WFLAGS)
ifeq ($(shell [ $(shell gcc -dumpversion | cut -d. -f1) -gt 9 ] && echo yes), yes)
FCFLAGS += -fallow-argument-mismatch
endif
FCFLAGS += -fbacktrace
FCFLAGS += -ffree-form
FCFLAGS += -ffree-line-length-none
FCFLAGS += -fno-omit-frame-pointer
FCFLAGS += -std=f2008
LDFLAGS += $(FCFLAGS)
LIBS += -lz -ldl -lstdc++
# End

View file

@ -1,58 +0,0 @@
#!/bin/bash
#
# CP2K (Intel/MKL x86_64) minimal arch file for Linux clusters
#
# Tested with: Intel(R) Fortran Intel(R) 64 Compiler Classic for applications running on Intel(R) 64, Version 2021.5.0
# Usage: Source this arch file after the module for Intel/MKL has been loaded if needed.
#
# Last update: 08.08.2022
#
# \
if [[ "${0}" == "${BASH_SOURCE}" ]]; then \
echo "ERROR: Script ${0##*/} must be sourced"; \
echo "Usage: source ${0##*/}"; \
exit 1; \
fi; \
this_file=${BASH_SOURCE##*/}; \
make -j ARCH=${this_file%.*} VERSION=${this_file##*.} realclean; \
make -j ARCH=${this_file%.*} VERSION=${this_file##*.}; \
return
CC = mpiicc
FC = mpiifort
LD = mpiifort
AR = ar -r
CFLAGS = -O2 -fopenmp -fp-model precise -funroll-loops -g -qopenmp-simd -traceback -xHost
DFLAGS = -D__FFTW3
DFLAGS += -D__MAX_CONTR=4
DFLAGS += -D__MKL
DFLAGS += -D__parallel
DFLAGS += -D__SCALAPACK
FCFLAGS = $(CFLAGS) $(DFLAGS)
FCFLAGS += -diag-disable=8291
FCFLAGS += -diag-disable=8293
FCFLAGS += -fpp
FCFLAGS += -free
FCFLAGS += -I$(MKLROOT)/include
FCFLAGS += -I$(MKLROOT)/include/fftw
LDFLAGS = $(FCFLAGS) -static-intel -static_mpi
LDFLAGS_C = -nofor-main
MKL_LIB = $(MKLROOT)/lib/intel64
LIBS = $(MKL_LIB)/libmkl_scalapack_lp64.a
LIBS += -Wl,--start-group
LIBS += $(MKL_LIB)/libmkl_intel_lp64.a
LIBS += $(MKL_LIB)/libmkl_sequential.a
LIBS += $(MKL_LIB)/libmkl_core.a
LIBS += $(MKL_LIB)/libmkl_blacs_intelmpi_lp64.a
LIBS += -Wl,--end-group
# Required due to memory leak that occurs if high optimisations are used
mp2_optimize_ri_basis.o: mp2_optimize_ri_basis.F
$(FC) -c $(subst O2,O0,$(FCFLAGS)) $<

View file

@ -1,353 +0,0 @@
#!/bin/bash
#
# CP2K (Intel/MKL x86_64) arch file for Linux clusters
#
# Tested with: Intel 22.2 , Intel MPI, Intel MKL,
# LIBINT 2.6.0, LIBXC 6.2.2, ELPA 2022.11.001,
# PLUMED 2.8.2, SPGLIB 1.16.2, LIBVORI 220621,
# GSL 2.7, COSMA 2.6.6
#
# Usage: Source this arch file and then run make as instructed.
# A full toolchain installation is performed as default.
# Optionally, the Intel compiler version can be specified as argument.
# Replace or adapt the "module add" commands below if needed.
#
# Last update: 21.06.2023
#
# \
if [[ "${0}" == "${BASH_SOURCE}" ]]; then \
echo "ERROR: Script ${0##*/} must be sourced"; \
echo "Usage: source ${0##*/}"; \
exit 1; \
fi; \
this_file=${BASH_SOURCE##*/}; \
cd tools/toolchain; \
[[ -z "${target_cpu}" ]] && target_cpu="native"; \
if [[ -n "${1}" ]]; then \
module add ${1}; \
module list; \
fi; \
./install_cp2k_toolchain.sh --install-all -j${maxtasks} --no-arch-files --target-cpu=${target_cpu} --with-intelmpi --with-mkl --with-sirius=no --with-libtorch=no; \
source ./install/setup; \
cd ../..; \
echo; \
echo "Check the output above for error messages and consistency!"; \
echo; \
echo "If everything is OK, you can build a CP2K production binary with"; \
echo " make -j ARCH=${this_file%.*} VERSION=${this_file##*.}"; \
echo; \
echo "Alternatively, you can add further checks, e.g. for regression testing, with"; \
echo " make -j ARCH=${this_file%.*} VERSION=${this_file##*.} DO_CHECKS=yes"; \
echo "or build CP2K only with shared libraries using"; \
echo " make -j ARCH=${this_file%.*} VERSION=${this_file##*.} SHARED=yes"; \
echo "or build CP2K as a library with"; \
echo " make -j ARCH=${this_file%.*} VERSION=${this_file##*.} libcp2k"; \
echo; \
echo "Run always the following command before using the CP2K binary"; \
echo " source ${PWD}/tools/toolchain/install/setup"; \
echo; \
return
# Set options
DO_CHECKS := no
SHARED := no
TARGET_CPU := native
USE_COSMA := 2.6.6
USE_ELPA := 2022.11.001
USE_LIBINT := 2.6.0
USE_LIBPEXSI := 1.2.0
#USE_LIBTORCH := 1.12.1
USE_LIBVORI := 220621
USE_LIBXC := 6.2.2
USE_LIBXSMM := 1.17
USE_PLUMED := 2.8.2
#USE_SIRIUS := 7.4.3
USE_SPGLIB := 1.16.2
# Only needed for SIRIUS
LIBVDWXC_VER := 0.4.0
SPFFT_VER := 1.0.6
SPLA_VER := 1.5.5
HDF5_VER := 1.12.0
# Only needed for LIBPEXSI
SCOTCH_VER := 6.0.0
SUPERLU_VER := 6.1.0
LMAX := 5
MAX_CONTR := 4
CC := mpiicc
FC := mpiifort
LD := mpiifort
AR := ar -r
ifeq ($(strip $(TARGET_CPU)), native)
CFLAGS := -O2 -fPIC -fp-model precise -funroll-loops -g -qopenmp -qopenmp-simd -traceback -xHost
else
CFLAGS := -O2 -fPIC -fp-model precise -funroll-loops -g -mtune=$(TARGET_CPU) -qopenmp -qopenmp-simd -traceback
endif
DFLAGS := -D__parallel
DFLAGS += -D__SCALAPACK
DFLAGS += -D__MKL
DFLAGS += -D__FFTW3
DFLAGS += -D__MAX_CONTR=$(strip $(MAX_CONTR))
INSTALL_PATH := $(PWD)/tools/toolchain/install
MKL_LIB := $(MKLROOT)/lib/intel64
ifeq ($(SHARED), yes)
LD_SHARED := $(FC) -shared
CFLAGS += -fPIC
LDFLAGS := -Wl,--enable-new-dtags
CP2K_LIB := $(PWD)/lib/$(ARCH)/$(ONEVERSION)
LDFLAGS += -Wl,-rpath=$(CP2K_LIB)
LDFLAGS += -Wl,-rpath=$(CP2K_LIB)/exts/dbcsr
else
LDFLAGS := -static-intel -static_mpi
endif
# Settings for regression testing
ifeq ($(DO_CHECKS), yes)
DFLAGS += -D__CHECK_DIAG
endif
ifneq ($(USE_PLUMED),)
USE_PLUMED := $(strip $(USE_PLUMED))
PLUMED_LIB := $(INSTALL_PATH)/plumed-$(USE_PLUMED)/lib
DFLAGS += -D__PLUMED2
USE_GSL := 2.7
ifeq ($(SHARED), yes)
LIBS += -Wl,-rpath=$(PLUMED_LIB) -L$(PLUMED_LIB) -lplumed -lplumedKernel
else
LIBS += $(PLUMED_LIB)/libplumed.a
endif
endif
ifneq ($(USE_ELPA),)
USE_ELPA := $(strip $(USE_ELPA))
ELPA_INC := $(INSTALL_PATH)/elpa-$(USE_ELPA)/cpu/include/elpa_openmp-$(USE_ELPA)
ELPA_LIB := $(INSTALL_PATH)/elpa-$(USE_ELPA)/cpu/lib
CFLAGS += -I$(ELPA_INC)/elpa -I$(ELPA_INC)/modules
DFLAGS += -D__ELPA
ifeq ($(SHARED), yes)
LIBS += -Wl,-rpath=$(ELPA_LIB) -L$(ELPA_LIB) -lelpa_openmp
else
LIBS += $(ELPA_LIB)/libelpa_openmp.a
endif
endif
ifneq ($(USE_LIBPEXSI),)
USE_LIBPEXSI := $(strip $(USE_LIBPEXSI))
SCOTCH_VER := $(strip $(SCOTCH_VER))
SUPERLU_VER := $(strip $(SUPERLU_VER))
LIBPEXSI_INC := $(INSTALL_PATH)/pexsi-$(USE_LIBPEXSI)/include
LIBPEXSI_LIB := $(INSTALL_PATH)/pexsi-$(USE_LIBPEXSI)/lib
SCOTCH_INC := $(INSTALL_PATH)/scotch-$(SCOTCH_VER)/include
SCOTCH_LIB := $(INSTALL_PATH)/scotch-$(SCOTCH_VER)/lib
SUPERLU_INC := $(INSTALL_PATH)/superlu_dist-$(SUPERLU_VER)/include
SUPERLU_LIB := $(INSTALL_PATH)/superlu_dist-$(SUPERLU_VER)/lib
CFLAGS += -I$(LIBPEXSI_INC) -I$(SCOTCH_INC) -I$(SUPERLU_INC)
DFLAGS += -D__LIBPEXSI
LIBS += $(LIBPEXSI_LIB)/libpexsi.a
LIBS += $(SUPERLU_LIB)/libsuperlu_dist.a
LIBS += $(SCOTCH_LIB)/libptscotchparmetis.a
LIBS += $(SCOTCH_LIB)/libptscotch.a
LIBS += $(SCOTCH_LIB)/libptscotcherr.a
LIBS += $(SCOTCH_LIB)/libscotchmetis.a
LIBS += $(SCOTCH_LIB)/libscotch.a
endif
ifneq ($(USE_LIBVORI),)
USE_LIBVORI := $(strip $(USE_LIBVORI))
LIBVORI_LIB := $(INSTALL_PATH)/libvori-$(USE_LIBVORI)/lib
DFLAGS += -D__LIBVORI
ifeq ($(SHARED), yes)
LIBS += -Wl,-rpath=$(LIBVORI_LIB) -L$(LIBVORI_LIB) -lvori
else
LIBS += $(LIBVORI_LIB)/libvori.a
endif
endif
ifneq ($(USE_LIBXC),)
USE_LIBXC := $(strip $(USE_LIBXC))
LIBXC_INC := $(INSTALL_PATH)/libxc-$(USE_LIBXC)/include
LIBXC_LIB := $(INSTALL_PATH)/libxc-$(USE_LIBXC)/lib
CFLAGS += -I$(LIBXC_INC)
DFLAGS += -D__LIBXC
ifeq ($(SHARED), yes)
LIBS += -Wl,-rpath=$(LIBXC_LIB) -L$(LIBXC_LIB) -lxcf03 -lxc
else
LIBS += $(LIBXC_LIB)/libxcf03.a
LIBS += $(LIBXC_LIB)/libxc.a
endif
endif
ifneq ($(USE_LIBINT),)
USE_LIBINT := $(strip $(USE_LIBINT))
LMAX := $(strip $(LMAX))
LIBINT_INC := $(INSTALL_PATH)/libint-v$(USE_LIBINT)-cp2k-lmax-$(LMAX)/include
LIBINT_LIB := $(INSTALL_PATH)/libint-v$(USE_LIBINT)-cp2k-lmax-$(LMAX)/lib
CFLAGS += -I$(LIBINT_INC)
DFLAGS += -D__LIBINT
ifeq ($(SHARED), yes)
LIBS += -Wl,-rpath=$(LIBINT_LIB) -L$(LIBINT_LIB) -lint2
else
LIBS += $(LIBINT_LIB)/libint2.a
LIBS += $(LIBINT_LIB)/libint2.a
endif
endif
ifneq ($(USE_SPGLIB),)
USE_SPGLIB := $(strip $(USE_SPGLIB))
SPGLIB_INC := $(INSTALL_PATH)/spglib-$(USE_SPGLIB)/include
SPGLIB_LIB := $(INSTALL_PATH)/spglib-$(USE_SPGLIB)/lib
CFLAGS += -I$(SPGLIB_INC)
DFLAGS += -D__SPGLIB
ifeq ($(SHARED), yes)
LIBS += -Wl,-rpath=$(SPGLIB_LIB) -L$(SPGLIB_LIB) -lsymspg
else
LIBS += $(SPGLIB_LIB)/libsymspg.a
endif
endif
ifneq ($(USE_LIBXSMM),)
USE_LIBXSMM := $(strip $(USE_LIBXSMM))
LIBXSMM_INC := $(INSTALL_PATH)/libxsmm-$(USE_LIBXSMM)/include
LIBXSMM_LIB := $(INSTALL_PATH)/libxsmm-$(USE_LIBXSMM)/lib
CFLAGS += -I$(LIBXSMM_INC)
DFLAGS += -D__LIBXSMM
ifeq ($(SHARED), yes)
LIBS += -Wl,-rpath=$(LIBXSMM_LIB) -L$(LIBXSMM_LIB) -lxsmmf -lxsmm
else
LIBS += $(LIBXSMM_LIB)/libxsmmf.a
LIBS += $(LIBXSMM_LIB)/libxsmm.a
endif
endif
ifneq ($(USE_SIRIUS),)
USE_SIRIUS := $(strip $(USE_SIRIUS))
HDF5_VER := $(strip $(HDF5_VER))
HDF5_LIB := $(INSTALL_PATH)/hdf5-$(HDF5_VER)/lib
LIBVDWXC_VER := $(strip $(LIBVDWXC_VER))
LIBVDWXC_INC := $(INSTALL_PATH)/libvdwxc-$(LIBVDWXC_VER)/include
LIBVDWXC_LIB := $(INSTALL_PATH)/libvdwxc-$(LIBVDWXC_VER)/lib
SPFFT_VER := $(strip $(SPFFT_VER))
SPFFT_INC := $(INSTALL_PATH)/SpFFT-$(SPFFT_VER)/include
SPFFT_LIB := $(INSTALL_PATH)/SpFFT-$(SPFFT_VER)/lib
SPLA_VER := $(strip $(SPLA_VER))
SPLA_INC := $(INSTALL_PATH)/SpLA-$(SPLA_VER)/include/spla
SPLA_LIB := $(INSTALL_PATH)/SpLA-$(SPLA_VER)/lib
SIRIUS_INC := $(INSTALL_PATH)/sirius-$(USE_SIRIUS)/include
SIRIUS_LIB := $(INSTALL_PATH)/sirius-$(USE_SIRIUS)/lib
CFLAGS += -I$(LIBVDWXC_INC)
CFLAGS += -I$(SPFFT_INC)
CFLAGS += -I$(SPLA_INC)
CFLAGS += -I$(SIRIUS_INC)
DFLAGS += -D__HDF5
DFLAGS += -D__LIBVDWXC
DFLAGS += -D__SPFFT
DFLAGS += -D__SPLA
DFLAGS += -D__SIRIUS
ifeq ($(SHARED), yes)
LIBS += -Wl,-rpath=$(SIRIUS_LIB) -L$(SIRIUS_LIB) -lsirius
LIBS += -Wl,-rpath=$(SPLA_LIB) -L$(SPLA_LIB) -lspla
LIBS += -Wl,-rpath=$(SPFFT_LIB) -L$(SPFFT_LIB) -lspfft
LIBS += -Wl,-rpath=$(LIBVDWXC_LIB) -L$(LIBVDWXC_LIB) -lvdwxc
LIBS += -Wl,-rpath=$(HDF5_LIB) -L$(HDF5_LIB) -lhdf5
else
LIBS += $(SIRIUS_LIB)/libsirius.a
LIBS += $(SPLA_LIB)/libspla.a
LIBS += $(SPFFT_LIB)/libspfft.a
LIBS += $(LIBVDWXC_LIB)/libvdwxc.a
LIBS += $(HDF5_LIB)/libhdf5.a
endif
endif
ifneq ($(USE_COSMA),)
USE_COSMA := $(strip $(USE_COSMA))
COSMA_INC := $(INSTALL_PATH)/COSMA-$(USE_COSMA)/include
COSMA_LIB := $(INSTALL_PATH)/COSMA-$(USE_COSMA)/lib
CFLAGS += -I$(COSMA_INC)
DFLAGS += -D__COSMA
ifeq ($(SHARED), yes)
LIBS += -Wl,-rpath=$(COSMA_LIB) -L$(COSMA_LIB) -lcosma_prefixed_pxgemm -lcosma -lcosta
else
LIBS += $(COSMA_LIB)/libcosma_prefixed_pxgemm.a
LIBS += $(COSMA_LIB)/libcosma.a
LIBS += $(COSMA_LIB)/libcosta.a
endif
endif
ifneq ($(USE_GSL),)
USE_GSL := $(strip $(USE_GSL))
GSL_INC := $(INSTALL_PATH)/gsl-$(USE_GSL)/include
GSL_LIB := $(INSTALL_PATH)/gsl-$(USE_GSL)/lib
CFLAGS += -I$(GSL_INC)
DFLAGS += -D__GSL
ifeq ($(SHARED), yes)
LIBS += -Wl,-rpath=$(GSL_LIB) -L$(GSL_LIB) -lgsl
else
LIBS += $(GSL_LIB)/libgsl.a
endif
endif
ifeq ($(SHARED), yes)
LIBS += -Wl,-rpath=$(MKL_LIB) -L$(MKL_LIB) -lmkl_scalapack_lp64
LIBS += -Wl,--start-group
LIBS += -lmkl_intel_lp64
LIBS += -lmkl_sequential
LIBS += -lmkl_core
LIBS += -lmkl_blacs_intelmpi_lp64
LIBS += -Wl,--end-group
else
LIBS += $(MKL_LIB)/libmkl_scalapack_lp64.a
LIBS += -Wl,--start-group
LIBS += $(MKL_LIB)/libmkl_intel_lp64.a
LIBS += $(MKL_LIB)/libmkl_sequential.a
LIBS += $(MKL_LIB)/libmkl_core.a
LIBS += $(MKL_LIB)/libmkl_blacs_intelmpi_lp64.a
LIBS += -Wl,--end-group
endif
ifeq ($(shell [ $(shell ldd --version | head -n 1 | tr -s '.' '\n' | tail -n 1) -ge 27 ] && echo yes), yes)
ifneq ($(USE_LIBTORCH),)
USE_LIBTORCH := $(strip $(USE_LIBTORCH))
LIBTORCH_INC := $(INSTALL_PATH)/libtorch-$(USE_LIBTORCH)/include
LIBTORCH_LIB := $(INSTALL_PATH)/libtorch-$(USE_LIBTORCH)/lib
CFLAGS += -I$(LIBTORCH_INC)
DFLAGS += -D__LIBTORCH
LIBS += -Wl,-rpath=$(LIBTORCH_LIB) -L$(LIBTORCH_LIB) -lc10 -ltorch_cpu -ltorch
endif
endif
CFLAGS += $(DFLAGS)
CFLAGS += -I$(MKLROOT)/include
CFLAGS += -I$(MKLROOT)/include/fftw
CXXFLAGS := $(CFLAGS) -std=c++14
FCFLAGS := $(CFLAGS)
FCFLAGS += -diag-disable=8291
FCFLAGS += -diag-disable=8293
FCFLAGS += -fpp
FCFLAGS += -fpscomp logicals
FCFLAGS += -free
FCFLAGS += -std08
LDFLAGS += $(FCFLAGS)
LDFLAGS_C := -nofor-main
LIBS += -lz -lstdc++
# Required due to memory leak that occurs if high optimisations are used
mp2_optimize_ri_basis.o: mp2_optimize_ri_basis.F
$(FC) -c $(subst O2,O0,$(FCFLAGS)) $<
# Required due to SEGFAULTS occurring for higher optimisation levels
paw_basis_types.o: paw_basis_types.F
$(FC) -c $(subst O2,O1,$(FCFLAGS)) $<
# Reduce compilation time
hfx_contraction_methods.o: hfx_contraction_methods.F
$(FC) -c $(subst -O2,-O1,$(FCFLAGS)) $<
# End

View file

@ -1,89 +0,0 @@
# Tested with: GFortran 9.4.0, Intel MPI, Intel MKL,
# LIBINT 2.6.0, LIBXC 5.1.6, ELPA 2021.05.002,
# PLUMED 2.7.2, LIBXSMM
CC = mpicc
FC = mpifort
LD = mpifort
AR = gcc-ar -r
GPUVER = P100
OFFLOAD_TARGET = opencl
GNU_PATH ?= $(HOME)
MPI_PATH ?= $(GNU_PATH)
include $(MPI_PATH)/plumed2/gnu/lib/plumed/src/lib/Plumed.inc.static
BLAS_INC = $(MKLROOT)/include
BLAS_LIB = -Wl,--start-group \
$(MKLROOT)/lib/intel64/libmkl_scalapack_lp64.a \
$(MKLROOT)/lib/intel64/libmkl_gf_lp64.a \
$(MKLROOT)/lib/intel64/libmkl_core.a \
$(MKLROOT)/lib/intel64/libmkl_gnu_thread.a \
$(MKLROOT)/lib/intel64/libmkl_blacs_intelmpi_lp64.a \
-Wl,--end-group
# ELPA 2021.05.002
ELPA_INC = $(MPI_PATH)/elpa/gnu/include/elpa
ELPA_LIB = $(MPI_PATH)/elpa/gnu/lib
LIBINT_INC = $(GNU_PATH)/libint/gnu/include
LIBINT_LIB = $(GNU_PATH)/libint/gnu/lib
LIBXC_INC = $(GNU_PATH)/libxc/gnu/include
LIBXC_LIB = $(GNU_PATH)/libxc/gnu/lib
LIBXSMM_INC = $(GNU_PATH)/libxsmm/include
LIBXSMM_LIB = $(GNU_PATH)/libxsmm/lib
CFLAGS = -O2 -fopenmp -fopenmp-simd -ftree-vectorize -funroll-loops -g -march=native -mtune=native
DFLAGS += -D__DBCSR_ACC
DFLAGS += -D__ELPA
DFLAGS += -D__MKL -D__FFTW3
DFLAGS += -D__LIBINT -D__MAX_CONTR=4
DFLAGS += -D__LIBXC
DFLAGS += -D__LIBXSMM
DFLAGS += -D__PLUMED2
DFLAGS += -D__parallel
DFLAGS += -D__SCALAPACK
#DFLAGS += -D__CHECK_DIAG
FCFLAGS = $(CFLAGS) $(DFLAGS)
FCFLAGS += -fbacktrace
FCFLAGS += -ffree-form
FCFLAGS += -ffree-line-length-none
FCFLAGS += -fno-omit-frame-pointer
FCFLAGS += -std=f2008
FCFLAGS += -I$(BLAS_INC) -I$(BLAS_INC)/fftw
FCFLAGS += -I$(ELPA_INC)/elpa -I$(ELPA_INC)/modules
FCFLAGS += -I$(LIBINT_INC)
FCFLAGS += -I$(LIBXC_INC)
FCFLAGS += -I$(LIBXSMM_INC)
LDFLAGS = $(CFLAGS) -static-libgfortran
LIBS = $(PLUMED_DEPENDENCIES) -lz
LIBS += $(ELPA_LIB)/libelpa.a
LIBS += $(LIBXC_LIB)/libxcf03.a
LIBS += $(LIBXC_LIB)/libxc.a
LIBS += $(LIBINT_LIB)/libint2.a
LIBS += $(LIBXSMM_LIB)/libxsmmf.a
LIBS += $(LIBXSMM_LIB)/libxsmm.a
LIBS += $(BLAS_LIB)
LIBS += -ldl -lstdc++
# collect header and/or library from non-default location
ifeq (,$(CUDATOOLKIT_HOME))
CUDATOOLKIT_HOME := $(NVSDKCOMPUTE_ROOT)
endif
ifeq (,$(CUDATOOLKIT_HOME))
NVCC := $(call which,nvcc)
CUDATOOLKIT_HOME := $(if $(NVCC),$(abspath $(dir $(NVCC))/..))
endif
ifneq (,$(CUDATOOLKIT_HOME))
LDFLAGS += -L$(CUDATOOLKIT_HOME)/lib64
LDFLAGS += -Wl,-rpath=$(CUDATOOLKIT_HOME)/lib64
endif
LIBS += -lOpenCL

View file

@ -1,20 +0,0 @@
#
# gfortran arch file, recommended to use gfortran >= 4.6
# building libraries (fftw3, libint, libxc, scalapack, smm) is needed to use this arch file
# sdbg is intended for serial code development, not production
#
CC = cc
FC = gfortran
LD = gfortran
AR = ar -r
DFLAGS =
FCFLAGS = -O0 -fstrict-aliasing -fbacktrace -g -fbounds-check -ffree-form -fdump-fortran-original -fopenmp $(DFLAGS)
CFLAGS = -fopenmp $(DFLAGS)
LDFLAGS = $(FCFLAGS)
LIBS = -lopenblas
FCLOGPIPE = > $(notdir $<).ast
export LC_ALL=C
#EOF

View file

@ -1,22 +0,0 @@
# This configuration was tested on a Centos 7 with the EPEL repository configured
# and a Fedora 29 Docker image with the following packages installed:
# mingw64-gcc-gfortran mingw64-gcc-c++ mingw64-winpthreads-static
# OpenBLAS was built with the following command:
# make BINARY=64 CC=x86_64-w64-mingw32-gcc FC=x86_64-w64-mingw32-gfortran HOSTCC=gcc TARGET=CORE2
# The result is a minimal standalone binary running on Windows when built with
# make OPENBLAS_LIBPATH=<path to OpenBLAS> ARCH=Linux-x86-64-mingw64-minimal VERSION=sopt
# If you do not have a Fedora or Centos yet but have Docker, you can use the following two commands
# to build CP2K via a Fedora Docker container:
# docker build -f tools/docker/Dockerfile.build_mingw64 -t cp2k/mingw64:latest tools/docker
# docker run --rm -v $(pwd):/cp2k --user $(id -u):$(id -g) cp2k/mingw64
CC = x86_64-w64-mingw32-gcc
CXX = x86_64-w64-mingw32-g++
FC = x86_64-w64-mingw32-gfortran
LD = x86_64-w64-mingw32-gfortran
AR = x86_64-w64-mingw32-ar -r
DFLAGS = -D__NO_STATM_ACCESS -D__NO_IPI_DRIVER -D__MINGW
CFLAGS = $(DFLAGS) -O2
FCFLAGS = $(DFLAGS) -O2 -ffree-form -ffree-line-length-none \
-ftree-vectorize -funroll-loops -std=f2008
LDFLAGS = $(FCFLAGS) -static
LIBS = $(OPENBLAS_LIBPATH)/libopenblas.a

View file

@ -1,11 +0,0 @@
CC = nvc
CXX = nvc++
AR = ar -r
FC = nvfortran
LD = nvfortran
CFLAGS = -mp --diag_suppress=const_var_in_C_const_expr,unrecognized_gcc_pragma,code_is_unreachable
FCFLAGS = -mp -Mbackslash -silent
CXXFLAGS = -mp
LDFLAGS = -mp
LIBS = -lopenblas -fortranlibs -c++libs

View file

@ -1,12 +0,0 @@
# Minimal arch file for CP2K, with minimal dependencies.
# With this setup, all of CP2K can be pasted together in a single .f90 file:
# https://www.dropbox.com/s/18oi02srbot3h9p/cp2k_single_file.f90.gz
CC = gcc -g
CXX = g++ -g
AR = ar -r
FC = gfortran -g
LD = gfortran
CFLAGS = -fopenmp
FCFLAGS = -fopenmp -ffree-form
LDFLAGS = -fopenmp
LIBS = -lopenblas

View file

@ -0,0 +1,457 @@
&GLOBAL
PREFERRED_DIAG_LIBRARY ScaLAPACK
PRINT_LEVEL low
PROJECT H2O-128_md
RUN_TYPE MD
&END GLOBAL
&MOTION
&MD
ENSEMBLE NVE
STEPS 4
TEMPERATURE 300.0
TIMESTEP 0.5
&END MD
&END MOTION
&FORCE_EVAL
METHOD Quickstep
&DFT
BASIS_SET_FILE_NAME GTH_BASIS_SETS
POTENTIAL_FILE_NAME POTENTIAL
&MGRID
CUTOFF 480
REL_CUTOFF 60
&END MGRID
&PRINT
&HIRSHFELD off
&END HIRSHFELD
&MULLIKEN off
&END MULLIKEN
&END PRINT
&QS
EPS_DEFAULT 1.0E-14
&END QS
&SCF
EPS_SCF 1.0E-7
MAX_SCF 20
SCF_GUESS atomic
&OT on
MINIMIZER CG
PRECONDITIONER FULL_SINGLE_INVERSE
&END OT
&OUTER_SCF on
EPS_SCF 1.0E-7
MAX_SCF 3
&END OUTER_SCF
&PRINT
&RESTART off
&END RESTART
&END PRINT
&END SCF
&XC
&XC_FUNCTIONAL PBE
&END XC_FUNCTIONAL
&END XC
&END DFT
&SUBSYS
&CELL
ABC 15.6404 15.6404 15.6404
&END CELL
# 128 H2O (TIP5P,1bar,300K) a = 15.6404
&COORD
O 4.963362 8.433745 6.522726
O 8.071195 10.247451 13.276063
O 13.850862 12.652854 15.313528
O 10.628770 14.045936 13.059901
O 6.325463 12.328145 3.498946
O 3.583600 12.446390 8.539707
O 14.871126 15.358423 8.766155
O 13.901523 10.863702 1.750201
O 14.067166 0.862917 3.662820
O 10.133858 15.114355 5.659292
O 12.335899 11.027651 13.245276
O 11.020881 3.916524 5.030404
O 9.394684 6.531654 5.826834
O 11.080390 7.885268 7.198950
O 8.896688 8.249600 3.615318
O 7.353156 1.137779 5.346406
O 14.726780 7.918215 10.773641
O 1.861458 11.989979 2.208095
O 5.043121 6.543380 9.229162
O 8.759694 11.116925 3.548469
O 6.997656 8.373444 9.806165
O 6.063005 12.809828 7.806901
O 10.366591 5.779853 2.712706
O 1.542969 4.767262 12.213947
O 10.685570 14.507915 8.519941
O 12.849421 13.198702 9.038657
O 0.963120 14.402597 12.834647
O 7.797670 4.829150 12.447033
O 3.835427 3.788119 12.965881
O 3.376860 4.479186 1.446663
O 2.947460 1.489874 9.046559
O 3.108796 14.723769 5.201095
O 15.204514 8.599951 0.959433
O 15.219684 4.238425 15.684030
O 4.100649 1.057601 2.040112
O 11.001052 2.229682 10.064311
O 0.478278 0.949105 2.102755
O 13.497545 5.548164 10.181923
O 7.506276 1.277199 9.722916
O 7.428299 4.380540 1.411980
O 7.928952 14.363028 9.316256
O 0.355839 11.996260 13.602596
O 10.664734 7.760921 14.011072
O 2.130951 6.397562 4.547882
O 6.997688 7.117398 14.170903
O 9.843852 1.807540 1.906473
O 4.765738 9.146359 2.409067
O 4.102297 1.274905 6.068037
O 15.014340 11.743955 4.053518
O 12.695114 13.021970 5.787211
O 13.858302 3.507332 4.146316
O 7.022070 10.109293 7.424303
O 5.539291 5.159365 2.927469
O 9.768643 11.517745 11.838411
O 10.503632 1.060928 12.343495
O 5.637836 14.137294 5.298814
O 13.230577 15.494257 12.417538
O 10.087712 12.367132 5.676113
O 3.823444 11.248314 3.611973
O 2.764628 9.932668 12.219621
O 6.337327 1.214539 14.384465
O 9.932541 13.322345 2.141626
O 8.026468 1.856250 12.446566
O 12.678267 4.212245 7.543967
O 13.171058 4.494997 1.771265
O 1.270597 13.402991 7.043142
O 2.561666 15.503539 15.004783
O 9.418846 5.882450 0.091388
O 13.279532 8.467153 13.191095
O 14.784685 10.103797 9.128104
O 5.420783 3.626432 15.485019
O 5.484596 2.586023 3.716333
O 13.407464 7.649770 5.701169
O 14.491627 2.828827 13.502603
O 6.975558 5.474364 6.932584
O 3.311237 6.301528 6.829047
O 0.998842 3.600800 9.862514
O 9.866483 10.306933 7.180898
O 2.074137 10.679976 15.509320
O 11.018416 9.906723 0.630304
O 1.183950 1.843702 7.098684
O 14.873704 5.527544 6.848733
O 2.173299 7.943131 2.110457
O 4.449383 11.930616 11.079086
O 1.710425 14.756574 10.096897
O 6.694784 0.922595 1.239003
O 4.564438 11.918442 15.363533
O 5.477639 4.707670 11.065326
O 11.342444 0.223097 3.577043
O 7.426077 12.972512 11.521810
O 11.491853 1.563182 7.107076
O 4.794353 4.113581 6.561312
O 11.305735 3.619278 0.282229
O 1.481140 5.957409 8.624482
O 0.119546 10.931817 6.783795
O 2.484663 6.791214 15.186771
O 13.950657 12.916459 11.346835
O 6.051702 14.320089 13.213208
O 2.417817 14.602343 2.749723
O 3.040699 10.496700 6.149311
O 8.648120 3.218837 3.744312
O 5.305757 2.668899 9.163911
O 6.031135 7.542813 4.011356
O 15.264572 0.530244 15.103544
O 1.202379 11.443873 10.338401
O 14.305770 2.092612 10.350492
O 7.239758 12.387106 14.813865
O 7.341353 9.684340 0.723854
O 5.857541 9.676357 11.912006
O 15.332365 7.094962 14.318822
O 10.447327 8.207812 9.585339
O 9.866363 4.445989 10.955351
O 13.658983 0.219428 6.214705
O 7.322356 13.965677 1.578063
O 0.644540 4.039583 5.338294
O 11.742745 10.899134 8.906616
O 0.863237 3.520934 2.306355
O 12.841333 10.018102 4.330247
O 8.609050 2.288503 7.430427
O 11.067694 12.559978 15.366360
O 11.923672 3.212040 13.107757
O 11.306237 6.632227 11.461951
O 12.437417 7.860470 2.936097
O 1.645609 7.437039 11.743266
O 10.045665 4.639989 7.951130
O 3.297915 13.397525 13.230354
O 2.464454 1.557718 12.716823
O 4.302185 8.124888 13.787389
H 4.581468 7.718593 7.031593
H 5.435252 7.997984 5.813033
H 8.381737 9.538324 13.839031
H 7.875012 10.964336 13.879239
H 14.014609 12.142905 16.106856
H 14.391871 12.234836 14.643601
H 10.739569 13.533892 13.861004
H 10.132364 13.472919 12.475551
H 5.425531 12.003488 3.468104
H 6.310811 13.012792 4.167733
H 2.831114 13.037692 8.558619
H 3.397989 11.844750 7.818728
H 14.215688 14.710076 8.508709
H 14.915685 15.962115 8.024669
H 14.442896 10.979475 2.531061
H 13.131333 10.387571 2.060586
H 13.235552 0.480036 3.383444
H 14.167503 0.581424 4.572175
H 9.268459 15.423495 5.391430
H 10.724909 15.435978 4.978521
H 12.682383 11.900242 13.058822
H 11.530377 10.974348 12.730956
H 10.862047 3.493530 5.874252
H 11.866334 3.570906 4.744068
H 10.010906 6.860110 6.481524
H 9.772826 5.701645 5.536446
H 10.713257 8.747058 7.002065
H 10.930529 7.769221 8.137196
H 9.008071 7.846692 4.476416
H 9.404635 7.694874 3.023287
H 7.885169 1.417698 6.091281
H 6.462912 1.407047 5.572662
H 14.465524 8.122806 11.671483
H 14.387942 7.036249 10.620165
H 1.079976 11.549099 2.541476
H 1.854266 11.812527 1.267515
H 5.627954 7.254025 9.492195
H 5.358566 6.280575 8.364489
H 8.728012 10.160756 3.517346
H 7.843327 11.389131 3.499416
H 7.064983 9.034969 9.117627
H 6.681536 8.854422 10.570991
H 6.096247 13.255760 6.960573
H 5.135401 12.812072 8.043075
H 10.251809 4.879805 3.017615
H 11.247569 6.019998 2.999828
H 2.425379 4.423632 12.353605
H 1.622138 5.706596 12.380127
H 10.435334 14.464737 7.597038
H 9.863861 14.392213 8.997057
H 12.151749 13.846631 8.940295
H 12.401656 12.354243 8.987406
H 1.041376 14.716046 11.933616
H 0.431193 15.065997 13.274178
H 7.657165 5.609226 12.983662
H 7.113550 4.871097 11.778862
H 4.492907 4.226503 12.425723
H 4.197120 3.813194 13.851760
H 3.028991 5.174958 0.888880
H 2.608925 4.123752 1.894070
H 2.354380 1.561214 8.298628
H 2.601814 2.111564 9.687076
H 2.496453 14.284442 5.791230
H 2.669671 14.716265 4.350599
H 14.931000 9.483201 0.711861
H 14.543448 8.311558 1.588759
H 14.806603 3.662787 15.040418
H 15.806913 4.791820 15.169104
H 3.487941 1.365078 1.372072
H 3.735668 0.223182 2.334673
H 10.930358 1.492019 10.670189
H 11.783438 2.701109 10.350422
H 0.373431 0.943162 1.151333
H -0.331325 0.562024 2.435836
H 13.328483 5.602953 9.241365
H 13.904987 4.690509 10.302961
H 7.979807 1.447145 10.537237
H 7.699278 0.361971 9.519594
H 7.879980 3.677583 1.878957
H 6.921010 4.830270 2.087726
H 7.276262 13.850239 8.839522
H 7.900170 14.017994 10.208643
H 0.566590 12.917379 13.449771
H 0.097504 11.663383 12.743127
H 10.275806 6.980124 14.405182
H 10.496386 7.665796 13.073607
H 2.563595 6.556361 3.708934
H 1.500251 7.112689 4.631806
H 7.206023 7.863029 13.607998
H 6.088301 7.261122 14.432801
H 9.059286 1.416705 1.521847
H 9.511490 2.498088 2.479979
H 5.181015 8.567468 3.048333
H 3.954045 8.698238 2.171213
H 3.323672 1.528105 6.563885
H 3.866094 0.442374 5.658975
H 14.146610 12.079728 4.278314
H 15.272574 11.219653 4.811577
H 12.716562 12.455880 6.558777
H 11.770411 13.059590 5.542791
H 14.153945 2.652228 3.833869
H 13.419264 3.899892 3.391747
H 6.656515 10.977596 7.255036
H 6.361994 9.501768 7.090470
H 4.712486 5.080316 2.451678
H 5.521694 4.441294 3.560158
H 9.189146 10.923676 12.315377
H 9.179345 12.154039 11.433330
H 10.671879 0.186135 12.693725
H 9.549978 1.142946 12.350583
H 4.689829 14.268322 5.317390
H 5.985844 14.953053 4.938731
H 12.546401 14.844149 12.257863
H 12.876821 16.308055 12.058620
H 9.756019 13.254250 5.814793
H 9.607961 12.048315 4.911635
H 3.064895 11.422889 3.054873
H 4.291140 10.542078 3.166190
H 2.001271 10.248909 12.702851
H 2.907174 10.590416 11.538974
H 5.648267 1.877288 14.431286
H 6.585421 1.061461 15.296193
H 9.740490 12.519628 2.626387
H 10.584255 13.059982 1.491498
H 7.455032 1.571433 13.159709
H 7.941730 2.809647 12.437319
H 13.106722 3.411333 7.241976
H 13.240150 4.919265 7.226727
H 12.368225 4.300614 1.287626
H 13.862495 4.466405 1.109956
H 0.601526 14.024395 7.330255
H 0.816229 12.561332 7.005843
H 2.606189 15.728879 14.075552
H 1.751050 15.909700 15.311648
H 8.495514 5.631109 0.068638
H 9.589849 6.084955 1.011160
H 13.316729 9.402787 13.389684
H 12.379524 8.213880 13.396205
H 13.918259 10.505485 9.192801
H 14.676156 9.235384 9.515806
H 6.242915 3.976825 15.827883
H 4.811725 3.679161 16.221565
H 5.094286 2.686336 4.584564
H 4.898319 1.984198 3.257728
H 13.959261 6.906132 5.943560
H 12.760208 7.707487 6.403991
H 14.969381 3.387665 12.889672
H 13.602198 2.792224 13.150740
H 7.679644 4.993292 7.367401
H 7.415258 5.972883 6.243836
H 3.810284 5.488758 6.747876
H 2.838344 6.376576 6.000209
H 1.201385 4.317435 9.261147
H 1.095921 3.984260 10.734160
H 8.983144 9.978931 7.349300
H 9.731317 11.166458 6.781926
H 2.882211 11.167225 15.348581
H 1.472398 10.982022 14.828945
H 10.205799 9.598641 1.031516
H 11.290942 9.189004 0.058604
H 0.558492 1.215423 6.737713
H 1.132569 2.597863 6.511459
H 15.392637 5.068030 6.188591
H 15.494223 5.717274 7.552430
H 1.359386 8.375518 1.851964
H 2.491619 7.530928 1.307342
H 3.930723 12.466553 11.679082
H 4.127627 12.165120 10.208619
H 1.031873 14.870889 9.431517
H 2.312758 15.486507 9.953288
H 6.898133 0.021480 1.489743
H 5.806915 1.068076 1.565740
H 4.879440 12.531428 16.027803
H 5.343283 11.696347 14.853331
H 5.304646 5.468144 10.510363
H 5.487486 3.966167 10.460093
H 10.682669 0.812386 3.211437
H 11.375385 -0.510655 2.963240
H 6.968873 13.462683 12.205132
H 6.748898 12.423743 11.126193
H 11.398639 1.428458 8.050152
H 10.636236 1.331547 6.745834
H 5.559402 4.680155 6.660940
H 4.741233 3.634449 7.388260
H 10.965383 2.838195 0.718466
H 10.526206 4.126248 0.055186
H 2.151544 6.183022 7.979588
H 1.693196 6.493418 9.388654
H -0.065205 10.491692 7.613487
H 0.934641 10.534254 6.477533
H 1.612127 6.933760 14.819901
H 3.084290 7.085600 14.501194
H 14.370852 13.670525 11.760422
H 13.655238 13.242663 10.496806
H 5.117003 14.119782 13.262678
H 6.094269 15.275850 13.243879
H 1.684983 15.055245 2.332511
H 2.318871 13.688619 2.482233
H 3.301587 10.821578 5.287555
H 3.569324 9.709332 6.279080
H 9.402765 3.485324 4.269409
H 8.068278 2.776805 4.364491
H 5.849660 1.904585 9.354240
H 4.458877 2.303173 8.908431
H 5.856290 6.650150 3.713341
H 6.956707 7.685055 3.813075
H 14.578215 -0.136917 15.110099
H 15.036706 1.101780 14.370293
H 0.862260 12.331047 10.222329
H 0.576388 10.884751 9.878239
H 15.013369 2.687846 10.597944
H 14.749248 1.349716 9.941024
H 7.635604 12.750784 15.605874
H 7.063281 13.149121 14.262122
H 6.630981 10.323694 0.777061
H 6.910682 8.837082 0.837471
H 6.518696 10.163169 12.404063
H 5.158628 10.311483 11.755901
H 14.513415 7.228639 13.841660
H 15.188680 7.517995 15.165361
H 10.884896 7.694003 10.264136
H 9.537008 8.263555 9.875929
H 10.169920 3.541428 11.031858
H 9.058984 4.472429 11.468839
H 12.939998 0.748518 6.560183
H 13.359162 -0.684568 6.310259
H 6.806079 13.363518 2.113876
H 8.230720 13.707514 1.734455
H 1.376337 4.428271 4.859101
H 0.026246 3.773603 4.657706
H 11.202848 10.713245 9.674853
H 11.207901 10.618858 8.163906
H 0.837038 2.574495 2.447059
H 0.139223 3.694244 1.704691
H 13.344499 9.479144 4.940640
H 12.047898 10.250105 4.812811
H 8.179005 2.196707 8.280643
H 8.921781 3.193061 7.416086
H 11.996578 12.747212 15.501818
H 11.029996 11.611989 15.239368
H 11.753251 3.258077 14.048538
H 11.376661 2.489403 12.799853
H 10.727878 5.872638 11.392980
H 12.187517 6.272930 11.359562
H 12.694899 7.220715 3.599910
H 12.399226 8.692890 3.407107
H 1.995254 8.322850 11.839802
H 0.706423 7.563149 11.608147
H 10.003095 4.632780 8.907355
H 10.980630 4.590207 7.752146
H 3.257893 13.092363 14.136724
H 2.487394 13.891684 13.107495
H 2.594800 2.360087 13.222239
H 3.067392 1.638961 11.977840
H 4.204283 7.807066 12.889816
H 4.120864 9.063058 13.730900
&END COORD
&KIND H
BASIS_SET TZV2P-GTH
POTENTIAL GTH-PBE-q1
&END KIND
&KIND O
BASIS_SET TZV2P-GTH
POTENTIAL GTH-PBE-q6
&END KIND
&END SUBSYS
&END FORCE_EVAL

View file

@ -0,0 +1,457 @@
&GLOBAL
PREFERRED_DIAG_LIBRARY ELPA
PRINT_LEVEL low
PROJECT H2O-128_md
RUN_TYPE MD
&END GLOBAL
&MOTION
&MD
ENSEMBLE NVE
STEPS 4
TEMPERATURE 300.0
TIMESTEP 0.5
&END MD
&END MOTION
&FORCE_EVAL
METHOD Quickstep
&DFT
BASIS_SET_FILE_NAME GTH_BASIS_SETS
POTENTIAL_FILE_NAME POTENTIAL
&MGRID
CUTOFF 480
REL_CUTOFF 60
&END MGRID
&PRINT
&HIRSHFELD off
&END HIRSHFELD
&MULLIKEN off
&END MULLIKEN
&END PRINT
&QS
EPS_DEFAULT 1.0E-14
&END QS
&SCF
EPS_SCF 1.0E-7
MAX_SCF 20
SCF_GUESS atomic
&OT on
MINIMIZER CG
PRECONDITIONER FULL_SINGLE_INVERSE
&END OT
&OUTER_SCF on
EPS_SCF 1.0E-7
MAX_SCF 3
&END OUTER_SCF
&PRINT
&RESTART off
&END RESTART
&END PRINT
&END SCF
&XC
&XC_FUNCTIONAL PBE
&END XC_FUNCTIONAL
&END XC
&END DFT
&SUBSYS
&CELL
ABC 15.6404 15.6404 15.6404
&END CELL
# 128 H2O (TIP5P,1bar,300K) a = 15.6404
&COORD
O 4.963362 8.433745 6.522726
O 8.071195 10.247451 13.276063
O 13.850862 12.652854 15.313528
O 10.628770 14.045936 13.059901
O 6.325463 12.328145 3.498946
O 3.583600 12.446390 8.539707
O 14.871126 15.358423 8.766155
O 13.901523 10.863702 1.750201
O 14.067166 0.862917 3.662820
O 10.133858 15.114355 5.659292
O 12.335899 11.027651 13.245276
O 11.020881 3.916524 5.030404
O 9.394684 6.531654 5.826834
O 11.080390 7.885268 7.198950
O 8.896688 8.249600 3.615318
O 7.353156 1.137779 5.346406
O 14.726780 7.918215 10.773641
O 1.861458 11.989979 2.208095
O 5.043121 6.543380 9.229162
O 8.759694 11.116925 3.548469
O 6.997656 8.373444 9.806165
O 6.063005 12.809828 7.806901
O 10.366591 5.779853 2.712706
O 1.542969 4.767262 12.213947
O 10.685570 14.507915 8.519941
O 12.849421 13.198702 9.038657
O 0.963120 14.402597 12.834647
O 7.797670 4.829150 12.447033
O 3.835427 3.788119 12.965881
O 3.376860 4.479186 1.446663
O 2.947460 1.489874 9.046559
O 3.108796 14.723769 5.201095
O 15.204514 8.599951 0.959433
O 15.219684 4.238425 15.684030
O 4.100649 1.057601 2.040112
O 11.001052 2.229682 10.064311
O 0.478278 0.949105 2.102755
O 13.497545 5.548164 10.181923
O 7.506276 1.277199 9.722916
O 7.428299 4.380540 1.411980
O 7.928952 14.363028 9.316256
O 0.355839 11.996260 13.602596
O 10.664734 7.760921 14.011072
O 2.130951 6.397562 4.547882
O 6.997688 7.117398 14.170903
O 9.843852 1.807540 1.906473
O 4.765738 9.146359 2.409067
O 4.102297 1.274905 6.068037
O 15.014340 11.743955 4.053518
O 12.695114 13.021970 5.787211
O 13.858302 3.507332 4.146316
O 7.022070 10.109293 7.424303
O 5.539291 5.159365 2.927469
O 9.768643 11.517745 11.838411
O 10.503632 1.060928 12.343495
O 5.637836 14.137294 5.298814
O 13.230577 15.494257 12.417538
O 10.087712 12.367132 5.676113
O 3.823444 11.248314 3.611973
O 2.764628 9.932668 12.219621
O 6.337327 1.214539 14.384465
O 9.932541 13.322345 2.141626
O 8.026468 1.856250 12.446566
O 12.678267 4.212245 7.543967
O 13.171058 4.494997 1.771265
O 1.270597 13.402991 7.043142
O 2.561666 15.503539 15.004783
O 9.418846 5.882450 0.091388
O 13.279532 8.467153 13.191095
O 14.784685 10.103797 9.128104
O 5.420783 3.626432 15.485019
O 5.484596 2.586023 3.716333
O 13.407464 7.649770 5.701169
O 14.491627 2.828827 13.502603
O 6.975558 5.474364 6.932584
O 3.311237 6.301528 6.829047
O 0.998842 3.600800 9.862514
O 9.866483 10.306933 7.180898
O 2.074137 10.679976 15.509320
O 11.018416 9.906723 0.630304
O 1.183950 1.843702 7.098684
O 14.873704 5.527544 6.848733
O 2.173299 7.943131 2.110457
O 4.449383 11.930616 11.079086
O 1.710425 14.756574 10.096897
O 6.694784 0.922595 1.239003
O 4.564438 11.918442 15.363533
O 5.477639 4.707670 11.065326
O 11.342444 0.223097 3.577043
O 7.426077 12.972512 11.521810
O 11.491853 1.563182 7.107076
O 4.794353 4.113581 6.561312
O 11.305735 3.619278 0.282229
O 1.481140 5.957409 8.624482
O 0.119546 10.931817 6.783795
O 2.484663 6.791214 15.186771
O 13.950657 12.916459 11.346835
O 6.051702 14.320089 13.213208
O 2.417817 14.602343 2.749723
O 3.040699 10.496700 6.149311
O 8.648120 3.218837 3.744312
O 5.305757 2.668899 9.163911
O 6.031135 7.542813 4.011356
O 15.264572 0.530244 15.103544
O 1.202379 11.443873 10.338401
O 14.305770 2.092612 10.350492
O 7.239758 12.387106 14.813865
O 7.341353 9.684340 0.723854
O 5.857541 9.676357 11.912006
O 15.332365 7.094962 14.318822
O 10.447327 8.207812 9.585339
O 9.866363 4.445989 10.955351
O 13.658983 0.219428 6.214705
O 7.322356 13.965677 1.578063
O 0.644540 4.039583 5.338294
O 11.742745 10.899134 8.906616
O 0.863237 3.520934 2.306355
O 12.841333 10.018102 4.330247
O 8.609050 2.288503 7.430427
O 11.067694 12.559978 15.366360
O 11.923672 3.212040 13.107757
O 11.306237 6.632227 11.461951
O 12.437417 7.860470 2.936097
O 1.645609 7.437039 11.743266
O 10.045665 4.639989 7.951130
O 3.297915 13.397525 13.230354
O 2.464454 1.557718 12.716823
O 4.302185 8.124888 13.787389
H 4.581468 7.718593 7.031593
H 5.435252 7.997984 5.813033
H 8.381737 9.538324 13.839031
H 7.875012 10.964336 13.879239
H 14.014609 12.142905 16.106856
H 14.391871 12.234836 14.643601
H 10.739569 13.533892 13.861004
H 10.132364 13.472919 12.475551
H 5.425531 12.003488 3.468104
H 6.310811 13.012792 4.167733
H 2.831114 13.037692 8.558619
H 3.397989 11.844750 7.818728
H 14.215688 14.710076 8.508709
H 14.915685 15.962115 8.024669
H 14.442896 10.979475 2.531061
H 13.131333 10.387571 2.060586
H 13.235552 0.480036 3.383444
H 14.167503 0.581424 4.572175
H 9.268459 15.423495 5.391430
H 10.724909 15.435978 4.978521
H 12.682383 11.900242 13.058822
H 11.530377 10.974348 12.730956
H 10.862047 3.493530 5.874252
H 11.866334 3.570906 4.744068
H 10.010906 6.860110 6.481524
H 9.772826 5.701645 5.536446
H 10.713257 8.747058 7.002065
H 10.930529 7.769221 8.137196
H 9.008071 7.846692 4.476416
H 9.404635 7.694874 3.023287
H 7.885169 1.417698 6.091281
H 6.462912 1.407047 5.572662
H 14.465524 8.122806 11.671483
H 14.387942 7.036249 10.620165
H 1.079976 11.549099 2.541476
H 1.854266 11.812527 1.267515
H 5.627954 7.254025 9.492195
H 5.358566 6.280575 8.364489
H 8.728012 10.160756 3.517346
H 7.843327 11.389131 3.499416
H 7.064983 9.034969 9.117627
H 6.681536 8.854422 10.570991
H 6.096247 13.255760 6.960573
H 5.135401 12.812072 8.043075
H 10.251809 4.879805 3.017615
H 11.247569 6.019998 2.999828
H 2.425379 4.423632 12.353605
H 1.622138 5.706596 12.380127
H 10.435334 14.464737 7.597038
H 9.863861 14.392213 8.997057
H 12.151749 13.846631 8.940295
H 12.401656 12.354243 8.987406
H 1.041376 14.716046 11.933616
H 0.431193 15.065997 13.274178
H 7.657165 5.609226 12.983662
H 7.113550 4.871097 11.778862
H 4.492907 4.226503 12.425723
H 4.197120 3.813194 13.851760
H 3.028991 5.174958 0.888880
H 2.608925 4.123752 1.894070
H 2.354380 1.561214 8.298628
H 2.601814 2.111564 9.687076
H 2.496453 14.284442 5.791230
H 2.669671 14.716265 4.350599
H 14.931000 9.483201 0.711861
H 14.543448 8.311558 1.588759
H 14.806603 3.662787 15.040418
H 15.806913 4.791820 15.169104
H 3.487941 1.365078 1.372072
H 3.735668 0.223182 2.334673
H 10.930358 1.492019 10.670189
H 11.783438 2.701109 10.350422
H 0.373431 0.943162 1.151333
H -0.331325 0.562024 2.435836
H 13.328483 5.602953 9.241365
H 13.904987 4.690509 10.302961
H 7.979807 1.447145 10.537237
H 7.699278 0.361971 9.519594
H 7.879980 3.677583 1.878957
H 6.921010 4.830270 2.087726
H 7.276262 13.850239 8.839522
H 7.900170 14.017994 10.208643
H 0.566590 12.917379 13.449771
H 0.097504 11.663383 12.743127
H 10.275806 6.980124 14.405182
H 10.496386 7.665796 13.073607
H 2.563595 6.556361 3.708934
H 1.500251 7.112689 4.631806
H 7.206023 7.863029 13.607998
H 6.088301 7.261122 14.432801
H 9.059286 1.416705 1.521847
H 9.511490 2.498088 2.479979
H 5.181015 8.567468 3.048333
H 3.954045 8.698238 2.171213
H 3.323672 1.528105 6.563885
H 3.866094 0.442374 5.658975
H 14.146610 12.079728 4.278314
H 15.272574 11.219653 4.811577
H 12.716562 12.455880 6.558777
H 11.770411 13.059590 5.542791
H 14.153945 2.652228 3.833869
H 13.419264 3.899892 3.391747
H 6.656515 10.977596 7.255036
H 6.361994 9.501768 7.090470
H 4.712486 5.080316 2.451678
H 5.521694 4.441294 3.560158
H 9.189146 10.923676 12.315377
H 9.179345 12.154039 11.433330
H 10.671879 0.186135 12.693725
H 9.549978 1.142946 12.350583
H 4.689829 14.268322 5.317390
H 5.985844 14.953053 4.938731
H 12.546401 14.844149 12.257863
H 12.876821 16.308055 12.058620
H 9.756019 13.254250 5.814793
H 9.607961 12.048315 4.911635
H 3.064895 11.422889 3.054873
H 4.291140 10.542078 3.166190
H 2.001271 10.248909 12.702851
H 2.907174 10.590416 11.538974
H 5.648267 1.877288 14.431286
H 6.585421 1.061461 15.296193
H 9.740490 12.519628 2.626387
H 10.584255 13.059982 1.491498
H 7.455032 1.571433 13.159709
H 7.941730 2.809647 12.437319
H 13.106722 3.411333 7.241976
H 13.240150 4.919265 7.226727
H 12.368225 4.300614 1.287626
H 13.862495 4.466405 1.109956
H 0.601526 14.024395 7.330255
H 0.816229 12.561332 7.005843
H 2.606189 15.728879 14.075552
H 1.751050 15.909700 15.311648
H 8.495514 5.631109 0.068638
H 9.589849 6.084955 1.011160
H 13.316729 9.402787 13.389684
H 12.379524 8.213880 13.396205
H 13.918259 10.505485 9.192801
H 14.676156 9.235384 9.515806
H 6.242915 3.976825 15.827883
H 4.811725 3.679161 16.221565
H 5.094286 2.686336 4.584564
H 4.898319 1.984198 3.257728
H 13.959261 6.906132 5.943560
H 12.760208 7.707487 6.403991
H 14.969381 3.387665 12.889672
H 13.602198 2.792224 13.150740
H 7.679644 4.993292 7.367401
H 7.415258 5.972883 6.243836
H 3.810284 5.488758 6.747876
H 2.838344 6.376576 6.000209
H 1.201385 4.317435 9.261147
H 1.095921 3.984260 10.734160
H 8.983144 9.978931 7.349300
H 9.731317 11.166458 6.781926
H 2.882211 11.167225 15.348581
H 1.472398 10.982022 14.828945
H 10.205799 9.598641 1.031516
H 11.290942 9.189004 0.058604
H 0.558492 1.215423 6.737713
H 1.132569 2.597863 6.511459
H 15.392637 5.068030 6.188591
H 15.494223 5.717274 7.552430
H 1.359386 8.375518 1.851964
H 2.491619 7.530928 1.307342
H 3.930723 12.466553 11.679082
H 4.127627 12.165120 10.208619
H 1.031873 14.870889 9.431517
H 2.312758 15.486507 9.953288
H 6.898133 0.021480 1.489743
H 5.806915 1.068076 1.565740
H 4.879440 12.531428 16.027803
H 5.343283 11.696347 14.853331
H 5.304646 5.468144 10.510363
H 5.487486 3.966167 10.460093
H 10.682669 0.812386 3.211437
H 11.375385 -0.510655 2.963240
H 6.968873 13.462683 12.205132
H 6.748898 12.423743 11.126193
H 11.398639 1.428458 8.050152
H 10.636236 1.331547 6.745834
H 5.559402 4.680155 6.660940
H 4.741233 3.634449 7.388260
H 10.965383 2.838195 0.718466
H 10.526206 4.126248 0.055186
H 2.151544 6.183022 7.979588
H 1.693196 6.493418 9.388654
H -0.065205 10.491692 7.613487
H 0.934641 10.534254 6.477533
H 1.612127 6.933760 14.819901
H 3.084290 7.085600 14.501194
H 14.370852 13.670525 11.760422
H 13.655238 13.242663 10.496806
H 5.117003 14.119782 13.262678
H 6.094269 15.275850 13.243879
H 1.684983 15.055245 2.332511
H 2.318871 13.688619 2.482233
H 3.301587 10.821578 5.287555
H 3.569324 9.709332 6.279080
H 9.402765 3.485324 4.269409
H 8.068278 2.776805 4.364491
H 5.849660 1.904585 9.354240
H 4.458877 2.303173 8.908431
H 5.856290 6.650150 3.713341
H 6.956707 7.685055 3.813075
H 14.578215 -0.136917 15.110099
H 15.036706 1.101780 14.370293
H 0.862260 12.331047 10.222329
H 0.576388 10.884751 9.878239
H 15.013369 2.687846 10.597944
H 14.749248 1.349716 9.941024
H 7.635604 12.750784 15.605874
H 7.063281 13.149121 14.262122
H 6.630981 10.323694 0.777061
H 6.910682 8.837082 0.837471
H 6.518696 10.163169 12.404063
H 5.158628 10.311483 11.755901
H 14.513415 7.228639 13.841660
H 15.188680 7.517995 15.165361
H 10.884896 7.694003 10.264136
H 9.537008 8.263555 9.875929
H 10.169920 3.541428 11.031858
H 9.058984 4.472429 11.468839
H 12.939998 0.748518 6.560183
H 13.359162 -0.684568 6.310259
H 6.806079 13.363518 2.113876
H 8.230720 13.707514 1.734455
H 1.376337 4.428271 4.859101
H 0.026246 3.773603 4.657706
H 11.202848 10.713245 9.674853
H 11.207901 10.618858 8.163906
H 0.837038 2.574495 2.447059
H 0.139223 3.694244 1.704691
H 13.344499 9.479144 4.940640
H 12.047898 10.250105 4.812811
H 8.179005 2.196707 8.280643
H 8.921781 3.193061 7.416086
H 11.996578 12.747212 15.501818
H 11.029996 11.611989 15.239368
H 11.753251 3.258077 14.048538
H 11.376661 2.489403 12.799853
H 10.727878 5.872638 11.392980
H 12.187517 6.272930 11.359562
H 12.694899 7.220715 3.599910
H 12.399226 8.692890 3.407107
H 1.995254 8.322850 11.839802
H 0.706423 7.563149 11.608147
H 10.003095 4.632780 8.907355
H 10.980630 4.590207 7.752146
H 3.257893 13.092363 14.136724
H 2.487394 13.891684 13.107495
H 2.594800 2.360087 13.222239
H 3.067392 1.638961 11.977840
H 4.204283 7.807066 12.889816
H 4.120864 9.063058 13.730900
&END COORD
&KIND H
BASIS_SET TZV2P-GTH
POTENTIAL GTH-PBE-q1
&END KIND
&KIND O
BASIS_SET TZV2P-GTH
POTENTIAL GTH-PBE-q6
&END KIND
&END SUBSYS
&END FORCE_EVAL

169
benchmarks/CI/H2O-32_md.inp Normal file
View file

@ -0,0 +1,169 @@
&GLOBAL
PREFERRED_DIAG_LIBRARY ScaLAPACK
PRINT_LEVEL low
PROJECT H2O-32_md
RUN_TYPE MD
&END GLOBAL
&MOTION
&MD
ENSEMBLE NVE
STEPS 4
TEMPERATURE 300.0
TIMESTEP 0.5
&END MD
&END MOTION
&FORCE_EVAL
METHOD Quickstep
&DFT
BASIS_SET_FILE_NAME GTH_BASIS_SETS
POTENTIAL_FILE_NAME POTENTIAL
&MGRID
CUTOFF 480
REL_CUTOFF 60
&END MGRID
&PRINT
&HIRSHFELD off
&END HIRSHFELD
&MULLIKEN off
&END MULLIKEN
&END PRINT
&QS
EPS_DEFAULT 1.0E-14
&END QS
&SCF
EPS_SCF 1.0E-7
MAX_SCF 20
SCF_GUESS atomic
&OT on
MINIMIZER CG
PRECONDITIONER FULL_SINGLE_INVERSE
&END OT
&OUTER_SCF on
EPS_SCF 1.0E-7
MAX_SCF 3
&END OUTER_SCF
&PRINT
&RESTART off
&END RESTART
&END PRINT
&END SCF
&XC
&XC_FUNCTIONAL PBE
&END XC_FUNCTIONAL
&END XC
&END DFT
&SUBSYS
&CELL
ABC 9.8528 9.8528 9.8528
&END CELL
# 32 H2O (TIP5P,1bar,300K) a = 9.8528
&COORD
O 2.280398 9.146539 5.088696
O 1.251703 2.406261 7.769908
O 1.596302 6.920128 0.656695
O 2.957518 3.771868 1.877387
O 0.228972 5.884026 6.532308
O 9.023431 6.119654 0.092451
O 7.256289 8.493641 5.772041
O 5.090422 9.467016 0.743177
O 6.330888 7.363471 3.747750
O 7.763819 8.349367 9.279457
O 8.280798 3.837153 5.799282
O 8.878250 2.025797 1.664102
O 9.160372 0.285100 6.871004
O 4.962043 4.134437 0.173376
O 2.802896 8.690383 2.435952
O 9.123223 3.549232 8.876721
O 1.453702 1.402538 2.358278
O 6.536550 1.146790 7.609732
O 2.766709 0.881503 9.544263
O 0.856426 2.075964 5.010625
O 6.386036 1.918950 0.242690
O 2.733023 4.452756 5.850203
O 4.600039 9.254314 6.575944
O 3.665373 6.210561 3.158420
O 3.371648 6.925594 7.476036
O 5.287920 3.270653 6.155080
O 5.225237 6.959594 9.582991
O 0.846293 5.595877 3.820630
O 9.785620 8.164617 3.657879
O 8.509982 4.430362 2.679946
O 1.337625 8.580920 8.272484
O 8.054437 9.221335 1.991376
H 1.762019 9.820429 5.528454
H 3.095987 9.107088 5.588186
H 0.554129 2.982634 8.082024
H 1.771257 2.954779 7.182181
H 2.112148 6.126321 0.798136
H 1.776389 7.463264 1.424030
H 3.754249 3.824017 1.349436
H 3.010580 4.524142 2.466878
H 0.939475 5.243834 6.571945
H 0.515723 6.520548 5.877445
H 9.852960 6.490366 0.393593
H 8.556008 6.860063 -0.294256
H 7.886607 7.941321 6.234506
H 7.793855 9.141028 5.315813
H 4.467366 9.971162 0.219851
H 5.758685 10.102795 0.998994
H 6.652693 7.917443 3.036562
H 6.711966 7.743594 4.539279
H 7.751955 8.745180 10.150905
H 7.829208 9.092212 8.679343
H 8.312540 3.218330 6.528858
H 8.508855 4.680699 6.189990
H 9.742249 1.704975 1.922581
H 8.799060 2.876412 2.095861
H 9.505360 1.161677 6.701213
H 9.920117 -0.219794 7.161006
H 4.749903 4.186003 -0.758595
H 5.248010 5.018415 0.403676
H 3.576065 9.078451 2.026264
H 2.720238 9.146974 3.273164
H 9.085561 4.493058 9.031660
H 9.215391 3.166305 9.749133
H 1.999705 2.060411 1.927796
H 1.824184 0.564565 2.081195
H 7.430334 0.849764 7.438978
H 6.576029 1.537017 8.482885
H 2.415851 1.576460 8.987338
H 2.276957 0.099537 9.289499
H 1.160987 1.818023 4.140602
H 0.350256 2.874437 4.860741
H 5.768804 2.638450 0.375264
H 7.221823 2.257514 0.563730
H 3.260797 5.243390 5.962382
H 3.347848 3.732214 5.988196
H 5.328688 9.073059 5.982269
H 5.007063 9.672150 7.334875
H 4.566850 6.413356 3.408312
H 3.273115 7.061666 2.963521
H 3.878372 7.435003 6.843607
H 3.884673 6.966316 8.283117
H 5.918240 3.116802 5.451335
H 5.355924 2.495093 6.711958
H 5.071858 7.687254 10.185667
H 6.106394 7.112302 9.241707
H 1.637363 5.184910 4.169264
H 0.427645 4.908936 3.301903
H 9.971698 7.227076 3.709104
H 10.647901 8.579244 3.629806
H 8.046808 5.126383 2.213838
H 7.995317 4.290074 3.474723
H 1.872601 7.864672 7.930401
H 0.837635 8.186808 8.987268
H 8.314696 10.115534 2.212519
H 8.687134 8.667252 2.448452
&END COORD
&KIND H
BASIS_SET TZV2P-GTH
POTENTIAL GTH-PBE-q1
&END KIND
&KIND O
BASIS_SET TZV2P-GTH
POTENTIAL GTH-PBE-q6
&END KIND
&END SUBSYS
&END FORCE_EVAL

View file

@ -0,0 +1,169 @@
&GLOBAL
PREFERRED_DIAG_LIBRARY ELPA
PRINT_LEVEL low
PROJECT H2O-32_md
RUN_TYPE MD
&END GLOBAL
&MOTION
&MD
ENSEMBLE NVE
STEPS 4
TEMPERATURE 300.0
TIMESTEP 0.5
&END MD
&END MOTION
&FORCE_EVAL
METHOD Quickstep
&DFT
BASIS_SET_FILE_NAME GTH_BASIS_SETS
POTENTIAL_FILE_NAME POTENTIAL
&MGRID
CUTOFF 480
REL_CUTOFF 60
&END MGRID
&PRINT
&HIRSHFELD off
&END HIRSHFELD
&MULLIKEN off
&END MULLIKEN
&END PRINT
&QS
EPS_DEFAULT 1.0E-14
&END QS
&SCF
EPS_SCF 1.0E-7
MAX_SCF 20
SCF_GUESS atomic
&OT on
MINIMIZER CG
PRECONDITIONER FULL_SINGLE_INVERSE
&END OT
&OUTER_SCF on
EPS_SCF 1.0E-7
MAX_SCF 3
&END OUTER_SCF
&PRINT
&RESTART off
&END RESTART
&END PRINT
&END SCF
&XC
&XC_FUNCTIONAL PBE
&END XC_FUNCTIONAL
&END XC
&END DFT
&SUBSYS
&CELL
ABC 9.8528 9.8528 9.8528
&END CELL
# 32 H2O (TIP5P,1bar,300K) a = 9.8528
&COORD
O 2.280398 9.146539 5.088696
O 1.251703 2.406261 7.769908
O 1.596302 6.920128 0.656695
O 2.957518 3.771868 1.877387
O 0.228972 5.884026 6.532308
O 9.023431 6.119654 0.092451
O 7.256289 8.493641 5.772041
O 5.090422 9.467016 0.743177
O 6.330888 7.363471 3.747750
O 7.763819 8.349367 9.279457
O 8.280798 3.837153 5.799282
O 8.878250 2.025797 1.664102
O 9.160372 0.285100 6.871004
O 4.962043 4.134437 0.173376
O 2.802896 8.690383 2.435952
O 9.123223 3.549232 8.876721
O 1.453702 1.402538 2.358278
O 6.536550 1.146790 7.609732
O 2.766709 0.881503 9.544263
O 0.856426 2.075964 5.010625
O 6.386036 1.918950 0.242690
O 2.733023 4.452756 5.850203
O 4.600039 9.254314 6.575944
O 3.665373 6.210561 3.158420
O 3.371648 6.925594 7.476036
O 5.287920 3.270653 6.155080
O 5.225237 6.959594 9.582991
O 0.846293 5.595877 3.820630
O 9.785620 8.164617 3.657879
O 8.509982 4.430362 2.679946
O 1.337625 8.580920 8.272484
O 8.054437 9.221335 1.991376
H 1.762019 9.820429 5.528454
H 3.095987 9.107088 5.588186
H 0.554129 2.982634 8.082024
H 1.771257 2.954779 7.182181
H 2.112148 6.126321 0.798136
H 1.776389 7.463264 1.424030
H 3.754249 3.824017 1.349436
H 3.010580 4.524142 2.466878
H 0.939475 5.243834 6.571945
H 0.515723 6.520548 5.877445
H 9.852960 6.490366 0.393593
H 8.556008 6.860063 -0.294256
H 7.886607 7.941321 6.234506
H 7.793855 9.141028 5.315813
H 4.467366 9.971162 0.219851
H 5.758685 10.102795 0.998994
H 6.652693 7.917443 3.036562
H 6.711966 7.743594 4.539279
H 7.751955 8.745180 10.150905
H 7.829208 9.092212 8.679343
H 8.312540 3.218330 6.528858
H 8.508855 4.680699 6.189990
H 9.742249 1.704975 1.922581
H 8.799060 2.876412 2.095861
H 9.505360 1.161677 6.701213
H 9.920117 -0.219794 7.161006
H 4.749903 4.186003 -0.758595
H 5.248010 5.018415 0.403676
H 3.576065 9.078451 2.026264
H 2.720238 9.146974 3.273164
H 9.085561 4.493058 9.031660
H 9.215391 3.166305 9.749133
H 1.999705 2.060411 1.927796
H 1.824184 0.564565 2.081195
H 7.430334 0.849764 7.438978
H 6.576029 1.537017 8.482885
H 2.415851 1.576460 8.987338
H 2.276957 0.099537 9.289499
H 1.160987 1.818023 4.140602
H 0.350256 2.874437 4.860741
H 5.768804 2.638450 0.375264
H 7.221823 2.257514 0.563730
H 3.260797 5.243390 5.962382
H 3.347848 3.732214 5.988196
H 5.328688 9.073059 5.982269
H 5.007063 9.672150 7.334875
H 4.566850 6.413356 3.408312
H 3.273115 7.061666 2.963521
H 3.878372 7.435003 6.843607
H 3.884673 6.966316 8.283117
H 5.918240 3.116802 5.451335
H 5.355924 2.495093 6.711958
H 5.071858 7.687254 10.185667
H 6.106394 7.112302 9.241707
H 1.637363 5.184910 4.169264
H 0.427645 4.908936 3.301903
H 9.971698 7.227076 3.709104
H 10.647901 8.579244 3.629806
H 8.046808 5.126383 2.213838
H 7.995317 4.290074 3.474723
H 1.872601 7.864672 7.930401
H 0.837635 8.186808 8.987268
H 8.314696 10.115534 2.212519
H 8.687134 8.667252 2.448452
&END COORD
&KIND H
BASIS_SET TZV2P-GTH
POTENTIAL GTH-PBE-q1
&END KIND
&KIND O
BASIS_SET TZV2P-GTH
POTENTIAL GTH-PBE-q6
&END KIND
&END SUBSYS
&END FORCE_EVAL

1609
benchmarks/CI/H2O-512_md.inp Normal file

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

265
benchmarks/CI/H2O-64_md.inp Normal file
View file

@ -0,0 +1,265 @@
&GLOBAL
PREFERRED_DIAG_LIBRARY ScaLAPACK
PRINT_LEVEL low
PROJECT H2O-64_md
RUN_TYPE MD
&END GLOBAL
&MOTION
&MD
ENSEMBLE NVE
STEPS 4
TEMPERATURE 300.0
TIMESTEP 0.5
&END MD
&END MOTION
&FORCE_EVAL
METHOD Quickstep
&DFT
BASIS_SET_FILE_NAME GTH_BASIS_SETS
POTENTIAL_FILE_NAME POTENTIAL
&MGRID
CUTOFF 480
REL_CUTOFF 60
&END MGRID
&PRINT
&HIRSHFELD off
&END HIRSHFELD
&MULLIKEN off
&END MULLIKEN
&END PRINT
&QS
EPS_DEFAULT 1.0E-14
&END QS
&SCF
EPS_SCF 1.0E-7
MAX_SCF 20
SCF_GUESS atomic
&OT on
MINIMIZER CG
PRECONDITIONER FULL_SINGLE_INVERSE
&END OT
&OUTER_SCF on
EPS_SCF 1.0E-7
MAX_SCF 3
&END OUTER_SCF
&PRINT
&RESTART off
&END RESTART
&END PRINT
&END SCF
&XC
&XC_FUNCTIONAL PBE
&END XC_FUNCTIONAL
&END XC
&END DFT
&SUBSYS
&CELL
ABC 12.4138 12.4138 12.4138
&END CELL
# 64 H2O (TIP5P,1bar,300K) a = 12.4138
&COORD
O 12.235322 1.376642 10.869880
O 6.445390 3.706940 8.650794
O 0.085977 2.181322 8.276663
O 12.052554 2.671366 2.147199
O 12.250036 4.190930 12.092014
O 7.187422 0.959062 4.733469
O 8.346457 7.210040 4.667644
O 12.361546 11.527875 8.106887
O 3.299984 4.440816 9.193275
O 2.855829 3.759909 6.552815
O 1.392494 6.362753 0.586172
O 1.858645 8.694013 2.068738
O 3.770231 12.094519 8.652183
O 6.432508 3.669828 2.772418
O 1.998724 1.820217 4.876440
O 8.248581 2.404730 6.931303
O 5.753814 3.360029 12.461534
O 11.322212 5.649239 2.236798
O 4.277318 2.113956 10.590808
O 5.405015 3.349247 5.484702
O 6.493278 11.869958 0.684912
O 3.275250 2.346576 2.425241
O 7.981003 6.352512 7.507970
O 5.985990 6.512854 12.194648
O 10.636714 11.856872 12.209540
O 9.312283 3.670384 3.508594
O 1.106885 5.830301 6.638695
O 8.008007 3.326363 10.869818
O 12.403000 9.687405 11.761901
O 4.219782 7.085315 8.153470
O 3.781557 8.203821 11.563272
O 11.088898 4.532081 7.809475
O 10.387548 8.408890 1.017882
O 1.979016 6.418091 10.374159
O 4.660547 0.549666 5.617403
O 8.745880 12.256257 8.089383
O 2.662041 10.489890 0.092980
O 7.241661 10.471815 4.226946
O 2.276827 0.276647 10.810417
O 8.887733 0.946877 1.333885
O 1.943554 8.088552 7.567650
O 9.667942 8.056759 9.868847
O 10.905491 8.339638 6.484782
O 3.507733 4.862402 1.557439
O 8.010457 8.642846 12.055969
O 8.374446 10.035932 6.690309
O 5.635247 6.076875 5.563993
O 11.728434 1.601906 5.079475
O 9.771134 9.814114 3.548703
O 3.944355 10.563450 4.687536
O 0.890357 6.382287 4.065806
O 6.862447 6.425182 2.488202
O 3.813963 6.595122 3.762649
O 6.562448 8.295463 8.807182
O 9.809455 0.143325 3.886553
O 4.117074 11.661225 2.221679
O 5.295317 8.735561 2.763183
O 9.971999 5.379339 5.340378
O 12.254708 8.643874 3.957116
O 2.344274 10.761274 6.829162
O 7.013416 0.643488 10.518797
O 5.152349 10.233624 10.359388
O 11.184278 5.884064 10.298279
O 12.252335 8.974142 9.070831
H 12.415139 2.233125 11.257611
H 11.922476 1.573799 9.986994
H 5.608192 3.371543 8.971482
H 6.731226 3.060851 8.004962
H -0.169205 1.565594 7.589645
H -0.455440 2.954771 8.118939
H 12.125168 2.826463 1.205443
H 12.888828 2.969761 2.504745
H 11.553255 4.386613 11.465566
H 12.818281 4.960808 12.067151
H 7.049495 1.772344 4.247898
H 6.353019 0.798145 5.174047
H 7.781850 7.384852 5.420566
H 9.103203 6.754017 5.035898
H 12.771232 11.788645 8.931744
H 12.018035 10.650652 8.276334
H 3.557245 3.792529 9.848846
H 2.543844 4.884102 9.577958
H 2.320235 4.521250 6.329813
H 2.872128 3.749963 7.509824
H 1.209685 7.121391 1.140501
H 2.238885 6.038801 0.894245
H 2.763109 8.856353 2.336735
H 1.329379 9.047369 2.783755
H 4.315639 11.533388 9.203449
H 3.098742 12.433043 9.244412
H 5.987369 3.448974 3.590530
H 5.813096 3.419344 2.086985
H 1.057126 1.675344 4.969379
H 2.248496 2.292119 5.670892
H 8.508264 1.653337 7.464411
H 8.066015 2.034597 6.067646
H 5.197835 2.915542 11.821572
H 6.630900 3.329981 12.079371
H 10.788986 6.436672 2.127933
H 11.657923 5.463602 1.359832
H 3.544476 1.634958 10.977765
H 4.755770 1.455054 10.087655
H 4.465371 3.375459 5.665294
H 5.682663 4.264430 5.524498
H 6.174815 11.778676 1.582954
H 5.713640 12.089924 0.174999
H 3.476076 1.498708 2.028983
H 2.730229 2.134295 3.182949
H 7.119624 5.936450 7.474030
H 8.536492 5.799405 6.958665
H 5.909499 5.717477 11.667621
H 6.125402 6.196758 13.087330
H 11.203499 12.513536 11.804844
H 10.260930 12.300153 12.970145
H 9.985036 3.927685 2.878172
H 8.545584 3.468329 2.972331
H 1.399882 6.620092 7.093246
H 0.963561 6.112523 5.735345
H 8.067363 3.674002 9.979955
H 8.000737 2.375959 10.756190
H 11.821629 10.402510 12.020482
H 12.206854 8.983242 12.379892
H 3.461473 7.606485 7.889688
H 3.844478 6.304711 8.560946
H 3.179884 7.585614 11.148494
H 4.401957 7.652030 12.039573
H 11.573777 5.053211 7.169515
H 10.342076 4.186083 7.320831
H 10.065640 8.919194 1.760981
H 9.629585 8.322499 0.439729
H 1.396302 6.546079 9.625630
H 1.405516 6.479759 11.138049
H 4.024008 1.232518 5.405828
H 4.736858 0.579881 6.571077
H 9.452293 12.313381 8.732772
H 8.976559 11.502788 7.545965
H 1.834701 10.012311 0.153462
H 3.295197 9.836403 -0.204175
H 7.056724 11.401702 4.095264
H 6.499038 10.020287 3.825865
H 1.365541 0.487338 11.013887
H 2.501591 -0.428131 11.417871
H 8.644279 1.812362 1.005409
H 8.142674 0.388030 1.112955
H 1.272659 8.365063 8.191888
H 2.142485 8.877768 7.063867
H 8.961493 7.826192 9.265523
H 9.227102 8.487654 10.601118
H 10.150144 7.758934 6.392768
H 10.596082 9.187988 6.167290
H 3.463106 4.096188 2.129414
H 3.919461 4.539801 0.755791
H 7.418998 9.394959 12.028876
H 7.430413 7.883095 12.106546
H 7.972905 10.220334 5.841196
H 7.675111 9.631498 7.203725
H 5.332446 6.381336 6.419473
H 5.000025 6.434186 4.943466
H 11.575078 2.271167 4.412540
H 11.219802 0.847030 4.783357
H 8.865342 9.721516 3.843998
H 10.000732 10.719285 3.758898
H 3.186196 10.476397 5.265333
H 4.407331 11.335128 5.013723
H 0.558187 7.255936 3.859331
H 0.341672 5.789383 3.552346
H 7.459933 6.526049 3.229193
H 6.696228 5.483739 2.440372
H 3.864872 6.313007 2.849385
H 2.876419 6.621201 3.953862
H 5.631529 8.079145 8.753997
H 7.003296 7.568245 8.367822
H 9.615413 0.527902 3.031755
H 8.962985 0.109366 4.332162
H 3.825854 11.139182 1.474087
H 4.063988 11.063232 2.967211
H 5.784391 7.914558 2.708486
H 4.780461 8.655167 3.566110
H 10.880659 5.444664 5.046607
H 9.593331 4.687991 4.797350
H 11.562317 8.960134 3.376765
H 11.926084 8.816948 4.839320
H 2.856874 11.297981 7.433660
H 1.492332 11.195517 6.786033
H 7.145820 0.090200 9.749009
H 7.227275 0.077690 11.260665
H 4.662021 9.538430 10.798155
H 5.994537 9.833472 10.142985
H 10.544299 6.595857 10.301445
H 11.281750 5.653082 9.374494
H 12.103020 8.841164 10.006916
H 11.491592 8.576221 8.647557
&END COORD
&KIND H
BASIS_SET TZV2P-GTH
POTENTIAL GTH-PBE-q1
&END KIND
&KIND O
BASIS_SET TZV2P-GTH
POTENTIAL GTH-PBE-q6
&END KIND
&END SUBSYS
&END FORCE_EVAL

View file

@ -0,0 +1,265 @@
&GLOBAL
PREFERRED_DIAG_LIBRARY ELPA
PRINT_LEVEL low
PROJECT H2O-64_md
RUN_TYPE MD
&END GLOBAL
&MOTION
&MD
ENSEMBLE NVE
STEPS 4
TEMPERATURE 300.0
TIMESTEP 0.5
&END MD
&END MOTION
&FORCE_EVAL
METHOD Quickstep
&DFT
BASIS_SET_FILE_NAME GTH_BASIS_SETS
POTENTIAL_FILE_NAME POTENTIAL
&MGRID
CUTOFF 480
REL_CUTOFF 60
&END MGRID
&PRINT
&HIRSHFELD off
&END HIRSHFELD
&MULLIKEN off
&END MULLIKEN
&END PRINT
&QS
EPS_DEFAULT 1.0E-14
&END QS
&SCF
EPS_SCF 1.0E-7
MAX_SCF 20
SCF_GUESS atomic
&OT on
MINIMIZER CG
PRECONDITIONER FULL_SINGLE_INVERSE
&END OT
&OUTER_SCF on
EPS_SCF 1.0E-7
MAX_SCF 3
&END OUTER_SCF
&PRINT
&RESTART off
&END RESTART
&END PRINT
&END SCF
&XC
&XC_FUNCTIONAL PBE
&END XC_FUNCTIONAL
&END XC
&END DFT
&SUBSYS
&CELL
ABC 12.4138 12.4138 12.4138
&END CELL
# 64 H2O (TIP5P,1bar,300K) a = 12.4138
&COORD
O 12.235322 1.376642 10.869880
O 6.445390 3.706940 8.650794
O 0.085977 2.181322 8.276663
O 12.052554 2.671366 2.147199
O 12.250036 4.190930 12.092014
O 7.187422 0.959062 4.733469
O 8.346457 7.210040 4.667644
O 12.361546 11.527875 8.106887
O 3.299984 4.440816 9.193275
O 2.855829 3.759909 6.552815
O 1.392494 6.362753 0.586172
O 1.858645 8.694013 2.068738
O 3.770231 12.094519 8.652183
O 6.432508 3.669828 2.772418
O 1.998724 1.820217 4.876440
O 8.248581 2.404730 6.931303
O 5.753814 3.360029 12.461534
O 11.322212 5.649239 2.236798
O 4.277318 2.113956 10.590808
O 5.405015 3.349247 5.484702
O 6.493278 11.869958 0.684912
O 3.275250 2.346576 2.425241
O 7.981003 6.352512 7.507970
O 5.985990 6.512854 12.194648
O 10.636714 11.856872 12.209540
O 9.312283 3.670384 3.508594
O 1.106885 5.830301 6.638695
O 8.008007 3.326363 10.869818
O 12.403000 9.687405 11.761901
O 4.219782 7.085315 8.153470
O 3.781557 8.203821 11.563272
O 11.088898 4.532081 7.809475
O 10.387548 8.408890 1.017882
O 1.979016 6.418091 10.374159
O 4.660547 0.549666 5.617403
O 8.745880 12.256257 8.089383
O 2.662041 10.489890 0.092980
O 7.241661 10.471815 4.226946
O 2.276827 0.276647 10.810417
O 8.887733 0.946877 1.333885
O 1.943554 8.088552 7.567650
O 9.667942 8.056759 9.868847
O 10.905491 8.339638 6.484782
O 3.507733 4.862402 1.557439
O 8.010457 8.642846 12.055969
O 8.374446 10.035932 6.690309
O 5.635247 6.076875 5.563993
O 11.728434 1.601906 5.079475
O 9.771134 9.814114 3.548703
O 3.944355 10.563450 4.687536
O 0.890357 6.382287 4.065806
O 6.862447 6.425182 2.488202
O 3.813963 6.595122 3.762649
O 6.562448 8.295463 8.807182
O 9.809455 0.143325 3.886553
O 4.117074 11.661225 2.221679
O 5.295317 8.735561 2.763183
O 9.971999 5.379339 5.340378
O 12.254708 8.643874 3.957116
O 2.344274 10.761274 6.829162
O 7.013416 0.643488 10.518797
O 5.152349 10.233624 10.359388
O 11.184278 5.884064 10.298279
O 12.252335 8.974142 9.070831
H 12.415139 2.233125 11.257611
H 11.922476 1.573799 9.986994
H 5.608192 3.371543 8.971482
H 6.731226 3.060851 8.004962
H -0.169205 1.565594 7.589645
H -0.455440 2.954771 8.118939
H 12.125168 2.826463 1.205443
H 12.888828 2.969761 2.504745
H 11.553255 4.386613 11.465566
H 12.818281 4.960808 12.067151
H 7.049495 1.772344 4.247898
H 6.353019 0.798145 5.174047
H 7.781850 7.384852 5.420566
H 9.103203 6.754017 5.035898
H 12.771232 11.788645 8.931744
H 12.018035 10.650652 8.276334
H 3.557245 3.792529 9.848846
H 2.543844 4.884102 9.577958
H 2.320235 4.521250 6.329813
H 2.872128 3.749963 7.509824
H 1.209685 7.121391 1.140501
H 2.238885 6.038801 0.894245
H 2.763109 8.856353 2.336735
H 1.329379 9.047369 2.783755
H 4.315639 11.533388 9.203449
H 3.098742 12.433043 9.244412
H 5.987369 3.448974 3.590530
H 5.813096 3.419344 2.086985
H 1.057126 1.675344 4.969379
H 2.248496 2.292119 5.670892
H 8.508264 1.653337 7.464411
H 8.066015 2.034597 6.067646
H 5.197835 2.915542 11.821572
H 6.630900 3.329981 12.079371
H 10.788986 6.436672 2.127933
H 11.657923 5.463602 1.359832
H 3.544476 1.634958 10.977765
H 4.755770 1.455054 10.087655
H 4.465371 3.375459 5.665294
H 5.682663 4.264430 5.524498
H 6.174815 11.778676 1.582954
H 5.713640 12.089924 0.174999
H 3.476076 1.498708 2.028983
H 2.730229 2.134295 3.182949
H 7.119624 5.936450 7.474030
H 8.536492 5.799405 6.958665
H 5.909499 5.717477 11.667621
H 6.125402 6.196758 13.087330
H 11.203499 12.513536 11.804844
H 10.260930 12.300153 12.970145
H 9.985036 3.927685 2.878172
H 8.545584 3.468329 2.972331
H 1.399882 6.620092 7.093246
H 0.963561 6.112523 5.735345
H 8.067363 3.674002 9.979955
H 8.000737 2.375959 10.756190
H 11.821629 10.402510 12.020482
H 12.206854 8.983242 12.379892
H 3.461473 7.606485 7.889688
H 3.844478 6.304711 8.560946
H 3.179884 7.585614 11.148494
H 4.401957 7.652030 12.039573
H 11.573777 5.053211 7.169515
H 10.342076 4.186083 7.320831
H 10.065640 8.919194 1.760981
H 9.629585 8.322499 0.439729
H 1.396302 6.546079 9.625630
H 1.405516 6.479759 11.138049
H 4.024008 1.232518 5.405828
H 4.736858 0.579881 6.571077
H 9.452293 12.313381 8.732772
H 8.976559 11.502788 7.545965
H 1.834701 10.012311 0.153462
H 3.295197 9.836403 -0.204175
H 7.056724 11.401702 4.095264
H 6.499038 10.020287 3.825865
H 1.365541 0.487338 11.013887
H 2.501591 -0.428131 11.417871
H 8.644279 1.812362 1.005409
H 8.142674 0.388030 1.112955
H 1.272659 8.365063 8.191888
H 2.142485 8.877768 7.063867
H 8.961493 7.826192 9.265523
H 9.227102 8.487654 10.601118
H 10.150144 7.758934 6.392768
H 10.596082 9.187988 6.167290
H 3.463106 4.096188 2.129414
H 3.919461 4.539801 0.755791
H 7.418998 9.394959 12.028876
H 7.430413 7.883095 12.106546
H 7.972905 10.220334 5.841196
H 7.675111 9.631498 7.203725
H 5.332446 6.381336 6.419473
H 5.000025 6.434186 4.943466
H 11.575078 2.271167 4.412540
H 11.219802 0.847030 4.783357
H 8.865342 9.721516 3.843998
H 10.000732 10.719285 3.758898
H 3.186196 10.476397 5.265333
H 4.407331 11.335128 5.013723
H 0.558187 7.255936 3.859331
H 0.341672 5.789383 3.552346
H 7.459933 6.526049 3.229193
H 6.696228 5.483739 2.440372
H 3.864872 6.313007 2.849385
H 2.876419 6.621201 3.953862
H 5.631529 8.079145 8.753997
H 7.003296 7.568245 8.367822
H 9.615413 0.527902 3.031755
H 8.962985 0.109366 4.332162
H 3.825854 11.139182 1.474087
H 4.063988 11.063232 2.967211
H 5.784391 7.914558 2.708486
H 4.780461 8.655167 3.566110
H 10.880659 5.444664 5.046607
H 9.593331 4.687991 4.797350
H 11.562317 8.960134 3.376765
H 11.926084 8.816948 4.839320
H 2.856874 11.297981 7.433660
H 1.492332 11.195517 6.786033
H 7.145820 0.090200 9.749009
H 7.227275 0.077690 11.260665
H 4.662021 9.538430 10.798155
H 5.994537 9.833472 10.142985
H 10.544299 6.595857 10.301445
H 11.281750 5.653082 9.374494
H 12.103020 8.841164 10.006916
H 11.491592 8.576221 8.647557
&END COORD
&KIND H
BASIS_SET TZV2P-GTH
POTENTIAL GTH-PBE-q1
&END KIND
&KIND O
BASIS_SET TZV2P-GTH
POTENTIAL GTH-PBE-q6
&END KIND
&END SUBSYS
&END FORCE_EVAL

View file

@ -2,15 +2,13 @@
## Description
This is a short molecular dynamics run of 1'000 time steps in a NPT ensemble at
300K. It consists of 28'000 atoms - a 103 supercell with 28 atoms of iron silicate
(Fe2SiO4, also known as Fayalite) per unit cell. The simulation employs a classical
potential (Morse with a hard-core repulsive term and 5.5 angstrom cutoff) with
long-range electrostatics using Smoothed Particle Mesh Ewald (SPME) summation.
While CP2K does support classical potentials via the Frontiers In Simulation
Technology (FIST) module, this is not a typical calculation for CP2K but is
included to give an impression of the performance difference between machines
for the MM part of a QM/MM calculation.
This is a short molecular dynamics run of 1'000 time steps in a NPT ensemble at 300K. It consists of
28'000 atoms - a 103 supercell with 28 atoms of iron silicate (Fe2SiO4, also known as Fayalite) per
unit cell. The simulation employs a classical potential (Morse with a hard-core repulsive term and
5.5 angstrom cutoff) with long-range electrostatics using Smoothed Particle Mesh Ewald (SPME)
summation. While CP2K does support classical potentials via the Frontiers In Simulation Technology
(FIST) module, this is not a typical calculation for CP2K but is included to give an impression of
the performance difference between machines for the MM part of a QM/MM calculation.
## Benchmarks
@ -18,8 +16,8 @@ for the MM part of a QM/MM calculation.
## Results
The best configurations are shown below.
Click the links under "Detailed Results" to see more detail.
The best configurations are shown below. Click the links under "Detailed Results" to see more
detail.
| Machine Name | Architecture | Date | SVN Revision | Fastest time (s) | Number of Cores | Number of Threads | Detailed Results |
| ------------ | ------------ | ---------- | ------------ | ---------------- | --------------- | --------------------------------- | --------------------------------------------------------------------- |

View file

@ -1,116 +1,9 @@
&GLOBAL
PRINT_LEVEL LOW
PROJECT_NAME fayalite_pedone_md
RUN_TYPE MD
PRINT_LEVEL LOW
&END GLOBAL
&FORCE_EVAL
METHOD FIST
STRESS_TENSOR ANALYTICAL
&MM
&FORCEFIELD
&CHARGE
ATOM Fe
CHARGE 1.2
&END CHARGE
&CHARGE
ATOM Si
CHARGE 2.4
&END CHARGE
&CHARGE
ATOM O
CHARGE -1.2
&END CHARGE
IGNORE_MISSING_CRITICAL_PARAMS
&NONBONDED
&GENPOT
ATOMS Fe O
FUNCTION D*((1-exp(-A*(X-R)))^2 - 1) + C/(X^12)
PARAMETERS D A R C
RCUT 5.5
VALUES 0.078171 1.822638 2.658163 2.0
UNITS eV angstrom^-1 angstrom eV*angstrom^12
VARIABLES X
&END GENPOT
&GENPOT
ATOMS Si O
FUNCTION D*((1-exp(-A*(X-R)))^2 - 1) + C/(X^12)
PARAMETERS D A R C
RCUT 5.5
VALUES 0.340554 2.006700 2.100000 1.0
UNITS eV angstrom^-1 angstrom eV*angstrom^12
VARIABLES X
&END GENPOT
&GENPOT
ATOMS O O
FUNCTION D*((1-exp(-A*(X-R)))^2 - 1) + C/(X^12)
PARAMETERS D A R C
RCUT 5.5
VALUES 0.042395 1.379316 3.618701 22.0
UNITS eV angstrom^-1 angstrom eV*angstrom^12
VARIABLES X
&END GENPOT
&END NONBONDED
&SPLINE
EMAX_SPLINE [eV] 100
&END SPLINE
&END FORCEFIELD
&POISSON
&EWALD
EWALD_TYPE SPME
GMAX 15 33 19
&END EWALD
&END POISSON
&END MM
&SUBSYS
&CELL
ABC 4.8195 10.4788 6.0873
MULTIPLE_UNIT_CELL 10 10 10
&END CELL
&TOPOLOGY
MULTIPLE_UNIT_CELL 10 10 10
&END TOPOLOGY
&COORD
SCALED
! Fe1 and symmetric images
Fe 0.0 0.0 0.0
Fe 0.5 0.5 0.5
Fe 0.0 0.0 0.5
Fe 0.5 0.5 0.0
! Fe2
Fe 0.98598 0.28026 0.25
Fe 0.51402 0.78026 0.25
Fe 0.01402 0.71974 0.75
Fe 0.48698 0.21974 0.75
! Si
Si 0.43122 0.09765 0.25
Si 0.06878 0.59765 0.25
Si 0.56878 0.90235 0.75
Si 0.93122 0.40235 0.75
! O1
O 0.76814 0.09217 0.25
O 0.73186 0.59217 0.25
O 0.23186 0.90783 0.75
O 0.26814 0.40783 0.75
! O2
O 0.20895 0.45365 0.25
O 0.29015 0.95365 0.25
O 0.79105 0.54635 0.75
O 0.70895 0.04635 0.75
! O3 (8 symmetric images)
O 0.28897 0.16563 0.03643
O 0.21103 0.66563 0.46357
O 0.71103 0.83437 0.53643
O 0.78897 0.33437 0.96357
O 0.71103 0.83437 0.96357
O 0.78897 0.33437 0.53643
O 0.28897 0.16563 0.46357
O 0.21103 0.66563 0.03643
&END COORD
&END SUBSYS
&END FORCE_EVAL
&MOTION
&MD
ENSEMBLE NPT_I
@ -118,7 +11,7 @@
TEMPERATURE 300
TIMESTEP 2.0
&BAROSTAT
PRESSURE 1.0
PRESSURE 1.0
&END BAROSTAT
&THERMOSTAT
&NOSE
@ -127,3 +20,108 @@
&END MD
&END MOTION
&FORCE_EVAL
METHOD FIST
STRESS_TENSOR ANALYTICAL
&MM
&FORCEFIELD
IGNORE_MISSING_CRITICAL_PARAMS
&CHARGE
ATOM Fe
CHARGE 1.2
&END CHARGE
&CHARGE
ATOM Si
CHARGE 2.4
&END CHARGE
&CHARGE
ATOM O
CHARGE -1.2
&END CHARGE
&NONBONDED
&GENPOT
ATOMS Fe O
FUNCTION D*((1-exp(-A*(X-R)))^2 - 1) + C/(X^12)
PARAMETERS D A R C
RCUT 5.5
UNITS eV angstrom^-1 angstrom eV*angstrom^12
VALUES 0.078171 1.822638 2.658163 2.0
VARIABLES X
&END GENPOT
&GENPOT
ATOMS Si O
FUNCTION D*((1-exp(-A*(X-R)))^2 - 1) + C/(X^12)
PARAMETERS D A R C
RCUT 5.5
UNITS eV angstrom^-1 angstrom eV*angstrom^12
VALUES 0.340554 2.006700 2.100000 1.0
VARIABLES X
&END GENPOT
&GENPOT
ATOMS O O
FUNCTION D*((1-exp(-A*(X-R)))^2 - 1) + C/(X^12)
PARAMETERS D A R C
RCUT 5.5
UNITS eV angstrom^-1 angstrom eV*angstrom^12
VALUES 0.042395 1.379316 3.618701 22.0
VARIABLES X
&END GENPOT
&END NONBONDED
&SPLINE
EMAX_SPLINE [eV] 100
&END SPLINE
&END FORCEFIELD
&POISSON
&EWALD
EWALD_TYPE SPME
GMAX 15 33 19
&END EWALD
&END POISSON
&END MM
&SUBSYS
&CELL
ABC 4.8195 10.4788 6.0873
MULTIPLE_UNIT_CELL 10 10 10
&END CELL
&COORD
SCALED
! Fe1 and symmetric images
Fe 0.0 0.0 0.0
Fe 0.5 0.5 0.5
Fe 0.0 0.0 0.5
Fe 0.5 0.5 0.0
! Fe2
Fe 0.98598 0.28026 0.25
Fe 0.51402 0.78026 0.25
Fe 0.01402 0.71974 0.75
Fe 0.48698 0.21974 0.75
! Si
Si 0.43122 0.09765 0.25
Si 0.06878 0.59765 0.25
Si 0.56878 0.90235 0.75
Si 0.93122 0.40235 0.75
! O1
O 0.76814 0.09217 0.25
O 0.73186 0.59217 0.25
O 0.23186 0.90783 0.75
O 0.26814 0.40783 0.75
! O2
O 0.20895 0.45365 0.25
O 0.29015 0.95365 0.25
O 0.79105 0.54635 0.75
O 0.70895 0.04635 0.75
! O3 (8 symmetric images)
O 0.28897 0.16563 0.03643
O 0.21103 0.66563 0.46357
O 0.71103 0.83437 0.53643
O 0.78897 0.33437 0.96357
O 0.71103 0.83437 0.96357
O 0.78897 0.33437 0.53643
O 0.28897 0.16563 0.46357
O 0.21103 0.66563 0.03643
&END COORD
&TOPOLOGY
MULTIPLE_UNIT_CELL 10 10 10
&END TOPOLOGY
&END SUBSYS
&END FORCE_EVAL

View file

@ -1,53 +1,103 @@
&GLOBAL
PRINT_LEVEL LOW
PROJECT force-opt-qmmm
RUN_TYPE MD
PRINT_LEVEL LOW
&END GLOBAL
&MOTION
&MD
ENSEMBLE NVE
STEPS 5
TEMPERATURE 300
TIMESTEP 1
&END MD
&END MOTION
&FORCE_EVAL
METHOD QMMM
&DFT
BASIS_SET_FILE_NAME BASIS_MOLOPT
CHARGE 1
MULTIPLICITY 1
BASIS_SET_FILE_NAME BASIS_MOLOPT
POTENTIAL_FILE_NAME POTENTIAL
POTENTIAL_FILE_NAME POTENTIAL
&MGRID
CUTOFF 400
COMMENSURATE
CUTOFF 400
&END MGRID
&SCF ! Parameters controlling the convergence of the scf. This section should not be changed.
SCF_GUESS RESTART
&QS
EPS_DEFAULT 1.0E-12
METHOD GPW
&END QS
&SCF ! Parameters controlling the convergence of the scf. This section should not be changed.
EPS_SCF 1.0E-6
MAX_SCF 300
&OT T
MINIMIZER DIIS
STEPSIZE 1.4999999999999999E-01
PRECONDITIONER FULL_ALL
&OT T
MINIMIZER DIIS
PRECONDITIONER FULL_ALL
STEPSIZE 1.4999999999999999E-01
&END OT
&END SCF
&XC ! Parameters needed to compute the electronic exchange potential
&XC ! Parameters needed to compute the electronic exchange potential
&XC_FUNCTIONAL PBE
&END XC_FUNCTIONAL
&END XC
&QS
METHOD GPW
EPS_DEFAULT 1.0E-12
&END QS
&END DFT
&QMMM ! This defines the QS cell in the QMMM calc
&MM
&FORCEFIELD
DO_NONBONDED .TRUE.
EI_SCALE14 1.0
PARMTYPE AMBER
PARM_FILE_NAME CBD_PHY.prmtop
VDW_SCALE14 1.0
&SPLINE
EMAX_SPLINE 1.0E14
RCUT_NB [angstrom] 12
&END SPLINE
&END FORCEFIELD
&POISSON
&EWALD
ALPHA .40
EWALD_TYPE SPME
GMAX 80
&END EWALD
&END POISSON
&PRINT
# &FF_INFO OFF
# &END FF_INFO
&END PRINT
&END MM
&QMMM ! This defines the QS cell in the QMMM calc
ECOUPL GAUSS
USE_GEEP_LIB 15
&CELL
ABC 25 25 25
PERIODIC XYZ
&END CELL
ECOUPL GAUSS
USE_GEEP_LIB 15
&PERIODIC # apply periodic potential
&LINK ! !Separate link for each cut atom bond
LINK_TYPE IMOMM
MM_INDEX 550
QMMM_SCALE_FACTOR 0
QM_INDEX 7953
QM_KIND H
&END LINK
&LINK
LINK_TYPE IMOMM
MM_INDEX 7978
QMMM_SCALE_FACTOR 0
QM_INDEX 7984
QM_KIND H
&END LINK
&LINK
LINK_TYPE IMOMM
MM_INDEX 7972
QMMM_SCALE_FACTOR 0
QM_INDEX 7987
QM_KIND H
&END LINK
&PERIODIC # apply periodic potential
#turn on/off coupling/recoupling of the QM multipole
&MULTIPOLE ON
&END
&END MULTIPOLE
&END PERIODIC
&QM_KIND O
MM_INDEX 7922 7947
@ -61,99 +111,41 @@
&QM_KIND H
MM_INDEX 7914 7917 7921 7924 7927 7932 7935 7940 7943 7949 7951 7952 7954 7955 7957 7958 7959 7961 7962 7963 7965 7966 7967 7969 7970 7971 7985 7986 7988 7989
&END QM_KIND
&LINK ! !Separate link for each cut atom bond
QM_KIND H
MM_INDEX 550
QM_INDEX 7953
LINK_TYPE IMOMM
QMMM_SCALE_FACTOR 0
&END LINK
&LINK
QM_KIND H
MM_INDEX 7978
QM_INDEX 7984
LINK_TYPE IMOMM
QMMM_SCALE_FACTOR 0
&END LINK
&LINK
QM_KIND H
MM_INDEX 7972
QM_INDEX 7987
LINK_TYPE IMOMM
QMMM_SCALE_FACTOR 0
&END LINK
&END QMMM
&MM
&FORCEFIELD
PARMTYPE AMBER
DO_NONBONDED .TRUE.
PARM_FILE_NAME CBD_PHY.prmtop
EI_SCALE14 1.0
VDW_SCALE14 1.0
&SPLINE
EMAX_SPLINE 1.0E14
RCUT_NB [angstrom] 12
&END SPLINE
&END FORCEFIELD
&POISSON
&EWALD
EWALD_TYPE SPME
ALPHA .40
GMAX 80
&END EWALD
&END POISSON
&PRINT
# &FF_INFO OFF
# &END FF_INFO
&END PRINT
&END MM
&SUBSYS
&CELL
ABC 119.004 119.004 119.004
# PERIODIC XYZ
ABC 119.004 119.004 119.004
# PERIODIC XYZ
ALPHA_BETA_GAMMA 90 90 90
&END CELL
&TOPOLOGY ! Section used to center the atomic coordinates in the given box. Useful for big molecules
&KIND H
BASIS_SET DZVP-MOLOPT-GTH
ELEMENT H
POTENTIAL GTH-PBE-q1
&END KIND
&KIND C
BASIS_SET DZVP-MOLOPT-GTH
ELEMENT C
POTENTIAL GTH-PBE-q4
&END KIND
&KIND N
BASIS_SET DZVP-MOLOPT-GTH
ELEMENT N
POTENTIAL GTH-PBE-q5
&END KIND
&KIND O
BASIS_SET DZVP-MOLOPT-GTH
ELEMENT O
POTENTIAL GTH-PBE-q6
&END KIND
&TOPOLOGY ! Section used to center the atomic coordinates in the given box. Useful for big molecules
CONN_FILE_FORMAT AMBER
CONN_FILE_NAME CBD_PHY.prmtop
COORD_FILE_FORMAT PDB
COORD_FILE_NAME CBD_PHY.pdb
&CENTER_COORDINATES
CENTER_POINT 9.5 11.7 15.3
CENTER_POINT 9.5 11.7 15.3
&END CENTER_COORDINATES
&END TOPOLOGY
&KIND H
ELEMENT H
BASIS_SET DZVP-MOLOPT-GTH
POTENTIAL GTH-PBE-q1
&END KIND
&KIND C
ELEMENT C
BASIS_SET DZVP-MOLOPT-GTH
POTENTIAL GTH-PBE-q4
&END KIND
&KIND N
ELEMENT N
BASIS_SET DZVP-MOLOPT-GTH
POTENTIAL GTH-PBE-q5
&END KIND
&KIND O
ELEMENT O
BASIS_SET DZVP-MOLOPT-GTH
POTENTIAL GTH-PBE-q6
&END KIND
&END SUBSYS
&END FORCE_EVAL
&MOTION
&MD
ENSEMBLE NVE
STEPS 5
TEMPERATURE 300
TIMESTEP 1
&END MD
&END MOTION

View file

@ -2,22 +2,20 @@
## Description
This benchmark performs a short QM/MM MD simulation of 5 steps.
The CBD_PHY system contains a phytochrome dimer (PBD-ID: 4O0P) with a bound
chromophore, solvated in water. There are 68 QM atoms in this system and 167,922
atoms in total. The QM atoms are modelled using the GPW method with the DZVP-MOLOPT-GTH
basis set and PBE XC functional. For the MM part the Amber03 forcefield is used
for the protein and water molecules are treated using the TIP3P model. The QM/MM
coupling is described with the Gaussian Expansion of the Electrostatic Potential
(GEEP) method, and the bonds between the QM and MM atoms are treated using the
Generalized Hybrid Orbital (GHO) method.
This benchmark performs a short QM/MM MD simulation of 5 steps. The CBD_PHY system contains a
phytochrome dimer (PBD-ID: 4O0P) with a bound chromophore, solvated in water. There are 68 QM atoms
in this system and 167,922 atoms in total. The QM atoms are modelled using the GPW method with the
DZVP-MOLOPT-GTH basis set and PBE XC functional. For the MM part the Amber03 forcefield is used for
the protein and water molecules are treated using the TIP3P model. The QM/MM coupling is described
with the Gaussian Expansion of the Electrostatic Potential (GEEP) method, and the bonds between the
QM and MM atoms are treated using the Generalized Hybrid Orbital (GHO) method.
## Files description
`CBD_PHY.inp` - CP2K input file.
`CBD_PHY.prmtop` - Amber forcefield for MM atoms. The Amber03 forcefield and
the TIP3P water model are used.
`CBD_PHY.prmtop` - Amber forcefield for MM atoms. The Amber03 forcefield and the TIP3P water model
are used.
`CBD_PHY.pdb` - Atomic input coordinates.

View file

@ -1,54 +1,89 @@
&GLOBAL
PRINT_LEVEL LOW
PROJECT CIC
RUN_TYPE MD
PRINT_LEVEL LOW
&END GLOBAL
&MOTION
&MD
ENSEMBLE NVE
STEPS 5
TEMPERATURE 300
TIMESTEP 1
&END MD
&END MOTION
&FORCE_EVAL
METHOD QMMM
&DFT
BASIS_SET_FILE_NAME BASIS_MOLOPT
CHARGE 1
MULTIPLICITY 1
BASIS_SET_FILE_NAME BASIS_MOLOPT
POTENTIAL_FILE_NAME POTENTIAL
POTENTIAL_FILE_NAME POTENTIAL
&MGRID
CUTOFF 400
COMMENSURATE
CUTOFF 400
&END MGRID
&SCF ! Parameters controlling the convergence of the scf. This section should not be changed.
SCF_GUESS RESTART
&QS
EPS_DEFAULT 1.0E-12
METHOD GPW
&END QS
&SCF ! Parameters controlling the convergence of the scf. This section should not be changed.
EPS_SCF 1.0E-6
MAX_SCF 300
&OT T
MINIMIZER DIIS
STEPSIZE 1.4999999999999999E-01
PRECONDITIONER FULL_ALL
&OT T
MINIMIZER DIIS
PRECONDITIONER FULL_ALL
STEPSIZE 1.4999999999999999E-01
&END OT
&END SCF
&XC ! Parameters needed to compute the electronic exchange potential
&XC ! Parameters needed to compute the electronic exchange potential
&XC_FUNCTIONAL BLYP
&END XC_FUNCTIONAL
&END XC
&QS
METHOD GPW
EPS_DEFAULT 1.0E-12
&END QS
&END DFT
&QMMM ! This defines the QS cell in the QMMM calc
&MM
&FORCEFIELD
DO_NONBONDED .TRUE.
EI_SCALE14 1.0
PARMTYPE AMBER
PARM_FILE_NAME ClC.prmtop
VDW_SCALE14 1.0
&SPLINE
EMAX_SPLINE 1.0E14
RCUT_NB [angstrom] 12
&END SPLINE
&END FORCEFIELD
&POISSON
&EWALD
ALPHA .40
EWALD_TYPE SPME
GMAX 80
&END EWALD
&END POISSON
&END MM
&QMMM ! This defines the QS cell in the QMMM calc
CENTER EVERY_STEP
ECOUPL GAUSS
USE_GEEP_LIB 15
&CELL
ABC 17.7 17.7 17.7
PERIODIC XYZ
&END CELL
CENTER EVERY_STEP
ECOUPL GAUSS
USE_GEEP_LIB 15
&PERIODIC # apply periodic potential
&LINK
LINK_TYPE IMOMM
MM_INDEX 2878
QM_INDEX 2880
&END LINK
&LINK
LINK_TYPE IMOMM
MM_INDEX 2070
QM_INDEX 2072
&END LINK
&PERIODIC # apply periodic potential
#turn on/off coupling/recoupling of the QM multipole
&MULTIPOLE ON
&END
&END MULTIPOLE
&END PERIODIC
&QM_KIND O
MM_INDEX 2887 2888 2080 2079
@ -59,90 +94,47 @@
&QM_KIND H
MM_INDEX 2884 2885 2881 2882 2074 2073 2077 2076 2081
&END QM_KIND
&LINK
MM_INDEX 2878
QM_INDEX 2880
LINK_TYPE IMOMM
&END LINK
&LINK
MM_INDEX 2070
QM_INDEX 2072
LINK_TYPE IMOMM
&END LINK
&END QMMM
&MM
&FORCEFIELD
PARMTYPE AMBER
PARM_FILE_NAME ClC.prmtop
DO_NONBONDED .TRUE.
EI_SCALE14 1.0
VDW_SCALE14 1.0
&SPLINE
EMAX_SPLINE 1.0E14
RCUT_NB [angstrom] 12
&END SPLINE
&END FORCEFIELD
&POISSON
&EWALD
EWALD_TYPE SPME
ALPHA .40
GMAX 80
&END EWALD
&END POISSON
&END MM
&END QMMM
&SUBSYS
&CELL
ABC 126.9338000 126.9338000 90.6262000
PERIODIC XYZ
ABC 126.9338000 126.9338000 90.6262000
ALPHA_BETA_GAMMA 90 90 90
PERIODIC XYZ
&END CELL
&TOPOLOGY ! Section used to center the atomic coordinates in the given box. Useful for big molecules
CONN_FILE_FORMAT AMBER
CONN_FILE_NAME ClC.prmtop
COORD_FILE_FORMAT PDB
COORD_FILE_NAME ClC.pdb
&CENTER_COORDINATES
&END CENTER_COORDINATES
&END TOPOLOGY
&KIND H
ELEMENT H
BASIS_SET DZVP-MOLOPT-GTH
ELEMENT H
POTENTIAL GTH-BLYP-q1
&END KIND
&KIND C
ELEMENT C
BASIS_SET DZVP-MOLOPT-GTH
ELEMENT C
POTENTIAL GTH-BLYP-q4
&END KIND
&KIND O
ELEMENT O
&KIND O
BASIS_SET DZVP-MOLOPT-GTH
ELEMENT O
POTENTIAL GTH-BLYP-q6
&END KIND
&KIND CL-
&KIND CL-
ELEMENT CL
&END KIND
&KIND NA+
&END KIND
&KIND NA+
ELEMENT NA
&END KIND
&KIND HX1
&END KIND
&KIND HX1
ELEMENT H
&END KIND
&KIND HX2
&END KIND
&KIND HX2
ELEMENT H
&END KIND
&END KIND
&TOPOLOGY ! Section used to center the atomic coordinates in the given box. Useful for big molecules
CONN_FILE_FORMAT AMBER
CONN_FILE_NAME ClC.prmtop
COORD_FILE_FORMAT PDB
COORD_FILE_NAME ClC.pdb
&CENTER_COORDINATES
&END CENTER_COORDINATES
&END TOPOLOGY
&END SUBSYS
&END FORCE_EVAL
&MOTION
&MD
ENSEMBLE NVE
STEPS 5
TEMPERATURE 300
TIMESTEP 1
&END MD
&END MOTION

View file

@ -1,190 +1,53 @@
&GLOBAL
PRINT_LEVEL LOW
PROJECT CIC
RUN_TYPE MD
PRINT_LEVEL LOW
&END GLOBAL
&MOTION
&MD
ENSEMBLE NVE
STEPS 5
TEMPERATURE 300
TIMESTEP 1
&END MD
&END MOTION
&FORCE_EVAL
METHOD QMMM
&DFT
BASIS_SET_FILE_NAME BASIS_MOLOPT
CHARGE 1
MULTIPLICITY 1
BASIS_SET_FILE_NAME BASIS_MOLOPT
POTENTIAL_FILE_NAME POTENTIAL
POTENTIAL_FILE_NAME POTENTIAL
&MGRID
CUTOFF 300
COMMENSURATE
CUTOFF 300
&END MGRID
&SCF ! Parameters controlling the convergence of the scf. This section should not be changed.
SCF_GUESS RESTART
&QS
EPS_DEFAULT 1.0E-12
METHOD GPW
&END QS
&SCF ! Parameters controlling the convergence of the scf. This section should not be changed.
EPS_SCF 1.0E-6
MAX_SCF 300
&OT T
MINIMIZER DIIS
STEPSIZE 1.4999999999999999E-01
PRECONDITIONER FULL_ALL
&OT T
MINIMIZER DIIS
PRECONDITIONER FULL_ALL
STEPSIZE 1.4999999999999999E-01
&END OT
&END SCF
&XC ! Parameters needed to compute the electronic exchange potential
&XC ! Parameters needed to compute the electronic exchange potential
&XC_FUNCTIONAL BLYP
&END XC_FUNCTIONAL
&END XC
&QS
METHOD GPW
EPS_DEFAULT 1.0E-12
&END QS
&END DFT
&QMMM ! This defines the QS cell in the QMMM calc
&CELL
ABC 27.517 25.316 25.316
PERIODIC XYZ
&END CELL
CENTER EVERY_STEP
ECOUPL GAUSS
USE_GEEP_LIB 15
&PERIODIC # apply periodic potential
#turn on/off coupling/recoupling of the QM multipole
&MULTIPOLE ON
&END
&END PERIODIC
PARALLEL_SCHEME GRID
&QM_KIND S
MM_INDEX 2901
&END QM_KIND
&QM_KIND H
MM_INDEX 1453 1455 1457 1459 1460 1461 1463 1464 1466 1467 1468 2069 2862
MM_INDEX 2071 2073 2074 2076 2077 2081 2085 2087 2088 2120 2122 2124 2126
MM_INDEX 2127 2128 2130 2131 2132 2623 2625 2627 2628 2630 2632 2633 2634
MM_INDEX 2636 2637 2638 2662 2664 2666 2667 2668 2672 2674 2676 2677 2680
MM_INDEX 2682 2684 2686 2688 2804 2806 2808 2809 2812 2814 2816 2818 2820
MM_INDEX 2866 2867 2869 2870 2877 2879 2881 2882 2884 2885 2892 2894 2896
MM_INDEX 2897 2899 2900 2903 2904 2905 5265 5266 5269 5271 5273 5275 5277
MM_INDEX 5904 5906 5907 5908 5910 5911 5913 5914 5915 5947 5948 5949 5986
MM_INDEX 5988 5990 5992 5993 5994 5996 6576 6578 6579 6582 6584 6587 6589
MM_INDEX 6591
&END QM_KIND
&QM_KIND N
MM_INDEX 1452 2068 2084 2119 2622 2661 2671 2803 2876 2891 5985 2861
&END QM_KIND
&QM_KIND O
MM_INDEX 1451 2067 2079 2080 2083 2670 2822 2872 2873 2875 2887 2888 2890
MM_INDEX 5995 6586
MM_INDEX 2118 2860 2802 5984 2621
&END QM_KIND
&QM_KIND C
MM_INDEX 1450 1454 1456 1458 1462 1465 2066 2070 2072 2075 2078 2082 2086
MM_INDEX 2121 2123 2125 2129 2624 2626 2629 2631 2635 2663 2665 2669 2673
MM_INDEX 2675 2678 2679 2681 2683 2685 2687 2805 2807 2810 2811 2813 2815
MM_INDEX 2817 2819 2863 2865 2868 2871 2874 2878 2880 2883 2886 2889 2893
MM_INDEX 2895 2898 2902 5264 5267 5268 5270 5272 5274 5276 5903 5905 5909
MM_INDEX 5912 5946 5987 5989 5991 6575 6577 6580 6581 6583 6585 6588 6590
MM_INDEX 2859 2801 5983 2620 2117
&END QM_KIND
&LINK
MM_INDEX 5968
QM_INDEX 5983
LINK_TYPE IMOMM
&END LINK
&LINK
MM_INDEX 2786
QM_INDEX 2801
LINK_TYPE IMOMM
&END LINK
&LINK
MM_INDEX 2844
QM_INDEX 2859
LINK_TYPE IMOMM
&END LINK
&LINK
MM_INDEX 2906
QM_INDEX 2893
LINK_TYPE IMOMM
&END LINK
&LINK
MM_INDEX 5944
QM_INDEX 5946
LINK_TYPE IMOMM
&END LINK
&LINK
MM_INDEX 6592
QM_INDEX 6575
LINK_TYPE IMOMM
&END LINK
&LINK
MM_INDEX 1469
QM_INDEX 1454
LINK_TYPE IMOMM
&END LINK
&LINK
MM_INDEX 2617
QM_INDEX 2620
LINK_TYPE IMOMM
&END LINK
&LINK
MM_INDEX 5901
QM_INDEX 5903
LINK_TYPE IMOMM
&END LINK
&LINK
MM_INDEX 5262
QM_INDEX 5264
LINK_TYPE IMOMM
&END LINK
&LINK
MM_INDEX 2133
QM_INDEX 2121
LINK_TYPE IMOMM
&END LINK
&LINK
MM_INDEX 2107
QM_INDEX 2117
LINK_TYPE IMOMM
&END LINK
&LINK
MM_INDEX 2089
QM_INDEX 2086
LINK_TYPE IMOMM
&END LINK
&LINK
MM_INDEX 2046
QM_INDEX 2066
LINK_TYPE IMOMM
&END LINK
&LINK
MM_INDEX 2689
QM_INDEX 2673
LINK_TYPE IMOMM
&END LINK
&LINK
MM_INDEX 2639
QM_INDEX 2624
LINK_TYPE IMOMM
&END LINK
&LINK
MM_INDEX 2821
QM_INDEX 2805
LINK_TYPE IMOMM
&END LINK
&LINK
MM_INDEX 1447
QM_INDEX 1450
LINK_TYPE IMOMM
&END LINK
&LINK
MM_INDEX 5997
QM_INDEX 5987
LINK_TYPE IMOMM
&END LINK
&END QMMM
&MM
&MM
&FORCEFIELD
PARMTYPE AMBER
PARM_FILE_NAME ClC.prmtop
DO_NONBONDED .TRUE.
EI_SCALE14 1.0
PARMTYPE AMBER
PARM_FILE_NAME ClC.prmtop
VDW_SCALE14 1.0
&SPLINE
EMAX_SPLINE 1.0E14
@ -193,74 +56,204 @@
&END FORCEFIELD
&POISSON
&EWALD
EWALD_TYPE SPME
ALPHA .40
EWALD_TYPE SPME
GMAX 80
&END EWALD
&END POISSON
&END MM
&QMMM ! This defines the QS cell in the QMMM calc
CENTER EVERY_STEP
ECOUPL GAUSS
PARALLEL_SCHEME GRID
USE_GEEP_LIB 15
&CELL
ABC 27.517 25.316 25.316
PERIODIC XYZ
&END CELL
&LINK
LINK_TYPE IMOMM
MM_INDEX 5968
QM_INDEX 5983
&END LINK
&LINK
LINK_TYPE IMOMM
MM_INDEX 2786
QM_INDEX 2801
&END LINK
&LINK
LINK_TYPE IMOMM
MM_INDEX 2844
QM_INDEX 2859
&END LINK
&LINK
LINK_TYPE IMOMM
MM_INDEX 2906
QM_INDEX 2893
&END LINK
&LINK
LINK_TYPE IMOMM
MM_INDEX 5944
QM_INDEX 5946
&END LINK
&LINK
LINK_TYPE IMOMM
MM_INDEX 6592
QM_INDEX 6575
&END LINK
&LINK
LINK_TYPE IMOMM
MM_INDEX 1469
QM_INDEX 1454
&END LINK
&LINK
LINK_TYPE IMOMM
MM_INDEX 2617
QM_INDEX 2620
&END LINK
&LINK
LINK_TYPE IMOMM
MM_INDEX 5901
QM_INDEX 5903
&END LINK
&LINK
LINK_TYPE IMOMM
MM_INDEX 5262
QM_INDEX 5264
&END LINK
&LINK
LINK_TYPE IMOMM
MM_INDEX 2133
QM_INDEX 2121
&END LINK
&LINK
LINK_TYPE IMOMM
MM_INDEX 2107
QM_INDEX 2117
&END LINK
&LINK
LINK_TYPE IMOMM
MM_INDEX 2089
QM_INDEX 2086
&END LINK
&LINK
LINK_TYPE IMOMM
MM_INDEX 2046
QM_INDEX 2066
&END LINK
&LINK
LINK_TYPE IMOMM
MM_INDEX 2689
QM_INDEX 2673
&END LINK
&LINK
LINK_TYPE IMOMM
MM_INDEX 2639
QM_INDEX 2624
&END LINK
&LINK
LINK_TYPE IMOMM
MM_INDEX 2821
QM_INDEX 2805
&END LINK
&LINK
LINK_TYPE IMOMM
MM_INDEX 1447
QM_INDEX 1450
&END LINK
&LINK
LINK_TYPE IMOMM
MM_INDEX 5997
QM_INDEX 5987
&END LINK
&PERIODIC # apply periodic potential
#turn on/off coupling/recoupling of the QM multipole
&MULTIPOLE ON
&END MULTIPOLE
&END PERIODIC
&QM_KIND S
MM_INDEX 2901
&END QM_KIND
&QM_KIND H
MM_INDEX 1453 1455 1457 1459 1460 1461 1463 1464 1466 1467 1468 2069 2862
MM_INDEX 2071 2073 2074 2076 2077 2081 2085 2087 2088 2120 2122 2124 2126
MM_INDEX 2127 2128 2130 2131 2132 2623 2625 2627 2628 2630 2632 2633 2634
MM_INDEX 2636 2637 2638 2662 2664 2666 2667 2668 2672 2674 2676 2677 2680
MM_INDEX 2682 2684 2686 2688 2804 2806 2808 2809 2812 2814 2816 2818 2820
MM_INDEX 2866 2867 2869 2870 2877 2879 2881 2882 2884 2885 2892 2894 2896
MM_INDEX 2897 2899 2900 2903 2904 2905 5265 5266 5269 5271 5273 5275 5277
MM_INDEX 5904 5906 5907 5908 5910 5911 5913 5914 5915 5947 5948 5949 5986
MM_INDEX 5988 5990 5992 5993 5994 5996 6576 6578 6579 6582 6584 6587 6589
MM_INDEX 6591
&END QM_KIND
&QM_KIND N
MM_INDEX 1452 2068 2084 2119 2622 2661 2671 2803 2876 2891 5985 2861
&END QM_KIND
&QM_KIND O
MM_INDEX 1451 2067 2079 2080 2083 2670 2822 2872 2873 2875 2887 2888 2890
MM_INDEX 5995 6586
MM_INDEX 2118 2860 2802 5984 2621
&END QM_KIND
&QM_KIND C
MM_INDEX 1450 1454 1456 1458 1462 1465 2066 2070 2072 2075 2078 2082 2086
MM_INDEX 2121 2123 2125 2129 2624 2626 2629 2631 2635 2663 2665 2669 2673
MM_INDEX 2675 2678 2679 2681 2683 2685 2687 2805 2807 2810 2811 2813 2815
MM_INDEX 2817 2819 2863 2865 2868 2871 2874 2878 2880 2883 2886 2889 2893
MM_INDEX 2895 2898 2902 5264 5267 5268 5270 5272 5274 5276 5903 5905 5909
MM_INDEX 5912 5946 5987 5989 5991 6575 6577 6580 6581 6583 6585 6588 6590
MM_INDEX 2859 2801 5983 2620 2117
&END QM_KIND
&END QMMM
&SUBSYS
&CELL
ABC 126.9338000 126.9338000 90.6262000
PERIODIC XYZ
ABC 126.9338000 126.9338000 90.6262000
ALPHA_BETA_GAMMA 90 90 90
PERIODIC XYZ
&END CELL
&TOPOLOGY ! Section used to center the atomic coordinates in the given box. Useful for big molecules
CONN_FILE_FORMAT AMBER
CONN_FILE_NAME ClC.prmtop
COORD_FILE_FORMAT PDB
COORD_FILE_NAME ClC.pdb
&CENTER_COORDINATES
&END CENTER_COORDINATES
&END TOPOLOGY
&KIND H
ELEMENT H
BASIS_SET DZVP-MOLOPT-GTH
ELEMENT H
POTENTIAL GTH-BLYP-q1
&END KIND
&KIND C
ELEMENT C
BASIS_SET DZVP-MOLOPT-GTH
ELEMENT C
POTENTIAL GTH-BLYP-q4
&END KIND
&KIND N
ELEMENT N
BASIS_SET DZVP-MOLOPT-GTH
ELEMENT N
POTENTIAL GTH-BLYP-q5
&END KIND
&KIND O
ELEMENT O
&KIND O
BASIS_SET DZVP-MOLOPT-GTH
ELEMENT O
POTENTIAL GTH-BLYP-q6
&END KIND
&KIND S
ELEMENT S
BASIS_SET DZVP-MOLOPT-GTH
ELEMENT S
POTENTIAL GTH-BLYP-q6
&END KIND
&KIND CL-
&KIND CL-
ELEMENT CL
&END KIND
&KIND NA+
&END KIND
&KIND NA+
ELEMENT NA
&END KIND
&KIND HX1
&END KIND
&KIND HX1
ELEMENT H
&END KIND
&KIND HX2
&END KIND
&KIND HX2
ELEMENT H
&END KIND
&END KIND
&TOPOLOGY ! Section used to center the atomic coordinates in the given box. Useful for big molecules
CONN_FILE_FORMAT AMBER
CONN_FILE_NAME ClC.prmtop
COORD_FILE_FORMAT PDB
COORD_FILE_NAME ClC.pdb
&CENTER_COORDINATES
&END CENTER_COORDINATES
&END TOPOLOGY
&END SUBSYS
&END FORCE_EVAL
&MOTION
&MD
ENSEMBLE NVE
STEPS 5
TEMPERATURE 300
TIMESTEP 1
&END MD
&END MOTION

View file

@ -2,19 +2,17 @@
## Description
This benchmark performs a short QM/MM MD simulation of 5 steps.
ClC consists of a (ClC-ec1) chloride ion channel embedded in a lipid bilayer
(PDB-ID: 1KPK), which is solvated in water. Two variants are included for this
system - ClC-19 and ClC-253 which differ only in having respectively 19 and 253
atoms treated quantum mechanically, representing a small and large QM subsystem
within a large MM subsystem (150,925 atoms in total). The QM regions are modelled
using the GPW method with the DZVP-MOLOPT-GTH basis set and the BLYP XC functional
and the corresponding pseudopotentials. An energy cut-off for the plane waves of
300 Ry was found to be suitable. The Amber14 forcefield is used for the protein
and lipid14 forcefield is used for the lipid molecules, and water molecules are
treated using the TIP3P model. The QM/MM coupling is described with the Gaussian
Expansion of the Electrostatic Potential (GEEP) method, and the bonds between
the QM and MM atoms are treated using the Generalized Hybrid Orbital (GHO) method.
This benchmark performs a short QM/MM MD simulation of 5 steps. ClC consists of a (ClC-ec1) chloride
ion channel embedded in a lipid bilayer (PDB-ID: 1KPK), which is solvated in water. Two variants are
included for this system - ClC-19 and ClC-253 which differ only in having respectively 19 and 253
atoms treated quantum mechanically, representing a small and large QM subsystem within a large MM
subsystem (150,925 atoms in total). The QM regions are modelled using the GPW method with the
DZVP-MOLOPT-GTH basis set and the BLYP XC functional and the corresponding pseudopotentials. An
energy cut-off for the plane waves of 300 Ry was found to be suitable. The Amber14 forcefield is
used for the protein and lipid14 forcefield is used for the lipid molecules, and water molecules are
treated using the TIP3P model. The QM/MM coupling is described with the Gaussian Expansion of the
Electrostatic Potential (GEEP) method, and the bonds between the QM and MM atoms are treated using
the Generalized Hybrid Orbital (GHO) method.
See also <https://doi.org/10.1021/acs.jctc.9b00424>.
@ -24,8 +22,8 @@ See also <https://doi.org/10.1021/acs.jctc.9b00424>.
`ClC-253.inp` - ClC with 253 QM atoms.
`ClC.prmtop` - Amber forcefield for MM atoms. The Amber14 forcefield and
the TIP3P water model are used.
`ClC.prmtop` - Amber forcefield for MM atoms. The Amber14 forcefield and the TIP3P water model are
used.
`ClC.pdb` - Atomic input coordinates.

View file

@ -1,72 +1,52 @@
&GLOBAL
PRINT_LEVEL LOW
PROJECT MQAE
RUN_TYPE MD
PRINT_LEVEL LOW
&END GLOBAL
&MOTION
&MD
ENSEMBLE NVE
STEPS 5
TEMPERATURE 300
TIMESTEP 1
&END MD
&END MOTION
&FORCE_EVAL
METHOD QMMM
&DFT
BASIS_SET_FILE_NAME BASIS_MOLOPT
CHARGE 1
MULTIPLICITY 1
BASIS_SET_FILE_NAME BASIS_MOLOPT
POTENTIAL_FILE_NAME POTENTIAL
POTENTIAL_FILE_NAME POTENTIAL
&MGRID
CUTOFF 400
COMMENSURATE
CUTOFF 400
&END MGRID
&SCF ! Parameters controlling the convergence of the scf. This section should not be changed.
SCF_GUESS RESTART
&QS
EPS_DEFAULT 1.0E-12
METHOD GPW
&END QS
&SCF ! Parameters controlling the convergence of the scf. This section should not be changed.
EPS_SCF 1.0E-6
MAX_SCF 300
&OT T
MINIMIZER DIIS
STEPSIZE 1.4999999999999999E-01
PRECONDITIONER FULL_ALL
&OT T
MINIMIZER DIIS
PRECONDITIONER FULL_ALL
STEPSIZE 1.4999999999999999E-01
&END OT
&END SCF
&XC ! Parameters needed to compute the electronic exchange potential
&XC ! Parameters needed to compute the electronic exchange potential
&XC_FUNCTIONAL BLYP
&END XC_FUNCTIONAL
&END XC
&QS
METHOD GPW
EPS_DEFAULT 1.0E-12
&END QS
&END DFT
&QMMM ! This defines the QS cell in the QMMM calc
&CELL
ABC 13.79565 17.3825 10.76061
PERIODIC XYZ
&END CELL
ECOUPL GAUSS
USE_GEEP_LIB 15
&PERIODIC # apply periodic potential
#turn on/off coupling/recoupling of the QM multipole
&MULTIPOLE ON
&END
&END PERIODIC
&QM_KIND O
MM_INDEX 1 3 28
&END QM_KIND
&QM_KIND N
MM_INDEX 14
&END QM_KIND
&QM_KIND C
MM_INDEX 2 4 7 11 15 17 19 21 22 23 25 27 29 33
&END QM_KIND
&QM_KIND H
MM_INDEX 5 6 8 9 10 12 13 16 18 20 24 26 30 31 32 34
&END QM_KIND
&END QMMM
&MM
&MM
&FORCEFIELD
EI_SCALE14 1.0
PARMTYPE AMBER
PARM_FILE_NAME MQAE.prmtop
EI_SCALE14 1.0
VDW_SCALE14 1.0
&SPLINE
EMAX_SPLINE 1.0E14
@ -75,55 +55,68 @@
&END FORCEFIELD
&POISSON
&EWALD
EWALD_TYPE SPME
ALPHA .40
EWALD_TYPE SPME
GMAX 80
&END EWALD
&END POISSON
&END MM
&QMMM ! This defines the QS cell in the QMMM calc
ECOUPL GAUSS
USE_GEEP_LIB 15
&CELL
ABC 13.79565 17.3825 10.76061
PERIODIC XYZ
&END CELL
&PERIODIC # apply periodic potential
#turn on/off coupling/recoupling of the QM multipole
&MULTIPOLE ON
&END MULTIPOLE
&END PERIODIC
&QM_KIND O
MM_INDEX 1 3 28
&END QM_KIND
&QM_KIND N
MM_INDEX 14
&END QM_KIND
&QM_KIND C
MM_INDEX 2 4 7 11 15 17 19 21 22 23 25 27 29 33
&END QM_KIND
&QM_KIND H
MM_INDEX 5 6 8 9 10 12 13 16 18 20 24 26 30 31 32 34
&END QM_KIND
&END QMMM
&SUBSYS
&CELL
ABC 41.751 41.751 41.751
PERIODIC XYZ
ALPHA_BETA_GAMMA 90 90 90
PERIODIC XYZ
&END CELL
&TOPOLOGY ! Section used to center the atomic coordinates in the given box. Useful for big molecules
&KIND H
BASIS_SET DZVP-MOLOPT-GTH
ELEMENT H
POTENTIAL GTH-BLYP-q1
&END KIND
&KIND C
BASIS_SET DZVP-MOLOPT-GTH
ELEMENT C
POTENTIAL GTH-BLYP-q4
&END KIND
&KIND O
BASIS_SET DZVP-MOLOPT-GTH
ELEMENT O
POTENTIAL GTH-BLYP-q6
&END KIND
&KIND N
BASIS_SET DZVP-MOLOPT-GTH
ELEMENT N
POTENTIAL GTH-BLYP-q5
&END KIND
&TOPOLOGY ! Section used to center the atomic coordinates in the given box. Useful for big molecules
CONN_FILE_FORMAT AMBER
CONN_FILE_NAME MQAE.prmtop
COORD_FILE_FORMAT PDB
COORD_FILE_NAME MQAE.pdb
&END TOPOLOGY
&KIND H
ELEMENT H
BASIS_SET DZVP-MOLOPT-GTH
POTENTIAL GTH-BLYP-q1
&END KIND
&KIND C
ELEMENT C
BASIS_SET DZVP-MOLOPT-GTH
POTENTIAL GTH-BLYP-q4
&END KIND
&KIND O
ELEMENT O
BASIS_SET DZVP-MOLOPT-GTH
POTENTIAL GTH-BLYP-q6
&END KIND
&KIND N
ELEMENT N
BASIS_SET DZVP-MOLOPT-GTH
POTENTIAL GTH-BLYP-q5
&END KIND
&END SUBSYS
&END SUBSYS
&END FORCE_EVAL
&MOTION
&MD
ENSEMBLE NVE
STEPS 5
TEMPERATURE 300
TIMESTEP 1
&END MD
&END MOTION

View file

@ -1,72 +1,52 @@
&GLOBAL
PRINT_LEVEL LOW
PROJECT MQAE_single_node
RUN_TYPE MD
PRINT_LEVEL LOW
&END GLOBAL
&MOTION
&MD
ENSEMBLE NVE
STEPS 5
TEMPERATURE 300
TIMESTEP 1
&END MD
&END MOTION
&FORCE_EVAL
METHOD QMMM
&DFT
BASIS_SET_FILE_NAME BASIS_MOLOPT
CHARGE 1
MULTIPLICITY 1
BASIS_SET_FILE_NAME BASIS_MOLOPT
POTENTIAL_FILE_NAME POTENTIAL
POTENTIAL_FILE_NAME POTENTIAL
&MGRID
CUTOFF 300
COMMENSURATE
CUTOFF 300
&END MGRID
&SCF ! Parameters controlling the convergence of the scf. This section should not be changed.
SCF_GUESS RESTART
&QS
EPS_DEFAULT 1.0E-10
METHOD GPW
&END QS
&SCF ! Parameters controlling the convergence of the scf. This section should not be changed.
EPS_SCF 1.0E-5
MAX_SCF 100
&OT T
MINIMIZER DIIS
STEPSIZE 1.4999999999999999E-01
PRECONDITIONER FULL_ALL
&OT T
MINIMIZER DIIS
PRECONDITIONER FULL_ALL
STEPSIZE 1.4999999999999999E-01
&END OT
&END SCF
&XC ! Parameters needed to compute the electronic exchange potential
&XC ! Parameters needed to compute the electronic exchange potential
&XC_FUNCTIONAL BLYP
&END XC_FUNCTIONAL
&END XC
&QS
METHOD GPW
EPS_DEFAULT 1.0E-10
&END QS
&END DFT
&QMMM ! This defines the QS cell in the QMMM calc
&CELL
ABC 13.79565 17.3825 10.76061
PERIODIC XYZ
&END CELL
ECOUPL GAUSS
USE_GEEP_LIB 15
&PERIODIC # apply periodic potential
#turn on/off coupling/recoupling of the QM multipole
&MULTIPOLE ON
&END
&END PERIODIC
&QM_KIND O
MM_INDEX 1 3 28
&END QM_KIND
&QM_KIND N
MM_INDEX 14
&END QM_KIND
&QM_KIND C
MM_INDEX 2 4 7 11 15 17 19 21 22 23 25 27 29 33
&END QM_KIND
&QM_KIND H
MM_INDEX 5 6 8 9 10 12 13 16 18 20 24 26 30 31 32 34
&END QM_KIND
&END QMMM
&MM
&MM
&FORCEFIELD
EI_SCALE14 1.0
PARMTYPE AMBER
PARM_FILE_NAME MQAE.prmtop
EI_SCALE14 1.0
VDW_SCALE14 1.0
&SPLINE
EMAX_SPLINE 1.0E8
@ -75,55 +55,68 @@
&END FORCEFIELD
&POISSON
&EWALD
EWALD_TYPE SPME
ALPHA .40
EWALD_TYPE SPME
GMAX 80
&END EWALD
&END POISSON
&END MM
&QMMM ! This defines the QS cell in the QMMM calc
ECOUPL GAUSS
USE_GEEP_LIB 15
&CELL
ABC 13.79565 17.3825 10.76061
PERIODIC XYZ
&END CELL
&PERIODIC # apply periodic potential
#turn on/off coupling/recoupling of the QM multipole
&MULTIPOLE ON
&END MULTIPOLE
&END PERIODIC
&QM_KIND O
MM_INDEX 1 3 28
&END QM_KIND
&QM_KIND N
MM_INDEX 14
&END QM_KIND
&QM_KIND C
MM_INDEX 2 4 7 11 15 17 19 21 22 23 25 27 29 33
&END QM_KIND
&QM_KIND H
MM_INDEX 5 6 8 9 10 12 13 16 18 20 24 26 30 31 32 34
&END QM_KIND
&END QMMM
&SUBSYS
&CELL
ABC 41.751 41.751 41.751
PERIODIC XYZ
ALPHA_BETA_GAMMA 90 90 90
PERIODIC XYZ
&END CELL
&TOPOLOGY ! Section used to center the atomic coordinates in the given box. Useful for big molecules
&KIND H
BASIS_SET DZVP-MOLOPT-GTH
ELEMENT H
POTENTIAL GTH-BLYP-q1
&END KIND
&KIND C
BASIS_SET DZVP-MOLOPT-GTH
ELEMENT C
POTENTIAL GTH-BLYP-q4
&END KIND
&KIND O
BASIS_SET DZVP-MOLOPT-GTH
ELEMENT O
POTENTIAL GTH-BLYP-q6
&END KIND
&KIND N
BASIS_SET DZVP-MOLOPT-GTH
ELEMENT N
POTENTIAL GTH-BLYP-q5
&END KIND
&TOPOLOGY ! Section used to center the atomic coordinates in the given box. Useful for big molecules
CONN_FILE_FORMAT AMBER
CONN_FILE_NAME MQAE.prmtop
COORD_FILE_FORMAT PDB
COORD_FILE_NAME MQAE.pdb
&END TOPOLOGY
&KIND H
ELEMENT H
BASIS_SET DZVP-MOLOPT-GTH
POTENTIAL GTH-BLYP-q1
&END KIND
&KIND C
ELEMENT C
BASIS_SET DZVP-MOLOPT-GTH
POTENTIAL GTH-BLYP-q4
&END KIND
&KIND O
ELEMENT O
BASIS_SET DZVP-MOLOPT-GTH
POTENTIAL GTH-BLYP-q6
&END KIND
&KIND N
ELEMENT N
BASIS_SET DZVP-MOLOPT-GTH
POTENTIAL GTH-BLYP-q5
&END KIND
&END SUBSYS
&END SUBSYS
&END FORCE_EVAL
&MOTION
&MD
ENSEMBLE NVE
STEPS 5
TEMPERATURE 300
TIMESTEP 1
&END MD
&END MOTION

View file

@ -2,16 +2,14 @@
## Description
This benchmark performs a short QM/MM MD simulation of 5 steps.
The MQAE system is a solute-solvent system consisting of a N-(6-methoxyquinolyl)
acetoethyl ester in solution. All 34 atoms of the ester are treated with QM
whereas the remaining water atoms are treated with MM. The parameters for the
organic molecule are created using the General Amber Force Field (GAFF) and the
water molecules are modelled using the SPCE model. The BLYP functional as the XC
functional are used and an energy cut-off of 400 Ry for the plane waves was
found to be suitable. The QM/MM coupling is described with the Gaussian Expansion
of the Electrostatic Potential (GEEP) method, and the bonds between theQM and MM
atoms are treated using the Generalized Hybrid Orbital (GHO) method.
This benchmark performs a short QM/MM MD simulation of 5 steps. The MQAE system is a solute-solvent
system consisting of a N-(6-methoxyquinolyl) acetoethyl ester in solution. All 34 atoms of the ester
are treated with QM whereas the remaining water atoms are treated with MM. The parameters for the
organic molecule are created using the General Amber Force Field (GAFF) and the water molecules are
modelled using the SPCE model. The BLYP functional as the XC functional are used and an energy
cut-off of 400 Ry for the plane waves was found to be suitable. The QM/MM coupling is described with
the Gaussian Expansion of the Electrostatic Potential (GEEP) method, and the bonds between theQM and
MM atoms are treated using the Generalized Hybrid Orbital (GHO) method.
See also <https://doi.org/10.1021/acs.jctc.9b00424>.
@ -19,8 +17,8 @@ See also <https://doi.org/10.1021/acs.jctc.9b00424>.
`MQAE.inp` - CP2K input file.
`MQAE.prmtop` - Amber forcefield for MM atoms. The Amber14 forcefield and
the SPCE water model are used.
`MQAE.prmtop` - Amber forcefield for MM atoms. The Amber14 forcefield and the SPCE water model are
used.
`MQAE.pdb` - Atomic input coordinates.

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -1,3 +1,19 @@
&GLOBAL
EPS_CHECK_DIAG 1.0E-12
PRINT_LEVEL LOW
PROJECT H2O-128
RUN_TYPE MD
&END GLOBAL
&MOTION
&MD
ENSEMBLE NVE
STEPS 10
TEMPERATURE 300.0
TIMESTEP 0.5
&END MD
&END MOTION
&FORCE_EVAL
METHOD QS
&DFT
@ -9,22 +25,21 @@
&END MGRID
&QS
EPS_DEFAULT 1.0E-12
WF_INTERPOLATION PS
EXTRAPOLATION_ORDER 3
WF_INTERPOLATION PS
&END QS
&SCF
IGNORE_CONVERGENCE_FAILURE
SCF_GUESS ATOMIC
&OT ON
MINIMIZER DIIS
&END OT
# SCF_GUESS RESTART
# EPS_SCF 1.0E-7
# SCF_GUESS RESTART
# EPS_SCF 1.0E-7
&PRINT
&RESTART OFF
&END
&END
&END RESTART
&END PRINT
&END SCF
&XC
&XC_FUNCTIONAL Pade
@ -35,392 +50,392 @@
&CELL
ABC 15.6404 15.6404 15.6404
&END CELL
# 128 H2O (TIP5P,1bar,300K) a = 15.6404
# 128 H2O (TIP5P,1bar,300K) a = 15.6404
&COORD
O 4.963362 8.433745 6.522726
O 8.071195 10.247451 13.276063
O 13.850862 12.652854 15.313528
O 10.628770 14.045936 13.059901
O 6.325463 12.328145 3.498946
O 3.583600 12.446390 8.539707
O 14.871126 15.358423 8.766155
O 13.901523 10.863702 1.750201
O 14.067166 0.862917 3.662820
O 10.133858 15.114355 5.659292
O 12.335899 11.027651 13.245276
O 11.020881 3.916524 5.030404
O 9.394684 6.531654 5.826834
O 11.080390 7.885268 7.198950
O 8.896688 8.249600 3.615318
O 7.353156 1.137779 5.346406
O 14.726780 7.918215 10.773641
O 1.861458 11.989979 2.208095
O 5.043121 6.543380 9.229162
O 8.759694 11.116925 3.548469
O 6.997656 8.373444 9.806165
O 6.063005 12.809828 7.806901
O 10.366591 5.779853 2.712706
O 1.542969 4.767262 12.213947
O 10.685570 14.507915 8.519941
O 12.849421 13.198702 9.038657
O 0.963120 14.402597 12.834647
O 7.797670 4.829150 12.447033
O 3.835427 3.788119 12.965881
O 3.376860 4.479186 1.446663
O 2.947460 1.489874 9.046559
O 3.108796 14.723769 5.201095
O 15.204514 8.599951 0.959433
O 15.219684 4.238425 15.684030
O 4.100649 1.057601 2.040112
O 11.001052 2.229682 10.064311
O 0.478278 0.949105 2.102755
O 13.497545 5.548164 10.181923
O 7.506276 1.277199 9.722916
O 7.428299 4.380540 1.411980
O 7.928952 14.363028 9.316256
O 0.355839 11.996260 13.602596
O 10.664734 7.760921 14.011072
O 2.130951 6.397562 4.547882
O 6.997688 7.117398 14.170903
O 9.843852 1.807540 1.906473
O 4.765738 9.146359 2.409067
O 4.102297 1.274905 6.068037
O 15.014340 11.743955 4.053518
O 12.695114 13.021970 5.787211
O 13.858302 3.507332 4.146316
O 7.022070 10.109293 7.424303
O 5.539291 5.159365 2.927469
O 9.768643 11.517745 11.838411
O 10.503632 1.060928 12.343495
O 5.637836 14.137294 5.298814
O 13.230577 15.494257 12.417538
O 10.087712 12.367132 5.676113
O 3.823444 11.248314 3.611973
O 2.764628 9.932668 12.219621
O 6.337327 1.214539 14.384465
O 9.932541 13.322345 2.141626
O 8.026468 1.856250 12.446566
O 12.678267 4.212245 7.543967
O 13.171058 4.494997 1.771265
O 1.270597 13.402991 7.043142
O 2.561666 15.503539 15.004783
O 9.418846 5.882450 0.091388
O 13.279532 8.467153 13.191095
O 14.784685 10.103797 9.128104
O 5.420783 3.626432 15.485019
O 5.484596 2.586023 3.716333
O 13.407464 7.649770 5.701169
O 14.491627 2.828827 13.502603
O 6.975558 5.474364 6.932584
O 3.311237 6.301528 6.829047
O 0.998842 3.600800 9.862514
O 9.866483 10.306933 7.180898
O 2.074137 10.679976 15.509320
O 11.018416 9.906723 0.630304
O 1.183950 1.843702 7.098684
O 14.873704 5.527544 6.848733
O 2.173299 7.943131 2.110457
O 4.449383 11.930616 11.079086
O 1.710425 14.756574 10.096897
O 6.694784 0.922595 1.239003
O 4.564438 11.918442 15.363533
O 5.477639 4.707670 11.065326
O 11.342444 0.223097 3.577043
O 7.426077 12.972512 11.521810
O 11.491853 1.563182 7.107076
O 4.794353 4.113581 6.561312
O 11.305735 3.619278 0.282229
O 1.481140 5.957409 8.624482
O 0.119546 10.931817 6.783795
O 2.484663 6.791214 15.186771
O 13.950657 12.916459 11.346835
O 6.051702 14.320089 13.213208
O 2.417817 14.602343 2.749723
O 3.040699 10.496700 6.149311
O 8.648120 3.218837 3.744312
O 5.305757 2.668899 9.163911
O 6.031135 7.542813 4.011356
O 15.264572 0.530244 15.103544
O 1.202379 11.443873 10.338401
O 14.305770 2.092612 10.350492
O 7.239758 12.387106 14.813865
O 7.341353 9.684340 0.723854
O 5.857541 9.676357 11.912006
O 15.332365 7.094962 14.318822
O 10.447327 8.207812 9.585339
O 9.866363 4.445989 10.955351
O 13.658983 0.219428 6.214705
O 7.322356 13.965677 1.578063
O 0.644540 4.039583 5.338294
O 11.742745 10.899134 8.906616
O 0.863237 3.520934 2.306355
O 12.841333 10.018102 4.330247
O 8.609050 2.288503 7.430427
O 11.067694 12.559978 15.366360
O 11.923672 3.212040 13.107757
O 11.306237 6.632227 11.461951
O 12.437417 7.860470 2.936097
O 1.645609 7.437039 11.743266
O 10.045665 4.639989 7.951130
O 3.297915 13.397525 13.230354
O 2.464454 1.557718 12.716823
O 4.302185 8.124888 13.787389
H 4.581468 7.718593 7.031593
H 5.435252 7.997984 5.813033
H 8.381737 9.538324 13.839031
H 7.875012 10.964336 13.879239
H 14.014609 12.142905 16.106856
H 14.391871 12.234836 14.643601
H 10.739569 13.533892 13.861004
H 10.132364 13.472919 12.475551
H 5.425531 12.003488 3.468104
H 6.310811 13.012792 4.167733
H 2.831114 13.037692 8.558619
H 3.397989 11.844750 7.818728
H 14.215688 14.710076 8.508709
H 14.915685 15.962115 8.024669
H 14.442896 10.979475 2.531061
H 13.131333 10.387571 2.060586
H 13.235552 0.480036 3.383444
H 14.167503 0.581424 4.572175
H 9.268459 15.423495 5.391430
H 10.724909 15.435978 4.978521
H 12.682383 11.900242 13.058822
H 11.530377 10.974348 12.730956
H 10.862047 3.493530 5.874252
H 11.866334 3.570906 4.744068
H 10.010906 6.860110 6.481524
H 9.772826 5.701645 5.536446
H 10.713257 8.747058 7.002065
H 10.930529 7.769221 8.137196
H 9.008071 7.846692 4.476416
H 9.404635 7.694874 3.023287
H 7.885169 1.417698 6.091281
H 6.462912 1.407047 5.572662
H 14.465524 8.122806 11.671483
H 14.387942 7.036249 10.620165
H 1.079976 11.549099 2.541476
H 1.854266 11.812527 1.267515
H 5.627954 7.254025 9.492195
H 5.358566 6.280575 8.364489
H 8.728012 10.160756 3.517346
H 7.843327 11.389131 3.499416
H 7.064983 9.034969 9.117627
H 6.681536 8.854422 10.570991
H 6.096247 13.255760 6.960573
H 5.135401 12.812072 8.043075
H 10.251809 4.879805 3.017615
H 11.247569 6.019998 2.999828
H 2.425379 4.423632 12.353605
H 1.622138 5.706596 12.380127
H 10.435334 14.464737 7.597038
H 9.863861 14.392213 8.997057
H 12.151749 13.846631 8.940295
H 12.401656 12.354243 8.987406
H 1.041376 14.716046 11.933616
H 0.431193 15.065997 13.274178
H 7.657165 5.609226 12.983662
H 7.113550 4.871097 11.778862
H 4.492907 4.226503 12.425723
H 4.197120 3.813194 13.851760
H 3.028991 5.174958 0.888880
H 2.608925 4.123752 1.894070
H 2.354380 1.561214 8.298628
H 2.601814 2.111564 9.687076
H 2.496453 14.284442 5.791230
H 2.669671 14.716265 4.350599
H 14.931000 9.483201 0.711861
H 14.543448 8.311558 1.588759
H 14.806603 3.662787 15.040418
H 15.806913 4.791820 15.169104
H 3.487941 1.365078 1.372072
H 3.735668 0.223182 2.334673
H 10.930358 1.492019 10.670189
H 11.783438 2.701109 10.350422
H 0.373431 0.943162 1.151333
H -0.331325 0.562024 2.435836
H 13.328483 5.602953 9.241365
H 13.904987 4.690509 10.302961
H 7.979807 1.447145 10.537237
H 7.699278 0.361971 9.519594
H 7.879980 3.677583 1.878957
H 6.921010 4.830270 2.087726
H 7.276262 13.850239 8.839522
H 7.900170 14.017994 10.208643
H 0.566590 12.917379 13.449771
H 0.097504 11.663383 12.743127
H 10.275806 6.980124 14.405182
H 10.496386 7.665796 13.073607
H 2.563595 6.556361 3.708934
H 1.500251 7.112689 4.631806
H 7.206023 7.863029 13.607998
H 6.088301 7.261122 14.432801
H 9.059286 1.416705 1.521847
H 9.511490 2.498088 2.479979
H 5.181015 8.567468 3.048333
H 3.954045 8.698238 2.171213
H 3.323672 1.528105 6.563885
H 3.866094 0.442374 5.658975
H 14.146610 12.079728 4.278314
H 15.272574 11.219653 4.811577
H 12.716562 12.455880 6.558777
H 11.770411 13.059590 5.542791
H 14.153945 2.652228 3.833869
H 13.419264 3.899892 3.391747
H 6.656515 10.977596 7.255036
H 6.361994 9.501768 7.090470
H 4.712486 5.080316 2.451678
H 5.521694 4.441294 3.560158
H 9.189146 10.923676 12.315377
H 9.179345 12.154039 11.433330
H 10.671879 0.186135 12.693725
H 9.549978 1.142946 12.350583
H 4.689829 14.268322 5.317390
H 5.985844 14.953053 4.938731
H 12.546401 14.844149 12.257863
H 12.876821 16.308055 12.058620
H 9.756019 13.254250 5.814793
H 9.607961 12.048315 4.911635
H 3.064895 11.422889 3.054873
H 4.291140 10.542078 3.166190
H 2.001271 10.248909 12.702851
H 2.907174 10.590416 11.538974
H 5.648267 1.877288 14.431286
H 6.585421 1.061461 15.296193
H 9.740490 12.519628 2.626387
H 10.584255 13.059982 1.491498
H 7.455032 1.571433 13.159709
H 7.941730 2.809647 12.437319
H 13.106722 3.411333 7.241976
H 13.240150 4.919265 7.226727
H 12.368225 4.300614 1.287626
H 13.862495 4.466405 1.109956
H 0.601526 14.024395 7.330255
H 0.816229 12.561332 7.005843
H 2.606189 15.728879 14.075552
H 1.751050 15.909700 15.311648
H 8.495514 5.631109 0.068638
H 9.589849 6.084955 1.011160
H 13.316729 9.402787 13.389684
H 12.379524 8.213880 13.396205
H 13.918259 10.505485 9.192801
H 14.676156 9.235384 9.515806
H 6.242915 3.976825 15.827883
H 4.811725 3.679161 16.221565
H 5.094286 2.686336 4.584564
H 4.898319 1.984198 3.257728
H 13.959261 6.906132 5.943560
H 12.760208 7.707487 6.403991
H 14.969381 3.387665 12.889672
H 13.602198 2.792224 13.150740
H 7.679644 4.993292 7.367401
H 7.415258 5.972883 6.243836
H 3.810284 5.488758 6.747876
H 2.838344 6.376576 6.000209
H 1.201385 4.317435 9.261147
H 1.095921 3.984260 10.734160
H 8.983144 9.978931 7.349300
H 9.731317 11.166458 6.781926
H 2.882211 11.167225 15.348581
H 1.472398 10.982022 14.828945
H 10.205799 9.598641 1.031516
H 11.290942 9.189004 0.058604
H 0.558492 1.215423 6.737713
H 1.132569 2.597863 6.511459
H 15.392637 5.068030 6.188591
H 15.494223 5.717274 7.552430
H 1.359386 8.375518 1.851964
H 2.491619 7.530928 1.307342
H 3.930723 12.466553 11.679082
H 4.127627 12.165120 10.208619
H 1.031873 14.870889 9.431517
H 2.312758 15.486507 9.953288
H 6.898133 0.021480 1.489743
H 5.806915 1.068076 1.565740
H 4.879440 12.531428 16.027803
H 5.343283 11.696347 14.853331
H 5.304646 5.468144 10.510363
H 5.487486 3.966167 10.460093
H 10.682669 0.812386 3.211437
H 11.375385 -0.510655 2.963240
H 6.968873 13.462683 12.205132
H 6.748898 12.423743 11.126193
H 11.398639 1.428458 8.050152
H 10.636236 1.331547 6.745834
H 5.559402 4.680155 6.660940
H 4.741233 3.634449 7.388260
H 10.965383 2.838195 0.718466
H 10.526206 4.126248 0.055186
H 2.151544 6.183022 7.979588
H 1.693196 6.493418 9.388654
H -0.065205 10.491692 7.613487
H 0.934641 10.534254 6.477533
H 1.612127 6.933760 14.819901
H 3.084290 7.085600 14.501194
H 14.370852 13.670525 11.760422
H 13.655238 13.242663 10.496806
H 5.117003 14.119782 13.262678
H 6.094269 15.275850 13.243879
H 1.684983 15.055245 2.332511
H 2.318871 13.688619 2.482233
H 3.301587 10.821578 5.287555
H 3.569324 9.709332 6.279080
H 9.402765 3.485324 4.269409
H 8.068278 2.776805 4.364491
H 5.849660 1.904585 9.354240
H 4.458877 2.303173 8.908431
H 5.856290 6.650150 3.713341
H 6.956707 7.685055 3.813075
H 14.578215 -0.136917 15.110099
H 15.036706 1.101780 14.370293
H 0.862260 12.331047 10.222329
H 0.576388 10.884751 9.878239
H 15.013369 2.687846 10.597944
H 14.749248 1.349716 9.941024
H 7.635604 12.750784 15.605874
H 7.063281 13.149121 14.262122
H 6.630981 10.323694 0.777061
H 6.910682 8.837082 0.837471
H 6.518696 10.163169 12.404063
H 5.158628 10.311483 11.755901
H 14.513415 7.228639 13.841660
H 15.188680 7.517995 15.165361
H 10.884896 7.694003 10.264136
H 9.537008 8.263555 9.875929
H 10.169920 3.541428 11.031858
H 9.058984 4.472429 11.468839
H 12.939998 0.748518 6.560183
H 13.359162 -0.684568 6.310259
H 6.806079 13.363518 2.113876
H 8.230720 13.707514 1.734455
H 1.376337 4.428271 4.859101
H 0.026246 3.773603 4.657706
H 11.202848 10.713245 9.674853
H 11.207901 10.618858 8.163906
H 0.837038 2.574495 2.447059
H 0.139223 3.694244 1.704691
H 13.344499 9.479144 4.940640
H 12.047898 10.250105 4.812811
H 8.179005 2.196707 8.280643
H 8.921781 3.193061 7.416086
H 11.996578 12.747212 15.501818
H 11.029996 11.611989 15.239368
H 11.753251 3.258077 14.048538
H 11.376661 2.489403 12.799853
H 10.727878 5.872638 11.392980
H 12.187517 6.272930 11.359562
H 12.694899 7.220715 3.599910
H 12.399226 8.692890 3.407107
H 1.995254 8.322850 11.839802
H 0.706423 7.563149 11.608147
H 10.003095 4.632780 8.907355
H 10.980630 4.590207 7.752146
H 3.257893 13.092363 14.136724
H 2.487394 13.891684 13.107495
H 2.594800 2.360087 13.222239
H 3.067392 1.638961 11.977840
H 4.204283 7.807066 12.889816
H 4.120864 9.063058 13.730900
O 4.963362 8.433745 6.522726
O 8.071195 10.247451 13.276063
O 13.850862 12.652854 15.313528
O 10.628770 14.045936 13.059901
O 6.325463 12.328145 3.498946
O 3.583600 12.446390 8.539707
O 14.871126 15.358423 8.766155
O 13.901523 10.863702 1.750201
O 14.067166 0.862917 3.662820
O 10.133858 15.114355 5.659292
O 12.335899 11.027651 13.245276
O 11.020881 3.916524 5.030404
O 9.394684 6.531654 5.826834
O 11.080390 7.885268 7.198950
O 8.896688 8.249600 3.615318
O 7.353156 1.137779 5.346406
O 14.726780 7.918215 10.773641
O 1.861458 11.989979 2.208095
O 5.043121 6.543380 9.229162
O 8.759694 11.116925 3.548469
O 6.997656 8.373444 9.806165
O 6.063005 12.809828 7.806901
O 10.366591 5.779853 2.712706
O 1.542969 4.767262 12.213947
O 10.685570 14.507915 8.519941
O 12.849421 13.198702 9.038657
O 0.963120 14.402597 12.834647
O 7.797670 4.829150 12.447033
O 3.835427 3.788119 12.965881
O 3.376860 4.479186 1.446663
O 2.947460 1.489874 9.046559
O 3.108796 14.723769 5.201095
O 15.204514 8.599951 0.959433
O 15.219684 4.238425 15.684030
O 4.100649 1.057601 2.040112
O 11.001052 2.229682 10.064311
O 0.478278 0.949105 2.102755
O 13.497545 5.548164 10.181923
O 7.506276 1.277199 9.722916
O 7.428299 4.380540 1.411980
O 7.928952 14.363028 9.316256
O 0.355839 11.996260 13.602596
O 10.664734 7.760921 14.011072
O 2.130951 6.397562 4.547882
O 6.997688 7.117398 14.170903
O 9.843852 1.807540 1.906473
O 4.765738 9.146359 2.409067
O 4.102297 1.274905 6.068037
O 15.014340 11.743955 4.053518
O 12.695114 13.021970 5.787211
O 13.858302 3.507332 4.146316
O 7.022070 10.109293 7.424303
O 5.539291 5.159365 2.927469
O 9.768643 11.517745 11.838411
O 10.503632 1.060928 12.343495
O 5.637836 14.137294 5.298814
O 13.230577 15.494257 12.417538
O 10.087712 12.367132 5.676113
O 3.823444 11.248314 3.611973
O 2.764628 9.932668 12.219621
O 6.337327 1.214539 14.384465
O 9.932541 13.322345 2.141626
O 8.026468 1.856250 12.446566
O 12.678267 4.212245 7.543967
O 13.171058 4.494997 1.771265
O 1.270597 13.402991 7.043142
O 2.561666 15.503539 15.004783
O 9.418846 5.882450 0.091388
O 13.279532 8.467153 13.191095
O 14.784685 10.103797 9.128104
O 5.420783 3.626432 15.485019
O 5.484596 2.586023 3.716333
O 13.407464 7.649770 5.701169
O 14.491627 2.828827 13.502603
O 6.975558 5.474364 6.932584
O 3.311237 6.301528 6.829047
O 0.998842 3.600800 9.862514
O 9.866483 10.306933 7.180898
O 2.074137 10.679976 15.509320
O 11.018416 9.906723 0.630304
O 1.183950 1.843702 7.098684
O 14.873704 5.527544 6.848733
O 2.173299 7.943131 2.110457
O 4.449383 11.930616 11.079086
O 1.710425 14.756574 10.096897
O 6.694784 0.922595 1.239003
O 4.564438 11.918442 15.363533
O 5.477639 4.707670 11.065326
O 11.342444 0.223097 3.577043
O 7.426077 12.972512 11.521810
O 11.491853 1.563182 7.107076
O 4.794353 4.113581 6.561312
O 11.305735 3.619278 0.282229
O 1.481140 5.957409 8.624482
O 0.119546 10.931817 6.783795
O 2.484663 6.791214 15.186771
O 13.950657 12.916459 11.346835
O 6.051702 14.320089 13.213208
O 2.417817 14.602343 2.749723
O 3.040699 10.496700 6.149311
O 8.648120 3.218837 3.744312
O 5.305757 2.668899 9.163911
O 6.031135 7.542813 4.011356
O 15.264572 0.530244 15.103544
O 1.202379 11.443873 10.338401
O 14.305770 2.092612 10.350492
O 7.239758 12.387106 14.813865
O 7.341353 9.684340 0.723854
O 5.857541 9.676357 11.912006
O 15.332365 7.094962 14.318822
O 10.447327 8.207812 9.585339
O 9.866363 4.445989 10.955351
O 13.658983 0.219428 6.214705
O 7.322356 13.965677 1.578063
O 0.644540 4.039583 5.338294
O 11.742745 10.899134 8.906616
O 0.863237 3.520934 2.306355
O 12.841333 10.018102 4.330247
O 8.609050 2.288503 7.430427
O 11.067694 12.559978 15.366360
O 11.923672 3.212040 13.107757
O 11.306237 6.632227 11.461951
O 12.437417 7.860470 2.936097
O 1.645609 7.437039 11.743266
O 10.045665 4.639989 7.951130
O 3.297915 13.397525 13.230354
O 2.464454 1.557718 12.716823
O 4.302185 8.124888 13.787389
H 4.581468 7.718593 7.031593
H 5.435252 7.997984 5.813033
H 8.381737 9.538324 13.839031
H 7.875012 10.964336 13.879239
H 14.014609 12.142905 16.106856
H 14.391871 12.234836 14.643601
H 10.739569 13.533892 13.861004
H 10.132364 13.472919 12.475551
H 5.425531 12.003488 3.468104
H 6.310811 13.012792 4.167733
H 2.831114 13.037692 8.558619
H 3.397989 11.844750 7.818728
H 14.215688 14.710076 8.508709
H 14.915685 15.962115 8.024669
H 14.442896 10.979475 2.531061
H 13.131333 10.387571 2.060586
H 13.235552 0.480036 3.383444
H 14.167503 0.581424 4.572175
H 9.268459 15.423495 5.391430
H 10.724909 15.435978 4.978521
H 12.682383 11.900242 13.058822
H 11.530377 10.974348 12.730956
H 10.862047 3.493530 5.874252
H 11.866334 3.570906 4.744068
H 10.010906 6.860110 6.481524
H 9.772826 5.701645 5.536446
H 10.713257 8.747058 7.002065
H 10.930529 7.769221 8.137196
H 9.008071 7.846692 4.476416
H 9.404635 7.694874 3.023287
H 7.885169 1.417698 6.091281
H 6.462912 1.407047 5.572662
H 14.465524 8.122806 11.671483
H 14.387942 7.036249 10.620165
H 1.079976 11.549099 2.541476
H 1.854266 11.812527 1.267515
H 5.627954 7.254025 9.492195
H 5.358566 6.280575 8.364489
H 8.728012 10.160756 3.517346
H 7.843327 11.389131 3.499416
H 7.064983 9.034969 9.117627
H 6.681536 8.854422 10.570991
H 6.096247 13.255760 6.960573
H 5.135401 12.812072 8.043075
H 10.251809 4.879805 3.017615
H 11.247569 6.019998 2.999828
H 2.425379 4.423632 12.353605
H 1.622138 5.706596 12.380127
H 10.435334 14.464737 7.597038
H 9.863861 14.392213 8.997057
H 12.151749 13.846631 8.940295
H 12.401656 12.354243 8.987406
H 1.041376 14.716046 11.933616
H 0.431193 15.065997 13.274178
H 7.657165 5.609226 12.983662
H 7.113550 4.871097 11.778862
H 4.492907 4.226503 12.425723
H 4.197120 3.813194 13.851760
H 3.028991 5.174958 0.888880
H 2.608925 4.123752 1.894070
H 2.354380 1.561214 8.298628
H 2.601814 2.111564 9.687076
H 2.496453 14.284442 5.791230
H 2.669671 14.716265 4.350599
H 14.931000 9.483201 0.711861
H 14.543448 8.311558 1.588759
H 14.806603 3.662787 15.040418
H 15.806913 4.791820 15.169104
H 3.487941 1.365078 1.372072
H 3.735668 0.223182 2.334673
H 10.930358 1.492019 10.670189
H 11.783438 2.701109 10.350422
H 0.373431 0.943162 1.151333
H -0.331325 0.562024 2.435836
H 13.328483 5.602953 9.241365
H 13.904987 4.690509 10.302961
H 7.979807 1.447145 10.537237
H 7.699278 0.361971 9.519594
H 7.879980 3.677583 1.878957
H 6.921010 4.830270 2.087726
H 7.276262 13.850239 8.839522
H 7.900170 14.017994 10.208643
H 0.566590 12.917379 13.449771
H 0.097504 11.663383 12.743127
H 10.275806 6.980124 14.405182
H 10.496386 7.665796 13.073607
H 2.563595 6.556361 3.708934
H 1.500251 7.112689 4.631806
H 7.206023 7.863029 13.607998
H 6.088301 7.261122 14.432801
H 9.059286 1.416705 1.521847
H 9.511490 2.498088 2.479979
H 5.181015 8.567468 3.048333
H 3.954045 8.698238 2.171213
H 3.323672 1.528105 6.563885
H 3.866094 0.442374 5.658975
H 14.146610 12.079728 4.278314
H 15.272574 11.219653 4.811577
H 12.716562 12.455880 6.558777
H 11.770411 13.059590 5.542791
H 14.153945 2.652228 3.833869
H 13.419264 3.899892 3.391747
H 6.656515 10.977596 7.255036
H 6.361994 9.501768 7.090470
H 4.712486 5.080316 2.451678
H 5.521694 4.441294 3.560158
H 9.189146 10.923676 12.315377
H 9.179345 12.154039 11.433330
H 10.671879 0.186135 12.693725
H 9.549978 1.142946 12.350583
H 4.689829 14.268322 5.317390
H 5.985844 14.953053 4.938731
H 12.546401 14.844149 12.257863
H 12.876821 16.308055 12.058620
H 9.756019 13.254250 5.814793
H 9.607961 12.048315 4.911635
H 3.064895 11.422889 3.054873
H 4.291140 10.542078 3.166190
H 2.001271 10.248909 12.702851
H 2.907174 10.590416 11.538974
H 5.648267 1.877288 14.431286
H 6.585421 1.061461 15.296193
H 9.740490 12.519628 2.626387
H 10.584255 13.059982 1.491498
H 7.455032 1.571433 13.159709
H 7.941730 2.809647 12.437319
H 13.106722 3.411333 7.241976
H 13.240150 4.919265 7.226727
H 12.368225 4.300614 1.287626
H 13.862495 4.466405 1.109956
H 0.601526 14.024395 7.330255
H 0.816229 12.561332 7.005843
H 2.606189 15.728879 14.075552
H 1.751050 15.909700 15.311648
H 8.495514 5.631109 0.068638
H 9.589849 6.084955 1.011160
H 13.316729 9.402787 13.389684
H 12.379524 8.213880 13.396205
H 13.918259 10.505485 9.192801
H 14.676156 9.235384 9.515806
H 6.242915 3.976825 15.827883
H 4.811725 3.679161 16.221565
H 5.094286 2.686336 4.584564
H 4.898319 1.984198 3.257728
H 13.959261 6.906132 5.943560
H 12.760208 7.707487 6.403991
H 14.969381 3.387665 12.889672
H 13.602198 2.792224 13.150740
H 7.679644 4.993292 7.367401
H 7.415258 5.972883 6.243836
H 3.810284 5.488758 6.747876
H 2.838344 6.376576 6.000209
H 1.201385 4.317435 9.261147
H 1.095921 3.984260 10.734160
H 8.983144 9.978931 7.349300
H 9.731317 11.166458 6.781926
H 2.882211 11.167225 15.348581
H 1.472398 10.982022 14.828945
H 10.205799 9.598641 1.031516
H 11.290942 9.189004 0.058604
H 0.558492 1.215423 6.737713
H 1.132569 2.597863 6.511459
H 15.392637 5.068030 6.188591
H 15.494223 5.717274 7.552430
H 1.359386 8.375518 1.851964
H 2.491619 7.530928 1.307342
H 3.930723 12.466553 11.679082
H 4.127627 12.165120 10.208619
H 1.031873 14.870889 9.431517
H 2.312758 15.486507 9.953288
H 6.898133 0.021480 1.489743
H 5.806915 1.068076 1.565740
H 4.879440 12.531428 16.027803
H 5.343283 11.696347 14.853331
H 5.304646 5.468144 10.510363
H 5.487486 3.966167 10.460093
H 10.682669 0.812386 3.211437
H 11.375385 -0.510655 2.963240
H 6.968873 13.462683 12.205132
H 6.748898 12.423743 11.126193
H 11.398639 1.428458 8.050152
H 10.636236 1.331547 6.745834
H 5.559402 4.680155 6.660940
H 4.741233 3.634449 7.388260
H 10.965383 2.838195 0.718466
H 10.526206 4.126248 0.055186
H 2.151544 6.183022 7.979588
H 1.693196 6.493418 9.388654
H -0.065205 10.491692 7.613487
H 0.934641 10.534254 6.477533
H 1.612127 6.933760 14.819901
H 3.084290 7.085600 14.501194
H 14.370852 13.670525 11.760422
H 13.655238 13.242663 10.496806
H 5.117003 14.119782 13.262678
H 6.094269 15.275850 13.243879
H 1.684983 15.055245 2.332511
H 2.318871 13.688619 2.482233
H 3.301587 10.821578 5.287555
H 3.569324 9.709332 6.279080
H 9.402765 3.485324 4.269409
H 8.068278 2.776805 4.364491
H 5.849660 1.904585 9.354240
H 4.458877 2.303173 8.908431
H 5.856290 6.650150 3.713341
H 6.956707 7.685055 3.813075
H 14.578215 -0.136917 15.110099
H 15.036706 1.101780 14.370293
H 0.862260 12.331047 10.222329
H 0.576388 10.884751 9.878239
H 15.013369 2.687846 10.597944
H 14.749248 1.349716 9.941024
H 7.635604 12.750784 15.605874
H 7.063281 13.149121 14.262122
H 6.630981 10.323694 0.777061
H 6.910682 8.837082 0.837471
H 6.518696 10.163169 12.404063
H 5.158628 10.311483 11.755901
H 14.513415 7.228639 13.841660
H 15.188680 7.517995 15.165361
H 10.884896 7.694003 10.264136
H 9.537008 8.263555 9.875929
H 10.169920 3.541428 11.031858
H 9.058984 4.472429 11.468839
H 12.939998 0.748518 6.560183
H 13.359162 -0.684568 6.310259
H 6.806079 13.363518 2.113876
H 8.230720 13.707514 1.734455
H 1.376337 4.428271 4.859101
H 0.026246 3.773603 4.657706
H 11.202848 10.713245 9.674853
H 11.207901 10.618858 8.163906
H 0.837038 2.574495 2.447059
H 0.139223 3.694244 1.704691
H 13.344499 9.479144 4.940640
H 12.047898 10.250105 4.812811
H 8.179005 2.196707 8.280643
H 8.921781 3.193061 7.416086
H 11.996578 12.747212 15.501818
H 11.029996 11.611989 15.239368
H 11.753251 3.258077 14.048538
H 11.376661 2.489403 12.799853
H 10.727878 5.872638 11.392980
H 12.187517 6.272930 11.359562
H 12.694899 7.220715 3.599910
H 12.399226 8.692890 3.407107
H 1.995254 8.322850 11.839802
H 0.706423 7.563149 11.608147
H 10.003095 4.632780 8.907355
H 10.980630 4.590207 7.752146
H 3.257893 13.092363 14.136724
H 2.487394 13.891684 13.107495
H 2.594800 2.360087 13.222239
H 3.067392 1.638961 11.977840
H 4.204283 7.807066 12.889816
H 4.120864 9.063058 13.730900
&END COORD
&KIND H
BASIS_SET TZV2P-GTH
@ -432,16 +447,3 @@
&END KIND
&END SUBSYS
&END FORCE_EVAL
&GLOBAL
PROJECT H2O-128
RUN_TYPE MD
PRINT_LEVEL LOW
&END GLOBAL
&MOTION
&MD
ENSEMBLE NVE
STEPS 10
TIMESTEP 0.5
TEMPERATURE 300.0
&END MD
&END MOTION

View file

@ -1,3 +1,19 @@
&GLOBAL
EPS_CHECK_DIAG 1.0E-12
PRINT_LEVEL LOW
PROJECT H2O-128_nonortho
RUN_TYPE MD
&END GLOBAL
&MOTION
&MD
ENSEMBLE NVE
STEPS 10
TEMPERATURE 300.0
TIMESTEP 0.5
&END MD
&END MOTION
&FORCE_EVAL
METHOD QS
&DFT
@ -9,22 +25,21 @@
&END MGRID
&QS
EPS_DEFAULT 1.0E-12
WF_INTERPOLATION PS
EXTRAPOLATION_ORDER 3
WF_INTERPOLATION PS
&END QS
&SCF
IGNORE_CONVERGENCE_FAILURE
SCF_GUESS ATOMIC
&OT ON
MINIMIZER DIIS
&END OT
# SCF_GUESS RESTART
# EPS_SCF 1.0E-7
# SCF_GUESS RESTART
# EPS_SCF 1.0E-7
&PRINT
&RESTART OFF
&END
&END
&END RESTART
&END PRINT
&END SCF
&XC
&XC_FUNCTIONAL Pade
@ -36,392 +51,392 @@
ABC 15.6404 15.6404 15.6404
ALPHA_BETA_GAMMA 89.0 92.0 91.0
&END CELL
# 128 H2O (TIP5P,1bar,300K) a = 15.6404
# 128 H2O (TIP5P,1bar,300K) a = 15.6404
&COORD
O 4.963362 8.433745 6.522726
O 8.071195 10.247451 13.276063
O 13.850862 12.652854 15.313528
O 10.628770 14.045936 13.059901
O 6.325463 12.328145 3.498946
O 3.583600 12.446390 8.539707
O 14.871126 15.358423 8.766155
O 13.901523 10.863702 1.750201
O 14.067166 0.862917 3.662820
O 10.133858 15.114355 5.659292
O 12.335899 11.027651 13.245276
O 11.020881 3.916524 5.030404
O 9.394684 6.531654 5.826834
O 11.080390 7.885268 7.198950
O 8.896688 8.249600 3.615318
O 7.353156 1.137779 5.346406
O 14.726780 7.918215 10.773641
O 1.861458 11.989979 2.208095
O 5.043121 6.543380 9.229162
O 8.759694 11.116925 3.548469
O 6.997656 8.373444 9.806165
O 6.063005 12.809828 7.806901
O 10.366591 5.779853 2.712706
O 1.542969 4.767262 12.213947
O 10.685570 14.507915 8.519941
O 12.849421 13.198702 9.038657
O 0.963120 14.402597 12.834647
O 7.797670 4.829150 12.447033
O 3.835427 3.788119 12.965881
O 3.376860 4.479186 1.446663
O 2.947460 1.489874 9.046559
O 3.108796 14.723769 5.201095
O 15.204514 8.599951 0.959433
O 15.219684 4.238425 15.684030
O 4.100649 1.057601 2.040112
O 11.001052 2.229682 10.064311
O 0.478278 0.949105 2.102755
O 13.497545 5.548164 10.181923
O 7.506276 1.277199 9.722916
O 7.428299 4.380540 1.411980
O 7.928952 14.363028 9.316256
O 0.355839 11.996260 13.602596
O 10.664734 7.760921 14.011072
O 2.130951 6.397562 4.547882
O 6.997688 7.117398 14.170903
O 9.843852 1.807540 1.906473
O 4.765738 9.146359 2.409067
O 4.102297 1.274905 6.068037
O 15.014340 11.743955 4.053518
O 12.695114 13.021970 5.787211
O 13.858302 3.507332 4.146316
O 7.022070 10.109293 7.424303
O 5.539291 5.159365 2.927469
O 9.768643 11.517745 11.838411
O 10.503632 1.060928 12.343495
O 5.637836 14.137294 5.298814
O 13.230577 15.494257 12.417538
O 10.087712 12.367132 5.676113
O 3.823444 11.248314 3.611973
O 2.764628 9.932668 12.219621
O 6.337327 1.214539 14.384465
O 9.932541 13.322345 2.141626
O 8.026468 1.856250 12.446566
O 12.678267 4.212245 7.543967
O 13.171058 4.494997 1.771265
O 1.270597 13.402991 7.043142
O 2.561666 15.503539 15.004783
O 9.418846 5.882450 0.091388
O 13.279532 8.467153 13.191095
O 14.784685 10.103797 9.128104
O 5.420783 3.626432 15.485019
O 5.484596 2.586023 3.716333
O 13.407464 7.649770 5.701169
O 14.491627 2.828827 13.502603
O 6.975558 5.474364 6.932584
O 3.311237 6.301528 6.829047
O 0.998842 3.600800 9.862514
O 9.866483 10.306933 7.180898
O 2.074137 10.679976 15.509320
O 11.018416 9.906723 0.630304
O 1.183950 1.843702 7.098684
O 14.873704 5.527544 6.848733
O 2.173299 7.943131 2.110457
O 4.449383 11.930616 11.079086
O 1.710425 14.756574 10.096897
O 6.694784 0.922595 1.239003
O 4.564438 11.918442 15.363533
O 5.477639 4.707670 11.065326
O 11.342444 0.223097 3.577043
O 7.426077 12.972512 11.521810
O 11.491853 1.563182 7.107076
O 4.794353 4.113581 6.561312
O 11.305735 3.619278 0.282229
O 1.481140 5.957409 8.624482
O 0.119546 10.931817 6.783795
O 2.484663 6.791214 15.186771
O 13.950657 12.916459 11.346835
O 6.051702 14.320089 13.213208
O 2.417817 14.602343 2.749723
O 3.040699 10.496700 6.149311
O 8.648120 3.218837 3.744312
O 5.305757 2.668899 9.163911
O 6.031135 7.542813 4.011356
O 15.264572 0.530244 15.103544
O 1.202379 11.443873 10.338401
O 14.305770 2.092612 10.350492
O 7.239758 12.387106 14.813865
O 7.341353 9.684340 0.723854
O 5.857541 9.676357 11.912006
O 15.332365 7.094962 14.318822
O 10.447327 8.207812 9.585339
O 9.866363 4.445989 10.955351
O 13.658983 0.219428 6.214705
O 7.322356 13.965677 1.578063
O 0.644540 4.039583 5.338294
O 11.742745 10.899134 8.906616
O 0.863237 3.520934 2.306355
O 12.841333 10.018102 4.330247
O 8.609050 2.288503 7.430427
O 11.067694 12.559978 15.366360
O 11.923672 3.212040 13.107757
O 11.306237 6.632227 11.461951
O 12.437417 7.860470 2.936097
O 1.645609 7.437039 11.743266
O 10.045665 4.639989 7.951130
O 3.297915 13.397525 13.230354
O 2.464454 1.557718 12.716823
O 4.302185 8.124888 13.787389
H 4.581468 7.718593 7.031593
H 5.435252 7.997984 5.813033
H 8.381737 9.538324 13.839031
H 7.875012 10.964336 13.879239
H 14.014609 12.142905 16.106856
H 14.391871 12.234836 14.643601
H 10.739569 13.533892 13.861004
H 10.132364 13.472919 12.475551
H 5.425531 12.003488 3.468104
H 6.310811 13.012792 4.167733
H 2.831114 13.037692 8.558619
H 3.397989 11.844750 7.818728
H 14.215688 14.710076 8.508709
H 14.915685 15.962115 8.024669
H 14.442896 10.979475 2.531061
H 13.131333 10.387571 2.060586
H 13.235552 0.480036 3.383444
H 14.167503 0.581424 4.572175
H 9.268459 15.423495 5.391430
H 10.724909 15.435978 4.978521
H 12.682383 11.900242 13.058822
H 11.530377 10.974348 12.730956
H 10.862047 3.493530 5.874252
H 11.866334 3.570906 4.744068
H 10.010906 6.860110 6.481524
H 9.772826 5.701645 5.536446
H 10.713257 8.747058 7.002065
H 10.930529 7.769221 8.137196
H 9.008071 7.846692 4.476416
H 9.404635 7.694874 3.023287
H 7.885169 1.417698 6.091281
H 6.462912 1.407047 5.572662
H 14.465524 8.122806 11.671483
H 14.387942 7.036249 10.620165
H 1.079976 11.549099 2.541476
H 1.854266 11.812527 1.267515
H 5.627954 7.254025 9.492195
H 5.358566 6.280575 8.364489
H 8.728012 10.160756 3.517346
H 7.843327 11.389131 3.499416
H 7.064983 9.034969 9.117627
H 6.681536 8.854422 10.570991
H 6.096247 13.255760 6.960573
H 5.135401 12.812072 8.043075
H 10.251809 4.879805 3.017615
H 11.247569 6.019998 2.999828
H 2.425379 4.423632 12.353605
H 1.622138 5.706596 12.380127
H 10.435334 14.464737 7.597038
H 9.863861 14.392213 8.997057
H 12.151749 13.846631 8.940295
H 12.401656 12.354243 8.987406
H 1.041376 14.716046 11.933616
H 0.431193 15.065997 13.274178
H 7.657165 5.609226 12.983662
H 7.113550 4.871097 11.778862
H 4.492907 4.226503 12.425723
H 4.197120 3.813194 13.851760
H 3.028991 5.174958 0.888880
H 2.608925 4.123752 1.894070
H 2.354380 1.561214 8.298628
H 2.601814 2.111564 9.687076
H 2.496453 14.284442 5.791230
H 2.669671 14.716265 4.350599
H 14.931000 9.483201 0.711861
H 14.543448 8.311558 1.588759
H 14.806603 3.662787 15.040418
H 15.806913 4.791820 15.169104
H 3.487941 1.365078 1.372072
H 3.735668 0.223182 2.334673
H 10.930358 1.492019 10.670189
H 11.783438 2.701109 10.350422
H 0.373431 0.943162 1.151333
H -0.331325 0.562024 2.435836
H 13.328483 5.602953 9.241365
H 13.904987 4.690509 10.302961
H 7.979807 1.447145 10.537237
H 7.699278 0.361971 9.519594
H 7.879980 3.677583 1.878957
H 6.921010 4.830270 2.087726
H 7.276262 13.850239 8.839522
H 7.900170 14.017994 10.208643
H 0.566590 12.917379 13.449771
H 0.097504 11.663383 12.743127
H 10.275806 6.980124 14.405182
H 10.496386 7.665796 13.073607
H 2.563595 6.556361 3.708934
H 1.500251 7.112689 4.631806
H 7.206023 7.863029 13.607998
H 6.088301 7.261122 14.432801
H 9.059286 1.416705 1.521847
H 9.511490 2.498088 2.479979
H 5.181015 8.567468 3.048333
H 3.954045 8.698238 2.171213
H 3.323672 1.528105 6.563885
H 3.866094 0.442374 5.658975
H 14.146610 12.079728 4.278314
H 15.272574 11.219653 4.811577
H 12.716562 12.455880 6.558777
H 11.770411 13.059590 5.542791
H 14.153945 2.652228 3.833869
H 13.419264 3.899892 3.391747
H 6.656515 10.977596 7.255036
H 6.361994 9.501768 7.090470
H 4.712486 5.080316 2.451678
H 5.521694 4.441294 3.560158
H 9.189146 10.923676 12.315377
H 9.179345 12.154039 11.433330
H 10.671879 0.186135 12.693725
H 9.549978 1.142946 12.350583
H 4.689829 14.268322 5.317390
H 5.985844 14.953053 4.938731
H 12.546401 14.844149 12.257863
H 12.876821 16.308055 12.058620
H 9.756019 13.254250 5.814793
H 9.607961 12.048315 4.911635
H 3.064895 11.422889 3.054873
H 4.291140 10.542078 3.166190
H 2.001271 10.248909 12.702851
H 2.907174 10.590416 11.538974
H 5.648267 1.877288 14.431286
H 6.585421 1.061461 15.296193
H 9.740490 12.519628 2.626387
H 10.584255 13.059982 1.491498
H 7.455032 1.571433 13.159709
H 7.941730 2.809647 12.437319
H 13.106722 3.411333 7.241976
H 13.240150 4.919265 7.226727
H 12.368225 4.300614 1.287626
H 13.862495 4.466405 1.109956
H 0.601526 14.024395 7.330255
H 0.816229 12.561332 7.005843
H 2.606189 15.728879 14.075552
H 1.751050 15.909700 15.311648
H 8.495514 5.631109 0.068638
H 9.589849 6.084955 1.011160
H 13.316729 9.402787 13.389684
H 12.379524 8.213880 13.396205
H 13.918259 10.505485 9.192801
H 14.676156 9.235384 9.515806
H 6.242915 3.976825 15.827883
H 4.811725 3.679161 16.221565
H 5.094286 2.686336 4.584564
H 4.898319 1.984198 3.257728
H 13.959261 6.906132 5.943560
H 12.760208 7.707487 6.403991
H 14.969381 3.387665 12.889672
H 13.602198 2.792224 13.150740
H 7.679644 4.993292 7.367401
H 7.415258 5.972883 6.243836
H 3.810284 5.488758 6.747876
H 2.838344 6.376576 6.000209
H 1.201385 4.317435 9.261147
H 1.095921 3.984260 10.734160
H 8.983144 9.978931 7.349300
H 9.731317 11.166458 6.781926
H 2.882211 11.167225 15.348581
H 1.472398 10.982022 14.828945
H 10.205799 9.598641 1.031516
H 11.290942 9.189004 0.058604
H 0.558492 1.215423 6.737713
H 1.132569 2.597863 6.511459
H 15.392637 5.068030 6.188591
H 15.494223 5.717274 7.552430
H 1.359386 8.375518 1.851964
H 2.491619 7.530928 1.307342
H 3.930723 12.466553 11.679082
H 4.127627 12.165120 10.208619
H 1.031873 14.870889 9.431517
H 2.312758 15.486507 9.953288
H 6.898133 0.021480 1.489743
H 5.806915 1.068076 1.565740
H 4.879440 12.531428 16.027803
H 5.343283 11.696347 14.853331
H 5.304646 5.468144 10.510363
H 5.487486 3.966167 10.460093
H 10.682669 0.812386 3.211437
H 11.375385 -0.510655 2.963240
H 6.968873 13.462683 12.205132
H 6.748898 12.423743 11.126193
H 11.398639 1.428458 8.050152
H 10.636236 1.331547 6.745834
H 5.559402 4.680155 6.660940
H 4.741233 3.634449 7.388260
H 10.965383 2.838195 0.718466
H 10.526206 4.126248 0.055186
H 2.151544 6.183022 7.979588
H 1.693196 6.493418 9.388654
H -0.065205 10.491692 7.613487
H 0.934641 10.534254 6.477533
H 1.612127 6.933760 14.819901
H 3.084290 7.085600 14.501194
H 14.370852 13.670525 11.760422
H 13.655238 13.242663 10.496806
H 5.117003 14.119782 13.262678
H 6.094269 15.275850 13.243879
H 1.684983 15.055245 2.332511
H 2.318871 13.688619 2.482233
H 3.301587 10.821578 5.287555
H 3.569324 9.709332 6.279080
H 9.402765 3.485324 4.269409
H 8.068278 2.776805 4.364491
H 5.849660 1.904585 9.354240
H 4.458877 2.303173 8.908431
H 5.856290 6.650150 3.713341
H 6.956707 7.685055 3.813075
H 14.578215 -0.136917 15.110099
H 15.036706 1.101780 14.370293
H 0.862260 12.331047 10.222329
H 0.576388 10.884751 9.878239
H 15.013369 2.687846 10.597944
H 14.749248 1.349716 9.941024
H 7.635604 12.750784 15.605874
H 7.063281 13.149121 14.262122
H 6.630981 10.323694 0.777061
H 6.910682 8.837082 0.837471
H 6.518696 10.163169 12.404063
H 5.158628 10.311483 11.755901
H 14.513415 7.228639 13.841660
H 15.188680 7.517995 15.165361
H 10.884896 7.694003 10.264136
H 9.537008 8.263555 9.875929
H 10.169920 3.541428 11.031858
H 9.058984 4.472429 11.468839
H 12.939998 0.748518 6.560183
H 13.359162 -0.684568 6.310259
H 6.806079 13.363518 2.113876
H 8.230720 13.707514 1.734455
H 1.376337 4.428271 4.859101
H 0.026246 3.773603 4.657706
H 11.202848 10.713245 9.674853
H 11.207901 10.618858 8.163906
H 0.837038 2.574495 2.447059
H 0.139223 3.694244 1.704691
H 13.344499 9.479144 4.940640
H 12.047898 10.250105 4.812811
H 8.179005 2.196707 8.280643
H 8.921781 3.193061 7.416086
H 11.996578 12.747212 15.501818
H 11.029996 11.611989 15.239368
H 11.753251 3.258077 14.048538
H 11.376661 2.489403 12.799853
H 10.727878 5.872638 11.392980
H 12.187517 6.272930 11.359562
H 12.694899 7.220715 3.599910
H 12.399226 8.692890 3.407107
H 1.995254 8.322850 11.839802
H 0.706423 7.563149 11.608147
H 10.003095 4.632780 8.907355
H 10.980630 4.590207 7.752146
H 3.257893 13.092363 14.136724
H 2.487394 13.891684 13.107495
H 2.594800 2.360087 13.222239
H 3.067392 1.638961 11.977840
H 4.204283 7.807066 12.889816
H 4.120864 9.063058 13.730900
O 4.963362 8.433745 6.522726
O 8.071195 10.247451 13.276063
O 13.850862 12.652854 15.313528
O 10.628770 14.045936 13.059901
O 6.325463 12.328145 3.498946
O 3.583600 12.446390 8.539707
O 14.871126 15.358423 8.766155
O 13.901523 10.863702 1.750201
O 14.067166 0.862917 3.662820
O 10.133858 15.114355 5.659292
O 12.335899 11.027651 13.245276
O 11.020881 3.916524 5.030404
O 9.394684 6.531654 5.826834
O 11.080390 7.885268 7.198950
O 8.896688 8.249600 3.615318
O 7.353156 1.137779 5.346406
O 14.726780 7.918215 10.773641
O 1.861458 11.989979 2.208095
O 5.043121 6.543380 9.229162
O 8.759694 11.116925 3.548469
O 6.997656 8.373444 9.806165
O 6.063005 12.809828 7.806901
O 10.366591 5.779853 2.712706
O 1.542969 4.767262 12.213947
O 10.685570 14.507915 8.519941
O 12.849421 13.198702 9.038657
O 0.963120 14.402597 12.834647
O 7.797670 4.829150 12.447033
O 3.835427 3.788119 12.965881
O 3.376860 4.479186 1.446663
O 2.947460 1.489874 9.046559
O 3.108796 14.723769 5.201095
O 15.204514 8.599951 0.959433
O 15.219684 4.238425 15.684030
O 4.100649 1.057601 2.040112
O 11.001052 2.229682 10.064311
O 0.478278 0.949105 2.102755
O 13.497545 5.548164 10.181923
O 7.506276 1.277199 9.722916
O 7.428299 4.380540 1.411980
O 7.928952 14.363028 9.316256
O 0.355839 11.996260 13.602596
O 10.664734 7.760921 14.011072
O 2.130951 6.397562 4.547882
O 6.997688 7.117398 14.170903
O 9.843852 1.807540 1.906473
O 4.765738 9.146359 2.409067
O 4.102297 1.274905 6.068037
O 15.014340 11.743955 4.053518
O 12.695114 13.021970 5.787211
O 13.858302 3.507332 4.146316
O 7.022070 10.109293 7.424303
O 5.539291 5.159365 2.927469
O 9.768643 11.517745 11.838411
O 10.503632 1.060928 12.343495
O 5.637836 14.137294 5.298814
O 13.230577 15.494257 12.417538
O 10.087712 12.367132 5.676113
O 3.823444 11.248314 3.611973
O 2.764628 9.932668 12.219621
O 6.337327 1.214539 14.384465
O 9.932541 13.322345 2.141626
O 8.026468 1.856250 12.446566
O 12.678267 4.212245 7.543967
O 13.171058 4.494997 1.771265
O 1.270597 13.402991 7.043142
O 2.561666 15.503539 15.004783
O 9.418846 5.882450 0.091388
O 13.279532 8.467153 13.191095
O 14.784685 10.103797 9.128104
O 5.420783 3.626432 15.485019
O 5.484596 2.586023 3.716333
O 13.407464 7.649770 5.701169
O 14.491627 2.828827 13.502603
O 6.975558 5.474364 6.932584
O 3.311237 6.301528 6.829047
O 0.998842 3.600800 9.862514
O 9.866483 10.306933 7.180898
O 2.074137 10.679976 15.509320
O 11.018416 9.906723 0.630304
O 1.183950 1.843702 7.098684
O 14.873704 5.527544 6.848733
O 2.173299 7.943131 2.110457
O 4.449383 11.930616 11.079086
O 1.710425 14.756574 10.096897
O 6.694784 0.922595 1.239003
O 4.564438 11.918442 15.363533
O 5.477639 4.707670 11.065326
O 11.342444 0.223097 3.577043
O 7.426077 12.972512 11.521810
O 11.491853 1.563182 7.107076
O 4.794353 4.113581 6.561312
O 11.305735 3.619278 0.282229
O 1.481140 5.957409 8.624482
O 0.119546 10.931817 6.783795
O 2.484663 6.791214 15.186771
O 13.950657 12.916459 11.346835
O 6.051702 14.320089 13.213208
O 2.417817 14.602343 2.749723
O 3.040699 10.496700 6.149311
O 8.648120 3.218837 3.744312
O 5.305757 2.668899 9.163911
O 6.031135 7.542813 4.011356
O 15.264572 0.530244 15.103544
O 1.202379 11.443873 10.338401
O 14.305770 2.092612 10.350492
O 7.239758 12.387106 14.813865
O 7.341353 9.684340 0.723854
O 5.857541 9.676357 11.912006
O 15.332365 7.094962 14.318822
O 10.447327 8.207812 9.585339
O 9.866363 4.445989 10.955351
O 13.658983 0.219428 6.214705
O 7.322356 13.965677 1.578063
O 0.644540 4.039583 5.338294
O 11.742745 10.899134 8.906616
O 0.863237 3.520934 2.306355
O 12.841333 10.018102 4.330247
O 8.609050 2.288503 7.430427
O 11.067694 12.559978 15.366360
O 11.923672 3.212040 13.107757
O 11.306237 6.632227 11.461951
O 12.437417 7.860470 2.936097
O 1.645609 7.437039 11.743266
O 10.045665 4.639989 7.951130
O 3.297915 13.397525 13.230354
O 2.464454 1.557718 12.716823
O 4.302185 8.124888 13.787389
H 4.581468 7.718593 7.031593
H 5.435252 7.997984 5.813033
H 8.381737 9.538324 13.839031
H 7.875012 10.964336 13.879239
H 14.014609 12.142905 16.106856
H 14.391871 12.234836 14.643601
H 10.739569 13.533892 13.861004
H 10.132364 13.472919 12.475551
H 5.425531 12.003488 3.468104
H 6.310811 13.012792 4.167733
H 2.831114 13.037692 8.558619
H 3.397989 11.844750 7.818728
H 14.215688 14.710076 8.508709
H 14.915685 15.962115 8.024669
H 14.442896 10.979475 2.531061
H 13.131333 10.387571 2.060586
H 13.235552 0.480036 3.383444
H 14.167503 0.581424 4.572175
H 9.268459 15.423495 5.391430
H 10.724909 15.435978 4.978521
H 12.682383 11.900242 13.058822
H 11.530377 10.974348 12.730956
H 10.862047 3.493530 5.874252
H 11.866334 3.570906 4.744068
H 10.010906 6.860110 6.481524
H 9.772826 5.701645 5.536446
H 10.713257 8.747058 7.002065
H 10.930529 7.769221 8.137196
H 9.008071 7.846692 4.476416
H 9.404635 7.694874 3.023287
H 7.885169 1.417698 6.091281
H 6.462912 1.407047 5.572662
H 14.465524 8.122806 11.671483
H 14.387942 7.036249 10.620165
H 1.079976 11.549099 2.541476
H 1.854266 11.812527 1.267515
H 5.627954 7.254025 9.492195
H 5.358566 6.280575 8.364489
H 8.728012 10.160756 3.517346
H 7.843327 11.389131 3.499416
H 7.064983 9.034969 9.117627
H 6.681536 8.854422 10.570991
H 6.096247 13.255760 6.960573
H 5.135401 12.812072 8.043075
H 10.251809 4.879805 3.017615
H 11.247569 6.019998 2.999828
H 2.425379 4.423632 12.353605
H 1.622138 5.706596 12.380127
H 10.435334 14.464737 7.597038
H 9.863861 14.392213 8.997057
H 12.151749 13.846631 8.940295
H 12.401656 12.354243 8.987406
H 1.041376 14.716046 11.933616
H 0.431193 15.065997 13.274178
H 7.657165 5.609226 12.983662
H 7.113550 4.871097 11.778862
H 4.492907 4.226503 12.425723
H 4.197120 3.813194 13.851760
H 3.028991 5.174958 0.888880
H 2.608925 4.123752 1.894070
H 2.354380 1.561214 8.298628
H 2.601814 2.111564 9.687076
H 2.496453 14.284442 5.791230
H 2.669671 14.716265 4.350599
H 14.931000 9.483201 0.711861
H 14.543448 8.311558 1.588759
H 14.806603 3.662787 15.040418
H 15.806913 4.791820 15.169104
H 3.487941 1.365078 1.372072
H 3.735668 0.223182 2.334673
H 10.930358 1.492019 10.670189
H 11.783438 2.701109 10.350422
H 0.373431 0.943162 1.151333
H -0.331325 0.562024 2.435836
H 13.328483 5.602953 9.241365
H 13.904987 4.690509 10.302961
H 7.979807 1.447145 10.537237
H 7.699278 0.361971 9.519594
H 7.879980 3.677583 1.878957
H 6.921010 4.830270 2.087726
H 7.276262 13.850239 8.839522
H 7.900170 14.017994 10.208643
H 0.566590 12.917379 13.449771
H 0.097504 11.663383 12.743127
H 10.275806 6.980124 14.405182
H 10.496386 7.665796 13.073607
H 2.563595 6.556361 3.708934
H 1.500251 7.112689 4.631806
H 7.206023 7.863029 13.607998
H 6.088301 7.261122 14.432801
H 9.059286 1.416705 1.521847
H 9.511490 2.498088 2.479979
H 5.181015 8.567468 3.048333
H 3.954045 8.698238 2.171213
H 3.323672 1.528105 6.563885
H 3.866094 0.442374 5.658975
H 14.146610 12.079728 4.278314
H 15.272574 11.219653 4.811577
H 12.716562 12.455880 6.558777
H 11.770411 13.059590 5.542791
H 14.153945 2.652228 3.833869
H 13.419264 3.899892 3.391747
H 6.656515 10.977596 7.255036
H 6.361994 9.501768 7.090470
H 4.712486 5.080316 2.451678
H 5.521694 4.441294 3.560158
H 9.189146 10.923676 12.315377
H 9.179345 12.154039 11.433330
H 10.671879 0.186135 12.693725
H 9.549978 1.142946 12.350583
H 4.689829 14.268322 5.317390
H 5.985844 14.953053 4.938731
H 12.546401 14.844149 12.257863
H 12.876821 16.308055 12.058620
H 9.756019 13.254250 5.814793
H 9.607961 12.048315 4.911635
H 3.064895 11.422889 3.054873
H 4.291140 10.542078 3.166190
H 2.001271 10.248909 12.702851
H 2.907174 10.590416 11.538974
H 5.648267 1.877288 14.431286
H 6.585421 1.061461 15.296193
H 9.740490 12.519628 2.626387
H 10.584255 13.059982 1.491498
H 7.455032 1.571433 13.159709
H 7.941730 2.809647 12.437319
H 13.106722 3.411333 7.241976
H 13.240150 4.919265 7.226727
H 12.368225 4.300614 1.287626
H 13.862495 4.466405 1.109956
H 0.601526 14.024395 7.330255
H 0.816229 12.561332 7.005843
H 2.606189 15.728879 14.075552
H 1.751050 15.909700 15.311648
H 8.495514 5.631109 0.068638
H 9.589849 6.084955 1.011160
H 13.316729 9.402787 13.389684
H 12.379524 8.213880 13.396205
H 13.918259 10.505485 9.192801
H 14.676156 9.235384 9.515806
H 6.242915 3.976825 15.827883
H 4.811725 3.679161 16.221565
H 5.094286 2.686336 4.584564
H 4.898319 1.984198 3.257728
H 13.959261 6.906132 5.943560
H 12.760208 7.707487 6.403991
H 14.969381 3.387665 12.889672
H 13.602198 2.792224 13.150740
H 7.679644 4.993292 7.367401
H 7.415258 5.972883 6.243836
H 3.810284 5.488758 6.747876
H 2.838344 6.376576 6.000209
H 1.201385 4.317435 9.261147
H 1.095921 3.984260 10.734160
H 8.983144 9.978931 7.349300
H 9.731317 11.166458 6.781926
H 2.882211 11.167225 15.348581
H 1.472398 10.982022 14.828945
H 10.205799 9.598641 1.031516
H 11.290942 9.189004 0.058604
H 0.558492 1.215423 6.737713
H 1.132569 2.597863 6.511459
H 15.392637 5.068030 6.188591
H 15.494223 5.717274 7.552430
H 1.359386 8.375518 1.851964
H 2.491619 7.530928 1.307342
H 3.930723 12.466553 11.679082
H 4.127627 12.165120 10.208619
H 1.031873 14.870889 9.431517
H 2.312758 15.486507 9.953288
H 6.898133 0.021480 1.489743
H 5.806915 1.068076 1.565740
H 4.879440 12.531428 16.027803
H 5.343283 11.696347 14.853331
H 5.304646 5.468144 10.510363
H 5.487486 3.966167 10.460093
H 10.682669 0.812386 3.211437
H 11.375385 -0.510655 2.963240
H 6.968873 13.462683 12.205132
H 6.748898 12.423743 11.126193
H 11.398639 1.428458 8.050152
H 10.636236 1.331547 6.745834
H 5.559402 4.680155 6.660940
H 4.741233 3.634449 7.388260
H 10.965383 2.838195 0.718466
H 10.526206 4.126248 0.055186
H 2.151544 6.183022 7.979588
H 1.693196 6.493418 9.388654
H -0.065205 10.491692 7.613487
H 0.934641 10.534254 6.477533
H 1.612127 6.933760 14.819901
H 3.084290 7.085600 14.501194
H 14.370852 13.670525 11.760422
H 13.655238 13.242663 10.496806
H 5.117003 14.119782 13.262678
H 6.094269 15.275850 13.243879
H 1.684983 15.055245 2.332511
H 2.318871 13.688619 2.482233
H 3.301587 10.821578 5.287555
H 3.569324 9.709332 6.279080
H 9.402765 3.485324 4.269409
H 8.068278 2.776805 4.364491
H 5.849660 1.904585 9.354240
H 4.458877 2.303173 8.908431
H 5.856290 6.650150 3.713341
H 6.956707 7.685055 3.813075
H 14.578215 -0.136917 15.110099
H 15.036706 1.101780 14.370293
H 0.862260 12.331047 10.222329
H 0.576388 10.884751 9.878239
H 15.013369 2.687846 10.597944
H 14.749248 1.349716 9.941024
H 7.635604 12.750784 15.605874
H 7.063281 13.149121 14.262122
H 6.630981 10.323694 0.777061
H 6.910682 8.837082 0.837471
H 6.518696 10.163169 12.404063
H 5.158628 10.311483 11.755901
H 14.513415 7.228639 13.841660
H 15.188680 7.517995 15.165361
H 10.884896 7.694003 10.264136
H 9.537008 8.263555 9.875929
H 10.169920 3.541428 11.031858
H 9.058984 4.472429 11.468839
H 12.939998 0.748518 6.560183
H 13.359162 -0.684568 6.310259
H 6.806079 13.363518 2.113876
H 8.230720 13.707514 1.734455
H 1.376337 4.428271 4.859101
H 0.026246 3.773603 4.657706
H 11.202848 10.713245 9.674853
H 11.207901 10.618858 8.163906
H 0.837038 2.574495 2.447059
H 0.139223 3.694244 1.704691
H 13.344499 9.479144 4.940640
H 12.047898 10.250105 4.812811
H 8.179005 2.196707 8.280643
H 8.921781 3.193061 7.416086
H 11.996578 12.747212 15.501818
H 11.029996 11.611989 15.239368
H 11.753251 3.258077 14.048538
H 11.376661 2.489403 12.799853
H 10.727878 5.872638 11.392980
H 12.187517 6.272930 11.359562
H 12.694899 7.220715 3.599910
H 12.399226 8.692890 3.407107
H 1.995254 8.322850 11.839802
H 0.706423 7.563149 11.608147
H 10.003095 4.632780 8.907355
H 10.980630 4.590207 7.752146
H 3.257893 13.092363 14.136724
H 2.487394 13.891684 13.107495
H 2.594800 2.360087 13.222239
H 3.067392 1.638961 11.977840
H 4.204283 7.807066 12.889816
H 4.120864 9.063058 13.730900
&END COORD
&KIND H
BASIS_SET TZV2P-GTH
@ -433,16 +448,3 @@
&END KIND
&END SUBSYS
&END FORCE_EVAL
&GLOBAL
PROJECT H2O-128_nonortho
RUN_TYPE MD
PRINT_LEVEL LOW
&END GLOBAL
&MOTION
&MD
ENSEMBLE NVE
STEPS 10
TIMESTEP 0.5
TEMPERATURE 300.0
&END MD
&END MOTION

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -1,3 +1,19 @@
&GLOBAL
EPS_CHECK_DIAG 1.0E-12
PRINT_LEVEL LOW
PROJECT H2O-32
RUN_TYPE MD
&END GLOBAL
&MOTION
&MD
ENSEMBLE NVE
STEPS 10
TEMPERATURE 300.0
TIMESTEP 0.5
&END MD
&END MOTION
&FORCE_EVAL
METHOD QS
&DFT
@ -9,20 +25,21 @@
&END MGRID
&QS
EPS_DEFAULT 1.0E-12
WF_INTERPOLATION PS
EXTRAPOLATION_ORDER 3
WF_INTERPOLATION PS
&END QS
&SCF
IGNORE_CONVERGENCE_FAILURE
SCF_GUESS ATOMIC
&OT ON
MINIMIZER DIIS
&END OT
# SCF_GUESS RESTART
# EPS_SCF 1.0E-7
# SCF_GUESS RESTART
# EPS_SCF 1.0E-7
&PRINT
&RESTART OFF
&END
&END
&END RESTART
&END PRINT
&END SCF
&XC
&XC_FUNCTIONAL Pade
@ -35,102 +52,102 @@
&END CELL
# 32 H2O (TIP5P,1bar,300K) a = 9.8528
&COORD
O 2.280398 9.146539 5.088696
O 1.251703 2.406261 7.769908
O 1.596302 6.920128 0.656695
O 2.957518 3.771868 1.877387
O 0.228972 5.884026 6.532308
O 9.023431 6.119654 0.092451
O 7.256289 8.493641 5.772041
O 5.090422 9.467016 0.743177
O 6.330888 7.363471 3.747750
O 7.763819 8.349367 9.279457
O 8.280798 3.837153 5.799282
O 8.878250 2.025797 1.664102
O 9.160372 0.285100 6.871004
O 4.962043 4.134437 0.173376
O 2.802896 8.690383 2.435952
O 9.123223 3.549232 8.876721
O 1.453702 1.402538 2.358278
O 6.536550 1.146790 7.609732
O 2.766709 0.881503 9.544263
O 0.856426 2.075964 5.010625
O 6.386036 1.918950 0.242690
O 2.733023 4.452756 5.850203
O 4.600039 9.254314 6.575944
O 3.665373 6.210561 3.158420
O 3.371648 6.925594 7.476036
O 5.287920 3.270653 6.155080
O 5.225237 6.959594 9.582991
O 0.846293 5.595877 3.820630
O 9.785620 8.164617 3.657879
O 8.509982 4.430362 2.679946
O 1.337625 8.580920 8.272484
O 8.054437 9.221335 1.991376
H 1.762019 9.820429 5.528454
H 3.095987 9.107088 5.588186
H 0.554129 2.982634 8.082024
H 1.771257 2.954779 7.182181
H 2.112148 6.126321 0.798136
H 1.776389 7.463264 1.424030
H 3.754249 3.824017 1.349436
H 3.010580 4.524142 2.466878
H 0.939475 5.243834 6.571945
H 0.515723 6.520548 5.877445
H 9.852960 6.490366 0.393593
H 8.556008 6.860063 -0.294256
H 7.886607 7.941321 6.234506
H 7.793855 9.141028 5.315813
H 4.467366 9.971162 0.219851
H 5.758685 10.102795 0.998994
H 6.652693 7.917443 3.036562
H 6.711966 7.743594 4.539279
H 7.751955 8.745180 10.150905
H 7.829208 9.092212 8.679343
H 8.312540 3.218330 6.528858
H 8.508855 4.680699 6.189990
H 9.742249 1.704975 1.922581
H 8.799060 2.876412 2.095861
H 9.505360 1.161677 6.701213
H 9.920117 -0.219794 7.161006
H 4.749903 4.186003 -0.758595
H 5.248010 5.018415 0.403676
H 3.576065 9.078451 2.026264
H 2.720238 9.146974 3.273164
H 9.085561 4.493058 9.031660
H 9.215391 3.166305 9.749133
H 1.999705 2.060411 1.927796
H 1.824184 0.564565 2.081195
H 7.430334 0.849764 7.438978
H 6.576029 1.537017 8.482885
H 2.415851 1.576460 8.987338
H 2.276957 0.099537 9.289499
H 1.160987 1.818023 4.140602
H 0.350256 2.874437 4.860741
H 5.768804 2.638450 0.375264
H 7.221823 2.257514 0.563730
H 3.260797 5.243390 5.962382
H 3.347848 3.732214 5.988196
H 5.328688 9.073059 5.982269
H 5.007063 9.672150 7.334875
H 4.566850 6.413356 3.408312
H 3.273115 7.061666 2.963521
H 3.878372 7.435003 6.843607
H 3.884673 6.966316 8.283117
H 5.918240 3.116802 5.451335
H 5.355924 2.495093 6.711958
H 5.071858 7.687254 10.185667
H 6.106394 7.112302 9.241707
H 1.637363 5.184910 4.169264
H 0.427645 4.908936 3.301903
H 9.971698 7.227076 3.709104
H 10.647901 8.579244 3.629806
H 8.046808 5.126383 2.213838
H 7.995317 4.290074 3.474723
H 1.872601 7.864672 7.930401
H 0.837635 8.186808 8.987268
H 8.314696 10.115534 2.212519
H 8.687134 8.667252 2.448452
O 2.280398 9.146539 5.088696
O 1.251703 2.406261 7.769908
O 1.596302 6.920128 0.656695
O 2.957518 3.771868 1.877387
O 0.228972 5.884026 6.532308
O 9.023431 6.119654 0.092451
O 7.256289 8.493641 5.772041
O 5.090422 9.467016 0.743177
O 6.330888 7.363471 3.747750
O 7.763819 8.349367 9.279457
O 8.280798 3.837153 5.799282
O 8.878250 2.025797 1.664102
O 9.160372 0.285100 6.871004
O 4.962043 4.134437 0.173376
O 2.802896 8.690383 2.435952
O 9.123223 3.549232 8.876721
O 1.453702 1.402538 2.358278
O 6.536550 1.146790 7.609732
O 2.766709 0.881503 9.544263
O 0.856426 2.075964 5.010625
O 6.386036 1.918950 0.242690
O 2.733023 4.452756 5.850203
O 4.600039 9.254314 6.575944
O 3.665373 6.210561 3.158420
O 3.371648 6.925594 7.476036
O 5.287920 3.270653 6.155080
O 5.225237 6.959594 9.582991
O 0.846293 5.595877 3.820630
O 9.785620 8.164617 3.657879
O 8.509982 4.430362 2.679946
O 1.337625 8.580920 8.272484
O 8.054437 9.221335 1.991376
H 1.762019 9.820429 5.528454
H 3.095987 9.107088 5.588186
H 0.554129 2.982634 8.082024
H 1.771257 2.954779 7.182181
H 2.112148 6.126321 0.798136
H 1.776389 7.463264 1.424030
H 3.754249 3.824017 1.349436
H 3.010580 4.524142 2.466878
H 0.939475 5.243834 6.571945
H 0.515723 6.520548 5.877445
H 9.852960 6.490366 0.393593
H 8.556008 6.860063 -0.294256
H 7.886607 7.941321 6.234506
H 7.793855 9.141028 5.315813
H 4.467366 9.971162 0.219851
H 5.758685 10.102795 0.998994
H 6.652693 7.917443 3.036562
H 6.711966 7.743594 4.539279
H 7.751955 8.745180 10.150905
H 7.829208 9.092212 8.679343
H 8.312540 3.218330 6.528858
H 8.508855 4.680699 6.189990
H 9.742249 1.704975 1.922581
H 8.799060 2.876412 2.095861
H 9.505360 1.161677 6.701213
H 9.920117 -0.219794 7.161006
H 4.749903 4.186003 -0.758595
H 5.248010 5.018415 0.403676
H 3.576065 9.078451 2.026264
H 2.720238 9.146974 3.273164
H 9.085561 4.493058 9.031660
H 9.215391 3.166305 9.749133
H 1.999705 2.060411 1.927796
H 1.824184 0.564565 2.081195
H 7.430334 0.849764 7.438978
H 6.576029 1.537017 8.482885
H 2.415851 1.576460 8.987338
H 2.276957 0.099537 9.289499
H 1.160987 1.818023 4.140602
H 0.350256 2.874437 4.860741
H 5.768804 2.638450 0.375264
H 7.221823 2.257514 0.563730
H 3.260797 5.243390 5.962382
H 3.347848 3.732214 5.988196
H 5.328688 9.073059 5.982269
H 5.007063 9.672150 7.334875
H 4.566850 6.413356 3.408312
H 3.273115 7.061666 2.963521
H 3.878372 7.435003 6.843607
H 3.884673 6.966316 8.283117
H 5.918240 3.116802 5.451335
H 5.355924 2.495093 6.711958
H 5.071858 7.687254 10.185667
H 6.106394 7.112302 9.241707
H 1.637363 5.184910 4.169264
H 0.427645 4.908936 3.301903
H 9.971698 7.227076 3.709104
H 10.647901 8.579244 3.629806
H 8.046808 5.126383 2.213838
H 7.995317 4.290074 3.474723
H 1.872601 7.864672 7.930401
H 0.837635 8.186808 8.987268
H 8.314696 10.115534 2.212519
H 8.687134 8.667252 2.448452
&END COORD
&KIND H
BASIS_SET TZV2P-GTH
@ -142,16 +159,3 @@
&END KIND
&END SUBSYS
&END FORCE_EVAL
&GLOBAL
PROJECT H2O-32
RUN_TYPE MD
PRINT_LEVEL LOW
&END GLOBAL
&MOTION
&MD
ENSEMBLE NVE
STEPS 10
TIMESTEP 0.5
TEMPERATURE 300.0
&END MD
&END MOTION

View file

@ -1,3 +1,19 @@
&GLOBAL
EPS_CHECK_DIAG 1.0E-12
PRINT_LEVEL LOW
PROJECT H2O-32_nonortho
RUN_TYPE MD
&END GLOBAL
&MOTION
&MD
ENSEMBLE NVE
STEPS 10
TEMPERATURE 300.0
TIMESTEP 0.5
&END MD
&END MOTION
&FORCE_EVAL
METHOD QS
&DFT
@ -9,20 +25,21 @@
&END MGRID
&QS
EPS_DEFAULT 1.0E-12
WF_INTERPOLATION PS
EXTRAPOLATION_ORDER 3
WF_INTERPOLATION PS
&END QS
&SCF
IGNORE_CONVERGENCE_FAILURE
SCF_GUESS ATOMIC
&OT ON
MINIMIZER DIIS
&END OT
# SCF_GUESS RESTART
# EPS_SCF 1.0E-7
# SCF_GUESS RESTART
# EPS_SCF 1.0E-7
&PRINT
&RESTART OFF
&END
&END
&END RESTART
&END PRINT
&END SCF
&XC
&XC_FUNCTIONAL Pade
@ -36,102 +53,102 @@
&END CELL
# 32 H2O (TIP5P,1bar,300K) a = 9.8528
&COORD
O 2.280398 9.146539 5.088696
O 1.251703 2.406261 7.769908
O 1.596302 6.920128 0.656695
O 2.957518 3.771868 1.877387
O 0.228972 5.884026 6.532308
O 9.023431 6.119654 0.092451
O 7.256289 8.493641 5.772041
O 5.090422 9.467016 0.743177
O 6.330888 7.363471 3.747750
O 7.763819 8.349367 9.279457
O 8.280798 3.837153 5.799282
O 8.878250 2.025797 1.664102
O 9.160372 0.285100 6.871004
O 4.962043 4.134437 0.173376
O 2.802896 8.690383 2.435952
O 9.123223 3.549232 8.876721
O 1.453702 1.402538 2.358278
O 6.536550 1.146790 7.609732
O 2.766709 0.881503 9.544263
O 0.856426 2.075964 5.010625
O 6.386036 1.918950 0.242690
O 2.733023 4.452756 5.850203
O 4.600039 9.254314 6.575944
O 3.665373 6.210561 3.158420
O 3.371648 6.925594 7.476036
O 5.287920 3.270653 6.155080
O 5.225237 6.959594 9.582991
O 0.846293 5.595877 3.820630
O 9.785620 8.164617 3.657879
O 8.509982 4.430362 2.679946
O 1.337625 8.580920 8.272484
O 8.054437 9.221335 1.991376
H 1.762019 9.820429 5.528454
H 3.095987 9.107088 5.588186
H 0.554129 2.982634 8.082024
H 1.771257 2.954779 7.182181
H 2.112148 6.126321 0.798136
H 1.776389 7.463264 1.424030
H 3.754249 3.824017 1.349436
H 3.010580 4.524142 2.466878
H 0.939475 5.243834 6.571945
H 0.515723 6.520548 5.877445
H 9.852960 6.490366 0.393593
H 8.556008 6.860063 -0.294256
H 7.886607 7.941321 6.234506
H 7.793855 9.141028 5.315813
H 4.467366 9.971162 0.219851
H 5.758685 10.102795 0.998994
H 6.652693 7.917443 3.036562
H 6.711966 7.743594 4.539279
H 7.751955 8.745180 10.150905
H 7.829208 9.092212 8.679343
H 8.312540 3.218330 6.528858
H 8.508855 4.680699 6.189990
H 9.742249 1.704975 1.922581
H 8.799060 2.876412 2.095861
H 9.505360 1.161677 6.701213
H 9.920117 -0.219794 7.161006
H 4.749903 4.186003 -0.758595
H 5.248010 5.018415 0.403676
H 3.576065 9.078451 2.026264
H 2.720238 9.146974 3.273164
H 9.085561 4.493058 9.031660
H 9.215391 3.166305 9.749133
H 1.999705 2.060411 1.927796
H 1.824184 0.564565 2.081195
H 7.430334 0.849764 7.438978
H 6.576029 1.537017 8.482885
H 2.415851 1.576460 8.987338
H 2.276957 0.099537 9.289499
H 1.160987 1.818023 4.140602
H 0.350256 2.874437 4.860741
H 5.768804 2.638450 0.375264
H 7.221823 2.257514 0.563730
H 3.260797 5.243390 5.962382
H 3.347848 3.732214 5.988196
H 5.328688 9.073059 5.982269
H 5.007063 9.672150 7.334875
H 4.566850 6.413356 3.408312
H 3.273115 7.061666 2.963521
H 3.878372 7.435003 6.843607
H 3.884673 6.966316 8.283117
H 5.918240 3.116802 5.451335
H 5.355924 2.495093 6.711958
H 5.071858 7.687254 10.185667
H 6.106394 7.112302 9.241707
H 1.637363 5.184910 4.169264
H 0.427645 4.908936 3.301903
H 9.971698 7.227076 3.709104
H 10.647901 8.579244 3.629806
H 8.046808 5.126383 2.213838
H 7.995317 4.290074 3.474723
H 1.872601 7.864672 7.930401
H 0.837635 8.186808 8.987268
H 8.314696 10.115534 2.212519
H 8.687134 8.667252 2.448452
O 2.280398 9.146539 5.088696
O 1.251703 2.406261 7.769908
O 1.596302 6.920128 0.656695
O 2.957518 3.771868 1.877387
O 0.228972 5.884026 6.532308
O 9.023431 6.119654 0.092451
O 7.256289 8.493641 5.772041
O 5.090422 9.467016 0.743177
O 6.330888 7.363471 3.747750
O 7.763819 8.349367 9.279457
O 8.280798 3.837153 5.799282
O 8.878250 2.025797 1.664102
O 9.160372 0.285100 6.871004
O 4.962043 4.134437 0.173376
O 2.802896 8.690383 2.435952
O 9.123223 3.549232 8.876721
O 1.453702 1.402538 2.358278
O 6.536550 1.146790 7.609732
O 2.766709 0.881503 9.544263
O 0.856426 2.075964 5.010625
O 6.386036 1.918950 0.242690
O 2.733023 4.452756 5.850203
O 4.600039 9.254314 6.575944
O 3.665373 6.210561 3.158420
O 3.371648 6.925594 7.476036
O 5.287920 3.270653 6.155080
O 5.225237 6.959594 9.582991
O 0.846293 5.595877 3.820630
O 9.785620 8.164617 3.657879
O 8.509982 4.430362 2.679946
O 1.337625 8.580920 8.272484
O 8.054437 9.221335 1.991376
H 1.762019 9.820429 5.528454
H 3.095987 9.107088 5.588186
H 0.554129 2.982634 8.082024
H 1.771257 2.954779 7.182181
H 2.112148 6.126321 0.798136
H 1.776389 7.463264 1.424030
H 3.754249 3.824017 1.349436
H 3.010580 4.524142 2.466878
H 0.939475 5.243834 6.571945
H 0.515723 6.520548 5.877445
H 9.852960 6.490366 0.393593
H 8.556008 6.860063 -0.294256
H 7.886607 7.941321 6.234506
H 7.793855 9.141028 5.315813
H 4.467366 9.971162 0.219851
H 5.758685 10.102795 0.998994
H 6.652693 7.917443 3.036562
H 6.711966 7.743594 4.539279
H 7.751955 8.745180 10.150905
H 7.829208 9.092212 8.679343
H 8.312540 3.218330 6.528858
H 8.508855 4.680699 6.189990
H 9.742249 1.704975 1.922581
H 8.799060 2.876412 2.095861
H 9.505360 1.161677 6.701213
H 9.920117 -0.219794 7.161006
H 4.749903 4.186003 -0.758595
H 5.248010 5.018415 0.403676
H 3.576065 9.078451 2.026264
H 2.720238 9.146974 3.273164
H 9.085561 4.493058 9.031660
H 9.215391 3.166305 9.749133
H 1.999705 2.060411 1.927796
H 1.824184 0.564565 2.081195
H 7.430334 0.849764 7.438978
H 6.576029 1.537017 8.482885
H 2.415851 1.576460 8.987338
H 2.276957 0.099537 9.289499
H 1.160987 1.818023 4.140602
H 0.350256 2.874437 4.860741
H 5.768804 2.638450 0.375264
H 7.221823 2.257514 0.563730
H 3.260797 5.243390 5.962382
H 3.347848 3.732214 5.988196
H 5.328688 9.073059 5.982269
H 5.007063 9.672150 7.334875
H 4.566850 6.413356 3.408312
H 3.273115 7.061666 2.963521
H 3.878372 7.435003 6.843607
H 3.884673 6.966316 8.283117
H 5.918240 3.116802 5.451335
H 5.355924 2.495093 6.711958
H 5.071858 7.687254 10.185667
H 6.106394 7.112302 9.241707
H 1.637363 5.184910 4.169264
H 0.427645 4.908936 3.301903
H 9.971698 7.227076 3.709104
H 10.647901 8.579244 3.629806
H 8.046808 5.126383 2.213838
H 7.995317 4.290074 3.474723
H 1.872601 7.864672 7.930401
H 0.837635 8.186808 8.987268
H 8.314696 10.115534 2.212519
H 8.687134 8.667252 2.448452
&END COORD
&KIND H
BASIS_SET TZV2P-GTH
@ -143,16 +160,3 @@
&END KIND
&END SUBSYS
&END FORCE_EVAL
&GLOBAL
PROJECT H2O-32_nonortho
RUN_TYPE MD
PRINT_LEVEL LOW
&END GLOBAL
&MOTION
&MD
ENSEMBLE NVE
STEPS 10
TIMESTEP 0.5
TEMPERATURE 300.0
&END MD
&END MOTION

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -1,3 +1,19 @@
&GLOBAL
EPS_CHECK_DIAG 1.0E-12
PRINT_LEVEL LOW
PROJECT H2O-64
RUN_TYPE MD
&END GLOBAL
&MOTION
&MD
ENSEMBLE NVE
STEPS 10
TEMPERATURE 300.0
TIMESTEP 0.5
&END MD
&END MOTION
&FORCE_EVAL
METHOD QS
&DFT
@ -9,22 +25,21 @@
&END MGRID
&QS
EPS_DEFAULT 1.0E-12
WF_INTERPOLATION PS
EXTRAPOLATION_ORDER 3
WF_INTERPOLATION PS
&END QS
&SCF
IGNORE_CONVERGENCE_FAILURE
SCF_GUESS ATOMIC
&OT ON
MINIMIZER DIIS
&END OT
&PRINT
&RESTART OFF
&END
&END
# SCF_GUESS RESTART
# EPS_SCF 1.0E-7
&END RESTART
&END PRINT
# SCF_GUESS RESTART
# EPS_SCF 1.0E-7
&END SCF
&XC
&XC_FUNCTIONAL Pade
@ -35,200 +50,200 @@
&CELL
ABC 12.4138 12.4138 12.4138
&END CELL
# 64 H2O (TIP5P,1bar,300K) a = 12.4138
# 64 H2O (TIP5P,1bar,300K) a = 12.4138
&COORD
O 12.235322 1.376642 10.869880
O 6.445390 3.706940 8.650794
O 0.085977 2.181322 8.276663
O 12.052554 2.671366 2.147199
O 12.250036 4.190930 12.092014
O 7.187422 0.959062 4.733469
O 8.346457 7.210040 4.667644
O 12.361546 11.527875 8.106887
O 3.299984 4.440816 9.193275
O 2.855829 3.759909 6.552815
O 1.392494 6.362753 0.586172
O 1.858645 8.694013 2.068738
O 3.770231 12.094519 8.652183
O 6.432508 3.669828 2.772418
O 1.998724 1.820217 4.876440
O 8.248581 2.404730 6.931303
O 5.753814 3.360029 12.461534
O 11.322212 5.649239 2.236798
O 4.277318 2.113956 10.590808
O 5.405015 3.349247 5.484702
O 6.493278 11.869958 0.684912
O 3.275250 2.346576 2.425241
O 7.981003 6.352512 7.507970
O 5.985990 6.512854 12.194648
O 10.636714 11.856872 12.209540
O 9.312283 3.670384 3.508594
O 1.106885 5.830301 6.638695
O 8.008007 3.326363 10.869818
O 12.403000 9.687405 11.761901
O 4.219782 7.085315 8.153470
O 3.781557 8.203821 11.563272
O 11.088898 4.532081 7.809475
O 10.387548 8.408890 1.017882
O 1.979016 6.418091 10.374159
O 4.660547 0.549666 5.617403
O 8.745880 12.256257 8.089383
O 2.662041 10.489890 0.092980
O 7.241661 10.471815 4.226946
O 2.276827 0.276647 10.810417
O 8.887733 0.946877 1.333885
O 1.943554 8.088552 7.567650
O 9.667942 8.056759 9.868847
O 10.905491 8.339638 6.484782
O 3.507733 4.862402 1.557439
O 8.010457 8.642846 12.055969
O 8.374446 10.035932 6.690309
O 5.635247 6.076875 5.563993
O 11.728434 1.601906 5.079475
O 9.771134 9.814114 3.548703
O 3.944355 10.563450 4.687536
O 0.890357 6.382287 4.065806
O 6.862447 6.425182 2.488202
O 3.813963 6.595122 3.762649
O 6.562448 8.295463 8.807182
O 9.809455 0.143325 3.886553
O 4.117074 11.661225 2.221679
O 5.295317 8.735561 2.763183
O 9.971999 5.379339 5.340378
O 12.254708 8.643874 3.957116
O 2.344274 10.761274 6.829162
O 7.013416 0.643488 10.518797
O 5.152349 10.233624 10.359388
O 11.184278 5.884064 10.298279
O 12.252335 8.974142 9.070831
H 12.415139 2.233125 11.257611
H 11.922476 1.573799 9.986994
H 5.608192 3.371543 8.971482
H 6.731226 3.060851 8.004962
H -0.169205 1.565594 7.589645
H -0.455440 2.954771 8.118939
H 12.125168 2.826463 1.205443
H 12.888828 2.969761 2.504745
H 11.553255 4.386613 11.465566
H 12.818281 4.960808 12.067151
H 7.049495 1.772344 4.247898
H 6.353019 0.798145 5.174047
H 7.781850 7.384852 5.420566
H 9.103203 6.754017 5.035898
H 12.771232 11.788645 8.931744
H 12.018035 10.650652 8.276334
H 3.557245 3.792529 9.848846
H 2.543844 4.884102 9.577958
H 2.320235 4.521250 6.329813
H 2.872128 3.749963 7.509824
H 1.209685 7.121391 1.140501
H 2.238885 6.038801 0.894245
H 2.763109 8.856353 2.336735
H 1.329379 9.047369 2.783755
H 4.315639 11.533388 9.203449
H 3.098742 12.433043 9.244412
H 5.987369 3.448974 3.590530
H 5.813096 3.419344 2.086985
H 1.057126 1.675344 4.969379
H 2.248496 2.292119 5.670892
H 8.508264 1.653337 7.464411
H 8.066015 2.034597 6.067646
H 5.197835 2.915542 11.821572
H 6.630900 3.329981 12.079371
H 10.788986 6.436672 2.127933
H 11.657923 5.463602 1.359832
H 3.544476 1.634958 10.977765
H 4.755770 1.455054 10.087655
H 4.465371 3.375459 5.665294
H 5.682663 4.264430 5.524498
H 6.174815 11.778676 1.582954
H 5.713640 12.089924 0.174999
H 3.476076 1.498708 2.028983
H 2.730229 2.134295 3.182949
H 7.119624 5.936450 7.474030
H 8.536492 5.799405 6.958665
H 5.909499 5.717477 11.667621
H 6.125402 6.196758 13.087330
H 11.203499 12.513536 11.804844
H 10.260930 12.300153 12.970145
H 9.985036 3.927685 2.878172
H 8.545584 3.468329 2.972331
H 1.399882 6.620092 7.093246
H 0.963561 6.112523 5.735345
H 8.067363 3.674002 9.979955
H 8.000737 2.375959 10.756190
H 11.821629 10.402510 12.020482
H 12.206854 8.983242 12.379892
H 3.461473 7.606485 7.889688
H 3.844478 6.304711 8.560946
H 3.179884 7.585614 11.148494
H 4.401957 7.652030 12.039573
H 11.573777 5.053211 7.169515
H 10.342076 4.186083 7.320831
H 10.065640 8.919194 1.760981
H 9.629585 8.322499 0.439729
H 1.396302 6.546079 9.625630
H 1.405516 6.479759 11.138049
H 4.024008 1.232518 5.405828
H 4.736858 0.579881 6.571077
H 9.452293 12.313381 8.732772
H 8.976559 11.502788 7.545965
H 1.834701 10.012311 0.153462
H 3.295197 9.836403 -0.204175
H 7.056724 11.401702 4.095264
H 6.499038 10.020287 3.825865
H 1.365541 0.487338 11.013887
H 2.501591 -0.428131 11.417871
H 8.644279 1.812362 1.005409
H 8.142674 0.388030 1.112955
H 1.272659 8.365063 8.191888
H 2.142485 8.877768 7.063867
H 8.961493 7.826192 9.265523
H 9.227102 8.487654 10.601118
H 10.150144 7.758934 6.392768
H 10.596082 9.187988 6.167290
H 3.463106 4.096188 2.129414
H 3.919461 4.539801 0.755791
H 7.418998 9.394959 12.028876
H 7.430413 7.883095 12.106546
H 7.972905 10.220334 5.841196
H 7.675111 9.631498 7.203725
H 5.332446 6.381336 6.419473
H 5.000025 6.434186 4.943466
H 11.575078 2.271167 4.412540
H 11.219802 0.847030 4.783357
H 8.865342 9.721516 3.843998
H 10.000732 10.719285 3.758898
H 3.186196 10.476397 5.265333
H 4.407331 11.335128 5.013723
H 0.558187 7.255936 3.859331
H 0.341672 5.789383 3.552346
H 7.459933 6.526049 3.229193
H 6.696228 5.483739 2.440372
H 3.864872 6.313007 2.849385
H 2.876419 6.621201 3.953862
H 5.631529 8.079145 8.753997
H 7.003296 7.568245 8.367822
H 9.615413 0.527902 3.031755
H 8.962985 0.109366 4.332162
H 3.825854 11.139182 1.474087
H 4.063988 11.063232 2.967211
H 5.784391 7.914558 2.708486
H 4.780461 8.655167 3.566110
H 10.880659 5.444664 5.046607
H 9.593331 4.687991 4.797350
H 11.562317 8.960134 3.376765
H 11.926084 8.816948 4.839320
H 2.856874 11.297981 7.433660
H 1.492332 11.195517 6.786033
H 7.145820 0.090200 9.749009
H 7.227275 0.077690 11.260665
H 4.662021 9.538430 10.798155
H 5.994537 9.833472 10.142985
H 10.544299 6.595857 10.301445
H 11.281750 5.653082 9.374494
H 12.103020 8.841164 10.006916
H 11.491592 8.576221 8.647557
O 12.235322 1.376642 10.869880
O 6.445390 3.706940 8.650794
O 0.085977 2.181322 8.276663
O 12.052554 2.671366 2.147199
O 12.250036 4.190930 12.092014
O 7.187422 0.959062 4.733469
O 8.346457 7.210040 4.667644
O 12.361546 11.527875 8.106887
O 3.299984 4.440816 9.193275
O 2.855829 3.759909 6.552815
O 1.392494 6.362753 0.586172
O 1.858645 8.694013 2.068738
O 3.770231 12.094519 8.652183
O 6.432508 3.669828 2.772418
O 1.998724 1.820217 4.876440
O 8.248581 2.404730 6.931303
O 5.753814 3.360029 12.461534
O 11.322212 5.649239 2.236798
O 4.277318 2.113956 10.590808
O 5.405015 3.349247 5.484702
O 6.493278 11.869958 0.684912
O 3.275250 2.346576 2.425241
O 7.981003 6.352512 7.507970
O 5.985990 6.512854 12.194648
O 10.636714 11.856872 12.209540
O 9.312283 3.670384 3.508594
O 1.106885 5.830301 6.638695
O 8.008007 3.326363 10.869818
O 12.403000 9.687405 11.761901
O 4.219782 7.085315 8.153470
O 3.781557 8.203821 11.563272
O 11.088898 4.532081 7.809475
O 10.387548 8.408890 1.017882
O 1.979016 6.418091 10.374159
O 4.660547 0.549666 5.617403
O 8.745880 12.256257 8.089383
O 2.662041 10.489890 0.092980
O 7.241661 10.471815 4.226946
O 2.276827 0.276647 10.810417
O 8.887733 0.946877 1.333885
O 1.943554 8.088552 7.567650
O 9.667942 8.056759 9.868847
O 10.905491 8.339638 6.484782
O 3.507733 4.862402 1.557439
O 8.010457 8.642846 12.055969
O 8.374446 10.035932 6.690309
O 5.635247 6.076875 5.563993
O 11.728434 1.601906 5.079475
O 9.771134 9.814114 3.548703
O 3.944355 10.563450 4.687536
O 0.890357 6.382287 4.065806
O 6.862447 6.425182 2.488202
O 3.813963 6.595122 3.762649
O 6.562448 8.295463 8.807182
O 9.809455 0.143325 3.886553
O 4.117074 11.661225 2.221679
O 5.295317 8.735561 2.763183
O 9.971999 5.379339 5.340378
O 12.254708 8.643874 3.957116
O 2.344274 10.761274 6.829162
O 7.013416 0.643488 10.518797
O 5.152349 10.233624 10.359388
O 11.184278 5.884064 10.298279
O 12.252335 8.974142 9.070831
H 12.415139 2.233125 11.257611
H 11.922476 1.573799 9.986994
H 5.608192 3.371543 8.971482
H 6.731226 3.060851 8.004962
H -0.169205 1.565594 7.589645
H -0.455440 2.954771 8.118939
H 12.125168 2.826463 1.205443
H 12.888828 2.969761 2.504745
H 11.553255 4.386613 11.465566
H 12.818281 4.960808 12.067151
H 7.049495 1.772344 4.247898
H 6.353019 0.798145 5.174047
H 7.781850 7.384852 5.420566
H 9.103203 6.754017 5.035898
H 12.771232 11.788645 8.931744
H 12.018035 10.650652 8.276334
H 3.557245 3.792529 9.848846
H 2.543844 4.884102 9.577958
H 2.320235 4.521250 6.329813
H 2.872128 3.749963 7.509824
H 1.209685 7.121391 1.140501
H 2.238885 6.038801 0.894245
H 2.763109 8.856353 2.336735
H 1.329379 9.047369 2.783755
H 4.315639 11.533388 9.203449
H 3.098742 12.433043 9.244412
H 5.987369 3.448974 3.590530
H 5.813096 3.419344 2.086985
H 1.057126 1.675344 4.969379
H 2.248496 2.292119 5.670892
H 8.508264 1.653337 7.464411
H 8.066015 2.034597 6.067646
H 5.197835 2.915542 11.821572
H 6.630900 3.329981 12.079371
H 10.788986 6.436672 2.127933
H 11.657923 5.463602 1.359832
H 3.544476 1.634958 10.977765
H 4.755770 1.455054 10.087655
H 4.465371 3.375459 5.665294
H 5.682663 4.264430 5.524498
H 6.174815 11.778676 1.582954
H 5.713640 12.089924 0.174999
H 3.476076 1.498708 2.028983
H 2.730229 2.134295 3.182949
H 7.119624 5.936450 7.474030
H 8.536492 5.799405 6.958665
H 5.909499 5.717477 11.667621
H 6.125402 6.196758 13.087330
H 11.203499 12.513536 11.804844
H 10.260930 12.300153 12.970145
H 9.985036 3.927685 2.878172
H 8.545584 3.468329 2.972331
H 1.399882 6.620092 7.093246
H 0.963561 6.112523 5.735345
H 8.067363 3.674002 9.979955
H 8.000737 2.375959 10.756190
H 11.821629 10.402510 12.020482
H 12.206854 8.983242 12.379892
H 3.461473 7.606485 7.889688
H 3.844478 6.304711 8.560946
H 3.179884 7.585614 11.148494
H 4.401957 7.652030 12.039573
H 11.573777 5.053211 7.169515
H 10.342076 4.186083 7.320831
H 10.065640 8.919194 1.760981
H 9.629585 8.322499 0.439729
H 1.396302 6.546079 9.625630
H 1.405516 6.479759 11.138049
H 4.024008 1.232518 5.405828
H 4.736858 0.579881 6.571077
H 9.452293 12.313381 8.732772
H 8.976559 11.502788 7.545965
H 1.834701 10.012311 0.153462
H 3.295197 9.836403 -0.204175
H 7.056724 11.401702 4.095264
H 6.499038 10.020287 3.825865
H 1.365541 0.487338 11.013887
H 2.501591 -0.428131 11.417871
H 8.644279 1.812362 1.005409
H 8.142674 0.388030 1.112955
H 1.272659 8.365063 8.191888
H 2.142485 8.877768 7.063867
H 8.961493 7.826192 9.265523
H 9.227102 8.487654 10.601118
H 10.150144 7.758934 6.392768
H 10.596082 9.187988 6.167290
H 3.463106 4.096188 2.129414
H 3.919461 4.539801 0.755791
H 7.418998 9.394959 12.028876
H 7.430413 7.883095 12.106546
H 7.972905 10.220334 5.841196
H 7.675111 9.631498 7.203725
H 5.332446 6.381336 6.419473
H 5.000025 6.434186 4.943466
H 11.575078 2.271167 4.412540
H 11.219802 0.847030 4.783357
H 8.865342 9.721516 3.843998
H 10.000732 10.719285 3.758898
H 3.186196 10.476397 5.265333
H 4.407331 11.335128 5.013723
H 0.558187 7.255936 3.859331
H 0.341672 5.789383 3.552346
H 7.459933 6.526049 3.229193
H 6.696228 5.483739 2.440372
H 3.864872 6.313007 2.849385
H 2.876419 6.621201 3.953862
H 5.631529 8.079145 8.753997
H 7.003296 7.568245 8.367822
H 9.615413 0.527902 3.031755
H 8.962985 0.109366 4.332162
H 3.825854 11.139182 1.474087
H 4.063988 11.063232 2.967211
H 5.784391 7.914558 2.708486
H 4.780461 8.655167 3.566110
H 10.880659 5.444664 5.046607
H 9.593331 4.687991 4.797350
H 11.562317 8.960134 3.376765
H 11.926084 8.816948 4.839320
H 2.856874 11.297981 7.433660
H 1.492332 11.195517 6.786033
H 7.145820 0.090200 9.749009
H 7.227275 0.077690 11.260665
H 4.662021 9.538430 10.798155
H 5.994537 9.833472 10.142985
H 10.544299 6.595857 10.301445
H 11.281750 5.653082 9.374494
H 12.103020 8.841164 10.006916
H 11.491592 8.576221 8.647557
&END COORD
&KIND H
BASIS_SET TZV2P-GTH
@ -240,16 +255,3 @@
&END KIND
&END SUBSYS
&END FORCE_EVAL
&GLOBAL
PROJECT H2O-64
RUN_TYPE MD
PRINT_LEVEL LOW
&END GLOBAL
&MOTION
&MD
ENSEMBLE NVE
STEPS 10
TIMESTEP 0.5
TEMPERATURE 300.0
&END MD
&END MOTION

View file

@ -1,3 +1,19 @@
&GLOBAL
EPS_CHECK_DIAG 1.0E-12
PRINT_LEVEL LOW
PROJECT H2O-64_nonortho
RUN_TYPE MD
&END GLOBAL
&MOTION
&MD
ENSEMBLE NVE
STEPS 10
TEMPERATURE 300.0
TIMESTEP 0.5
&END MD
&END MOTION
&FORCE_EVAL
METHOD QS
&DFT
@ -9,22 +25,21 @@
&END MGRID
&QS
EPS_DEFAULT 1.0E-12
WF_INTERPOLATION PS
EXTRAPOLATION_ORDER 3
WF_INTERPOLATION PS
&END QS
&SCF
IGNORE_CONVERGENCE_FAILURE
SCF_GUESS ATOMIC
&OT ON
MINIMIZER DIIS
&END OT
&PRINT
&RESTART OFF
&END
&END
# SCF_GUESS RESTART
# EPS_SCF 1.0E-7
&END RESTART
&END PRINT
# SCF_GUESS RESTART
# EPS_SCF 1.0E-7
&END SCF
&XC
&XC_FUNCTIONAL Pade
@ -36,200 +51,200 @@
ABC 12.4138 12.4138 12.4138
ALPHA_BETA_GAMMA 89.0 92.0 91.0
&END CELL
# 64 H2O (TIP5P,1bar,300K) a = 12.4138
# 64 H2O (TIP5P,1bar,300K) a = 12.4138
&COORD
O 12.235322 1.376642 10.869880
O 6.445390 3.706940 8.650794
O 0.085977 2.181322 8.276663
O 12.052554 2.671366 2.147199
O 12.250036 4.190930 12.092014
O 7.187422 0.959062 4.733469
O 8.346457 7.210040 4.667644
O 12.361546 11.527875 8.106887
O 3.299984 4.440816 9.193275
O 2.855829 3.759909 6.552815
O 1.392494 6.362753 0.586172
O 1.858645 8.694013 2.068738
O 3.770231 12.094519 8.652183
O 6.432508 3.669828 2.772418
O 1.998724 1.820217 4.876440
O 8.248581 2.404730 6.931303
O 5.753814 3.360029 12.461534
O 11.322212 5.649239 2.236798
O 4.277318 2.113956 10.590808
O 5.405015 3.349247 5.484702
O 6.493278 11.869958 0.684912
O 3.275250 2.346576 2.425241
O 7.981003 6.352512 7.507970
O 5.985990 6.512854 12.194648
O 10.636714 11.856872 12.209540
O 9.312283 3.670384 3.508594
O 1.106885 5.830301 6.638695
O 8.008007 3.326363 10.869818
O 12.403000 9.687405 11.761901
O 4.219782 7.085315 8.153470
O 3.781557 8.203821 11.563272
O 11.088898 4.532081 7.809475
O 10.387548 8.408890 1.017882
O 1.979016 6.418091 10.374159
O 4.660547 0.549666 5.617403
O 8.745880 12.256257 8.089383
O 2.662041 10.489890 0.092980
O 7.241661 10.471815 4.226946
O 2.276827 0.276647 10.810417
O 8.887733 0.946877 1.333885
O 1.943554 8.088552 7.567650
O 9.667942 8.056759 9.868847
O 10.905491 8.339638 6.484782
O 3.507733 4.862402 1.557439
O 8.010457 8.642846 12.055969
O 8.374446 10.035932 6.690309
O 5.635247 6.076875 5.563993
O 11.728434 1.601906 5.079475
O 9.771134 9.814114 3.548703
O 3.944355 10.563450 4.687536
O 0.890357 6.382287 4.065806
O 6.862447 6.425182 2.488202
O 3.813963 6.595122 3.762649
O 6.562448 8.295463 8.807182
O 9.809455 0.143325 3.886553
O 4.117074 11.661225 2.221679
O 5.295317 8.735561 2.763183
O 9.971999 5.379339 5.340378
O 12.254708 8.643874 3.957116
O 2.344274 10.761274 6.829162
O 7.013416 0.643488 10.518797
O 5.152349 10.233624 10.359388
O 11.184278 5.884064 10.298279
O 12.252335 8.974142 9.070831
H 12.415139 2.233125 11.257611
H 11.922476 1.573799 9.986994
H 5.608192 3.371543 8.971482
H 6.731226 3.060851 8.004962
H -0.169205 1.565594 7.589645
H -0.455440 2.954771 8.118939
H 12.125168 2.826463 1.205443
H 12.888828 2.969761 2.504745
H 11.553255 4.386613 11.465566
H 12.818281 4.960808 12.067151
H 7.049495 1.772344 4.247898
H 6.353019 0.798145 5.174047
H 7.781850 7.384852 5.420566
H 9.103203 6.754017 5.035898
H 12.771232 11.788645 8.931744
H 12.018035 10.650652 8.276334
H 3.557245 3.792529 9.848846
H 2.543844 4.884102 9.577958
H 2.320235 4.521250 6.329813
H 2.872128 3.749963 7.509824
H 1.209685 7.121391 1.140501
H 2.238885 6.038801 0.894245
H 2.763109 8.856353 2.336735
H 1.329379 9.047369 2.783755
H 4.315639 11.533388 9.203449
H 3.098742 12.433043 9.244412
H 5.987369 3.448974 3.590530
H 5.813096 3.419344 2.086985
H 1.057126 1.675344 4.969379
H 2.248496 2.292119 5.670892
H 8.508264 1.653337 7.464411
H 8.066015 2.034597 6.067646
H 5.197835 2.915542 11.821572
H 6.630900 3.329981 12.079371
H 10.788986 6.436672 2.127933
H 11.657923 5.463602 1.359832
H 3.544476 1.634958 10.977765
H 4.755770 1.455054 10.087655
H 4.465371 3.375459 5.665294
H 5.682663 4.264430 5.524498
H 6.174815 11.778676 1.582954
H 5.713640 12.089924 0.174999
H 3.476076 1.498708 2.028983
H 2.730229 2.134295 3.182949
H 7.119624 5.936450 7.474030
H 8.536492 5.799405 6.958665
H 5.909499 5.717477 11.667621
H 6.125402 6.196758 13.087330
H 11.203499 12.513536 11.804844
H 10.260930 12.300153 12.970145
H 9.985036 3.927685 2.878172
H 8.545584 3.468329 2.972331
H 1.399882 6.620092 7.093246
H 0.963561 6.112523 5.735345
H 8.067363 3.674002 9.979955
H 8.000737 2.375959 10.756190
H 11.821629 10.402510 12.020482
H 12.206854 8.983242 12.379892
H 3.461473 7.606485 7.889688
H 3.844478 6.304711 8.560946
H 3.179884 7.585614 11.148494
H 4.401957 7.652030 12.039573
H 11.573777 5.053211 7.169515
H 10.342076 4.186083 7.320831
H 10.065640 8.919194 1.760981
H 9.629585 8.322499 0.439729
H 1.396302 6.546079 9.625630
H 1.405516 6.479759 11.138049
H 4.024008 1.232518 5.405828
H 4.736858 0.579881 6.571077
H 9.452293 12.313381 8.732772
H 8.976559 11.502788 7.545965
H 1.834701 10.012311 0.153462
H 3.295197 9.836403 -0.204175
H 7.056724 11.401702 4.095264
H 6.499038 10.020287 3.825865
H 1.365541 0.487338 11.013887
H 2.501591 -0.428131 11.417871
H 8.644279 1.812362 1.005409
H 8.142674 0.388030 1.112955
H 1.272659 8.365063 8.191888
H 2.142485 8.877768 7.063867
H 8.961493 7.826192 9.265523
H 9.227102 8.487654 10.601118
H 10.150144 7.758934 6.392768
H 10.596082 9.187988 6.167290
H 3.463106 4.096188 2.129414
H 3.919461 4.539801 0.755791
H 7.418998 9.394959 12.028876
H 7.430413 7.883095 12.106546
H 7.972905 10.220334 5.841196
H 7.675111 9.631498 7.203725
H 5.332446 6.381336 6.419473
H 5.000025 6.434186 4.943466
H 11.575078 2.271167 4.412540
H 11.219802 0.847030 4.783357
H 8.865342 9.721516 3.843998
H 10.000732 10.719285 3.758898
H 3.186196 10.476397 5.265333
H 4.407331 11.335128 5.013723
H 0.558187 7.255936 3.859331
H 0.341672 5.789383 3.552346
H 7.459933 6.526049 3.229193
H 6.696228 5.483739 2.440372
H 3.864872 6.313007 2.849385
H 2.876419 6.621201 3.953862
H 5.631529 8.079145 8.753997
H 7.003296 7.568245 8.367822
H 9.615413 0.527902 3.031755
H 8.962985 0.109366 4.332162
H 3.825854 11.139182 1.474087
H 4.063988 11.063232 2.967211
H 5.784391 7.914558 2.708486
H 4.780461 8.655167 3.566110
H 10.880659 5.444664 5.046607
H 9.593331 4.687991 4.797350
H 11.562317 8.960134 3.376765
H 11.926084 8.816948 4.839320
H 2.856874 11.297981 7.433660
H 1.492332 11.195517 6.786033
H 7.145820 0.090200 9.749009
H 7.227275 0.077690 11.260665
H 4.662021 9.538430 10.798155
H 5.994537 9.833472 10.142985
H 10.544299 6.595857 10.301445
H 11.281750 5.653082 9.374494
H 12.103020 8.841164 10.006916
H 11.491592 8.576221 8.647557
O 12.235322 1.376642 10.869880
O 6.445390 3.706940 8.650794
O 0.085977 2.181322 8.276663
O 12.052554 2.671366 2.147199
O 12.250036 4.190930 12.092014
O 7.187422 0.959062 4.733469
O 8.346457 7.210040 4.667644
O 12.361546 11.527875 8.106887
O 3.299984 4.440816 9.193275
O 2.855829 3.759909 6.552815
O 1.392494 6.362753 0.586172
O 1.858645 8.694013 2.068738
O 3.770231 12.094519 8.652183
O 6.432508 3.669828 2.772418
O 1.998724 1.820217 4.876440
O 8.248581 2.404730 6.931303
O 5.753814 3.360029 12.461534
O 11.322212 5.649239 2.236798
O 4.277318 2.113956 10.590808
O 5.405015 3.349247 5.484702
O 6.493278 11.869958 0.684912
O 3.275250 2.346576 2.425241
O 7.981003 6.352512 7.507970
O 5.985990 6.512854 12.194648
O 10.636714 11.856872 12.209540
O 9.312283 3.670384 3.508594
O 1.106885 5.830301 6.638695
O 8.008007 3.326363 10.869818
O 12.403000 9.687405 11.761901
O 4.219782 7.085315 8.153470
O 3.781557 8.203821 11.563272
O 11.088898 4.532081 7.809475
O 10.387548 8.408890 1.017882
O 1.979016 6.418091 10.374159
O 4.660547 0.549666 5.617403
O 8.745880 12.256257 8.089383
O 2.662041 10.489890 0.092980
O 7.241661 10.471815 4.226946
O 2.276827 0.276647 10.810417
O 8.887733 0.946877 1.333885
O 1.943554 8.088552 7.567650
O 9.667942 8.056759 9.868847
O 10.905491 8.339638 6.484782
O 3.507733 4.862402 1.557439
O 8.010457 8.642846 12.055969
O 8.374446 10.035932 6.690309
O 5.635247 6.076875 5.563993
O 11.728434 1.601906 5.079475
O 9.771134 9.814114 3.548703
O 3.944355 10.563450 4.687536
O 0.890357 6.382287 4.065806
O 6.862447 6.425182 2.488202
O 3.813963 6.595122 3.762649
O 6.562448 8.295463 8.807182
O 9.809455 0.143325 3.886553
O 4.117074 11.661225 2.221679
O 5.295317 8.735561 2.763183
O 9.971999 5.379339 5.340378
O 12.254708 8.643874 3.957116
O 2.344274 10.761274 6.829162
O 7.013416 0.643488 10.518797
O 5.152349 10.233624 10.359388
O 11.184278 5.884064 10.298279
O 12.252335 8.974142 9.070831
H 12.415139 2.233125 11.257611
H 11.922476 1.573799 9.986994
H 5.608192 3.371543 8.971482
H 6.731226 3.060851 8.004962
H -0.169205 1.565594 7.589645
H -0.455440 2.954771 8.118939
H 12.125168 2.826463 1.205443
H 12.888828 2.969761 2.504745
H 11.553255 4.386613 11.465566
H 12.818281 4.960808 12.067151
H 7.049495 1.772344 4.247898
H 6.353019 0.798145 5.174047
H 7.781850 7.384852 5.420566
H 9.103203 6.754017 5.035898
H 12.771232 11.788645 8.931744
H 12.018035 10.650652 8.276334
H 3.557245 3.792529 9.848846
H 2.543844 4.884102 9.577958
H 2.320235 4.521250 6.329813
H 2.872128 3.749963 7.509824
H 1.209685 7.121391 1.140501
H 2.238885 6.038801 0.894245
H 2.763109 8.856353 2.336735
H 1.329379 9.047369 2.783755
H 4.315639 11.533388 9.203449
H 3.098742 12.433043 9.244412
H 5.987369 3.448974 3.590530
H 5.813096 3.419344 2.086985
H 1.057126 1.675344 4.969379
H 2.248496 2.292119 5.670892
H 8.508264 1.653337 7.464411
H 8.066015 2.034597 6.067646
H 5.197835 2.915542 11.821572
H 6.630900 3.329981 12.079371
H 10.788986 6.436672 2.127933
H 11.657923 5.463602 1.359832
H 3.544476 1.634958 10.977765
H 4.755770 1.455054 10.087655
H 4.465371 3.375459 5.665294
H 5.682663 4.264430 5.524498
H 6.174815 11.778676 1.582954
H 5.713640 12.089924 0.174999
H 3.476076 1.498708 2.028983
H 2.730229 2.134295 3.182949
H 7.119624 5.936450 7.474030
H 8.536492 5.799405 6.958665
H 5.909499 5.717477 11.667621
H 6.125402 6.196758 13.087330
H 11.203499 12.513536 11.804844
H 10.260930 12.300153 12.970145
H 9.985036 3.927685 2.878172
H 8.545584 3.468329 2.972331
H 1.399882 6.620092 7.093246
H 0.963561 6.112523 5.735345
H 8.067363 3.674002 9.979955
H 8.000737 2.375959 10.756190
H 11.821629 10.402510 12.020482
H 12.206854 8.983242 12.379892
H 3.461473 7.606485 7.889688
H 3.844478 6.304711 8.560946
H 3.179884 7.585614 11.148494
H 4.401957 7.652030 12.039573
H 11.573777 5.053211 7.169515
H 10.342076 4.186083 7.320831
H 10.065640 8.919194 1.760981
H 9.629585 8.322499 0.439729
H 1.396302 6.546079 9.625630
H 1.405516 6.479759 11.138049
H 4.024008 1.232518 5.405828
H 4.736858 0.579881 6.571077
H 9.452293 12.313381 8.732772
H 8.976559 11.502788 7.545965
H 1.834701 10.012311 0.153462
H 3.295197 9.836403 -0.204175
H 7.056724 11.401702 4.095264
H 6.499038 10.020287 3.825865
H 1.365541 0.487338 11.013887
H 2.501591 -0.428131 11.417871
H 8.644279 1.812362 1.005409
H 8.142674 0.388030 1.112955
H 1.272659 8.365063 8.191888
H 2.142485 8.877768 7.063867
H 8.961493 7.826192 9.265523
H 9.227102 8.487654 10.601118
H 10.150144 7.758934 6.392768
H 10.596082 9.187988 6.167290
H 3.463106 4.096188 2.129414
H 3.919461 4.539801 0.755791
H 7.418998 9.394959 12.028876
H 7.430413 7.883095 12.106546
H 7.972905 10.220334 5.841196
H 7.675111 9.631498 7.203725
H 5.332446 6.381336 6.419473
H 5.000025 6.434186 4.943466
H 11.575078 2.271167 4.412540
H 11.219802 0.847030 4.783357
H 8.865342 9.721516 3.843998
H 10.000732 10.719285 3.758898
H 3.186196 10.476397 5.265333
H 4.407331 11.335128 5.013723
H 0.558187 7.255936 3.859331
H 0.341672 5.789383 3.552346
H 7.459933 6.526049 3.229193
H 6.696228 5.483739 2.440372
H 3.864872 6.313007 2.849385
H 2.876419 6.621201 3.953862
H 5.631529 8.079145 8.753997
H 7.003296 7.568245 8.367822
H 9.615413 0.527902 3.031755
H 8.962985 0.109366 4.332162
H 3.825854 11.139182 1.474087
H 4.063988 11.063232 2.967211
H 5.784391 7.914558 2.708486
H 4.780461 8.655167 3.566110
H 10.880659 5.444664 5.046607
H 9.593331 4.687991 4.797350
H 11.562317 8.960134 3.376765
H 11.926084 8.816948 4.839320
H 2.856874 11.297981 7.433660
H 1.492332 11.195517 6.786033
H 7.145820 0.090200 9.749009
H 7.227275 0.077690 11.260665
H 4.662021 9.538430 10.798155
H 5.994537 9.833472 10.142985
H 10.544299 6.595857 10.301445
H 11.281750 5.653082 9.374494
H 12.103020 8.841164 10.006916
H 11.491592 8.576221 8.647557
&END COORD
&KIND H
BASIS_SET TZV2P-GTH
@ -241,16 +256,3 @@
&END KIND
&END SUBSYS
&END FORCE_EVAL
&GLOBAL
PROJECT H2O-64_nonortho
RUN_TYPE MD
PRINT_LEVEL LOW
&END GLOBAL
&MOTION
&MD
ENSEMBLE NVE
STEPS 10
TIMESTEP 0.5
TEMPERATURE 300.0
&END MD
&END MOTION

File diff suppressed because it is too large Load diff

View file

@ -2,38 +2,38 @@
## Description
Ab-initio molecular dynamics of liquid water using the Born-Oppenheimer approach,
using [Quickstep](https://www.cp2k.org/quickstep) DFT. Production quality settings
for the basis sets (TZV2P) and the planewave cutoff (280 Ry) are chosen, and the
Local Density Approximation (LDA) is used for the calculation of the Exchange-Correlation
energy. The configurations were generated by classical equilibration, and the
initial guess of the electronic density is made based on Atomic Orbitals.
Ab-initio molecular dynamics of liquid water using the Born-Oppenheimer approach, using
[Quickstep](https://www.cp2k.org/quickstep) DFT. Production quality settings for the basis sets
(TZV2P) and the planewave cutoff (280 Ry) are chosen, and the Local Density Approximation (LDA) is
used for the calculation of the Exchange-Correlation energy. The configurations were generated by
classical equilibration, and the initial guess of the electronic density is made based on Atomic
Orbitals.
## Benchmarks
- [`H2O-32.inp`](H2O-32.inp): a system of 32 water molecules (96 atoms,
256 electrons) in a 9.9 cubic angstrom cell and MD is run for 10 steps
- [`H2O-64.inp`](H2O-64.inp): a system of 64 water molecules (192 atoms,
512 electrons) in a 12.4 cubic angstrom cell and MD is run for 10 steps
- [`H2O-128.inp`](H2O-128.inp): a system of 128 water molecules (384 atoms,
1'024 electrons) in a 15.6 cubic angstrom cell and MD is run for 10 steps
- [`H2O-256.inp`](H2O-256.inp): a system of 256 water molecules (768 atoms,
2'048 electrons) in a 19.7 cubic angstrom cell and MD is run for 10 steps
- [`H2O-512.inp`](H2O-512.inp): a system of 512 water molecules (1'536 atoms,
4'096 electrons) in a 24.9 cubic angstrom cell and MD is run for 10 steps
- [`H2O-1024.inp`](H2O-1024.inp): a system of 1'024 water molecules (3'072 atoms,
8'192 electrons) in a 31.3 cubic angstrom cell and MD is run for 10 steps
- [`H2O-2048.inp`](H2O-2048.inp): a system of 2'048 water molecules (6'144 atoms,
16'384 electrons) in a 39.5 cubic angstrom cell and MD is run for 10 steps
- [`H2O-4096.inp`](H2O-4096.inp): a system of 4'096 water molecules (12'288 atoms,
32'768 electrons) in a 49.7 cubic angstrom cell and MD is run for 10 steps
- [`H2O-8192.inp`](H2O-8192.inp): a system of 8'192 water molecules (24'576 atoms,
65'536 electrons) in a 62.7 cubic angstrom cell and MD is run for 10 steps
- [`H2O-32.inp`](H2O-32.inp): a system of 32 water molecules (96 atoms, 256 electrons) in a 9.9
cubic angstrom cell and MD is run for 10 steps
- [`H2O-64.inp`](H2O-64.inp): a system of 64 water molecules (192 atoms, 512 electrons) in a 12.4
cubic angstrom cell and MD is run for 10 steps
- [`H2O-128.inp`](H2O-128.inp): a system of 128 water molecules (384 atoms, 1'024 electrons) in a
15.6 cubic angstrom cell and MD is run for 10 steps
- [`H2O-256.inp`](H2O-256.inp): a system of 256 water molecules (768 atoms, 2'048 electrons) in a
19.7 cubic angstrom cell and MD is run for 10 steps
- [`H2O-512.inp`](H2O-512.inp): a system of 512 water molecules (1'536 atoms, 4'096 electrons) in a
24.9 cubic angstrom cell and MD is run for 10 steps
- [`H2O-1024.inp`](H2O-1024.inp): a system of 1'024 water molecules (3'072 atoms, 8'192 electrons)
in a 31.3 cubic angstrom cell and MD is run for 10 steps
- [`H2O-2048.inp`](H2O-2048.inp): a system of 2'048 water molecules (6'144 atoms, 16'384 electrons)
in a 39.5 cubic angstrom cell and MD is run for 10 steps
- [`H2O-4096.inp`](H2O-4096.inp): a system of 4'096 water molecules (12'288 atoms, 32'768 electrons)
in a 49.7 cubic angstrom cell and MD is run for 10 steps
- [`H2O-8192.inp`](H2O-8192.inp): a system of 8'192 water molecules (24'576 atoms, 65'536 electrons)
in a 62.7 cubic angstrom cell and MD is run for 10 steps
## Results
The best configurations are shown below.
Click the links under "Detailed Results" to see more detail.
The best configurations are shown below. Click the links under "Detailed Results" to see more
detail.
| Machine Name | Architecture | Date | SVN Revision | Fastest time (s) | Number of Cores | Number of Threads | Detailed Results |
| ------------ | ------------ | ---------- | ------------ | ---------------- | --------------- | --------------------------------- | --------------------------------------------------------------------- |

View file

@ -92,11 +92,9 @@ def run_benchmark(cp2k_exe_dir, input_file, mpi_wrapper="mpiexec -np {mpi_ranks}
allok = True
print(
"""
print("""
CP2K | # Threads | # Ranks | Energy
-----+-----------+---------+------------------------"""
)
-----+-----------+---------+------------------------""")
for (omp_num_threads, mpi_ranks), energy in zip(TEST_COMBINATIONS, energies):
version = cp2k_version(omp_num_threads, mpi_ranks)
@ -109,11 +107,9 @@ CP2K | # Threads | # Ranks | Energy
f"{version} | {omp_num_threads:9d} | {mpi_ranks:7d} | {energy:20.14f} {mark}"
)
print(
f"""\
print(f"""\
----------------------------------------------------
mean: {mean:20.14f} +/- {var:16.12e}"""
)
mean: {mean:20.14f} +/- {var:16.12e}""")
return allok

View file

@ -6,152 +6,149 @@
&DFT
BASIS_SET_FILE_NAME BASIS_MOLOPT
POTENTIAL_FILE_NAME POTENTIAL
&PRINT
&MULLIKEN OFF
&END MULLIKEN
&END PRINT
&LS_SCF
EPS_FILTER 1.0E-6
EPS_SCF 1.0E-6
MATRIX_CLUSTER_TYPE MOLECULAR
MAX_SCF 2
MIXING_FRACTION 0.45
MU 0.15
PERFORM_MU_SCAN OFF
PURIFICATION_METHOD TRS4
REPORT_ALL_SPARSITIES OFF
S_PRECONDITIONER MOLECULAR
&END LS_SCF
&MGRID
CUTOFF 300
&RS_GRID
MAX_DISTRIBUTED_LEVEL 5
&END
SKIP_LOAD_BALANCE_DISTRIBUTED
&RS_GRID
MAX_DISTRIBUTED_LEVEL 5
&END RS_GRID
&END MGRID
&PRINT
&MULLIKEN OFF
&END MULLIKEN
&END PRINT
&QS
EPS_DEFAULT 1.0E-10
LS_SCF
&DISTRIBUTION
BASIC_OPTIMIZATION .FALSE.
BASIC_SPATIAL_OPTIMIZATION .TRUE.
&END
&END DISTRIBUTION
&END QS
&LS_SCF
MAX_SCF 2
EPS_FILTER 1.0E-6
EPS_SCF 1.0E-6
MU 0.15
MIXING_FRACTION 0.45
PURIFICATION_METHOD TRS4
S_PRECONDITIONER MOLECULAR
MATRIX_CLUSTER_TYPE MOLECULAR
REPORT_ALL_SPARSITIES OFF
PERFORM_MU_SCAN OFF
&END
&SCF
MAX_SCF 30
EPS_SCF 1.0E-7
&END
EPS_SCF 1.0E-7
MAX_SCF 30
&END SCF
&XC
&XC_FUNCTIONAL PADE
&END XC_FUNCTIONAL
&END XC
&END DFT
&SUBSYS
&TOPOLOGY
MULTIPLE_UNIT_CELL ${NREP} ${NREP} ${NREP}
&END
&CELL
ABC 9.8528 9.8528 9.8528
MULTIPLE_UNIT_CELL ${NREP} ${NREP} ${NREP}
&END CELL
# 32 H2O (TIP5P,1bar,300K) a = 9.8528
&COORD
O 2.280398 9.146539 5.088696 H2O
H 1.762019 9.820429 5.528454 H2O
H 3.095987 9.107088 5.588186 H2O
O 1.251703 2.406261 7.769908 H2O
H 0.554129 2.982634 8.082024 H2O
H 1.771257 2.954779 7.182181 H2O
O 1.596302 6.920128 0.656695 H2O
H 2.112148 6.126321 0.798136 H2O
H 1.776389 7.463264 1.424030 H2O
O 2.957518 3.771868 1.877387 H2O
H 3.754249 3.824017 1.349436 H2O
H 3.010580 4.524142 2.466878 H2O
O 0.228972 5.884026 6.532308 H2O
H 0.939475 5.243834 6.571945 H2O
H 0.515723 6.520548 5.877445 H2O
O 9.023431 6.119654 0.092451 H2O
H 9.852960 6.490366 0.393593 H2O
H 8.556008 6.860063 -0.294256 H2O
O 7.256289 8.493641 5.772041 H2O
H 7.886607 7.941321 6.234506 H2O
H 7.793855 9.141028 5.315813 H2O
O 5.090422 9.467016 0.743177 H2O
H 4.467366 9.971162 0.219851 H2O
H 5.758685 10.102795 0.998994 H2O
O 6.330888 7.363471 3.747750 H2O
H 6.652693 7.917443 3.036562 H2O
H 6.711966 7.743594 4.539279 H2O
O 7.763819 8.349367 9.279457 H2O
H 7.751955 8.745180 10.150905 H2O
H 7.829208 9.092212 8.679343 H2O
O 8.280798 3.837153 5.799282 H2O
H 8.312540 3.218330 6.528858 H2O
H 8.508855 4.680699 6.189990 H2O
O 8.878250 2.025797 1.664102 H2O
H 9.742249 1.704975 1.922581 H2O
H 8.799060 2.876412 2.095861 H2O
O 9.160372 0.285100 6.871004 H2O
H 9.505360 1.161677 6.701213 H2O
H 9.920117 -0.219794 7.161006 H2O
O 4.962043 4.134437 0.173376 H2O
H 4.749903 4.186003 -0.758595 H2O
H 5.248010 5.018415 0.403676 H2O
O 2.802896 8.690383 2.435952 H2O
H 3.576065 9.078451 2.026264 H2O
H 2.720238 9.146974 3.273164 H2O
O 9.123223 3.549232 8.876721 H2O
H 9.085561 4.493058 9.031660 H2O
H 9.215391 3.166305 9.749133 H2O
O 1.453702 1.402538 2.358278 H2O
H 1.999705 2.060411 1.927796 H2O
H 1.824184 0.564565 2.081195 H2O
O 6.536550 1.146790 7.609732 H2O
H 7.430334 0.849764 7.438978 H2O
H 6.576029 1.537017 8.482885 H2O
O 2.766709 0.881503 9.544263 H2O
H 2.415851 1.576460 8.987338 H2O
H 2.276957 0.099537 9.289499 H2O
O 0.856426 2.075964 5.010625 H2O
H 1.160987 1.818023 4.140602 H2O
H 0.350256 2.874437 4.860741 H2O
O 6.386036 1.918950 0.242690 H2O
H 5.768804 2.638450 0.375264 H2O
H 7.221823 2.257514 0.563730 H2O
O 2.733023 4.452756 5.850203 H2O
H 3.260797 5.243390 5.962382 H2O
H 3.347848 3.732214 5.988196 H2O
O 4.600039 9.254314 6.575944 H2O
H 5.328688 9.073059 5.982269 H2O
H 5.007063 9.672150 7.334875 H2O
O 3.665373 6.210561 3.158420 H2O
H 4.566850 6.413356 3.408312 H2O
H 3.273115 7.061666 2.963521 H2O
O 3.371648 6.925594 7.476036 H2O
H 3.878372 7.435003 6.843607 H2O
H 3.884673 6.966316 8.283117 H2O
O 5.287920 3.270653 6.155080 H2O
H 5.918240 3.116802 5.451335 H2O
H 5.355924 2.495093 6.711958 H2O
O 5.225237 6.959594 9.582991 H2O
H 5.071858 7.687254 10.185667 H2O
H 6.106394 7.112302 9.241707 H2O
O 0.846293 5.595877 3.820630 H2O
H 1.637363 5.184910 4.169264 H2O
H 0.427645 4.908936 3.301903 H2O
O 9.785620 8.164617 3.657879 H2O
H 9.971698 7.227076 3.709104 H2O
H 10.647901 8.579244 3.629806 H2O
O 8.509982 4.430362 2.679946 H2O
H 8.046808 5.126383 2.213838 H2O
H 7.995317 4.290074 3.474723 H2O
O 1.337625 8.580920 8.272484 H2O
H 1.872601 7.864672 7.930401 H2O
H 0.837635 8.186808 8.987268 H2O
O 8.054437 9.221335 1.991376 H2O
H 8.314696 10.115534 2.212519 H2O
H 8.687134 8.667252 2.448452 H2O
O 2.280398 9.146539 5.088696 H2O
H 1.762019 9.820429 5.528454 H2O
H 3.095987 9.107088 5.588186 H2O
O 1.251703 2.406261 7.769908 H2O
H 0.554129 2.982634 8.082024 H2O
H 1.771257 2.954779 7.182181 H2O
O 1.596302 6.920128 0.656695 H2O
H 2.112148 6.126321 0.798136 H2O
H 1.776389 7.463264 1.424030 H2O
O 2.957518 3.771868 1.877387 H2O
H 3.754249 3.824017 1.349436 H2O
H 3.010580 4.524142 2.466878 H2O
O 0.228972 5.884026 6.532308 H2O
H 0.939475 5.243834 6.571945 H2O
H 0.515723 6.520548 5.877445 H2O
O 9.023431 6.119654 0.092451 H2O
H 9.852960 6.490366 0.393593 H2O
H 8.556008 6.860063 -0.294256 H2O
O 7.256289 8.493641 5.772041 H2O
H 7.886607 7.941321 6.234506 H2O
H 7.793855 9.141028 5.315813 H2O
O 5.090422 9.467016 0.743177 H2O
H 4.467366 9.971162 0.219851 H2O
H 5.758685 10.102795 0.998994 H2O
O 6.330888 7.363471 3.747750 H2O
H 6.652693 7.917443 3.036562 H2O
H 6.711966 7.743594 4.539279 H2O
O 7.763819 8.349367 9.279457 H2O
H 7.751955 8.745180 10.150905 H2O
H 7.829208 9.092212 8.679343 H2O
O 8.280798 3.837153 5.799282 H2O
H 8.312540 3.218330 6.528858 H2O
H 8.508855 4.680699 6.189990 H2O
O 8.878250 2.025797 1.664102 H2O
H 9.742249 1.704975 1.922581 H2O
H 8.799060 2.876412 2.095861 H2O
O 9.160372 0.285100 6.871004 H2O
H 9.505360 1.161677 6.701213 H2O
H 9.920117 -0.219794 7.161006 H2O
O 4.962043 4.134437 0.173376 H2O
H 4.749903 4.186003 -0.758595 H2O
H 5.248010 5.018415 0.403676 H2O
O 2.802896 8.690383 2.435952 H2O
H 3.576065 9.078451 2.026264 H2O
H 2.720238 9.146974 3.273164 H2O
O 9.123223 3.549232 8.876721 H2O
H 9.085561 4.493058 9.031660 H2O
H 9.215391 3.166305 9.749133 H2O
O 1.453702 1.402538 2.358278 H2O
H 1.999705 2.060411 1.927796 H2O
H 1.824184 0.564565 2.081195 H2O
O 6.536550 1.146790 7.609732 H2O
H 7.430334 0.849764 7.438978 H2O
H 6.576029 1.537017 8.482885 H2O
O 2.766709 0.881503 9.544263 H2O
H 2.415851 1.576460 8.987338 H2O
H 2.276957 0.099537 9.289499 H2O
O 0.856426 2.075964 5.010625 H2O
H 1.160987 1.818023 4.140602 H2O
H 0.350256 2.874437 4.860741 H2O
O 6.386036 1.918950 0.242690 H2O
H 5.768804 2.638450 0.375264 H2O
H 7.221823 2.257514 0.563730 H2O
O 2.733023 4.452756 5.850203 H2O
H 3.260797 5.243390 5.962382 H2O
H 3.347848 3.732214 5.988196 H2O
O 4.600039 9.254314 6.575944 H2O
H 5.328688 9.073059 5.982269 H2O
H 5.007063 9.672150 7.334875 H2O
O 3.665373 6.210561 3.158420 H2O
H 4.566850 6.413356 3.408312 H2O
H 3.273115 7.061666 2.963521 H2O
O 3.371648 6.925594 7.476036 H2O
H 3.878372 7.435003 6.843607 H2O
H 3.884673 6.966316 8.283117 H2O
O 5.287920 3.270653 6.155080 H2O
H 5.918240 3.116802 5.451335 H2O
H 5.355924 2.495093 6.711958 H2O
O 5.225237 6.959594 9.582991 H2O
H 5.071858 7.687254 10.185667 H2O
H 6.106394 7.112302 9.241707 H2O
O 0.846293 5.595877 3.820630 H2O
H 1.637363 5.184910 4.169264 H2O
H 0.427645 4.908936 3.301903 H2O
O 9.785620 8.164617 3.657879 H2O
H 9.971698 7.227076 3.709104 H2O
H 10.647901 8.579244 3.629806 H2O
O 8.509982 4.430362 2.679946 H2O
H 8.046808 5.126383 2.213838 H2O
H 7.995317 4.290074 3.474723 H2O
O 1.337625 8.580920 8.272484 H2O
H 1.872601 7.864672 7.930401 H2O
H 0.837635 8.186808 8.987268 H2O
O 8.054437 9.221335 1.991376 H2O
H 8.314696 10.115534 2.212519 H2O
H 8.687134 8.667252 2.448452 H2O
&END COORD
&KIND H
BASIS_SET DZVP-MOLOPT-SR-GTH
@ -163,17 +160,21 @@
&END KIND
&PRINT
&ATOMIC_COORDINATES OFF
&END
&END ATOMIC_COORDINATES
&MOLECULES OFF
&END
&END
&END MOLECULES
&END PRINT
&TOPOLOGY
MULTIPLE_UNIT_CELL ${NREP} ${NREP} ${NREP}
&END TOPOLOGY
&END SUBSYS
&END FORCE_EVAL
&GLOBAL
EXTENDED_FFT_LENGTHS
PRINT_LEVEL MEDIUM
PROJECT H2O
RUN_TYPE ENERGY
PRINT_LEVEL MEDIUM
EXTENDED_FFT_LENGTHS
! TRACE
! TRACE_MAX 10000
! TRACE
! TRACE_MAX 10000
&END GLOBAL

View file

@ -6,152 +6,149 @@
&DFT
BASIS_SET_FILE_NAME BASIS_MOLOPT
POTENTIAL_FILE_NAME POTENTIAL
&PRINT
&MULLIKEN OFF
&END MULLIKEN
&END PRINT
&LS_SCF
EPS_FILTER 1.0E-6
EPS_SCF 1.0E-6
MATRIX_CLUSTER_TYPE MOLECULAR
MAX_SCF 2
MIXING_FRACTION 0.45
MU 0.15
PERFORM_MU_SCAN OFF
PURIFICATION_METHOD TRS4
REPORT_ALL_SPARSITIES OFF
S_PRECONDITIONER MOLECULAR
&END LS_SCF
&MGRID
CUTOFF 300
&RS_GRID
MAX_DISTRIBUTED_LEVEL 5
&END
SKIP_LOAD_BALANCE_DISTRIBUTED
&RS_GRID
MAX_DISTRIBUTED_LEVEL 5
&END RS_GRID
&END MGRID
&PRINT
&MULLIKEN OFF
&END MULLIKEN
&END PRINT
&QS
EPS_DEFAULT 1.0E-10
LS_SCF
&DISTRIBUTION
BASIC_OPTIMIZATION .FALSE.
BASIC_SPATIAL_OPTIMIZATION .TRUE.
&END
&END DISTRIBUTION
&END QS
&LS_SCF
MAX_SCF 2
EPS_FILTER 1.0E-6
EPS_SCF 1.0E-6
MU 0.15
MIXING_FRACTION 0.45
PURIFICATION_METHOD TRS4
S_PRECONDITIONER MOLECULAR
MATRIX_CLUSTER_TYPE MOLECULAR
REPORT_ALL_SPARSITIES OFF
PERFORM_MU_SCAN OFF
&END
&SCF
MAX_SCF 30
EPS_SCF 1.0E-7
&END
EPS_SCF 1.0E-7
MAX_SCF 30
&END SCF
&XC
&XC_FUNCTIONAL PADE
&END XC_FUNCTIONAL
&END XC
&END DFT
&SUBSYS
&TOPOLOGY
MULTIPLE_UNIT_CELL ${NREP} ${NREP} ${NREP}
&END
&CELL
ABC 9.8528 9.8528 9.8528
MULTIPLE_UNIT_CELL ${NREP} ${NREP} ${NREP}
&END CELL
# 32 H2O (TIP5P,1bar,300K) a = 9.8528
&COORD
O 2.280398 9.146539 5.088696 H2O
H 1.762019 9.820429 5.528454 H2O
H 3.095987 9.107088 5.588186 H2O
O 1.251703 2.406261 7.769908 H2O
H 0.554129 2.982634 8.082024 H2O
H 1.771257 2.954779 7.182181 H2O
O 1.596302 6.920128 0.656695 H2O
H 2.112148 6.126321 0.798136 H2O
H 1.776389 7.463264 1.424030 H2O
O 2.957518 3.771868 1.877387 H2O
H 3.754249 3.824017 1.349436 H2O
H 3.010580 4.524142 2.466878 H2O
O 0.228972 5.884026 6.532308 H2O
H 0.939475 5.243834 6.571945 H2O
H 0.515723 6.520548 5.877445 H2O
O 9.023431 6.119654 0.092451 H2O
H 9.852960 6.490366 0.393593 H2O
H 8.556008 6.860063 -0.294256 H2O
O 7.256289 8.493641 5.772041 H2O
H 7.886607 7.941321 6.234506 H2O
H 7.793855 9.141028 5.315813 H2O
O 5.090422 9.467016 0.743177 H2O
H 4.467366 9.971162 0.219851 H2O
H 5.758685 10.102795 0.998994 H2O
O 6.330888 7.363471 3.747750 H2O
H 6.652693 7.917443 3.036562 H2O
H 6.711966 7.743594 4.539279 H2O
O 7.763819 8.349367 9.279457 H2O
H 7.751955 8.745180 10.150905 H2O
H 7.829208 9.092212 8.679343 H2O
O 8.280798 3.837153 5.799282 H2O
H 8.312540 3.218330 6.528858 H2O
H 8.508855 4.680699 6.189990 H2O
O 8.878250 2.025797 1.664102 H2O
H 9.742249 1.704975 1.922581 H2O
H 8.799060 2.876412 2.095861 H2O
O 9.160372 0.285100 6.871004 H2O
H 9.505360 1.161677 6.701213 H2O
H 9.920117 -0.219794 7.161006 H2O
O 4.962043 4.134437 0.173376 H2O
H 4.749903 4.186003 -0.758595 H2O
H 5.248010 5.018415 0.403676 H2O
O 2.802896 8.690383 2.435952 H2O
H 3.576065 9.078451 2.026264 H2O
H 2.720238 9.146974 3.273164 H2O
O 9.123223 3.549232 8.876721 H2O
H 9.085561 4.493058 9.031660 H2O
H 9.215391 3.166305 9.749133 H2O
O 1.453702 1.402538 2.358278 H2O
H 1.999705 2.060411 1.927796 H2O
H 1.824184 0.564565 2.081195 H2O
O 6.536550 1.146790 7.609732 H2O
H 7.430334 0.849764 7.438978 H2O
H 6.576029 1.537017 8.482885 H2O
O 2.766709 0.881503 9.544263 H2O
H 2.415851 1.576460 8.987338 H2O
H 2.276957 0.099537 9.289499 H2O
O 0.856426 2.075964 5.010625 H2O
H 1.160987 1.818023 4.140602 H2O
H 0.350256 2.874437 4.860741 H2O
O 6.386036 1.918950 0.242690 H2O
H 5.768804 2.638450 0.375264 H2O
H 7.221823 2.257514 0.563730 H2O
O 2.733023 4.452756 5.850203 H2O
H 3.260797 5.243390 5.962382 H2O
H 3.347848 3.732214 5.988196 H2O
O 4.600039 9.254314 6.575944 H2O
H 5.328688 9.073059 5.982269 H2O
H 5.007063 9.672150 7.334875 H2O
O 3.665373 6.210561 3.158420 H2O
H 4.566850 6.413356 3.408312 H2O
H 3.273115 7.061666 2.963521 H2O
O 3.371648 6.925594 7.476036 H2O
H 3.878372 7.435003 6.843607 H2O
H 3.884673 6.966316 8.283117 H2O
O 5.287920 3.270653 6.155080 H2O
H 5.918240 3.116802 5.451335 H2O
H 5.355924 2.495093 6.711958 H2O
O 5.225237 6.959594 9.582991 H2O
H 5.071858 7.687254 10.185667 H2O
H 6.106394 7.112302 9.241707 H2O
O 0.846293 5.595877 3.820630 H2O
H 1.637363 5.184910 4.169264 H2O
H 0.427645 4.908936 3.301903 H2O
O 9.785620 8.164617 3.657879 H2O
H 9.971698 7.227076 3.709104 H2O
H 10.647901 8.579244 3.629806 H2O
O 8.509982 4.430362 2.679946 H2O
H 8.046808 5.126383 2.213838 H2O
H 7.995317 4.290074 3.474723 H2O
O 1.337625 8.580920 8.272484 H2O
H 1.872601 7.864672 7.930401 H2O
H 0.837635 8.186808 8.987268 H2O
O 8.054437 9.221335 1.991376 H2O
H 8.314696 10.115534 2.212519 H2O
H 8.687134 8.667252 2.448452 H2O
O 2.280398 9.146539 5.088696 H2O
H 1.762019 9.820429 5.528454 H2O
H 3.095987 9.107088 5.588186 H2O
O 1.251703 2.406261 7.769908 H2O
H 0.554129 2.982634 8.082024 H2O
H 1.771257 2.954779 7.182181 H2O
O 1.596302 6.920128 0.656695 H2O
H 2.112148 6.126321 0.798136 H2O
H 1.776389 7.463264 1.424030 H2O
O 2.957518 3.771868 1.877387 H2O
H 3.754249 3.824017 1.349436 H2O
H 3.010580 4.524142 2.466878 H2O
O 0.228972 5.884026 6.532308 H2O
H 0.939475 5.243834 6.571945 H2O
H 0.515723 6.520548 5.877445 H2O
O 9.023431 6.119654 0.092451 H2O
H 9.852960 6.490366 0.393593 H2O
H 8.556008 6.860063 -0.294256 H2O
O 7.256289 8.493641 5.772041 H2O
H 7.886607 7.941321 6.234506 H2O
H 7.793855 9.141028 5.315813 H2O
O 5.090422 9.467016 0.743177 H2O
H 4.467366 9.971162 0.219851 H2O
H 5.758685 10.102795 0.998994 H2O
O 6.330888 7.363471 3.747750 H2O
H 6.652693 7.917443 3.036562 H2O
H 6.711966 7.743594 4.539279 H2O
O 7.763819 8.349367 9.279457 H2O
H 7.751955 8.745180 10.150905 H2O
H 7.829208 9.092212 8.679343 H2O
O 8.280798 3.837153 5.799282 H2O
H 8.312540 3.218330 6.528858 H2O
H 8.508855 4.680699 6.189990 H2O
O 8.878250 2.025797 1.664102 H2O
H 9.742249 1.704975 1.922581 H2O
H 8.799060 2.876412 2.095861 H2O
O 9.160372 0.285100 6.871004 H2O
H 9.505360 1.161677 6.701213 H2O
H 9.920117 -0.219794 7.161006 H2O
O 4.962043 4.134437 0.173376 H2O
H 4.749903 4.186003 -0.758595 H2O
H 5.248010 5.018415 0.403676 H2O
O 2.802896 8.690383 2.435952 H2O
H 3.576065 9.078451 2.026264 H2O
H 2.720238 9.146974 3.273164 H2O
O 9.123223 3.549232 8.876721 H2O
H 9.085561 4.493058 9.031660 H2O
H 9.215391 3.166305 9.749133 H2O
O 1.453702 1.402538 2.358278 H2O
H 1.999705 2.060411 1.927796 H2O
H 1.824184 0.564565 2.081195 H2O
O 6.536550 1.146790 7.609732 H2O
H 7.430334 0.849764 7.438978 H2O
H 6.576029 1.537017 8.482885 H2O
O 2.766709 0.881503 9.544263 H2O
H 2.415851 1.576460 8.987338 H2O
H 2.276957 0.099537 9.289499 H2O
O 0.856426 2.075964 5.010625 H2O
H 1.160987 1.818023 4.140602 H2O
H 0.350256 2.874437 4.860741 H2O
O 6.386036 1.918950 0.242690 H2O
H 5.768804 2.638450 0.375264 H2O
H 7.221823 2.257514 0.563730 H2O
O 2.733023 4.452756 5.850203 H2O
H 3.260797 5.243390 5.962382 H2O
H 3.347848 3.732214 5.988196 H2O
O 4.600039 9.254314 6.575944 H2O
H 5.328688 9.073059 5.982269 H2O
H 5.007063 9.672150 7.334875 H2O
O 3.665373 6.210561 3.158420 H2O
H 4.566850 6.413356 3.408312 H2O
H 3.273115 7.061666 2.963521 H2O
O 3.371648 6.925594 7.476036 H2O
H 3.878372 7.435003 6.843607 H2O
H 3.884673 6.966316 8.283117 H2O
O 5.287920 3.270653 6.155080 H2O
H 5.918240 3.116802 5.451335 H2O
H 5.355924 2.495093 6.711958 H2O
O 5.225237 6.959594 9.582991 H2O
H 5.071858 7.687254 10.185667 H2O
H 6.106394 7.112302 9.241707 H2O
O 0.846293 5.595877 3.820630 H2O
H 1.637363 5.184910 4.169264 H2O
H 0.427645 4.908936 3.301903 H2O
O 9.785620 8.164617 3.657879 H2O
H 9.971698 7.227076 3.709104 H2O
H 10.647901 8.579244 3.629806 H2O
O 8.509982 4.430362 2.679946 H2O
H 8.046808 5.126383 2.213838 H2O
H 7.995317 4.290074 3.474723 H2O
O 1.337625 8.580920 8.272484 H2O
H 1.872601 7.864672 7.930401 H2O
H 0.837635 8.186808 8.987268 H2O
O 8.054437 9.221335 1.991376 H2O
H 8.314696 10.115534 2.212519 H2O
H 8.687134 8.667252 2.448452 H2O
&END COORD
&KIND H
BASIS_SET DZVP-MOLOPT-SR-GTH
@ -163,17 +160,21 @@
&END KIND
&PRINT
&ATOMIC_COORDINATES OFF
&END
&END ATOMIC_COORDINATES
&MOLECULES OFF
&END
&END
&END MOLECULES
&END PRINT
&TOPOLOGY
MULTIPLE_UNIT_CELL ${NREP} ${NREP} ${NREP}
&END TOPOLOGY
&END SUBSYS
&END FORCE_EVAL
&GLOBAL
EXTENDED_FFT_LENGTHS
PRINT_LEVEL MEDIUM
PROJECT H2O
RUN_TYPE ENERGY
PRINT_LEVEL MEDIUM
EXTENDED_FFT_LENGTHS
! TRACE
! TRACE_MAX 10000
! TRACE
! TRACE_MAX 10000
&END GLOBAL

View file

@ -6,152 +6,149 @@
&DFT
BASIS_SET_FILE_NAME BASIS_MOLOPT
POTENTIAL_FILE_NAME POTENTIAL
&PRINT
&MULLIKEN OFF
&END MULLIKEN
&END PRINT
&LS_SCF
EPS_FILTER 1.0E-6
EPS_SCF 1.0E-6
MATRIX_CLUSTER_TYPE MOLECULAR
MAX_SCF 2
MIXING_FRACTION 0.45
MU 0.15
PERFORM_MU_SCAN OFF
PURIFICATION_METHOD TRS4
REPORT_ALL_SPARSITIES OFF
S_PRECONDITIONER MOLECULAR
&END LS_SCF
&MGRID
CUTOFF 300
&RS_GRID
MAX_DISTRIBUTED_LEVEL 5
&END
SKIP_LOAD_BALANCE_DISTRIBUTED
&RS_GRID
MAX_DISTRIBUTED_LEVEL 5
&END RS_GRID
&END MGRID
&PRINT
&MULLIKEN OFF
&END MULLIKEN
&END PRINT
&QS
EPS_DEFAULT 1.0E-10
LS_SCF
&DISTRIBUTION
BASIC_OPTIMIZATION .FALSE.
BASIC_SPATIAL_OPTIMIZATION .TRUE.
&END
&END DISTRIBUTION
&END QS
&LS_SCF
MAX_SCF 2
EPS_FILTER 1.0E-6
EPS_SCF 1.0E-6
MU 0.15
MIXING_FRACTION 0.45
PURIFICATION_METHOD TRS4
S_PRECONDITIONER MOLECULAR
MATRIX_CLUSTER_TYPE MOLECULAR
REPORT_ALL_SPARSITIES OFF
PERFORM_MU_SCAN OFF
&END
&SCF
MAX_SCF 30
EPS_SCF 1.0E-7
&END
EPS_SCF 1.0E-7
MAX_SCF 30
&END SCF
&XC
&XC_FUNCTIONAL PADE
&END XC_FUNCTIONAL
&END XC
&END DFT
&SUBSYS
&TOPOLOGY
MULTIPLE_UNIT_CELL ${NREP} ${NREP} ${NREP}
&END
&CELL
ABC 9.8528 9.8528 9.8528
MULTIPLE_UNIT_CELL ${NREP} ${NREP} ${NREP}
&END CELL
# 32 H2O (TIP5P,1bar,300K) a = 9.8528
&COORD
O 2.280398 9.146539 5.088696 H2O
H 1.762019 9.820429 5.528454 H2O
H 3.095987 9.107088 5.588186 H2O
O 1.251703 2.406261 7.769908 H2O
H 0.554129 2.982634 8.082024 H2O
H 1.771257 2.954779 7.182181 H2O
O 1.596302 6.920128 0.656695 H2O
H 2.112148 6.126321 0.798136 H2O
H 1.776389 7.463264 1.424030 H2O
O 2.957518 3.771868 1.877387 H2O
H 3.754249 3.824017 1.349436 H2O
H 3.010580 4.524142 2.466878 H2O
O 0.228972 5.884026 6.532308 H2O
H 0.939475 5.243834 6.571945 H2O
H 0.515723 6.520548 5.877445 H2O
O 9.023431 6.119654 0.092451 H2O
H 9.852960 6.490366 0.393593 H2O
H 8.556008 6.860063 -0.294256 H2O
O 7.256289 8.493641 5.772041 H2O
H 7.886607 7.941321 6.234506 H2O
H 7.793855 9.141028 5.315813 H2O
O 5.090422 9.467016 0.743177 H2O
H 4.467366 9.971162 0.219851 H2O
H 5.758685 10.102795 0.998994 H2O
O 6.330888 7.363471 3.747750 H2O
H 6.652693 7.917443 3.036562 H2O
H 6.711966 7.743594 4.539279 H2O
O 7.763819 8.349367 9.279457 H2O
H 7.751955 8.745180 10.150905 H2O
H 7.829208 9.092212 8.679343 H2O
O 8.280798 3.837153 5.799282 H2O
H 8.312540 3.218330 6.528858 H2O
H 8.508855 4.680699 6.189990 H2O
O 8.878250 2.025797 1.664102 H2O
H 9.742249 1.704975 1.922581 H2O
H 8.799060 2.876412 2.095861 H2O
O 9.160372 0.285100 6.871004 H2O
H 9.505360 1.161677 6.701213 H2O
H 9.920117 -0.219794 7.161006 H2O
O 4.962043 4.134437 0.173376 H2O
H 4.749903 4.186003 -0.758595 H2O
H 5.248010 5.018415 0.403676 H2O
O 2.802896 8.690383 2.435952 H2O
H 3.576065 9.078451 2.026264 H2O
H 2.720238 9.146974 3.273164 H2O
O 9.123223 3.549232 8.876721 H2O
H 9.085561 4.493058 9.031660 H2O
H 9.215391 3.166305 9.749133 H2O
O 1.453702 1.402538 2.358278 H2O
H 1.999705 2.060411 1.927796 H2O
H 1.824184 0.564565 2.081195 H2O
O 6.536550 1.146790 7.609732 H2O
H 7.430334 0.849764 7.438978 H2O
H 6.576029 1.537017 8.482885 H2O
O 2.766709 0.881503 9.544263 H2O
H 2.415851 1.576460 8.987338 H2O
H 2.276957 0.099537 9.289499 H2O
O 0.856426 2.075964 5.010625 H2O
H 1.160987 1.818023 4.140602 H2O
H 0.350256 2.874437 4.860741 H2O
O 6.386036 1.918950 0.242690 H2O
H 5.768804 2.638450 0.375264 H2O
H 7.221823 2.257514 0.563730 H2O
O 2.733023 4.452756 5.850203 H2O
H 3.260797 5.243390 5.962382 H2O
H 3.347848 3.732214 5.988196 H2O
O 4.600039 9.254314 6.575944 H2O
H 5.328688 9.073059 5.982269 H2O
H 5.007063 9.672150 7.334875 H2O
O 3.665373 6.210561 3.158420 H2O
H 4.566850 6.413356 3.408312 H2O
H 3.273115 7.061666 2.963521 H2O
O 3.371648 6.925594 7.476036 H2O
H 3.878372 7.435003 6.843607 H2O
H 3.884673 6.966316 8.283117 H2O
O 5.287920 3.270653 6.155080 H2O
H 5.918240 3.116802 5.451335 H2O
H 5.355924 2.495093 6.711958 H2O
O 5.225237 6.959594 9.582991 H2O
H 5.071858 7.687254 10.185667 H2O
H 6.106394 7.112302 9.241707 H2O
O 0.846293 5.595877 3.820630 H2O
H 1.637363 5.184910 4.169264 H2O
H 0.427645 4.908936 3.301903 H2O
O 9.785620 8.164617 3.657879 H2O
H 9.971698 7.227076 3.709104 H2O
H 10.647901 8.579244 3.629806 H2O
O 8.509982 4.430362 2.679946 H2O
H 8.046808 5.126383 2.213838 H2O
H 7.995317 4.290074 3.474723 H2O
O 1.337625 8.580920 8.272484 H2O
H 1.872601 7.864672 7.930401 H2O
H 0.837635 8.186808 8.987268 H2O
O 8.054437 9.221335 1.991376 H2O
H 8.314696 10.115534 2.212519 H2O
H 8.687134 8.667252 2.448452 H2O
O 2.280398 9.146539 5.088696 H2O
H 1.762019 9.820429 5.528454 H2O
H 3.095987 9.107088 5.588186 H2O
O 1.251703 2.406261 7.769908 H2O
H 0.554129 2.982634 8.082024 H2O
H 1.771257 2.954779 7.182181 H2O
O 1.596302 6.920128 0.656695 H2O
H 2.112148 6.126321 0.798136 H2O
H 1.776389 7.463264 1.424030 H2O
O 2.957518 3.771868 1.877387 H2O
H 3.754249 3.824017 1.349436 H2O
H 3.010580 4.524142 2.466878 H2O
O 0.228972 5.884026 6.532308 H2O
H 0.939475 5.243834 6.571945 H2O
H 0.515723 6.520548 5.877445 H2O
O 9.023431 6.119654 0.092451 H2O
H 9.852960 6.490366 0.393593 H2O
H 8.556008 6.860063 -0.294256 H2O
O 7.256289 8.493641 5.772041 H2O
H 7.886607 7.941321 6.234506 H2O
H 7.793855 9.141028 5.315813 H2O
O 5.090422 9.467016 0.743177 H2O
H 4.467366 9.971162 0.219851 H2O
H 5.758685 10.102795 0.998994 H2O
O 6.330888 7.363471 3.747750 H2O
H 6.652693 7.917443 3.036562 H2O
H 6.711966 7.743594 4.539279 H2O
O 7.763819 8.349367 9.279457 H2O
H 7.751955 8.745180 10.150905 H2O
H 7.829208 9.092212 8.679343 H2O
O 8.280798 3.837153 5.799282 H2O
H 8.312540 3.218330 6.528858 H2O
H 8.508855 4.680699 6.189990 H2O
O 8.878250 2.025797 1.664102 H2O
H 9.742249 1.704975 1.922581 H2O
H 8.799060 2.876412 2.095861 H2O
O 9.160372 0.285100 6.871004 H2O
H 9.505360 1.161677 6.701213 H2O
H 9.920117 -0.219794 7.161006 H2O
O 4.962043 4.134437 0.173376 H2O
H 4.749903 4.186003 -0.758595 H2O
H 5.248010 5.018415 0.403676 H2O
O 2.802896 8.690383 2.435952 H2O
H 3.576065 9.078451 2.026264 H2O
H 2.720238 9.146974 3.273164 H2O
O 9.123223 3.549232 8.876721 H2O
H 9.085561 4.493058 9.031660 H2O
H 9.215391 3.166305 9.749133 H2O
O 1.453702 1.402538 2.358278 H2O
H 1.999705 2.060411 1.927796 H2O
H 1.824184 0.564565 2.081195 H2O
O 6.536550 1.146790 7.609732 H2O
H 7.430334 0.849764 7.438978 H2O
H 6.576029 1.537017 8.482885 H2O
O 2.766709 0.881503 9.544263 H2O
H 2.415851 1.576460 8.987338 H2O
H 2.276957 0.099537 9.289499 H2O
O 0.856426 2.075964 5.010625 H2O
H 1.160987 1.818023 4.140602 H2O
H 0.350256 2.874437 4.860741 H2O
O 6.386036 1.918950 0.242690 H2O
H 5.768804 2.638450 0.375264 H2O
H 7.221823 2.257514 0.563730 H2O
O 2.733023 4.452756 5.850203 H2O
H 3.260797 5.243390 5.962382 H2O
H 3.347848 3.732214 5.988196 H2O
O 4.600039 9.254314 6.575944 H2O
H 5.328688 9.073059 5.982269 H2O
H 5.007063 9.672150 7.334875 H2O
O 3.665373 6.210561 3.158420 H2O
H 4.566850 6.413356 3.408312 H2O
H 3.273115 7.061666 2.963521 H2O
O 3.371648 6.925594 7.476036 H2O
H 3.878372 7.435003 6.843607 H2O
H 3.884673 6.966316 8.283117 H2O
O 5.287920 3.270653 6.155080 H2O
H 5.918240 3.116802 5.451335 H2O
H 5.355924 2.495093 6.711958 H2O
O 5.225237 6.959594 9.582991 H2O
H 5.071858 7.687254 10.185667 H2O
H 6.106394 7.112302 9.241707 H2O
O 0.846293 5.595877 3.820630 H2O
H 1.637363 5.184910 4.169264 H2O
H 0.427645 4.908936 3.301903 H2O
O 9.785620 8.164617 3.657879 H2O
H 9.971698 7.227076 3.709104 H2O
H 10.647901 8.579244 3.629806 H2O
O 8.509982 4.430362 2.679946 H2O
H 8.046808 5.126383 2.213838 H2O
H 7.995317 4.290074 3.474723 H2O
O 1.337625 8.580920 8.272484 H2O
H 1.872601 7.864672 7.930401 H2O
H 0.837635 8.186808 8.987268 H2O
O 8.054437 9.221335 1.991376 H2O
H 8.314696 10.115534 2.212519 H2O
H 8.687134 8.667252 2.448452 H2O
&END COORD
&KIND H
BASIS_SET DZVP-MOLOPT-SR-GTH
@ -163,17 +160,21 @@
&END KIND
&PRINT
&ATOMIC_COORDINATES OFF
&END
&END ATOMIC_COORDINATES
&MOLECULES OFF
&END
&END
&END MOLECULES
&END PRINT
&TOPOLOGY
MULTIPLE_UNIT_CELL ${NREP} ${NREP} ${NREP}
&END TOPOLOGY
&END SUBSYS
&END FORCE_EVAL
&GLOBAL
EXTENDED_FFT_LENGTHS
PRINT_LEVEL MEDIUM
PROJECT H2O
RUN_TYPE ENERGY
PRINT_LEVEL MEDIUM
EXTENDED_FFT_LENGTHS
! TRACE
! TRACE_MAX 10000
! TRACE
! TRACE_MAX 10000
&END GLOBAL

View file

@ -4,33 +4,29 @@
This is a single-point energy calculation using linear-scaling DFT.
For large systems the linear-scaling approach for solving Self-Consistent-Field
equations will be much cheaper computationally than using standard DFT and allows
scaling up to 1 million atoms for simple systems. The linear scaling cost results
from the fact that the algorithm is based on an iteration on the density matrix.
The cubically-scaling orthogonalisation step of standard Quickstep DFT using OT
is avoided and the key operation is sparse matrix-matrix multiplications, which
have a number of non-zero entries that scale linearly with system size.
These are implemented efficiently in the DBCSR library.
For large systems the linear-scaling approach for solving Self-Consistent-Field equations will be
much cheaper computationally than using standard DFT and allows scaling up to 1 million atoms for
simple systems. The linear scaling cost results from the fact that the algorithm is based on an
iteration on the density matrix. The cubically-scaling orthogonalisation step of standard Quickstep
DFT using OT is avoided and the key operation is sparse matrix-matrix multiplications, which have a
number of non-zero entries that scale linearly with system size. These are implemented efficiently
in the DBCSR library.
The problem size can be tuned by the parameter `NREP` in the input file, whereby
the number of atoms scales cubically with `NREP`.
The problem size can be tuned by the parameter `NREP` in the input file, whereby the number of atoms
scales cubically with `NREP`.
## Files Description
- [H2O-dft-ls.inp](H2O-dft-ls.inp) (NREP=6): H20 density functional theory
linear scaling consisting of 20'736 atoms in a 59 cubic angstrom box (6'912
water molecules in total). An LDA functional is used with a DZVP MOLOPT basis
set and a 300 Ry cut-off.
- [H2O-dft-ls.NREP4.inp](H2O-dft-ls.NREP4.inp): H20 density functional theory
linear scaling consisting of 6'144 atoms in a 39 cubic angstrom box (2'048
water molecules in total). An LDA functional is used with a DZVP MOLOPT basis
set and a 300 Ry cut-off.
- [H2O-dft-ls.NREP2.inp](H2O-dft-ls.NREP2.inp): H20 density functional theory
linear scaling consisting of 6'144 atoms in a 39 cubic angstrom box (2'048
water molecules in total). An LDA functional is used with a DZVP MOLOPT basis
set and a 300 Ry cut-off (a smaller version of the H2O-dft-ls benchmark, with
NREP=2, meant to run on 1 node).
- [H2O-dft-ls.inp](H2O-dft-ls.inp) (NREP=6): H20 density functional theory linear scaling consisting
of 20'736 atoms in a 59 cubic angstrom box (6'912 water molecules in total). An LDA functional is
used with a DZVP MOLOPT basis set and a 300 Ry cut-off.
- [H2O-dft-ls.NREP4.inp](H2O-dft-ls.NREP4.inp): H20 density functional theory linear scaling
consisting of 6'144 atoms in a 39 cubic angstrom box (2'048 water molecules in total). An LDA
functional is used with a DZVP MOLOPT basis set and a 300 Ry cut-off.
- [H2O-dft-ls.NREP2.inp](H2O-dft-ls.NREP2.inp): H20 density functional theory linear scaling
consisting of 6'144 atoms in a 39 cubic angstrom box (2'048 water molecules in total). An LDA
functional is used with a DZVP MOLOPT basis set and a 300 Ry cut-off (a smaller version of the
H2O-dft-ls benchmark, with NREP=2, meant to run on 1 node).
- [TiO2.inp](TiO2.inp)
- [amorph.inp](amorph.inp)
@ -38,8 +34,8 @@ the number of atoms scales cubically with `NREP`.
### NREP=4
The best configurations are shown below.
Click the links under "Detailed Results" to see more detail.
The best configurations are shown below. Click the links under "Detailed Results" to see more
detail.
| Machine Name | Architecture | Date | SVN Revision | Fastest time (s) | Number of Cores | Number of Threads | Detailed Results |
| ------------ | ------------ | ---------- | ------------ | ---------------- | --------------- | ---------------------------------- | ----------------------------------------------------------------------------- |
@ -57,13 +53,11 @@ Following results were obtained in the following conditions:
- Date: 15th November 2019
- CP2K version: version 7.0 (Development Version, git:78cea8eeebb25e459941d8a28d987c9990d92676)
- DBCSR version: v2.0.0-rc9 (git:15fdaba855385f12db7599a6e69b51a7a4ce8a9a)
- CP2K flags: omp libint fftw3 libxc elpa parallel scalapack acc pw_cuda
xsmm dbcsr_acc max_contr=4
- CP2K flags: omp libint fftw3 libxc elpa parallel scalapack acc pw_cuda xsmm dbcsr_acc max_contr=4
- Machine: Piz Daint (GPU partition), CSCS
- Slurm configuration: 2 MPI ranks per node, 12 OpenMP threads per MPI rank
- The cell contents specify the runtime (`grep 'CP2K ' output.out`) in seconds,
while the cells marked with an `X` crashed with out-of-memory errors, and the
cells left empty weren't measured.
- The cell contents specify the runtime (`grep 'CP2K ' output.out`) in seconds, while the cells
marked with an `X` crashed with out-of-memory errors, and the cells left empty weren't measured.
| nodes / NREP | NREP=1 | NREP=2 | NREP=3 | NREP=4 | NREP=6 | NREP=8 | NREP=9 |
| ------------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ |

View file

@ -1,44 +1,52 @@
&GLOBAL
EXTENDED_FFT_LENGTHS
PRINT_LEVEL MEDIUM
PROJECT TIO2
RUN_TYPE ENERGY
! TRACE
! TRACE_MAX 1000
&END GLOBAL
&FORCE_EVAL
METHOD QS
&DFT
BASIS_SET_FILE_NAME BASIS_MOLOPT
POTENTIAL_FILE_NAME POTENTIAL
&PRINT
&MULLIKEN OFF
&END MULLIKEN
&END PRINT
&LS_SCF
EPS_FILTER 1E-5
EPS_SCF 1.0E-5
MATRIX_CLUSTER_TYPE ATOMIC
MAX_SCF 1
MIXING_FRACTION 0.15
MU 0.15
PERFORM_MU_SCAN OFF
PURIFICATION_METHOD TRS4
REPORT_ALL_SPARSITIES OFF
S_PRECONDITIONER ATOMIC
&END LS_SCF
&MGRID
CUTOFF 300
&RS_GRID
MAX_DISTRIBUTED_LEVEL 5
&END
SKIP_LOAD_BALANCE_DISTRIBUTED
&RS_GRID
MAX_DISTRIBUTED_LEVEL 5
&END RS_GRID
&END MGRID
&PRINT
&MULLIKEN OFF
&END MULLIKEN
&END PRINT
&QS
EPS_DEFAULT 1.0E-10
LS_SCF
&DISTRIBUTION
BASIC_OPTIMIZATION .FALSE.
BASIC_SPATIAL_OPTIMIZATION .TRUE.
&END
&END DISTRIBUTION
&END QS
&LS_SCF
MAX_SCF 1
EPS_FILTER 1E-5
EPS_SCF 1.0E-5
MU 0.15
MIXING_FRACTION 0.15
S_PRECONDITIONER ATOMIC
MATRIX_CLUSTER_TYPE ATOMIC
PURIFICATION_METHOD TRS4
REPORT_ALL_SPARSITIES OFF
! SINGLE_PRECISION_MATRICES .FALSE.
PERFORM_MU_SCAN OFF
&END
&SCF
MAX_SCF 30
EPS_SCF 1.0E-7
&END
EPS_SCF 1.0E-7
MAX_SCF 30
&END SCF
&XC
&XC_FUNCTIONAL PADE
&END XC_FUNCTIONAL
@ -49,7 +57,7 @@
ABC 70 70 110
&END CELL
&COORD
@INCLUDE 'TiO2_larger.xyz'
@INCLUDE 'TiO2_larger.xyz'
&END COORD
&KIND Ti
BASIS_SET DZVP-MOLOPT-SR-GTH
@ -61,17 +69,9 @@
&END KIND
&PRINT
&ATOMIC_COORDINATES OFF
&END
&END ATOMIC_COORDINATES
&MOLECULES OFF
&END
&END
&END MOLECULES
&END PRINT
&END SUBSYS
&END FORCE_EVAL
&GLOBAL
PROJECT TIO2
RUN_TYPE ENERGY
PRINT_LEVEL MEDIUM
EXTENDED_FFT_LENGTHS
! TRACE
! TRACE_MAX 1000
&END GLOBAL

View file

@ -1,43 +1,52 @@
&GLOBAL
EXTENDED_FFT_LENGTHS
PRINT_LEVEL MEDIUM
PROJECT amorph
RUN_TYPE ENERGY
! TRACE
! TRACE_MAX 1000
&END GLOBAL
&FORCE_EVAL
METHOD QS
&DFT
BASIS_SET_FILE_NAME BASIS_MOLOPT
POTENTIAL_FILE_NAME POTENTIAL
&PRINT
&MULLIKEN OFF
&END MULLIKEN
&END PRINT
&LS_SCF
EPS_FILTER 1E-6
EPS_SCF 1.0E-6
MATRIX_CLUSTER_TYPE ATOMIC
MAX_SCF 2
MIXING_FRACTION 0.15
MU 0.15
PERFORM_MU_SCAN OFF
PURIFICATION_METHOD TRS4
REPORT_ALL_SPARSITIES OFF
S_PRECONDITIONER ATOMIC
&END LS_SCF
&MGRID
CUTOFF 300
&RS_GRID
MAX_DISTRIBUTED_LEVEL 5
&END
SKIP_LOAD_BALANCE_DISTRIBUTED
&RS_GRID
MAX_DISTRIBUTED_LEVEL 5
&END RS_GRID
&END MGRID
&PRINT
&MULLIKEN OFF
&END MULLIKEN
&END PRINT
&QS
EPS_DEFAULT 1.0E-10
LS_SCF
&DISTRIBUTION
BASIC_OPTIMIZATION .FALSE.
BASIC_SPATIAL_OPTIMIZATION .TRUE.
&END
&END DISTRIBUTION
&END QS
&LS_SCF
MAX_SCF 2
EPS_FILTER 1E-6
EPS_SCF 1.0E-6
MU 0.15
MIXING_FRACTION 0.15
S_PRECONDITIONER ATOMIC
MATRIX_CLUSTER_TYPE ATOMIC
REPORT_ALL_SPARSITIES OFF
PURIFICATION_METHOD TRS4
PERFORM_MU_SCAN OFF
&END
&SCF
MAX_SCF 30
EPS_SCF 1.0E-7
&END
EPS_SCF 1.0E-7
MAX_SCF 30
&END SCF
&XC
&XC_FUNCTIONAL PADE
&END XC_FUNCTIONAL
@ -48,7 +57,7 @@
ABC 53.841801 53.841801 53.841801
&END CELL
&COORD
@INCLUDE 'amorph.xyz'
@INCLUDE 'amorph.xyz'
&END COORD
&KIND Ti
BASIS_SET DZVP-MOLOPT-SR-GTH
@ -72,17 +81,9 @@
&END KIND
&PRINT
&ATOMIC_COORDINATES OFF
&END
&END ATOMIC_COORDINATES
&MOLECULES OFF
&END
&END
&END MOLECULES
&END PRINT
&END SUBSYS
&END FORCE_EVAL
&GLOBAL
PROJECT amorph
RUN_TYPE ENERGY
PRINT_LEVEL MEDIUM
EXTENDED_FFT_LENGTHS
! TRACE
! TRACE_MAX 1000
&END GLOBAL

View file

@ -4,38 +4,33 @@ Hybrid benchmark to test CP2K scaling up to 10000s of cores
## Description
This is a single-point DFT energy calculation using Quickstep GAPW (Gaussian and
Augmented Plane-Waves) with hybrid Hartree-Fock exchange. It consists of a 216
atom Lithium Hydride crystal with 432 electrons in a 12.3 cubic angstrom cell.
These types of calculations are generally around one hundred times the
computational cost of a standard local DFT calculation, although this can be
reduced using the Auxiliary Density Matrix Method (ADMM). Using OpenMP is of
particular benefit here as the HFX implementation requires a large amount of
memory to store partial integrals. By using several threads, fewer MPI processes
share the available memory on the node and thus enough memory is available to
avoid recomputing any integrals on-the-fly, improving performance.
This is a single-point DFT energy calculation using Quickstep GAPW (Gaussian and Augmented
Plane-Waves) with hybrid Hartree-Fock exchange. It consists of a 216 atom Lithium Hydride crystal
with 432 electrons in a 12.3 cubic angstrom cell. These types of calculations are generally around
one hundred times the computational cost of a standard local DFT calculation, although this can be
reduced using the Auxiliary Density Matrix Method (ADMM). Using OpenMP is of particular benefit here
as the HFX implementation requires a large amount of memory to store partial integrals. By using
several threads, fewer MPI processes share the available memory on the node and thus enough memory
is available to avoid recomputing any integrals on-the-fly, improving performance.
## Files description
- [`input_bulk_B88_3.inp`](input_bulk_B88_3.inp): needed to generate an initial
wfn (wave function) file for the HFX runs (this should be run once before
running the actual HFX benchmark, and is not a part of the benchmark)
- [`input_bulk_HFX_3.inp`](input_bulk_HFX_3.inp): the actual input file for the
HFX benchmark
- the additional files [`t_c_g.dat`](../../data/t_c_g.dat) and
[`POTENTIAL`](../../data/POTENTIAL) are needed, and can be found in the
`cp2k/data/` directory.
- [`input_bulk_B88_3.inp`](input_bulk_B88_3.inp): needed to generate an initial wfn (wave function)
file for the HFX runs (this should be run once before running the actual HFX benchmark, and is not
a part of the benchmark)
- [`input_bulk_HFX_3.inp`](input_bulk_HFX_3.inp): the actual input file for the HFX benchmark
- the additional files [`t_c_g.dat`](../../data/t_c_g.dat) and [`POTENTIAL`](../../data/POTENTIAL)
are needed, and can be found in the `cp2k/data/` directory.
## Benchmark Requirements
To run these this benchmark, CP2K needs to be compiled with libint support
(-D\_\_LIBINT), and it is advantageous to have a OMP/MPI hybrid code (cp2k.psmp).
To run these this benchmark, CP2K needs to be compiled with libint support (-D\_\_LIBINT), and it is
advantageous to have a OMP/MPI hybrid code (cp2k.psmp).
## How to Run the Benchmark
1. as a preliminary step, not part of the benchmark: run `input_bulk_B88_3.inp`
(5min. with 256x1 mpixomp tasks) and rename the resulting wavefunction file
`LiH_bulk_3-RESTART.wfn` to `B88.wfn`
1. as a preliminary step, not part of the benchmark: run `input_bulk_B88_3.inp` (5min. with 256x1
mpixomp tasks) and rename the resulting wavefunction file `LiH_bulk_3-RESTART.wfn` to `B88.wfn`
```shell
cp LiH_bulk_3-RESTART.wfn B88.wfn
@ -57,10 +52,9 @@ To run these this benchmark, CP2K needs to be compiled with libint support
## Notes
The amount of memory available per MPI process must be altered according to the
number of MPI processes being used. If this is not done the benchmark will crash
with an out of memory (OOM) error. The input file keyword `MAX_MEMORY` in
`input_bulk_HFX_3.inp` needs to be changed as follows:
The amount of memory available per MPI process must be altered according to the number of MPI
processes being used. If this is not done the benchmark will crash with an out of memory (OOM)
error. The input file keyword `MAX_MEMORY` in `input_bulk_HFX_3.inp` needs to be changed as follows:
```cp2k-input
MAX_MEMORY 14000
@ -72,9 +66,9 @@ should be changed to
MAX_MEMORY new_value
```
The new value of `MAX_MEMORY` is chosen by dividing the total amount of memory
available on a node by the number of MPI processes being used per node.
If a shorter runtime is desirable, the following line in `input_bulk_HFX_3.inp`:
The new value of `MAX_MEMORY` is chosen by dividing the total amount of memory available on a node
by the number of MPI processes being used per node. If a shorter runtime is desirable, the following
line in `input_bulk_HFX_3.inp`:
```cp2k-input
MAX_SCF 20
@ -86,10 +80,9 @@ may be changed to
MAX_SCF 1
```
in order to reduce the maximum number of SCF cycles and hence the execution
time. If the runtime or required memory needs to be reduced so the benchmark can
run on a smaller number of nodes, the OPT1 basis set can be used instead of the
default OPT2. To this end, the line
in order to reduce the maximum number of SCF cycles and hence the execution time. If the runtime or
required memory needs to be reduced so the benchmark can run on a smaller number of nodes, the OPT1
basis set can be used instead of the default OPT2. To this end, the line
```cp2k-input
BASIS_SET OPT2
@ -105,8 +98,8 @@ BASIS_SET OPT1
### Best Configurations
The best configurations are shown below. Click the links under
"Detailed Results" to see more detail.
The best configurations are shown below. Click the links under "Detailed Results" to see more
detail.
| Machine Name | Architecture | Date | SVN Revision | Fastest time (s) | Number of cores | Number of threads | Detailed results |
| -----------: | -----------: | ---------: | -----------: | ---------------: | --------------: | ---------------------------------: | ----------------------------------------------------------------------: |
@ -117,21 +110,21 @@ The best configurations are shown below. Click the links under
| Cirrus | SGI ICE XA | 24/11/2016 | 17566 | 483.676 | 2016 | 6 OMP threads per MPI task | [cirrus-lih-hfx](https://www.cp2k.org/performance:cirrus-lih-hfx) |
| Noctua | Cray CS500 | 25/09/2019 | 9f58d81 | 131.290 | 10240 | 4 OMP threads per MPI task | [noctua-lih-hfx](https://www.cp2k.org/performance:noctua-lih-hfx) |
(\*) Prior to r14945, a bug resulted in an underestimation of the number of ERIs
which should be computed (by roughly 50% for this benchmark. Therefore these
results cannot be compared directly with later ones.
(\*) Prior to r14945, a bug resulted in an underestimation of the number of ERIs which should be
computed (by roughly 50% for this benchmark. Therefore these results cannot be compared directly
with later ones.
### 2009-04-15
Running on ORNL's Cray XT5 (Jaguar) the following runtime has been obtained in a
setup using 8 OMP threads per node (8 cores per node / 16 Gb per node).
Running on ORNL's Cray XT5 (Jaguar) the following runtime has been obtained in a setup using 8 OMP
threads per node (8 cores per node / 16 Gb per node).
| Cores | Full CP2K\[s\] | HFX\[s\] | local HFX\[s\] | Mem/node\[Mb\] |
| ----: | -------------: | -------: | -------------: | -------------: |
| 1024 | 6569.07 | 6488.24 | 6406.99 | 14845.00 |
| 2048 | 1369.92 | 1314.86 | 1259.82 | 13468.00 |
| 4096 | 722.24 | 670.18 | 631.11 | 7293.00 |
| 8192 | 402.18 | 352.21 | 317.59 | 4306.00 |
| 16384 | 274.41 | 213.88 | 172.88 | 2801.00 |
| 32768 | 201.71 | 135.47 | 85.29 | 2046.00 |
| 65536 | 255.97 | 117.33 | 41.43 | 1673.00 |
| Cores | Full CP2K[s] | HFX[s] | local HFX[s] | Mem/node[Mb] |
| ----: | -----------: | ------: | -----------: | -----------: |
| 1024 | 6569.07 | 6488.24 | 6406.99 | 14845.00 |
| 2048 | 1369.92 | 1314.86 | 1259.82 | 13468.00 |
| 4096 | 722.24 | 670.18 | 631.11 | 7293.00 |
| 8192 | 402.18 | 352.21 | 317.59 | 4306.00 |
| 16384 | 274.41 | 213.88 | 172.88 | 2801.00 |
| 32768 | 201.71 | 135.47 | 85.29 | 2046.00 |
| 65536 | 255.97 | 117.33 | 41.43 | 1673.00 |

View file

@ -1,262 +1,268 @@
&GLOBAL
PRINT_LEVEL MEDIUM
PROJECT LiH_bulk_3
RUN_TYPE ENERGY
&END GLOBAL
&FORCE_EVAL
METHOD Quickstep
&DFT
BASIS_SET_FILE_NAME ./BASIS_OPT
POTENTIAL_FILE_NAME ./POTENTIAL
&PRINT
&BASIS_MOLOPT_QUANTITIES
&END BASIS_MOLOPT_QUANTITIES
&END
&MGRID
CUTOFF 300
REL_CUTOFF 50
&END MGRID
&PRINT
&BASIS_MOLOPT_QUANTITIES
&END BASIS_MOLOPT_QUANTITIES
&END PRINT
&QS
METHOD GAPW
EPS_DEFAULT 1.0E-12
EPS_FILTER_MATRIX 0.0e0
EPS_PGF_ORB 1.0E-16
EPS_FILTER_MATRIX 0.0e0
METHOD GAPW
&END QS
&SCF
EPS_SCF 1.0E-7
MAX_SCF 10
SCF_GUESS ATOMIC
&OT
PRECONDITIONER FULL_ALL
&END
PRECONDITIONER FULL_ALL
&END OT
&OUTER_SCF
EPS_SCF 1.0E-7
MAX_SCF 10
&END
EPS_SCF 1.0E-7
MAX_SCF 10
&END OUTER_SCF
&END SCF
&XC
&XC_FUNCTIONAL
&BECKE88
&END
&END BECKE88
&END XC_FUNCTIONAL
&END
&END XC
&END DFT
&SUBSYS
&CELL
ABC 12.252 12.252 12.252
&END CELL
&COORD
Li 0 0 0
Li 2.042 2.042 0
Li 2.042 0 2.042
Li 0 2.042 2.042
H 0 2.042 0
H 0 0 2.042
H 2.042 0 0
H 2.042 2.042 2.042
Li 0 0 4.084
Li 2.042 2.042 4.084
Li 2.042 0 6.126
Li 0 2.042 6.126
H 0 2.042 4.084
H 0 0 6.126
H 2.042 0 4.084
H 2.042 2.042 6.126
Li 0 0 8.168
Li 2.042 2.042 8.168
Li 2.042 0 10.21
Li 0 2.042 10.21
H 0 2.042 8.168
H 0 0 10.21
H 2.042 0 8.168
H 2.042 2.042 10.21
Li 0 4.084 0
Li 2.042 6.126 0
Li 2.042 4.084 2.042
Li 0 6.126 2.042
H 0 6.126 0
H 0 4.084 2.042
H 2.042 4.084 0
H 2.042 6.126 2.042
Li 0 4.084 4.084
Li 2.042 6.126 4.084
Li 2.042 4.084 6.126
Li 0 6.126 6.126
H 0 6.126 4.084
H 0 4.084 6.126
H 2.042 4.084 4.084
H 2.042 6.126 6.126
Li 0 4.084 8.168
Li 2.042 6.126 8.168
Li 2.042 4.084 10.21
Li 0 6.126 10.21
H 0 6.126 8.168
H 0 4.084 10.21
H 2.042 4.084 8.168
H 2.042 6.126 10.21
Li 0 8.168 0
Li 2.042 10.21 0
Li 2.042 8.168 2.042
Li 0 10.21 2.042
H 0 10.21 0
H 0 8.168 2.042
H 2.042 8.168 0
H 2.042 10.21 2.042
Li 0 8.168 4.084
Li 2.042 10.21 4.084
Li 2.042 8.168 6.126
Li 0 10.21 6.126
H 0 10.21 4.084
H 0 8.168 6.126
H 2.042 8.168 4.084
H 2.042 10.21 6.126
Li 0 8.168 8.168
Li 2.042 10.21 8.168
Li 2.042 8.168 10.21
Li 0 10.21 10.21
H 0 10.21 8.168
H 0 8.168 10.21
H 2.042 8.168 8.168
H 2.042 10.21 10.21
Li 4.084 0 0
Li 6.126 2.042 0
Li 6.126 0 2.042
Li 4.084 2.042 2.042
H 4.084 2.042 0
H 4.084 0 2.042
H 6.126 0 0
H 6.126 2.042 2.042
Li 4.084 0 4.084
Li 6.126 2.042 4.084
Li 6.126 0 6.126
Li 4.084 2.042 6.126
H 4.084 2.042 4.084
H 4.084 0 6.126
H 6.126 0 4.084
H 6.126 2.042 6.126
Li 4.084 0 8.168
Li 6.126 2.042 8.168
Li 6.126 0 10.21
Li 4.084 2.042 10.21
H 4.084 2.042 8.168
H 4.084 0 10.21
H 6.126 0 8.168
H 6.126 2.042 10.21
Li 4.084 4.084 0
Li 6.126 6.126 0
Li 6.126 4.084 2.042
Li 4.084 6.126 2.042
H 4.084 6.126 0
H 4.084 4.084 2.042
H 6.126 4.084 0
H 6.126 6.126 2.042
Li 4.084 4.084 4.084
Li 6.126 6.126 4.084
Li 6.126 4.084 6.126
Li 4.084 6.126 6.126
H 4.084 6.126 4.084
H 4.084 4.084 6.126
H 6.126 4.084 4.084
H 6.126 6.126 6.126
Li 4.084 4.084 8.168
Li 6.126 6.126 8.168
Li 6.126 4.084 10.21
Li 4.084 6.126 10.21
H 4.084 6.126 8.168
H 4.084 4.084 10.21
H 6.126 4.084 8.168
H 6.126 6.126 10.21
Li 4.084 8.168 0
Li 6.126 10.21 0
Li 6.126 8.168 2.042
Li 4.084 10.21 2.042
H 4.084 10.21 0
H 4.084 8.168 2.042
H 6.126 8.168 0
H 6.126 10.21 2.042
Li 4.084 8.168 4.084
Li 6.126 10.21 4.084
Li 6.126 8.168 6.126
Li 4.084 10.21 6.126
H 4.084 10.21 4.084
H 4.084 8.168 6.126
H 6.126 8.168 4.084
H 6.126 10.21 6.126
Li 4.084 8.168 8.168
Li 6.126 10.21 8.168
Li 6.126 8.168 10.21
Li 4.084 10.21 10.21
H 4.084 10.21 8.168
H 4.084 8.168 10.21
H 6.126 8.168 8.168
H 6.126 10.21 10.21
Li 8.168 0 0
Li 10.21 2.042 0
Li 10.21 0 2.042
Li 8.168 2.042 2.042
H 8.168 2.042 0
H 8.168 0 2.042
H 10.21 0 0
H 10.21 2.042 2.042
Li 8.168 0 4.084
Li 10.21 2.042 4.084
Li 10.21 0 6.126
Li 8.168 2.042 6.126
H 8.168 2.042 4.084
H 8.168 0 6.126
H 10.21 0 4.084
H 10.21 2.042 6.126
Li 8.168 0 8.168
Li 10.21 2.042 8.168
Li 10.21 0 10.21
Li 8.168 2.042 10.21
H 8.168 2.042 8.168
H 8.168 0 10.21
H 10.21 0 8.168
H 10.21 2.042 10.21
Li 8.168 4.084 0
Li 10.21 6.126 0
Li 10.21 4.084 2.042
Li 8.168 6.126 2.042
H 8.168 6.126 0
H 8.168 4.084 2.042
H 10.21 4.084 0
H 10.21 6.126 2.042
Li 8.168 4.084 4.084
Li 10.21 6.126 4.084
Li 10.21 4.084 6.126
Li 8.168 6.126 6.126
H 8.168 6.126 4.084
H 8.168 4.084 6.126
H 10.21 4.084 4.084
H 10.21 6.126 6.126
Li 8.168 4.084 8.168
Li 10.21 6.126 8.168
Li 10.21 4.084 10.21
Li 8.168 6.126 10.21
H 8.168 6.126 8.168
H 8.168 4.084 10.21
H 10.21 4.084 8.168
H 10.21 6.126 10.21
Li 8.168 8.168 0
Li 10.21 10.21 0
Li 10.21 8.168 2.042
Li 8.168 10.21 2.042
H 8.168 10.21 0
H 8.168 8.168 2.042
H 10.21 8.168 0
H 10.21 10.21 2.042
Li 8.168 8.168 4.084
Li 10.21 10.21 4.084
Li 10.21 8.168 6.126
Li 8.168 10.21 6.126
H 8.168 10.21 4.084
H 8.168 8.168 6.126
H 10.21 8.168 4.084
H 10.21 10.21 6.126
Li 8.168 8.168 8.168
Li 10.21 10.21 8.168
Li 10.21 8.168 10.21
Li 8.168 10.21 10.21
H 8.168 10.21 8.168
H 8.168 8.168 10.21
H 10.21 8.168 8.168
H 10.21 10.21 10.21
Li 0 0 0
Li 2.042 2.042 0
Li 2.042 0 2.042
Li 0 2.042 2.042
H 0 2.042 0
H 0 0 2.042
H 2.042 0 0
H 2.042 2.042 2.042
Li 0 0 4.084
Li 2.042 2.042 4.084
Li 2.042 0 6.126
Li 0 2.042 6.126
H 0 2.042 4.084
H 0 0 6.126
H 2.042 0 4.084
H 2.042 2.042 6.126
Li 0 0 8.168
Li 2.042 2.042 8.168
Li 2.042 0 10.21
Li 0 2.042 10.21
H 0 2.042 8.168
H 0 0 10.21
H 2.042 0 8.168
H 2.042 2.042 10.21
Li 0 4.084 0
Li 2.042 6.126 0
Li 2.042 4.084 2.042
Li 0 6.126 2.042
H 0 6.126 0
H 0 4.084 2.042
H 2.042 4.084 0
H 2.042 6.126 2.042
Li 0 4.084 4.084
Li 2.042 6.126 4.084
Li 2.042 4.084 6.126
Li 0 6.126 6.126
H 0 6.126 4.084
H 0 4.084 6.126
H 2.042 4.084 4.084
H 2.042 6.126 6.126
Li 0 4.084 8.168
Li 2.042 6.126 8.168
Li 2.042 4.084 10.21
Li 0 6.126 10.21
H 0 6.126 8.168
H 0 4.084 10.21
H 2.042 4.084 8.168
H 2.042 6.126 10.21
Li 0 8.168 0
Li 2.042 10.21 0
Li 2.042 8.168 2.042
Li 0 10.21 2.042
H 0 10.21 0
H 0 8.168 2.042
H 2.042 8.168 0
H 2.042 10.21 2.042
Li 0 8.168 4.084
Li 2.042 10.21 4.084
Li 2.042 8.168 6.126
Li 0 10.21 6.126
H 0 10.21 4.084
H 0 8.168 6.126
H 2.042 8.168 4.084
H 2.042 10.21 6.126
Li 0 8.168 8.168
Li 2.042 10.21 8.168
Li 2.042 8.168 10.21
Li 0 10.21 10.21
H 0 10.21 8.168
H 0 8.168 10.21
H 2.042 8.168 8.168
H 2.042 10.21 10.21
Li 4.084 0 0
Li 6.126 2.042 0
Li 6.126 0 2.042
Li 4.084 2.042 2.042
H 4.084 2.042 0
H 4.084 0 2.042
H 6.126 0 0
H 6.126 2.042 2.042
Li 4.084 0 4.084
Li 6.126 2.042 4.084
Li 6.126 0 6.126
Li 4.084 2.042 6.126
H 4.084 2.042 4.084
H 4.084 0 6.126
H 6.126 0 4.084
H 6.126 2.042 6.126
Li 4.084 0 8.168
Li 6.126 2.042 8.168
Li 6.126 0 10.21
Li 4.084 2.042 10.21
H 4.084 2.042 8.168
H 4.084 0 10.21
H 6.126 0 8.168
H 6.126 2.042 10.21
Li 4.084 4.084 0
Li 6.126 6.126 0
Li 6.126 4.084 2.042
Li 4.084 6.126 2.042
H 4.084 6.126 0
H 4.084 4.084 2.042
H 6.126 4.084 0
H 6.126 6.126 2.042
Li 4.084 4.084 4.084
Li 6.126 6.126 4.084
Li 6.126 4.084 6.126
Li 4.084 6.126 6.126
H 4.084 6.126 4.084
H 4.084 4.084 6.126
H 6.126 4.084 4.084
H 6.126 6.126 6.126
Li 4.084 4.084 8.168
Li 6.126 6.126 8.168
Li 6.126 4.084 10.21
Li 4.084 6.126 10.21
H 4.084 6.126 8.168
H 4.084 4.084 10.21
H 6.126 4.084 8.168
H 6.126 6.126 10.21
Li 4.084 8.168 0
Li 6.126 10.21 0
Li 6.126 8.168 2.042
Li 4.084 10.21 2.042
H 4.084 10.21 0
H 4.084 8.168 2.042
H 6.126 8.168 0
H 6.126 10.21 2.042
Li 4.084 8.168 4.084
Li 6.126 10.21 4.084
Li 6.126 8.168 6.126
Li 4.084 10.21 6.126
H 4.084 10.21 4.084
H 4.084 8.168 6.126
H 6.126 8.168 4.084
H 6.126 10.21 6.126
Li 4.084 8.168 8.168
Li 6.126 10.21 8.168
Li 6.126 8.168 10.21
Li 4.084 10.21 10.21
H 4.084 10.21 8.168
H 4.084 8.168 10.21
H 6.126 8.168 8.168
H 6.126 10.21 10.21
Li 8.168 0 0
Li 10.21 2.042 0
Li 10.21 0 2.042
Li 8.168 2.042 2.042
H 8.168 2.042 0
H 8.168 0 2.042
H 10.21 0 0
H 10.21 2.042 2.042
Li 8.168 0 4.084
Li 10.21 2.042 4.084
Li 10.21 0 6.126
Li 8.168 2.042 6.126
H 8.168 2.042 4.084
H 8.168 0 6.126
H 10.21 0 4.084
H 10.21 2.042 6.126
Li 8.168 0 8.168
Li 10.21 2.042 8.168
Li 10.21 0 10.21
Li 8.168 2.042 10.21
H 8.168 2.042 8.168
H 8.168 0 10.21
H 10.21 0 8.168
H 10.21 2.042 10.21
Li 8.168 4.084 0
Li 10.21 6.126 0
Li 10.21 4.084 2.042
Li 8.168 6.126 2.042
H 8.168 6.126 0
H 8.168 4.084 2.042
H 10.21 4.084 0
H 10.21 6.126 2.042
Li 8.168 4.084 4.084
Li 10.21 6.126 4.084
Li 10.21 4.084 6.126
Li 8.168 6.126 6.126
H 8.168 6.126 4.084
H 8.168 4.084 6.126
H 10.21 4.084 4.084
H 10.21 6.126 6.126
Li 8.168 4.084 8.168
Li 10.21 6.126 8.168
Li 10.21 4.084 10.21
Li 8.168 6.126 10.21
H 8.168 6.126 8.168
H 8.168 4.084 10.21
H 10.21 4.084 8.168
H 10.21 6.126 10.21
Li 8.168 8.168 0
Li 10.21 10.21 0
Li 10.21 8.168 2.042
Li 8.168 10.21 2.042
H 8.168 10.21 0
H 8.168 8.168 2.042
H 10.21 8.168 0
H 10.21 10.21 2.042
Li 8.168 8.168 4.084
Li 10.21 10.21 4.084
Li 10.21 8.168 6.126
Li 8.168 10.21 6.126
H 8.168 10.21 4.084
H 8.168 8.168 6.126
H 10.21 8.168 4.084
H 10.21 10.21 6.126
Li 8.168 8.168 8.168
Li 10.21 10.21 8.168
Li 10.21 8.168 10.21
Li 8.168 10.21 10.21
H 8.168 10.21 8.168
H 8.168 8.168 10.21
H 10.21 8.168 8.168
H 10.21 10.21 10.21
&END COORD
&KIND H
BASIS_SET OPT2
@ -268,8 +274,3 @@ H 10.21 10.21 10.21
&END KIND
&END SUBSYS
&END FORCE_EVAL
&GLOBAL
PROJECT LiH_bulk_3
PRINT_LEVEL MEDIUM
RUN_TYPE ENERGY
&END GLOBAL

View file

@ -1,5 +1,18 @@
#CPQA DEPENDS input_bulk_B88_3.inp
&GLOBAL
PRINT_LEVEL MEDIUM
PROJECT LiH_bulk_3
RUN_TYPE ENERGY
&END GLOBAL
&MOTION
&MD
STEPS 5
TEMPERATURE 300
TIMESTEP 0.5
&END MD
&END MOTION
#CPQA DEPENDS input_bulk_B88_3.inp
&FORCE_EVAL
METHOD Quickstep
&DFT
@ -11,266 +24,265 @@
REL_CUTOFF 50
&END MGRID
&QS
METHOD GAPW
EPS_DEFAULT 1.0E-12
EPS_FILTER_MATRIX 0.0e0
EPS_PGF_ORB 1.0E-16
EPS_FILTER_MATRIX 0.0e0
METHOD GAPW
&END QS
&SCF
EPS_SCF 1.0E-6
MAX_SCF 20
SCF_GUESS RESTART
&OT
PRECONDITIONER FULL_ALL
&END
PRECONDITIONER FULL_ALL
&END OT
&PRINT
&RESTART OFF
&END
&END
&END RESTART
&END PRINT
&END SCF
&XC
&XC_FUNCTIONAL NONE
&END XC_FUNCTIONAL
&HF
&INTERACTION_POTENTIAL
CUTOFF_RADIUS 6
POTENTIAL_TYPE TRUNCATED
T_C_G_DATA ./t_c_g.dat
&END INTERACTION_POTENTIAL
&MEMORY
EPS_STORAGE_SCALING 0.1
MAX_MEMORY 14000
&END MEMORY
&SCREENING
EPS_SCHWARZ 1.0E-9
EPS_SCHWARZ_FORCES 1.0E-9
SCREEN_ON_INITIAL_P T
SCREEN_P_FORCES T
&END
&INTERACTION_POTENTIAL
POTENTIAL_TYPE TRUNCATED
CUTOFF_RADIUS 6
T_C_G_DATA ./t_c_g.dat
&END
&MEMORY
MAX_MEMORY 14000
EPS_STORAGE_SCALING 0.1
&END
&END
&END SCREENING
&END HF
&XC_FUNCTIONAL NONE
&END XC_FUNCTIONAL
&END XC
&END DFT
&SUBSYS
&CELL
ABC 12.252 12.252 12.252
ABC 12.252 12.252 12.252
&END CELL
&COORD
Li 0 0 0
Li 2.042 2.042 0
Li 2.042 0 2.042
Li 0 2.042 2.042
H 0 2.042 0
H 0 0 2.042
H 2.042 0 0
H 2.042 2.042 2.042
Li 0 0 4.084
Li 2.042 2.042 4.084
Li 2.042 0 6.126
Li 0 2.042 6.126
H 0 2.042 4.084
H 0 0 6.126
H 2.042 0 4.084
H 2.042 2.042 6.126
Li 0 0 8.168
Li 2.042 2.042 8.168
Li 2.042 0 10.21
Li 0 2.042 10.21
H 0 2.042 8.168
H 0 0 10.21
H 2.042 0 8.168
H 2.042 2.042 10.21
Li 0 4.084 0
Li 2.042 6.126 0
Li 2.042 4.084 2.042
Li 0 6.126 2.042
H 0 6.126 0
H 0 4.084 2.042
H 2.042 4.084 0
H 2.042 6.126 2.042
Li 0 4.084 4.084
Li 2.042 6.126 4.084
Li 2.042 4.084 6.126
Li 0 6.126 6.126
H 0 6.126 4.084
H 0 4.084 6.126
H 2.042 4.084 4.084
H 2.042 6.126 6.126
Li 0 4.084 8.168
Li 2.042 6.126 8.168
Li 2.042 4.084 10.21
Li 0 6.126 10.21
H 0 6.126 8.168
H 0 4.084 10.21
H 2.042 4.084 8.168
H 2.042 6.126 10.21
Li 0 8.168 0
Li 2.042 10.21 0
Li 2.042 8.168 2.042
Li 0 10.21 2.042
H 0 10.21 0
H 0 8.168 2.042
H 2.042 8.168 0
H 2.042 10.21 2.042
Li 0 8.168 4.084
Li 2.042 10.21 4.084
Li 2.042 8.168 6.126
Li 0 10.21 6.126
H 0 10.21 4.084
H 0 8.168 6.126
H 2.042 8.168 4.084
H 2.042 10.21 6.126
Li 0 8.168 8.168
Li 2.042 10.21 8.168
Li 2.042 8.168 10.21
Li 0 10.21 10.21
H 0 10.21 8.168
H 0 8.168 10.21
H 2.042 8.168 8.168
H 2.042 10.21 10.21
Li 4.084 0 0
Li 6.126 2.042 0
Li 6.126 0 2.042
Li 4.084 2.042 2.042
H 4.084 2.042 0
H 4.084 0 2.042
H 6.126 0 0
H 6.126 2.042 2.042
Li 4.084 0 4.084
Li 6.126 2.042 4.084
Li 6.126 0 6.126
Li 4.084 2.042 6.126
H 4.084 2.042 4.084
H 4.084 0 6.126
H 6.126 0 4.084
H 6.126 2.042 6.126
Li 4.084 0 8.168
Li 6.126 2.042 8.168
Li 6.126 0 10.21
Li 4.084 2.042 10.21
H 4.084 2.042 8.168
H 4.084 0 10.21
H 6.126 0 8.168
H 6.126 2.042 10.21
Li 4.084 4.084 0
Li 6.126 6.126 0
Li 6.126 4.084 2.042
Li 4.084 6.126 2.042
H 4.084 6.126 0
H 4.084 4.084 2.042
H 6.126 4.084 0
H 6.126 6.126 2.042
Li 4.084 4.084 4.084
Li 6.126 6.126 4.084
Li 6.126 4.084 6.126
Li 4.084 6.126 6.126
H 4.084 6.126 4.084
H 4.084 4.084 6.126
H 6.126 4.084 4.084
H 6.126 6.126 6.126
Li 4.084 4.084 8.168
Li 6.126 6.126 8.168
Li 6.126 4.084 10.21
Li 4.084 6.126 10.21
H 4.084 6.126 8.168
H 4.084 4.084 10.21
H 6.126 4.084 8.168
H 6.126 6.126 10.21
Li 4.084 8.168 0
Li 6.126 10.21 0
Li 6.126 8.168 2.042
Li 4.084 10.21 2.042
H 4.084 10.21 0
H 4.084 8.168 2.042
H 6.126 8.168 0
H 6.126 10.21 2.042
Li 4.084 8.168 4.084
Li 6.126 10.21 4.084
Li 6.126 8.168 6.126
Li 4.084 10.21 6.126
H 4.084 10.21 4.084
H 4.084 8.168 6.126
H 6.126 8.168 4.084
H 6.126 10.21 6.126
Li 4.084 8.168 8.168
Li 6.126 10.21 8.168
Li 6.126 8.168 10.21
Li 4.084 10.21 10.21
H 4.084 10.21 8.168
H 4.084 8.168 10.21
H 6.126 8.168 8.168
H 6.126 10.21 10.21
Li 8.168 0 0
Li 10.21 2.042 0
Li 10.21 0 2.042
Li 8.168 2.042 2.042
H 8.168 2.042 0
H 8.168 0 2.042
H 10.21 0 0
H 10.21 2.042 2.042
Li 8.168 0 4.084
Li 10.21 2.042 4.084
Li 10.21 0 6.126
Li 8.168 2.042 6.126
H 8.168 2.042 4.084
H 8.168 0 6.126
H 10.21 0 4.084
H 10.21 2.042 6.126
Li 8.168 0 8.168
Li 10.21 2.042 8.168
Li 10.21 0 10.21
Li 8.168 2.042 10.21
H 8.168 2.042 8.168
H 8.168 0 10.21
H 10.21 0 8.168
H 10.21 2.042 10.21
Li 8.168 4.084 0
Li 10.21 6.126 0
Li 10.21 4.084 2.042
Li 8.168 6.126 2.042
H 8.168 6.126 0
H 8.168 4.084 2.042
H 10.21 4.084 0
H 10.21 6.126 2.042
Li 8.168 4.084 4.084
Li 10.21 6.126 4.084
Li 10.21 4.084 6.126
Li 8.168 6.126 6.126
H 8.168 6.126 4.084
H 8.168 4.084 6.126
H 10.21 4.084 4.084
H 10.21 6.126 6.126
Li 8.168 4.084 8.168
Li 10.21 6.126 8.168
Li 10.21 4.084 10.21
Li 8.168 6.126 10.21
H 8.168 6.126 8.168
H 8.168 4.084 10.21
H 10.21 4.084 8.168
H 10.21 6.126 10.21
Li 8.168 8.168 0
Li 10.21 10.21 0
Li 10.21 8.168 2.042
Li 8.168 10.21 2.042
H 8.168 10.21 0
H 8.168 8.168 2.042
H 10.21 8.168 0
H 10.21 10.21 2.042
Li 8.168 8.168 4.084
Li 10.21 10.21 4.084
Li 10.21 8.168 6.126
Li 8.168 10.21 6.126
H 8.168 10.21 4.084
H 8.168 8.168 6.126
H 10.21 8.168 4.084
H 10.21 10.21 6.126
Li 8.168 8.168 8.168
Li 10.21 10.21 8.168
Li 10.21 8.168 10.21
Li 8.168 10.21 10.21
H 8.168 10.21 8.168
H 8.168 8.168 10.21
H 10.21 8.168 8.168
H 10.21 10.21 10.21
Li 0 0 0
Li 2.042 2.042 0
Li 2.042 0 2.042
Li 0 2.042 2.042
H 0 2.042 0
H 0 0 2.042
H 2.042 0 0
H 2.042 2.042 2.042
Li 0 0 4.084
Li 2.042 2.042 4.084
Li 2.042 0 6.126
Li 0 2.042 6.126
H 0 2.042 4.084
H 0 0 6.126
H 2.042 0 4.084
H 2.042 2.042 6.126
Li 0 0 8.168
Li 2.042 2.042 8.168
Li 2.042 0 10.21
Li 0 2.042 10.21
H 0 2.042 8.168
H 0 0 10.21
H 2.042 0 8.168
H 2.042 2.042 10.21
Li 0 4.084 0
Li 2.042 6.126 0
Li 2.042 4.084 2.042
Li 0 6.126 2.042
H 0 6.126 0
H 0 4.084 2.042
H 2.042 4.084 0
H 2.042 6.126 2.042
Li 0 4.084 4.084
Li 2.042 6.126 4.084
Li 2.042 4.084 6.126
Li 0 6.126 6.126
H 0 6.126 4.084
H 0 4.084 6.126
H 2.042 4.084 4.084
H 2.042 6.126 6.126
Li 0 4.084 8.168
Li 2.042 6.126 8.168
Li 2.042 4.084 10.21
Li 0 6.126 10.21
H 0 6.126 8.168
H 0 4.084 10.21
H 2.042 4.084 8.168
H 2.042 6.126 10.21
Li 0 8.168 0
Li 2.042 10.21 0
Li 2.042 8.168 2.042
Li 0 10.21 2.042
H 0 10.21 0
H 0 8.168 2.042
H 2.042 8.168 0
H 2.042 10.21 2.042
Li 0 8.168 4.084
Li 2.042 10.21 4.084
Li 2.042 8.168 6.126
Li 0 10.21 6.126
H 0 10.21 4.084
H 0 8.168 6.126
H 2.042 8.168 4.084
H 2.042 10.21 6.126
Li 0 8.168 8.168
Li 2.042 10.21 8.168
Li 2.042 8.168 10.21
Li 0 10.21 10.21
H 0 10.21 8.168
H 0 8.168 10.21
H 2.042 8.168 8.168
H 2.042 10.21 10.21
Li 4.084 0 0
Li 6.126 2.042 0
Li 6.126 0 2.042
Li 4.084 2.042 2.042
H 4.084 2.042 0
H 4.084 0 2.042
H 6.126 0 0
H 6.126 2.042 2.042
Li 4.084 0 4.084
Li 6.126 2.042 4.084
Li 6.126 0 6.126
Li 4.084 2.042 6.126
H 4.084 2.042 4.084
H 4.084 0 6.126
H 6.126 0 4.084
H 6.126 2.042 6.126
Li 4.084 0 8.168
Li 6.126 2.042 8.168
Li 6.126 0 10.21
Li 4.084 2.042 10.21
H 4.084 2.042 8.168
H 4.084 0 10.21
H 6.126 0 8.168
H 6.126 2.042 10.21
Li 4.084 4.084 0
Li 6.126 6.126 0
Li 6.126 4.084 2.042
Li 4.084 6.126 2.042
H 4.084 6.126 0
H 4.084 4.084 2.042
H 6.126 4.084 0
H 6.126 6.126 2.042
Li 4.084 4.084 4.084
Li 6.126 6.126 4.084
Li 6.126 4.084 6.126
Li 4.084 6.126 6.126
H 4.084 6.126 4.084
H 4.084 4.084 6.126
H 6.126 4.084 4.084
H 6.126 6.126 6.126
Li 4.084 4.084 8.168
Li 6.126 6.126 8.168
Li 6.126 4.084 10.21
Li 4.084 6.126 10.21
H 4.084 6.126 8.168
H 4.084 4.084 10.21
H 6.126 4.084 8.168
H 6.126 6.126 10.21
Li 4.084 8.168 0
Li 6.126 10.21 0
Li 6.126 8.168 2.042
Li 4.084 10.21 2.042
H 4.084 10.21 0
H 4.084 8.168 2.042
H 6.126 8.168 0
H 6.126 10.21 2.042
Li 4.084 8.168 4.084
Li 6.126 10.21 4.084
Li 6.126 8.168 6.126
Li 4.084 10.21 6.126
H 4.084 10.21 4.084
H 4.084 8.168 6.126
H 6.126 8.168 4.084
H 6.126 10.21 6.126
Li 4.084 8.168 8.168
Li 6.126 10.21 8.168
Li 6.126 8.168 10.21
Li 4.084 10.21 10.21
H 4.084 10.21 8.168
H 4.084 8.168 10.21
H 6.126 8.168 8.168
H 6.126 10.21 10.21
Li 8.168 0 0
Li 10.21 2.042 0
Li 10.21 0 2.042
Li 8.168 2.042 2.042
H 8.168 2.042 0
H 8.168 0 2.042
H 10.21 0 0
H 10.21 2.042 2.042
Li 8.168 0 4.084
Li 10.21 2.042 4.084
Li 10.21 0 6.126
Li 8.168 2.042 6.126
H 8.168 2.042 4.084
H 8.168 0 6.126
H 10.21 0 4.084
H 10.21 2.042 6.126
Li 8.168 0 8.168
Li 10.21 2.042 8.168
Li 10.21 0 10.21
Li 8.168 2.042 10.21
H 8.168 2.042 8.168
H 8.168 0 10.21
H 10.21 0 8.168
H 10.21 2.042 10.21
Li 8.168 4.084 0
Li 10.21 6.126 0
Li 10.21 4.084 2.042
Li 8.168 6.126 2.042
H 8.168 6.126 0
H 8.168 4.084 2.042
H 10.21 4.084 0
H 10.21 6.126 2.042
Li 8.168 4.084 4.084
Li 10.21 6.126 4.084
Li 10.21 4.084 6.126
Li 8.168 6.126 6.126
H 8.168 6.126 4.084
H 8.168 4.084 6.126
H 10.21 4.084 4.084
H 10.21 6.126 6.126
Li 8.168 4.084 8.168
Li 10.21 6.126 8.168
Li 10.21 4.084 10.21
Li 8.168 6.126 10.21
H 8.168 6.126 8.168
H 8.168 4.084 10.21
H 10.21 4.084 8.168
H 10.21 6.126 10.21
Li 8.168 8.168 0
Li 10.21 10.21 0
Li 10.21 8.168 2.042
Li 8.168 10.21 2.042
H 8.168 10.21 0
H 8.168 8.168 2.042
H 10.21 8.168 0
H 10.21 10.21 2.042
Li 8.168 8.168 4.084
Li 10.21 10.21 4.084
Li 10.21 8.168 6.126
Li 8.168 10.21 6.126
H 8.168 10.21 4.084
H 8.168 8.168 6.126
H 10.21 8.168 4.084
H 10.21 10.21 6.126
Li 8.168 8.168 8.168
Li 10.21 10.21 8.168
Li 10.21 8.168 10.21
Li 8.168 10.21 10.21
H 8.168 10.21 8.168
H 8.168 8.168 10.21
H 10.21 8.168 8.168
H 10.21 10.21 10.21
&END COORD
&KIND H
BASIS_SET OPT2
@ -282,15 +294,3 @@ H 10.21 10.21 10.21
&END KIND
&END SUBSYS
&END FORCE_EVAL
&GLOBAL
PROJECT LiH_bulk_3
PRINT_LEVEL MEDIUM
RUN_TYPE ENERGY
&END GLOBAL
&MOTION
&MD
TEMPERATURE 300
TIMESTEP 0.5
STEPS 5
&END
&END

View file

@ -3,268 +3,248 @@
@SET PROJECT nm211_elpa_bench
@SET RESFILE nm211_elpa_first100i
@SET XYZ ${INPDIR}/nm_211.xyz
@SET RUN ENERGY_FORCE
@SET TIME 40000
@SET RESTART 0
@SET HESSIAN 0
@SET PROPERTIES 0
@SET GUESS RESTART
@SET EPSSCF 1.E-7
@SET FORCE 5.E-4
@SET STM 0
@SET WANNIER 0
@SET PDOS 0
@SET CUBE 0
&GLOBAL
PREFERRED_DIAG_LIBRARY ELPA
PRINT_LEVEL LOW
PROJECT ${PROJECT}
PRINT_LEVEL LOW
RUN_TYPE ${RUN}
WALLTIME ${TIME}
PREFERRED_DIAG_LIBRARY ELPA
WALLTIME ${TIME}
&END GLOBAL
&MOTION
&GEO_OPT
TYPE MINIMIZATION
OPTIMIZER BFGS
MAX_ITER 300
&CONSTRAINT
&FIXED_ATOMS
LIST 5 6 7 8 13 14 15 16 21 22 23 24 29 30 31 32 37 38 39 40 45 46 47 48 53 54 55 56 61 62 63
LIST 64 69 70 71 72 77 78 79 80 85 86 87 88 93 94 95 96 101 102 103 104 109 110 111 112 117 118 119 120 125
LIST 126 127 128 133 134 135 136 141 142 143 144 149 150 151 152 157 158 159 160 165 166 167 168 173
LIST 174 175 176 181 182 183 184 189 190 191 192 197 198 199 200 205 206 207 208 213 214 215 216 221 222 223
LIST 224 229 230 231 232 237 238 239 240 245 246 247 248 253 254 255 256 261 262 263 264 269
LIST 270 271 272 277 278 279 280 285 286 287 288
&END FIXED_ATOMS
&END CONSTRAINT
&GEO_OPT
MAX_FORCE ${FORCE}
MAX_ITER 300
OPTIMIZER BFGS
RMS_FORCE ${FORCE}
TYPE MINIMIZATION
&BFGS
# TRUST_RADIUS 0.05
@if ${HESSIAN} == 1
# TRUST_RADIUS 0.05
@IF ${HESSIAN} == 1
RESTART_HESSIAN
RESTART_FILE_NAME ${WRKDIR}/${RESFILE}-BFGS.Hessian
@endif
&END
&END GEO_OPT
@ENDIF
&END BFGS
&END GEO_OPT
&PRINT
&RESTART
ADD_LAST NUMERIC
&EACH
MD 1
&END EACH
&END RESTART
&RESTART_HISTORY OFF
&END RESTART_HISTORY
&TRAJECTORY
&EACH
MD 1
&END
&END
&RESTART
&EACH
MD 1
&END
ADD_LAST NUMERIC
&END
&RESTART_HISTORY OFF
&END
&END
&CONSTRAINT
&FIXED_ATOMS
LIST 5 6 7 8 13 14 15 16 21 22 23 24 29 30 31 32 37 38 39 40 45 46 47 48 53 54 55 56 61 62 63
LIST 64 69 70 71 72 77 78 79 80 85 86 87 88 93 94 95 96 101 102 103 104 109 110 111 112 117 118 119 120 125
LIST 126 127 128 133 134 135 136 141 142 143 144 149 150 151 152 157 158 159 160 165 166 167 168 173
LIST 174 175 176 181 182 183 184 189 190 191 192 197 198 199 200 205 206 207 208 213 214 215 216 221 222 223
LIST 224 229 230 231 232 237 238 239 240 245 246 247 248 253 254 255 256 261 262 263 264 269
LIST 270 271 272 277 278 279 280 285 286 287 288
&END FIXED_ATOMS
&END CONSTRAINT
&END EACH
&END TRAJECTORY
&END PRINT
&END MOTION
&FORCE_EVAL
METHOD QS
&PRINT
&FORCES
&EACH
QS_SCF 0
&END
FILENAME =${PROJECT}.forces
ADD_LAST NUMERIC
&END
&DISTRIBUTION
&END
&END
&DFT
BASIS_SET_FILE_NAME BASIS_MOLOPT
POTENTIAL_FILE_NAME GTH_POTENTIALS
RESTART_FILE_NAME ${WRKDIR}/${RESFILE}-RESTART.wfn
BASIS_SET_FILE_NAME BASIS_MOLOPT
POTENTIAL_FILE_NAME GTH_POTENTIALS
RESTART_FILE_NAME ${WRKDIR}/${RESFILE}-RESTART.wfn
&MGRID
NGRIDS 5
CUTOFF 500
NGRIDS 5
REL_CUTOFF 50
&END MGRID
&QS
EXTRAPOLATION PS
EXTRAPOLATION_ORDER 4
METHOD GPW
EXTRAPOLATION PS
EXTRAPOLATION_ORDER 4
&END QS
&SCF
SCF_GUESS ${GUESS}
ADDED_MOS 700
CHOLESKY INVERSE_DBCSR
EPS_SCF ${EPSSCF}
MAX_SCF 15
ADDED_MOS 700
CHOLESKY INVERSE_DBCSR
# CHOLESKY INVERSE
&SMEAR ON
METHOD FERMI_DIRAC
ELECTRONIC_TEMPERATURE [K] 300
&END SMEAR
SCF_GUESS ${GUESS}
&DIAGONALIZATION
ALGORITHM STANDARD
EPS_ADAPT 0.01
ALGORITHM STANDARD
EPS_ADAPT 0.01
&END DIAGONALIZATION
&MIXING
METHOD BROYDEN_MIXING
ALPHA 0.2
BETA 1.5
NBROYDEN 8
&END
ALPHA 0.2
BETA 1.5
METHOD BROYDEN_MIXING
NBROYDEN 8
&END MIXING
&PRINT
&RESTART
&EACH
QS_SCF 50
&END
ADD_LAST NUMERIC
&END
&END
&EACH
QS_SCF 50
&END EACH
&END RESTART
&END PRINT
# CHOLESKY INVERSE
&SMEAR ON
ELECTRONIC_TEMPERATURE [K] 300
METHOD FERMI_DIRAC
&END SMEAR
&END SCF
&XC
&XC_FUNCTIONAL
&PBE
&END
&END XC_FUNCTIONAL
&XC_GRID
XC_SMOOTH_RHO NN50
XC_DERIV NN50_SMOOTH
&END
&VDW_POTENTIAL
POTENTIAL_TYPE NON_LOCAL
POTENTIAL_TYPE NON_LOCAL
&NON_LOCAL
KERNEL_FILE_NAME rVV10_kernel_table.dat
TYPE RVV10
VERBOSE_OUTPUT
KERNEL_FILE_NAME rVV10_kernel_table.dat
&END NON_LOCAL
&END VDW_POTENTIAL
&XC_FUNCTIONAL
&PBE
&END PBE
&END XC_FUNCTIONAL
&XC_GRID
XC_DERIV NN50_SMOOTH
XC_SMOOTH_RHO NN50
&END XC_GRID
&END XC
@if ${WANNIER} == 1
@IF ${WANNIER} == 1
&LOCALIZE
METHOD JACOBI
EPS_LOCALIZATION 1.0E-4
OUT_ITER_EACH 10
MAX_ITER 6000
EPS_OCCUPATION 1.E-4
&PRINT
&WANNIER_CENTERS
EPS_LOCALIZATION 1.0E-4
EPS_OCCUPATION 1.E-4
MAX_ITER 6000
METHOD JACOBI
OUT_ITER_EACH 10
&PRINT
&LOC_RESTART
&END LOC_RESTART
&WANNIER_CENTERS
IONS+CENTERS
&END
&WANNIER_SPREADS
&END
&LOC_RESTART
&END
&END
&END
@endif
&END WANNIER_CENTERS
&WANNIER_SPREADS
&END WANNIER_SPREADS
&END PRINT
&END LOCALIZE
@ENDIF
&PRINT
@if ${CUBE} == 1
&MULLIKEN
FILENAME =${PROJECT}.mulliken
&END
&tot_density_cube
&EACH
QS_SCF 0
&END
ADD_LAST NUMERIC
&END
&V_HARTREE_CUBE
FILENAME =${PROJECT}_espot.cube
&END
&ELF_CUBE
&EACH
QS_SCF 0
&END
@IF ${CUBE} == 1
&MULLIKEN
FILENAME =${PROJECT}.mulliken
&END MULLIKEN
&TOT_DENSITY_CUBE
ADD_LAST NUMERIC
&END
@endif
@if ${STM} == 1
&EACH
QS_SCF 0
&END EACH
&END TOT_DENSITY_CUBE
&V_HARTREE_CUBE
FILENAME =${PROJECT}_espot.cube
&END V_HARTREE_CUBE
&ELF_CUBE
ADD_LAST NUMERIC
&EACH
QS_SCF 0
&END EACH
&END ELF_CUBE
@ENDIF
@IF ${STM} == 1
&STM
TH_TORB S
BIAS [eV] -2.0 -1.0 1.0 2.0
&END
@endif
@if ${PDOS} ==1
TH_TORB S
&END STM
@ENDIF
@IF ${PDOS} ==1
&PDOS
NLUMO 2500
COMPONENTS
# Ar under BN in Nhcp-Btop region;
# N close to Ar (wxa)
NLUMO 2500
# Ar under BN in Nhcp-Btop region;
# N close to Ar (wxa)
&LDOS
LIST 815 802 814
COMPONENTS
&END
# B close to Ar (wxa)
COMPONENTS
LIST 815 802 814
&END LDOS
# B close to Ar (wxa)
&LDOS
LIST 634 635 645
COMPONENTS
&END
# Rh close to Ar (wxa)
COMPONENTS
LIST 634 635 645
&END LDOS
# Rh close to Ar (wxa)
&LDOS
LIST 9 17 57
COMPONENTS
&END
COMPONENTS
LIST 9 17 57
&END LDOS
&END PDOS
@endif
&END
@ENDIF
&END PRINT
&END DFT
&PRINT
&DISTRIBUTION
&END DISTRIBUTION
&FORCES
ADD_LAST NUMERIC
FILENAME =${PROJECT}.forces
&EACH
QS_SCF 0
&END EACH
&END FORCES
&END PRINT
&SUBSYS
&CELL
A 64.50562 0.00000 0.00000
B 16.12643 27.93182 0.00000
C 0.00000 0.00000 30.0
A 64.50562 0.00000 0.00000
B 16.12643 27.93182 0.00000
C 0.00000 0.00000 30.0
&END CELL
&TOPOLOGY
COORD_FILE_NAME ${XYZ}
COORDINATE XYZ
CONNECTIVITY OFF
&END TOPOLOGY
&KIND Rh
BASIS_SET SZVP-MOLOPT-SR-GTH-q9
POTENTIAL GTH-PBE-q9
&END KIND
&KIND B
BASIS_SET DZVP-MOLOPT-SR-GTH
POTENTIAL GTH-PBE-q3
&END
&END KIND
&KIND N
BASIS_SET DZVP-MOLOPT-SR-GTH
POTENTIAL GTH-PBE-q5
&END
&END KIND
&KIND Ar
BASIS_SET DZVP-MOLOPT-SR-GTH
POTENTIAL GTH-PBE-q8
&END KIND
&TOPOLOGY
CONNECTIVITY OFF
COORDINATE XYZ
COORD_FILE_NAME ${XYZ}
&END TOPOLOGY
&END SUBSYS
&END FORCE_EVAL
@if ${RESTART} == 1
@IF ${RESTART} == 1
&EXT_RESTART
RESTART_FILE_NAME ${WRKDIR}/${RESFILE}-1.restart
RESTART_COUNTERS T
RESTART_POS T
RESTART_BAND T
&END
@endif
RESTART_BAND T
RESTART_COUNTERS T
RESTART_FILE_NAME ${WRKDIR}/${RESFILE}-1.restart
RESTART_POS T
&END EXT_RESTART
@ENDIF

View file

@ -3,19 +3,15 @@
@SET PROJECT nm211_pbed3_el_chd
@SET RESFILE nm211_pbed3_p
@SET XYZ ${INPDIR}/nm211_pbed3_opt.xyz
@SET RUN ENERGY_FORCE
@SET TIME 40000
@SET RESTART 0
@SET HESSIAN 0
@SET PROPERTIES 0
@SET GUESS ATOMIC
@SET LSD 0
@SET VV10 0
@SET D3 1
@SET MAXSCF 10
@SET EPSSCF 1.E-7
@SET FORCE 1.E-4
@ -23,271 +19,253 @@
@SET CUTOFF 500
@SET NG 5
@SET ADDED 1300
@SET WANNIER 0
@SET STM 0
@SET CUBE 0
@SET PDOS 0
&GLOBAL
PREFERRED_DIAG_LIBRARY ELPA
PRINT_LEVEL LOW
PROJECT ${PROJECT}
PRINT_LEVEL LOW
RUN_TYPE ${RUN}
PREFERRED_DIAG_LIBRARY ELPA
WALLTIME ${TIME}
WALLTIME ${TIME}
&END GLOBAL
&MOTION
&GEO_OPT
TYPE MINIMIZATION
OPTIMIZER BFGS
MAX_ITER 300
&CONSTRAINT
&FIXED_ATOMS
LIST 5 6 7 8 13 14 15 16 21 22 23 24 29 30 31 32 37 38 39 40 45 46 47 48 53 54 55 56 61 62 63
LIST 64 69 70 71 72 77 78 79 80 85 86 87 88 93 94 95 96 101 102 103 104 109 110 111 112 117 118 119 120 125
LIST 126 127 128 133 134 135 136 141 142 143 144 149 150 151 152 157 158 159 160 165 166 167 168 173
LIST 174 175 176 181 182 183 184 189 190 191 192 197 198 199 200 205 206 207 208 213 214 215 216 221 222 223
LIST 224 229 230 231 232 237 238 239 240 245 246 247 248 253 254 255 256 261 262 263 264 269
LIST 270 271 272 277 278 279 280 285 286 287 288
&END FIXED_ATOMS
&END CONSTRAINT
&GEO_OPT
MAX_FORCE ${FORCE}
MAX_ITER 300
OPTIMIZER BFGS
RMS_FORCE ${FORCE}
TYPE MINIMIZATION
&BFGS
# TRUST_RADIUS 0.05
@if ${HESSIAN} == 1
# TRUST_RADIUS 0.05
@IF ${HESSIAN} == 1
RESTART_HESSIAN
RESTART_FILE_NAME ${WRKDIR}/${RESFILE}-BFGS.Hessian
@endif
&END
&END GEO_OPT
@ENDIF
&END BFGS
&END GEO_OPT
&PRINT
&RESTART
ADD_LAST NUMERIC
&EACH
MD 1
&END EACH
&END RESTART
&RESTART_HISTORY OFF
&END RESTART_HISTORY
&TRAJECTORY
&EACH
MD 1
&END
&END
&RESTART
&EACH
MD 1
&END
ADD_LAST NUMERIC
&END
&RESTART_HISTORY OFF
&END
&END
&CONSTRAINT
&FIXED_ATOMS
LIST 5 6 7 8 13 14 15 16 21 22 23 24 29 30 31 32 37 38 39 40 45 46 47 48 53 54 55 56 61 62 63
LIST 64 69 70 71 72 77 78 79 80 85 86 87 88 93 94 95 96 101 102 103 104 109 110 111 112 117 118 119 120 125
LIST 126 127 128 133 134 135 136 141 142 143 144 149 150 151 152 157 158 159 160 165 166 167 168 173
LIST 174 175 176 181 182 183 184 189 190 191 192 197 198 199 200 205 206 207 208 213 214 215 216 221 222 223
LIST 224 229 230 231 232 237 238 239 240 245 246 247 248 253 254 255 256 261 262 263 264 269
LIST 270 271 272 277 278 279 280 285 286 287 288
&END FIXED_ATOMS
&END CONSTRAINT
&END EACH
&END TRAJECTORY
&END PRINT
&END MOTION
&FORCE_EVAL
METHOD QS
&PRINT
&FORCES OFF
&EACH
QS_SCF 0
&END
FILENAME =${PROJECT}.forces
ADD_LAST NUMERIC
&END
&DISTRIBUTION
&END
&END
&DFT
BASIS_SET_FILE_NAME BASIS_MOLOPT
POTENTIAL_FILE_NAME GTH_POTENTIALS
RESTART_FILE_NAME ${WRKDIR}/${RESFILE}-RESTART.wfn
BASIS_SET_FILE_NAME BASIS_MOLOPT
POTENTIAL_FILE_NAME GTH_POTENTIALS
RESTART_FILE_NAME ${WRKDIR}/${RESFILE}-RESTART.wfn
&MGRID
NGRIDS ${NG}
CUTOFF ${CUTOFF}
NGRIDS ${NG}
REL_CUTOFF ${RELCUTOFF}
&END MGRID
&QS
EXTRAPOLATION PS
EXTRAPOLATION_ORDER 4
METHOD GPW
EXTRAPOLATION PS
EXTRAPOLATION_ORDER 4
&END QS
&SCF
SCF_GUESS ${GUESS}
ADDED_MOS ${ADDED}
CHOLESKY INVERSE_DBCSR
EPS_SCF ${EPSSCF}
MAX_SCF ${MAXSCF}
ADDED_MOS ${ADDED}
CHOLESKY INVERSE_DBCSR
&SMEAR ON
METHOD FERMI_DIRAC
ELECTRONIC_TEMPERATURE [K] 300
&END SMEAR
SCF_GUESS ${GUESS}
&DIAGONALIZATION
ALGORITHM STANDARD
EPS_ADAPT 0.01
ALGORITHM STANDARD
EPS_ADAPT 0.01
&END DIAGONALIZATION
&MIXING
METHOD BROYDEN_MIXING
ALPHA 0.2
BETA 1.5
NBROYDEN 8
&END
ALPHA 0.2
BETA 1.5
METHOD BROYDEN_MIXING
NBROYDEN 8
&END MIXING
&PRINT
&RESTART
&EACH
QS_SCF 50
&END
ADD_LAST NUMERIC
&END
&END
&EACH
QS_SCF 50
&END EACH
&END RESTART
&END PRINT
&SMEAR ON
ELECTRONIC_TEMPERATURE [K] 300
METHOD FERMI_DIRAC
&END SMEAR
&END SCF
&XC
&XC_FUNCTIONAL
&PBE
&END
&END XC_FUNCTIONAL
&XC_GRID
XC_SMOOTH_RHO NN50
XC_DERIV NN50_SMOOTH
&END
&VDW_POTENTIAL
@if ${VV10} == 1
POTENTIAL_TYPE NON_LOCAL
@IF ${VV10} == 1
POTENTIAL_TYPE NON_LOCAL
&NON_LOCAL
KERNEL_FILE_NAME rVV10_kernel_table.dat
TYPE RVV10
VERBOSE_OUTPUT
KERNEL_FILE_NAME rVV10_kernel_table.dat
&END NON_LOCAL
@endif
@if ${D3} == 1
POTENTIAL_TYPE PAIR_POTENTIAL
&PAIR_POTENTIAL
TYPE DFTD3
@ENDIF
@IF ${D3} == 1
POTENTIAL_TYPE PAIR_POTENTIAL
&PAIR_POTENTIAL
CALCULATE_C9_TERM .TRUE.
REFERENCE_C9_TERM .TRUE.
EPS_CN 1.0E-6
PARAMETER_FILE_NAME dftd3.dat
! VERBOSE_OUTPUT .TRUE.
REFERENCE_C9_TERM .TRUE.
! VERBOSE_OUTPUT .TRUE.
REFERENCE_FUNCTIONAL PBE
R_CUTOFF [angstrom] 16.
EPS_CN 1.0E-6
&END
@endif
TYPE DFTD3
&END PAIR_POTENTIAL
@ENDIF
&END VDW_POTENTIAL
&XC_FUNCTIONAL
&PBE
&END PBE
&END XC_FUNCTIONAL
&XC_GRID
XC_DERIV NN50_SMOOTH
XC_SMOOTH_RHO NN50
&END XC_GRID
&END XC
@if ${WANNIER} == 1
@IF ${WANNIER} == 1
&LOCALIZE
METHOD JACOBI
EPS_LOCALIZATION 1.0E-4
OUT_ITER_EACH 10
MAX_ITER 6000
EPS_OCCUPATION 1.E-4
&PRINT
&WANNIER_CENTERS
EPS_LOCALIZATION 1.0E-4
EPS_OCCUPATION 1.E-4
MAX_ITER 6000
METHOD JACOBI
OUT_ITER_EACH 10
&PRINT
&LOC_RESTART
&END LOC_RESTART
&WANNIER_CENTERS
IONS+CENTERS
&END
&WANNIER_SPREADS
&END
&LOC_RESTART
&END
&END
&END
@endif
&END WANNIER_CENTERS
&WANNIER_SPREADS
&END WANNIER_SPREADS
&END PRINT
&END LOCALIZE
@ENDIF
&PRINT
@if ${CUBE} == 1
&MULLIKEN
FILENAME =${PROJECT}.mulliken
&END
&tot_density_cube
&EACH
QS_SCF 0
&END
ADD_LAST NUMERIC
&END
&V_HARTREE_CUBE
FILENAME =${PROJECT}_espot.cube
&END
&ELF_CUBE
&EACH
QS_SCF 0
&END
@IF ${CUBE} == 1
&MULLIKEN
FILENAME =${PROJECT}.mulliken
&END MULLIKEN
&TOT_DENSITY_CUBE
ADD_LAST NUMERIC
&END
@endif
@if ${STM} == 1
&EACH
QS_SCF 0
&END EACH
&END TOT_DENSITY_CUBE
&V_HARTREE_CUBE
FILENAME =${PROJECT}_espot.cube
&END V_HARTREE_CUBE
&ELF_CUBE
ADD_LAST NUMERIC
&EACH
QS_SCF 0
&END EACH
&END ELF_CUBE
@ENDIF
@IF ${STM} == 1
&STM
TH_TORB S
BIAS [eV] -2.0 -1.0 1.0 2.0
&END
@endif
@if ${PDOS} ==1
TH_TORB S
&END STM
@ENDIF
@IF ${PDOS} ==1
&PDOS
NLUMO 2500
COMPONENTS
# Rh pore, under N pore, 74 atoms
NLUMO 2500
# Rh pore, under N pore, 74 atoms
&LDOS
LIST 252 107 268 100 41 266 34 179 163 249 146 154 242 281 185 194 273 233 202
LIST 106 225 98 43 35 178 265 250 161 260 4 27 177 162 137 114 59 58 60 20 83 11
LIST 210 217 66 91 50 75 82 81 19 121 130 12 171 257 122 258 129 2 52 67 169 170
LIST 26 74 18 10 89 218 115 139 209 123 131
COMPONENTS
&END
# Rh wire, under B wire, 40 atoms
COMPONENTS
LIST 252 107 268 100 41 266 34 179 163 249 146 154 242 281 185 194 273 233 202
LIST 106 225 98 43 35 178 265 250 161 260 4 27 177 162 137 114 59 58 60 20 83 11
LIST 210 217 66 91 50 75 82 81 19 121 130 12 171 257 122 258 129 2 52 67 169 170
LIST 26 74 18 10 89 218 115 139 209 123 131
&END LDOS
# Rh wire, under B wire, 40 atoms
&LDOS
LIST 1 9 17 25 36 44 49 57 65 76 84 92 97 105 116 124 132 140 145 147 148 156 164
LIST 172 180 188 193 195 196 203 204 227 228 234 235 236 243 251 259 267
LIST 275 282 283 284
COMPONENTS
&END
COMPONENTS
LIST 1 9 17 25 36 44 49 57 65 76 84 92 97 105 116 124 132 140 145 147 148 156 164
LIST 172 180 188 193 195 196 203 204 227 228 234 235 236 243 251 259 267
LIST 275 282 283 284
&END LDOS
&END PDOS
@endif
&END PRINT
@ENDIF
&END PRINT
&END DFT
&PRINT
&DISTRIBUTION
&END DISTRIBUTION
&FORCES OFF
ADD_LAST NUMERIC
FILENAME =${PROJECT}.forces
&EACH
QS_SCF 0
&END EACH
&END FORCES
&END PRINT
&SUBSYS
&CELL
A 64.50562 0.00000 0.00000
B 16.12643 27.93182 0.00000
C 0.00000 0.00000 30.00000
A 64.50562 0.00000 0.00000
B 16.12643 27.93182 0.00000
C 0.00000 0.00000 30.00000
&END CELL
&TOPOLOGY
COORD_FILE_NAME ${XYZ}
COORDINATE XYZ
CONNECTIVITY OFF
&END TOPOLOGY
&KIND Rh
BASIS_SET SZVP-MOLOPT-SR-GTH-q9
POTENTIAL GTH-PBE-q9
&END KIND
&KIND B
BASIS_SET DZVP-MOLOPT-SR-GTH
POTENTIAL GTH-PBE-q3
&END
&END KIND
&KIND N
BASIS_SET DZVP-MOLOPT-SR-GTH
POTENTIAL GTH-PBE-q5
&END
&END KIND
&KIND Ar
BASIS_SET DZVP-MOLOPT-SR-GTH
POTENTIAL GTH-PBE-q8
&END KIND
&TOPOLOGY
CONNECTIVITY OFF
COORDINATE XYZ
COORD_FILE_NAME ${XYZ}
&END TOPOLOGY
&END SUBSYS
&END FORCE_EVAL
@if ${RESTART} == 1
@IF ${RESTART} == 1
&EXT_RESTART
RESTART_FILE_NAME ${WRKDIR}/${RESFILE}-1.restart
RESTART_COUNTERS T
RESTART_POS T
RESTART_BAND T
&END
@endif
RESTART_BAND T
RESTART_COUNTERS T
RESTART_FILE_NAME ${WRKDIR}/${RESFILE}-1.restart
RESTART_POS T
&END EXT_RESTART
@ENDIF

View file

@ -3,19 +3,15 @@
@SET PROJECT nm221_pbed3_el_chd
@SET RESFILE nm221_pbed3_p
@SET XYZ ${INPDIR}/nm221_pbed3_opt.xyz
@SET RUN ENERGY_FORCE
@SET TIME 40000
@SET RESTART 0
@SET HESSIAN 0
@SET PROPERTIES 0
@SET GUESS ATOMIC
@SET LSD 0
@SET VV10 0
@SET D3 1
@SET MAXSCF 10
@SET EPSSCF 1.E-7
@SET FORCE 1.E-4
@ -23,224 +19,211 @@
@SET CUTOFF 500
@SET NG 5
@SET ADDED 2000
@SET WANNIER 0
@SET STM 0
@SET CUBE 0
@SET PDOS 0
&GLOBAL
PREFERRED_DIAG_LIBRARY ELPA
PRINT_LEVEL LOW
PROJECT ${PROJECT}
PRINT_LEVEL LOW
RUN_TYPE ${RUN}
PREFERRED_DIAG_LIBRARY ELPA
WALLTIME ${TIME}
WALLTIME ${TIME}
&END GLOBAL
&FORCE_EVAL
METHOD QS
&PRINT
&FORCES OFF
&EACH
QS_SCF 0
&END
FILENAME =${PROJECT}.forces
ADD_LAST NUMERIC
&END
&DISTRIBUTION
&END
&END
&DFT
BASIS_SET_FILE_NAME BASIS_MOLOPT
POTENTIAL_FILE_NAME GTH_POTENTIALS
RESTART_FILE_NAME ${WRKDIR}/${RESFILE}-RESTART.wfn
BASIS_SET_FILE_NAME BASIS_MOLOPT
POTENTIAL_FILE_NAME GTH_POTENTIALS
RESTART_FILE_NAME ${WRKDIR}/${RESFILE}-RESTART.wfn
&MGRID
NGRIDS ${NG}
CUTOFF ${CUTOFF}
NGRIDS ${NG}
REL_CUTOFF ${RELCUTOFF}
&END MGRID
&QS
EXTRAPOLATION PS
EXTRAPOLATION_ORDER 4
METHOD GPW
EXTRAPOLATION PS
EXTRAPOLATION_ORDER 4
&END QS
&SCF
SCF_GUESS ${GUESS}
ADDED_MOS ${ADDED}
CHOLESKY INVERSE_DBCSR
EPS_SCF ${EPSSCF}
MAX_SCF ${MAXSCF}
ADDED_MOS ${ADDED}
CHOLESKY INVERSE_DBCSR
&SMEAR ON
METHOD FERMI_DIRAC
ELECTRONIC_TEMPERATURE [K] 300
&END SMEAR
SCF_GUESS ${GUESS}
&DIAGONALIZATION
ALGORITHM STANDARD
EPS_ADAPT 0.01
ALGORITHM STANDARD
EPS_ADAPT 0.01
&END DIAGONALIZATION
&MIXING
METHOD BROYDEN_MIXING
ALPHA 0.2
BETA 1.5
NBROYDEN 8
&END
ALPHA 0.2
BETA 1.5
METHOD BROYDEN_MIXING
NBROYDEN 8
&END MIXING
&PRINT
&RESTART
&EACH
QS_SCF 50
&END
ADD_LAST NUMERIC
&END
&END
&EACH
QS_SCF 50
&END EACH
&END RESTART
&END PRINT
&SMEAR ON
ELECTRONIC_TEMPERATURE [K] 300
METHOD FERMI_DIRAC
&END SMEAR
&END SCF
&XC
&XC_FUNCTIONAL
&PBE
&END
&END XC_FUNCTIONAL
&XC_GRID
XC_SMOOTH_RHO NN50
XC_DERIV NN50_SMOOTH
&END
&VDW_POTENTIAL
@if ${VV10} == 1
POTENTIAL_TYPE NON_LOCAL
@IF ${VV10} == 1
POTENTIAL_TYPE NON_LOCAL
&NON_LOCAL
KERNEL_FILE_NAME rVV10_kernel_table.dat
TYPE RVV10
VERBOSE_OUTPUT
KERNEL_FILE_NAME rVV10_kernel_table.dat
&END NON_LOCAL
@endif
@if ${D3} == 1
POTENTIAL_TYPE PAIR_POTENTIAL
&PAIR_POTENTIAL
TYPE DFTD3
@ENDIF
@IF ${D3} == 1
POTENTIAL_TYPE PAIR_POTENTIAL
&PAIR_POTENTIAL
CALCULATE_C9_TERM .TRUE.
REFERENCE_C9_TERM .TRUE.
EPS_CN 1.0E-6
PARAMETER_FILE_NAME dftd3.dat
! VERBOSE_OUTPUT .TRUE.
REFERENCE_C9_TERM .TRUE.
! VERBOSE_OUTPUT .TRUE.
REFERENCE_FUNCTIONAL PBE
R_CUTOFF [angstrom] 16.
EPS_CN 1.0E-6
&END
@endif
TYPE DFTD3
&END PAIR_POTENTIAL
@ENDIF
&END VDW_POTENTIAL
&XC_FUNCTIONAL
&PBE
&END PBE
&END XC_FUNCTIONAL
&XC_GRID
XC_DERIV NN50_SMOOTH
XC_SMOOTH_RHO NN50
&END XC_GRID
&END XC
@if ${WANNIER} == 1
@IF ${WANNIER} == 1
&LOCALIZE
METHOD JACOBI
EPS_LOCALIZATION 1.0E-4
OUT_ITER_EACH 10
MAX_ITER 6000
EPS_OCCUPATION 1.E-4
&PRINT
&WANNIER_CENTERS
EPS_LOCALIZATION 1.0E-4
EPS_OCCUPATION 1.E-4
MAX_ITER 6000
METHOD JACOBI
OUT_ITER_EACH 10
&PRINT
&LOC_RESTART
&END LOC_RESTART
&WANNIER_CENTERS
IONS+CENTERS
&END
&WANNIER_SPREADS
&END
&LOC_RESTART
&END
&END
&END
@endif
&END WANNIER_CENTERS
&WANNIER_SPREADS
&END WANNIER_SPREADS
&END PRINT
&END LOCALIZE
@ENDIF
&PRINT
@if ${CUBE} == 1
&MULLIKEN
FILENAME =${PROJECT}.mulliken
&END
&tot_density_cube
&EACH
QS_SCF 0
&END
ADD_LAST NUMERIC
&END
&V_HARTREE_CUBE
FILENAME =${PROJECT}_espot.cube
&END
&ELF_CUBE
&EACH
QS_SCF 0
&END
@IF ${CUBE} == 1
&MULLIKEN
FILENAME =${PROJECT}.mulliken
&END MULLIKEN
&TOT_DENSITY_CUBE
ADD_LAST NUMERIC
&END
@endif
@if ${STM} == 1
&EACH
QS_SCF 0
&END EACH
&END TOT_DENSITY_CUBE
&V_HARTREE_CUBE
FILENAME =${PROJECT}_espot.cube
&END V_HARTREE_CUBE
&ELF_CUBE
ADD_LAST NUMERIC
&EACH
QS_SCF 0
&END EACH
&END ELF_CUBE
@ENDIF
@IF ${STM} == 1
&STM
TH_TORB S
BIAS [eV] -2.0 -1.0 1.0 2.0
&END
@endif
@if ${PDOS} ==1
TH_TORB S
&END STM
@ENDIF
@IF ${PDOS} ==1
&PDOS
NLUMO 2500
COMPONENTS
# Rh pore, under N pore, 74 atoms
NLUMO 2500
# Rh pore, under N pore, 74 atoms
&LDOS
LIST 252 107 268 100 41 266 34 179 163 249 146 154 242 281 185 194 273 233 202
LIST 106 225 98 43 35 178 265 250 161 260 4 27 177 162 137 114 59 58 60 20 83 11
LIST 210 217 66 91 50 75 82 81 19 121 130 12 171 257 122 258 129 2 52 67 169 170
LIST 26 74 18 10 89 218 115 139 209 123 131
COMPONENTS
&END
# Rh wire, under B wire, 40 atoms
COMPONENTS
LIST 252 107 268 100 41 266 34 179 163 249 146 154 242 281 185 194 273 233 202
LIST 106 225 98 43 35 178 265 250 161 260 4 27 177 162 137 114 59 58 60 20 83 11
LIST 210 217 66 91 50 75 82 81 19 121 130 12 171 257 122 258 129 2 52 67 169 170
LIST 26 74 18 10 89 218 115 139 209 123 131
&END LDOS
# Rh wire, under B wire, 40 atoms
&LDOS
LIST 1 9 17 25 36 44 49 57 65 76 84 92 97 105 116 124 132 140 145 147 148 156 164
LIST 172 180 188 193 195 196 203 204 227 228 234 235 236 243 251 259 267
LIST 275 282 283 284
COMPONENTS
&END
COMPONENTS
LIST 1 9 17 25 36 44 49 57 65 76 84 92 97 105 116 124 132 140 145 147 148 156 164
LIST 172 180 188 193 195 196 203 204 227 228 234 235 236 243 251 259 267
LIST 275 282 283 284
&END LDOS
&END PDOS
@endif
&END PRINT
@ENDIF
&END PRINT
&END DFT
&PRINT
&DISTRIBUTION
&END DISTRIBUTION
&FORCES OFF
ADD_LAST NUMERIC
FILENAME =${PROJECT}.forces
&EACH
QS_SCF 0
&END EACH
&END FORCES
&END PRINT
&SUBSYS
&CELL
A 64.50562 0.00000 0.00000
B 32.25286 55.86364 0.00000
C 0.00000 0.00000 30.0
A 64.50562 0.00000 0.00000
B 32.25286 55.86364 0.00000
C 0.00000 0.00000 30.0
&END CELL
&TOPOLOGY
COORD_FILE_NAME ${XYZ}
COORDINATE XYZ
CONNECTIVITY OFF
&END TOPOLOGY
&KIND Rh
BASIS_SET SZVP-MOLOPT-SR-GTH-q9
POTENTIAL GTH-PBE-q9
&END KIND
&KIND B
BASIS_SET DZVP-MOLOPT-SR-GTH
POTENTIAL GTH-PBE-q3
&END
&END KIND
&KIND N
BASIS_SET DZVP-MOLOPT-SR-GTH
POTENTIAL GTH-PBE-q5
&END
&END KIND
&KIND Ar
BASIS_SET DZVP-MOLOPT-SR-GTH
POTENTIAL GTH-PBE-q8
&END KIND
&TOPOLOGY
CONNECTIVITY OFF
COORDINATE XYZ
COORD_FILE_NAME ${XYZ}
&END TOPOLOGY
&END SUBSYS
&END FORCE_EVAL
@if ${RESTART} == 1
@IF ${RESTART} == 1
&EXT_RESTART
RESTART_FILE_NAME ${WRKDIR}/${RESFILE}-1.restart
RESTART_COUNTERS T
RESTART_POS T
RESTART_BAND T
&END
@endif
RESTART_BAND T
RESTART_COUNTERS T
RESTART_FILE_NAME ${WRKDIR}/${RESFILE}-1.restart
RESTART_POS T
&END EXT_RESTART
@ENDIF

View file

@ -3,19 +3,15 @@
@SET PROJECT nm321_pbed3_el_chd
@SET RESFILE nm321_pbed3_p
@SET XYZ ${INPDIR}/nm321_pbed3_opt.xyz
@SET RUN ENERGY_FORCE
@SET TIME 40000
@SET RESTART 0
@SET HESSIAN 0
@SET PROPERTIES 0
@SET GUESS ATOMIC
@SET LSD 0
@SET VV10 0
@SET D3 1
@SET MAXSCF 10
@SET EPSSCF 1.E-7
@SET FORCE 1.E-4
@ -23,225 +19,212 @@
@SET CUTOFF 500
@SET NG 5
@SET ADDED 2600
@SET WANNIER 0
@SET STM 0
@SET CUBE 0
@SET PDOS 0
&GLOBAL
PROJECT ${PROJECT}
PRINT_LEVEL LOW
RUN_TYPE ${RUN}
PREFERRED_DIAG_LIBRARY ELPA
EXTENDED_FFT_LENGTHS T
WALLTIME ${TIME}
PREFERRED_DIAG_LIBRARY ELPA
PRINT_LEVEL LOW
PROJECT ${PROJECT}
RUN_TYPE ${RUN}
WALLTIME ${TIME}
&END GLOBAL
&FORCE_EVAL
METHOD QS
&PRINT
&FORCES OFF
&EACH
QS_SCF 0
&END
FILENAME =${PROJECT}.forces
ADD_LAST NUMERIC
&END
&DISTRIBUTION
&END
&END
&DFT
BASIS_SET_FILE_NAME BASIS_MOLOPT
POTENTIAL_FILE_NAME GTH_POTENTIALS
RESTART_FILE_NAME ${WRKDIR}/${RESFILE}-RESTART.wfn
BASIS_SET_FILE_NAME BASIS_MOLOPT
POTENTIAL_FILE_NAME GTH_POTENTIALS
RESTART_FILE_NAME ${WRKDIR}/${RESFILE}-RESTART.wfn
&MGRID
NGRIDS ${NG}
CUTOFF ${CUTOFF}
NGRIDS ${NG}
REL_CUTOFF ${RELCUTOFF}
&END MGRID
&QS
EXTRAPOLATION PS
EXTRAPOLATION_ORDER 4
METHOD GPW
EXTRAPOLATION PS
EXTRAPOLATION_ORDER 4
&END QS
&SCF
SCF_GUESS ${GUESS}
ADDED_MOS ${ADDED}
CHOLESKY INVERSE_DBCSR
EPS_SCF ${EPSSCF}
MAX_SCF ${MAXSCF}
ADDED_MOS ${ADDED}
CHOLESKY INVERSE_DBCSR
&SMEAR ON
METHOD FERMI_DIRAC
ELECTRONIC_TEMPERATURE [K] 300
&END SMEAR
SCF_GUESS ${GUESS}
&DIAGONALIZATION
ALGORITHM STANDARD
EPS_ADAPT 0.01
ALGORITHM STANDARD
EPS_ADAPT 0.01
&END DIAGONALIZATION
&MIXING
METHOD BROYDEN_MIXING
ALPHA 0.2
BETA 1.5
NBROYDEN 8
&END
ALPHA 0.2
BETA 1.5
METHOD BROYDEN_MIXING
NBROYDEN 8
&END MIXING
&PRINT
&RESTART
&EACH
QS_SCF 50
&END
ADD_LAST NUMERIC
&END
&END
&EACH
QS_SCF 50
&END EACH
&END RESTART
&END PRINT
&SMEAR ON
ELECTRONIC_TEMPERATURE [K] 300
METHOD FERMI_DIRAC
&END SMEAR
&END SCF
&XC
&XC_FUNCTIONAL
&PBE
&END
&END XC_FUNCTIONAL
&XC_GRID
XC_SMOOTH_RHO NN50
XC_DERIV NN50_SMOOTH
&END
&VDW_POTENTIAL
@if ${VV10} == 1
POTENTIAL_TYPE NON_LOCAL
@IF ${VV10} == 1
POTENTIAL_TYPE NON_LOCAL
&NON_LOCAL
KERNEL_FILE_NAME rVV10_kernel_table.dat
TYPE RVV10
VERBOSE_OUTPUT
KERNEL_FILE_NAME rVV10_kernel_table.dat
&END NON_LOCAL
@endif
@if ${D3} == 1
POTENTIAL_TYPE PAIR_POTENTIAL
&PAIR_POTENTIAL
TYPE DFTD3
@ENDIF
@IF ${D3} == 1
POTENTIAL_TYPE PAIR_POTENTIAL
&PAIR_POTENTIAL
CALCULATE_C9_TERM .TRUE.
REFERENCE_C9_TERM .TRUE.
EPS_CN 1.0E-6
PARAMETER_FILE_NAME dftd3.dat
! VERBOSE_OUTPUT .TRUE.
REFERENCE_C9_TERM .TRUE.
! VERBOSE_OUTPUT .TRUE.
REFERENCE_FUNCTIONAL PBE
R_CUTOFF [angstrom] 16.
EPS_CN 1.0E-6
&END
@endif
TYPE DFTD3
&END PAIR_POTENTIAL
@ENDIF
&END VDW_POTENTIAL
&XC_FUNCTIONAL
&PBE
&END PBE
&END XC_FUNCTIONAL
&XC_GRID
XC_DERIV NN50_SMOOTH
XC_SMOOTH_RHO NN50
&END XC_GRID
&END XC
@if ${WANNIER} == 1
@IF ${WANNIER} == 1
&LOCALIZE
METHOD JACOBI
EPS_LOCALIZATION 1.0E-4
OUT_ITER_EACH 10
MAX_ITER 6000
EPS_OCCUPATION 1.E-4
&PRINT
&WANNIER_CENTERS
EPS_LOCALIZATION 1.0E-4
EPS_OCCUPATION 1.E-4
MAX_ITER 6000
METHOD JACOBI
OUT_ITER_EACH 10
&PRINT
&LOC_RESTART
&END LOC_RESTART
&WANNIER_CENTERS
IONS+CENTERS
&END
&WANNIER_SPREADS
&END
&LOC_RESTART
&END
&END
&END
@endif
&END WANNIER_CENTERS
&WANNIER_SPREADS
&END WANNIER_SPREADS
&END PRINT
&END LOCALIZE
@ENDIF
&PRINT
@if ${CUBE} == 1
&MULLIKEN
FILENAME =${PROJECT}.mulliken
&END
&tot_density_cube
&EACH
QS_SCF 0
&END
ADD_LAST NUMERIC
&END
&V_HARTREE_CUBE
FILENAME =${PROJECT}_espot.cube
&END
&ELF_CUBE
&EACH
QS_SCF 0
&END
@IF ${CUBE} == 1
&MULLIKEN
FILENAME =${PROJECT}.mulliken
&END MULLIKEN
&TOT_DENSITY_CUBE
ADD_LAST NUMERIC
&END
@endif
@if ${STM} == 1
&EACH
QS_SCF 0
&END EACH
&END TOT_DENSITY_CUBE
&V_HARTREE_CUBE
FILENAME =${PROJECT}_espot.cube
&END V_HARTREE_CUBE
&ELF_CUBE
ADD_LAST NUMERIC
&EACH
QS_SCF 0
&END EACH
&END ELF_CUBE
@ENDIF
@IF ${STM} == 1
&STM
TH_TORB S
BIAS [eV] -2.0 -1.0 1.0 2.0
&END
@endif
@if ${PDOS} ==1
TH_TORB S
&END STM
@ENDIF
@IF ${PDOS} ==1
&PDOS
NLUMO 2500
COMPONENTS
# Rh pore, under N pore, 74 atoms
NLUMO 2500
# Rh pore, under N pore, 74 atoms
&LDOS
LIST 252 107 268 100 41 266 34 179 163 249 146 154 242 281 185 194 273 233 202
LIST 106 225 98 43 35 178 265 250 161 260 4 27 177 162 137 114 59 58 60 20 83 11
LIST 210 217 66 91 50 75 82 81 19 121 130 12 171 257 122 258 129 2 52 67 169 170
LIST 26 74 18 10 89 218 115 139 209 123 131
COMPONENTS
&END
# Rh wire, under B wire, 40 atoms
COMPONENTS
LIST 252 107 268 100 41 266 34 179 163 249 146 154 242 281 185 194 273 233 202
LIST 106 225 98 43 35 178 265 250 161 260 4 27 177 162 137 114 59 58 60 20 83 11
LIST 210 217 66 91 50 75 82 81 19 121 130 12 171 257 122 258 129 2 52 67 169 170
LIST 26 74 18 10 89 218 115 139 209 123 131
&END LDOS
# Rh wire, under B wire, 40 atoms
&LDOS
LIST 1 9 17 25 36 44 49 57 65 76 84 92 97 105 116 124 132 140 145 147 148 156 164
LIST 172 180 188 193 195 196 203 204 227 228 234 235 236 243 251 259 267
LIST 275 282 283 284
COMPONENTS
&END
COMPONENTS
LIST 1 9 17 25 36 44 49 57 65 76 84 92 97 105 116 124 132 140 145 147 148 156 164
LIST 172 180 188 193 195 196 203 204 227 228 234 235 236 243 251 259 267
LIST 275 282 283 284
&END LDOS
&END PDOS
@endif
&END PRINT
@ENDIF
&END PRINT
&END DFT
&PRINT
&DISTRIBUTION
&END DISTRIBUTION
&FORCES OFF
ADD_LAST NUMERIC
FILENAME =${PROJECT}.forces
&EACH
QS_SCF 0
&END EACH
&END FORCES
&END PRINT
&SUBSYS
&CELL
A 96.75844 0.00000 0.00000
B 32.25286 55.86364 0.00000
C 0.00000 0.00000 30.0
A 96.75844 0.00000 0.00000
B 32.25286 55.86364 0.00000
C 0.00000 0.00000 30.0
&END CELL
&TOPOLOGY
COORD_FILE_NAME ${XYZ}
COORDINATE XYZ
CONNECTIVITY OFF
&END TOPOLOGY
&KIND Rh
BASIS_SET SZVP-MOLOPT-SR-GTH-q9
POTENTIAL GTH-PBE-q9
&END KIND
&KIND B
BASIS_SET DZVP-MOLOPT-SR-GTH
POTENTIAL GTH-PBE-q3
&END
&END KIND
&KIND N
BASIS_SET DZVP-MOLOPT-SR-GTH
POTENTIAL GTH-PBE-q5
&END
&END KIND
&KIND Ar
BASIS_SET DZVP-MOLOPT-SR-GTH
POTENTIAL GTH-PBE-q8
&END KIND
&TOPOLOGY
CONNECTIVITY OFF
COORDINATE XYZ
COORD_FILE_NAME ${XYZ}
&END TOPOLOGY
&END SUBSYS
&END FORCE_EVAL
@if ${RESTART} == 1
@IF ${RESTART} == 1
&EXT_RESTART
RESTART_FILE_NAME ${WRKDIR}/${RESFILE}-1.restart
RESTART_COUNTERS T
RESTART_POS T
RESTART_BAND T
&END
@endif
RESTART_BAND T
RESTART_COUNTERS T
RESTART_FILE_NAME ${WRKDIR}/${RESFILE}-1.restart
RESTART_POS T
&END EXT_RESTART
@ENDIF

View file

@ -3,19 +3,15 @@
@SET PROJECT nm_pbed3_el_chd
@SET RESFILE nm_pbed3_p
@SET XYZ ${INPDIR}/nm_pbed3_opt.xyz
@SET RUN ENERGY_FORCE
@SET TIME 40000
@SET RESTART 0
@SET HESSIAN 0
@SET PROPERTIES 0
@SET GUESS ATOMIC
@SET LSD 0
@SET VV10 0
@SET D3 1
@SET MAXSCF 10
@SET EPSSCF 1.E-7
@SET FORCE 1.E-4
@ -23,271 +19,253 @@
@SET CUTOFF 500
@SET NG 5
@SET ADDED 700
@SET WANNIER 0
@SET STM 0
@SET CUBE 0
@SET PDOS 0
&GLOBAL
PREFERRED_DIAG_LIBRARY ELPA
PRINT_LEVEL LOW
PROJECT ${PROJECT}
PRINT_LEVEL LOW
RUN_TYPE ${RUN}
PREFERRED_DIAG_LIBRARY ELPA
WALLTIME ${TIME}
WALLTIME ${TIME}
&END GLOBAL
&MOTION
&GEO_OPT
TYPE MINIMIZATION
OPTIMIZER BFGS
MAX_ITER 300
&CONSTRAINT
&FIXED_ATOMS
LIST 5 6 7 8 13 14 15 16 21 22 23 24 29 30 31 32 37 38 39 40 45 46 47 48 53 54 55 56 61 62 63
LIST 64 69 70 71 72 77 78 79 80 85 86 87 88 93 94 95 96 101 102 103 104 109 110 111 112 117 118 119 120 125
LIST 126 127 128 133 134 135 136 141 142 143 144 149 150 151 152 157 158 159 160 165 166 167 168 173
LIST 174 175 176 181 182 183 184 189 190 191 192 197 198 199 200 205 206 207 208 213 214 215 216 221 222 223
LIST 224 229 230 231 232 237 238 239 240 245 246 247 248 253 254 255 256 261 262 263 264 269
LIST 270 271 272 277 278 279 280 285 286 287 288
&END FIXED_ATOMS
&END CONSTRAINT
&GEO_OPT
MAX_FORCE ${FORCE}
MAX_ITER 300
OPTIMIZER BFGS
RMS_FORCE ${FORCE}
TYPE MINIMIZATION
&BFGS
# TRUST_RADIUS 0.05
@if ${HESSIAN} == 1
# TRUST_RADIUS 0.05
@IF ${HESSIAN} == 1
RESTART_HESSIAN
RESTART_FILE_NAME ${WRKDIR}/${RESFILE}-BFGS.Hessian
@endif
&END
&END GEO_OPT
@ENDIF
&END BFGS
&END GEO_OPT
&PRINT
&RESTART
ADD_LAST NUMERIC
&EACH
MD 1
&END EACH
&END RESTART
&RESTART_HISTORY OFF
&END RESTART_HISTORY
&TRAJECTORY
&EACH
MD 1
&END
&END
&RESTART
&EACH
MD 1
&END
ADD_LAST NUMERIC
&END
&RESTART_HISTORY OFF
&END
&END
&CONSTRAINT
&FIXED_ATOMS
LIST 5 6 7 8 13 14 15 16 21 22 23 24 29 30 31 32 37 38 39 40 45 46 47 48 53 54 55 56 61 62 63
LIST 64 69 70 71 72 77 78 79 80 85 86 87 88 93 94 95 96 101 102 103 104 109 110 111 112 117 118 119 120 125
LIST 126 127 128 133 134 135 136 141 142 143 144 149 150 151 152 157 158 159 160 165 166 167 168 173
LIST 174 175 176 181 182 183 184 189 190 191 192 197 198 199 200 205 206 207 208 213 214 215 216 221 222 223
LIST 224 229 230 231 232 237 238 239 240 245 246 247 248 253 254 255 256 261 262 263 264 269
LIST 270 271 272 277 278 279 280 285 286 287 288
&END FIXED_ATOMS
&END CONSTRAINT
&END EACH
&END TRAJECTORY
&END PRINT
&END MOTION
&FORCE_EVAL
METHOD QS
&PRINT
&FORCES OFF
&EACH
QS_SCF 0
&END
FILENAME =${PROJECT}.forces
ADD_LAST NUMERIC
&END
&DISTRIBUTION
&END
&END
&DFT
BASIS_SET_FILE_NAME BASIS_MOLOPT
POTENTIAL_FILE_NAME GTH_POTENTIALS
RESTART_FILE_NAME ${WRKDIR}/${RESFILE}-RESTART.wfn
BASIS_SET_FILE_NAME BASIS_MOLOPT
POTENTIAL_FILE_NAME GTH_POTENTIALS
RESTART_FILE_NAME ${WRKDIR}/${RESFILE}-RESTART.wfn
&MGRID
NGRIDS ${NG}
CUTOFF ${CUTOFF}
NGRIDS ${NG}
REL_CUTOFF ${RELCUTOFF}
&END MGRID
&QS
EXTRAPOLATION PS
EXTRAPOLATION_ORDER 4
METHOD GPW
EXTRAPOLATION PS
EXTRAPOLATION_ORDER 4
&END QS
&SCF
SCF_GUESS ${GUESS}
ADDED_MOS ${ADDED}
CHOLESKY INVERSE_DBCSR
EPS_SCF ${EPSSCF}
MAX_SCF ${MAXSCF}
ADDED_MOS ${ADDED}
CHOLESKY INVERSE_DBCSR
&SMEAR ON
METHOD FERMI_DIRAC
ELECTRONIC_TEMPERATURE [K] 300
&END SMEAR
SCF_GUESS ${GUESS}
&DIAGONALIZATION
ALGORITHM STANDARD
EPS_ADAPT 0.01
ALGORITHM STANDARD
EPS_ADAPT 0.01
&END DIAGONALIZATION
&MIXING
METHOD BROYDEN_MIXING
ALPHA 0.2
BETA 1.5
NBROYDEN 8
&END
ALPHA 0.2
BETA 1.5
METHOD BROYDEN_MIXING
NBROYDEN 8
&END MIXING
&PRINT
&RESTART
&EACH
QS_SCF 50
&END
ADD_LAST NUMERIC
&END
&END
&EACH
QS_SCF 50
&END EACH
&END RESTART
&END PRINT
&SMEAR ON
ELECTRONIC_TEMPERATURE [K] 300
METHOD FERMI_DIRAC
&END SMEAR
&END SCF
&XC
&XC_FUNCTIONAL
&PBE
&END
&END XC_FUNCTIONAL
&XC_GRID
XC_SMOOTH_RHO NN50
XC_DERIV NN50_SMOOTH
&END
&VDW_POTENTIAL
@if ${VV10} == 1
POTENTIAL_TYPE NON_LOCAL
@IF ${VV10} == 1
POTENTIAL_TYPE NON_LOCAL
&NON_LOCAL
KERNEL_FILE_NAME rVV10_kernel_table.dat
TYPE RVV10
VERBOSE_OUTPUT
KERNEL_FILE_NAME rVV10_kernel_table.dat
&END NON_LOCAL
@endif
@if ${D3} == 1
POTENTIAL_TYPE PAIR_POTENTIAL
&PAIR_POTENTIAL
TYPE DFTD3
@ENDIF
@IF ${D3} == 1
POTENTIAL_TYPE PAIR_POTENTIAL
&PAIR_POTENTIAL
CALCULATE_C9_TERM .TRUE.
REFERENCE_C9_TERM .TRUE.
EPS_CN 1.0E-6
PARAMETER_FILE_NAME dftd3.dat
! VERBOSE_OUTPUT .TRUE.
REFERENCE_C9_TERM .TRUE.
! VERBOSE_OUTPUT .TRUE.
REFERENCE_FUNCTIONAL PBE
R_CUTOFF [angstrom] 16.
EPS_CN 1.0E-6
&END
@endif
TYPE DFTD3
&END PAIR_POTENTIAL
@ENDIF
&END VDW_POTENTIAL
&XC_FUNCTIONAL
&PBE
&END PBE
&END XC_FUNCTIONAL
&XC_GRID
XC_DERIV NN50_SMOOTH
XC_SMOOTH_RHO NN50
&END XC_GRID
&END XC
@if ${WANNIER} == 1
@IF ${WANNIER} == 1
&LOCALIZE
METHOD JACOBI
EPS_LOCALIZATION 1.0E-4
OUT_ITER_EACH 10
MAX_ITER 6000
EPS_OCCUPATION 1.E-4
&PRINT
&WANNIER_CENTERS
EPS_LOCALIZATION 1.0E-4
EPS_OCCUPATION 1.E-4
MAX_ITER 6000
METHOD JACOBI
OUT_ITER_EACH 10
&PRINT
&LOC_RESTART
&END LOC_RESTART
&WANNIER_CENTERS
IONS+CENTERS
&END
&WANNIER_SPREADS
&END
&LOC_RESTART
&END
&END
&END
@endif
&END WANNIER_CENTERS
&WANNIER_SPREADS
&END WANNIER_SPREADS
&END PRINT
&END LOCALIZE
@ENDIF
&PRINT
@if ${CUBE} == 1
&MULLIKEN
FILENAME =${PROJECT}.mulliken
&END
&tot_density_cube
&EACH
QS_SCF 0
&END
ADD_LAST NUMERIC
&END
&V_HARTREE_CUBE
FILENAME =${PROJECT}_espot.cube
&END
&ELF_CUBE
&EACH
QS_SCF 0
&END
@IF ${CUBE} == 1
&MULLIKEN
FILENAME =${PROJECT}.mulliken
&END MULLIKEN
&TOT_DENSITY_CUBE
ADD_LAST NUMERIC
&END
@endif
@if ${STM} == 1
&EACH
QS_SCF 0
&END EACH
&END TOT_DENSITY_CUBE
&V_HARTREE_CUBE
FILENAME =${PROJECT}_espot.cube
&END V_HARTREE_CUBE
&ELF_CUBE
ADD_LAST NUMERIC
&EACH
QS_SCF 0
&END EACH
&END ELF_CUBE
@ENDIF
@IF ${STM} == 1
&STM
TH_TORB S
BIAS [eV] -2.0 -1.0 1.0 2.0
&END
@endif
@if ${PDOS} ==1
TH_TORB S
&END STM
@ENDIF
@IF ${PDOS} ==1
&PDOS
NLUMO 2500
COMPONENTS
# Rh pore, under N pore, 74 atoms
NLUMO 2500
# Rh pore, under N pore, 74 atoms
&LDOS
LIST 252 107 268 100 41 266 34 179 163 249 146 154 242 281 185 194 273 233 202
LIST 106 225 98 43 35 178 265 250 161 260 4 27 177 162 137 114 59 58 60 20 83 11
LIST 210 217 66 91 50 75 82 81 19 121 130 12 171 257 122 258 129 2 52 67 169 170
LIST 26 74 18 10 89 218 115 139 209 123 131
COMPONENTS
&END
# Rh wire, under B wire, 40 atoms
COMPONENTS
LIST 252 107 268 100 41 266 34 179 163 249 146 154 242 281 185 194 273 233 202
LIST 106 225 98 43 35 178 265 250 161 260 4 27 177 162 137 114 59 58 60 20 83 11
LIST 210 217 66 91 50 75 82 81 19 121 130 12 171 257 122 258 129 2 52 67 169 170
LIST 26 74 18 10 89 218 115 139 209 123 131
&END LDOS
# Rh wire, under B wire, 40 atoms
&LDOS
LIST 1 9 17 25 36 44 49 57 65 76 84 92 97 105 116 124 132 140 145 147 148 156 164
LIST 172 180 188 193 195 196 203 204 227 228 234 235 236 243 251 259 267
LIST 275 282 283 284
COMPONENTS
&END
COMPONENTS
LIST 1 9 17 25 36 44 49 57 65 76 84 92 97 105 116 124 132 140 145 147 148 156 164
LIST 172 180 188 193 195 196 203 204 227 228 234 235 236 243 251 259 267
LIST 275 282 283 284
&END LDOS
&END PDOS
@endif
&END PRINT
@ENDIF
&END PRINT
&END DFT
&PRINT
&DISTRIBUTION
&END DISTRIBUTION
&FORCES OFF
ADD_LAST NUMERIC
FILENAME =${PROJECT}.forces
&EACH
QS_SCF 0
&END EACH
&END FORCES
&END PRINT
&SUBSYS
&CELL
A 32.25281 0.00000 0.00000
B 16.12643 27.93182 0.00000
C 0.00000 0.00000 30.0
A 32.25281 0.00000 0.00000
B 16.12643 27.93182 0.00000
C 0.00000 0.00000 30.0
&END CELL
&TOPOLOGY
COORD_FILE_NAME ${XYZ}
COORDINATE XYZ
CONNECTIVITY OFF
&END TOPOLOGY
&KIND Rh
BASIS_SET SZVP-MOLOPT-SR-GTH-q9
POTENTIAL GTH-PBE-q9
&END KIND
&KIND B
BASIS_SET DZVP-MOLOPT-SR-GTH
POTENTIAL GTH-PBE-q3
&END
&END KIND
&KIND N
BASIS_SET DZVP-MOLOPT-SR-GTH
POTENTIAL GTH-PBE-q5
&END
&END KIND
&KIND Ar
BASIS_SET DZVP-MOLOPT-SR-GTH
POTENTIAL GTH-PBE-q8
&END KIND
&TOPOLOGY
CONNECTIVITY OFF
COORDINATE XYZ
COORD_FILE_NAME ${XYZ}
&END TOPOLOGY
&END SUBSYS
&END FORCE_EVAL
@if ${RESTART} == 1
@IF ${RESTART} == 1
&EXT_RESTART
RESTART_FILE_NAME ${WRKDIR}/${RESFILE}-1.restart
RESTART_COUNTERS T
RESTART_POS T
RESTART_BAND T
&END
@endif
RESTART_BAND T
RESTART_COUNTERS T
RESTART_FILE_NAME ${WRKDIR}/${RESFILE}-1.restart
RESTART_POS T
&END EXT_RESTART
@ENDIF

View file

@ -3,288 +3,266 @@
@SET PROJECT nm_pbed3_gop
@SET RESFILE nm_pbed3_gop
@SET XYZ ${INPDIR}/nm_pbed3_init.xyz
@SET RUN GEO_OPT
@SET TIME 40000
@SET RESTART 0
@SET HESSIAN 0
@SET PROPERTIES 0
@SET GUESS RESTART
@SET LSD 0
@SET VV10 0
@SET D3 1
@SET EPSSCF 5.E-7
@SET FORCE 1.E-4
@SET WANNIER 0
@SET STM 0
@SET NG 5
@SET CUBE 0
@SET PDOS 0
&GLOBAL
PREFERRED_DIAG_LIBRARY ELPA
PRINT_LEVEL LOW
PROJECT ${PROJECT}
PRINT_LEVEL LOW
RUN_TYPE ${RUN}
PREFERRED_DIAG_LIBRARY ELPA
WALLTIME ${TIME}
WALLTIME ${TIME}
&END GLOBAL
&MOTION
&GEO_OPT
TYPE MINIMIZATION
OPTIMIZER BFGS
MAX_ITER 300
&CONSTRAINT
&FIXED_ATOMS
LIST 5 6 7 8 13 14 15 16 21 22 23 24 29 30 31 32 37 38 39 40 45 46 47 48 53 54 55 56 61 62 63
LIST 64 69 70 71 72 77 78 79 80 85 86 87 88 93 94 95 96 101 102 103 104 109 110 111 112 117 118 119 120 125
LIST 126 127 128 133 134 135 136 141 142 143 144 149 150 151 152 157 158 159 160 165 166 167 168 173
LIST 174 175 176 181 182 183 184 189 190 191 192 197 198 199 200 205 206 207 208 213 214 215 216 221 222 223
LIST 224 229 230 231 232 237 238 239 240 245 246 247 248 253 254 255 256 261 262 263 264 269
LIST 270 271 272 277 278 279 280 285 286 287 288
&END FIXED_ATOMS
&END CONSTRAINT
&GEO_OPT
MAX_FORCE ${FORCE}
MAX_ITER 300
OPTIMIZER BFGS
RMS_FORCE ${FORCE}
TYPE MINIMIZATION
&BFGS
# TRUST_RADIUS 0.05
@if ${HESSIAN} == 1
# TRUST_RADIUS 0.05
@IF ${HESSIAN} == 1
RESTART_HESSIAN
RESTART_FILE_NAME ${WRKDIR}/${RESFILE}-BFGS.Hessian
@endif
&END
&END GEO_OPT
@ENDIF
&END BFGS
&END GEO_OPT
&PRINT
&RESTART
ADD_LAST NUMERIC
&EACH
MD 1
&END EACH
&END RESTART
&RESTART_HISTORY OFF
&END RESTART_HISTORY
&TRAJECTORY
&EACH
MD 1
&END
&END
&RESTART
&EACH
MD 1
&END
ADD_LAST NUMERIC
&END
&RESTART_HISTORY OFF
&END
&END
&CONSTRAINT
&FIXED_ATOMS
LIST 5 6 7 8 13 14 15 16 21 22 23 24 29 30 31 32 37 38 39 40 45 46 47 48 53 54 55 56 61 62 63
LIST 64 69 70 71 72 77 78 79 80 85 86 87 88 93 94 95 96 101 102 103 104 109 110 111 112 117 118 119 120 125
LIST 126 127 128 133 134 135 136 141 142 143 144 149 150 151 152 157 158 159 160 165 166 167 168 173
LIST 174 175 176 181 182 183 184 189 190 191 192 197 198 199 200 205 206 207 208 213 214 215 216 221 222 223
LIST 224 229 230 231 232 237 238 239 240 245 246 247 248 253 254 255 256 261 262 263 264 269
LIST 270 271 272 277 278 279 280 285 286 287 288
&END FIXED_ATOMS
&END CONSTRAINT
&END EACH
&END TRAJECTORY
&END PRINT
&END MOTION
&FORCE_EVAL
METHOD QS
&PRINT
&FORCES OFF
&EACH
QS_SCF 0
&END
FILENAME =${PROJECT}.forces
ADD_LAST NUMERIC
&END
&DISTRIBUTION
&END
&END
&DFT
BASIS_SET_FILE_NAME BASIS_MOLOPT
POTENTIAL_FILE_NAME GTH_POTENTIALS
RESTART_FILE_NAME ${WRKDIR}/${RESFILE}-RESTART.wfn
BASIS_SET_FILE_NAME BASIS_MOLOPT
POTENTIAL_FILE_NAME GTH_POTENTIALS
RESTART_FILE_NAME ${WRKDIR}/${RESFILE}-RESTART.wfn
&MGRID
NGRIDS ${NG}
CUTOFF 500
NGRIDS ${NG}
REL_CUTOFF 50
&END MGRID
&QS
EXTRAPOLATION PS
EXTRAPOLATION_ORDER 4
METHOD GPW
EXTRAPOLATION PS
EXTRAPOLATION_ORDER 4
&END QS
&SCF
SCF_GUESS ${GUESS}
ADDED_MOS 700
CHOLESKY INVERSE
EPS_SCF ${EPSSCF}
MAX_SCF 500
ADDED_MOS 700
CHOLESKY INVERSE
&SMEAR ON
METHOD FERMI_DIRAC
ELECTRONIC_TEMPERATURE [K] 300
&END SMEAR
SCF_GUESS ${GUESS}
&DIAGONALIZATION
ALGORITHM STANDARD
EPS_ADAPT 0.01
ALGORITHM STANDARD
EPS_ADAPT 0.01
&END DIAGONALIZATION
&MIXING
METHOD BROYDEN_MIXING
ALPHA 0.2
BETA 1.5
NBROYDEN 8
&END
ALPHA 0.2
BETA 1.5
METHOD BROYDEN_MIXING
NBROYDEN 8
&END MIXING
&PRINT
&RESTART
&EACH
QS_SCF 50
&END
ADD_LAST NUMERIC
&END
&END
&EACH
QS_SCF 50
&END EACH
&END RESTART
&END PRINT
&SMEAR ON
ELECTRONIC_TEMPERATURE [K] 300
METHOD FERMI_DIRAC
&END SMEAR
&END SCF
&XC
&XC_FUNCTIONAL
&PBE
&END
&END XC_FUNCTIONAL
&XC_GRID
XC_SMOOTH_RHO NN50
XC_DERIV NN50_SMOOTH
&END
&VDW_POTENTIAL
@if ${VV10} == 1
POTENTIAL_TYPE NON_LOCAL
@IF ${VV10} == 1
POTENTIAL_TYPE NON_LOCAL
&NON_LOCAL
KERNEL_FILE_NAME rVV10_kernel_table.dat
TYPE RVV10
VERBOSE_OUTPUT
KERNEL_FILE_NAME rVV10_kernel_table.dat
&END NON_LOCAL
@endif
@if ${D3} == 1
POTENTIAL_TYPE PAIR_POTENTIAL
&PAIR_POTENTIAL
TYPE DFTD3
@ENDIF
@IF ${D3} == 1
POTENTIAL_TYPE PAIR_POTENTIAL
&PAIR_POTENTIAL
CALCULATE_C9_TERM .TRUE.
REFERENCE_C9_TERM .TRUE.
EPS_CN 1.0E-6
PARAMETER_FILE_NAME dftd3.dat
! VERBOSE_OUTPUT .TRUE.
REFERENCE_C9_TERM .TRUE.
! VERBOSE_OUTPUT .TRUE.
REFERENCE_FUNCTIONAL PBE
R_CUTOFF [angstrom] 16.
EPS_CN 1.0E-6
&END
@endif
TYPE DFTD3
&END PAIR_POTENTIAL
@ENDIF
&END VDW_POTENTIAL
&XC_FUNCTIONAL
&PBE
&END PBE
&END XC_FUNCTIONAL
&XC_GRID
XC_DERIV NN50_SMOOTH
XC_SMOOTH_RHO NN50
&END XC_GRID
&END XC
@if ${WANNIER} == 1
@IF ${WANNIER} == 1
&LOCALIZE
METHOD JACOBI
EPS_LOCALIZATION 1.0E-4
OUT_ITER_EACH 10
MAX_ITER 6000
EPS_OCCUPATION 1.E-4
&PRINT
&WANNIER_CENTERS
EPS_LOCALIZATION 1.0E-4
EPS_OCCUPATION 1.E-4
MAX_ITER 6000
METHOD JACOBI
OUT_ITER_EACH 10
&PRINT
&LOC_RESTART
&END LOC_RESTART
&WANNIER_CENTERS
IONS+CENTERS
&END
&WANNIER_SPREADS
&END
&LOC_RESTART
&END
&END
&END
@endif
&END WANNIER_CENTERS
&WANNIER_SPREADS
&END WANNIER_SPREADS
&END PRINT
&END LOCALIZE
@ENDIF
&PRINT
&MULLIKEN
FILENAME =${PROJECT}.mulliken
&END
@if ${CUBE} == 1
&tot_density_cube
&EACH
QS_SCF 0
&END
ADD_LAST NUMERIC
&END
&V_HARTREE_CUBE
FILENAME =${PROJECT}_espot.cube
&END
&ELF_CUBE
&EACH
QS_SCF 0
&END
&MULLIKEN
FILENAME =${PROJECT}.mulliken
&END MULLIKEN
@IF ${CUBE} == 1
&TOT_DENSITY_CUBE
ADD_LAST NUMERIC
&END
@endif
@if ${STM} == 1
&EACH
QS_SCF 0
&END EACH
&END TOT_DENSITY_CUBE
&V_HARTREE_CUBE
FILENAME =${PROJECT}_espot.cube
&END V_HARTREE_CUBE
&ELF_CUBE
ADD_LAST NUMERIC
&EACH
QS_SCF 0
&END EACH
&END ELF_CUBE
@ENDIF
@IF ${STM} == 1
&STM
TH_TORB S
BIAS [eV] -2.0 -1.0 1.0 2.0
&END
@endif
@if ${PDOS} ==1
TH_TORB S
&END STM
@ENDIF
@IF ${PDOS} ==1
&PDOS
NLUMO 2500
COMPONENTS
# He under BN in Nhcp-Btop region;
# N close to He (wxa)
NLUMO 2500
# He under BN in Nhcp-Btop region;
# N close to He (wxa)
&LDOS
LIST 802 814 815
COMPONENTS
&END
# B close to He (wxa)
COMPONENTS
LIST 802 814 815
&END LDOS
# B close to He (wxa)
&LDOS
LIST 622 634 635 646
COMPONENTS
&END
# Rh close to He (wxa)
COMPONENTS
LIST 622 634 635 646
&END LDOS
# Rh close to He (wxa)
&LDOS
LIST 9
COMPONENTS
&END
COMPONENTS
LIST 9
&END LDOS
&END PDOS
@endif
&END PRINT
@ENDIF
&END PRINT
&END DFT
&PRINT
&DISTRIBUTION
&END DISTRIBUTION
&FORCES OFF
ADD_LAST NUMERIC
FILENAME =${PROJECT}.forces
&EACH
QS_SCF 0
&END EACH
&END FORCES
&END PRINT
&SUBSYS
&CELL
A 32.25281 0.00000 0.00000
B 16.12643 27.93182 0.00000
C 0.00000 0.00000 30.0
A 32.25281 0.00000 0.00000
B 16.12643 27.93182 0.00000
C 0.00000 0.00000 30.0
&END CELL
&TOPOLOGY
COORD_FILE_NAME ${XYZ}
COORDINATE XYZ
CONNECTIVITY OFF
&END TOPOLOGY
&KIND Rh
BASIS_SET SZVP-MOLOPT-SR-GTH-q9
POTENTIAL GTH-PBE-q9
&END KIND
&KIND B
BASIS_SET DZVP-MOLOPT-SR-GTH
POTENTIAL GTH-PBE-q3
&END
&END KIND
&KIND N
BASIS_SET DZVP-MOLOPT-SR-GTH
POTENTIAL GTH-PBE-q5
&END
&END KIND
&KIND Ar
BASIS_SET DZVP-MOLOPT-SR-GTH
POTENTIAL GTH-PBE-q8
&END KIND
&TOPOLOGY
CONNECTIVITY OFF
COORDINATE XYZ
COORD_FILE_NAME ${XYZ}
&END TOPOLOGY
&END SUBSYS
&END FORCE_EVAL
@if ${RESTART} == 1
@IF ${RESTART} == 1
&EXT_RESTART
RESTART_FILE_NAME ${WRKDIR}/${RESFILE}-1.restart
RESTART_COUNTERS T
RESTART_POS T
RESTART_BAND T
&END
@endif
RESTART_BAND T
RESTART_COUNTERS T
RESTART_FILE_NAME ${WRKDIR}/${RESFILE}-1.restart
RESTART_POS T
&END EXT_RESTART
@ENDIF

View file

@ -1,40 +1,44 @@
&GLOBAL
EXTENDED_FFT_LENGTHS
PRINT_LEVEL MEDIUM
PROJECT PERFORMANCE_GRAPHENEN_NANORIBBON
RUN_TYPE ENERGY
&END GLOBAL
&FORCE_EVAL
METHOD Quickstep
&DFT
BASIS_SET_FILE_NAME EMSL_BASIS_SETS
BASIS_SET_FILE_NAME BASIS_RI_cc-TZ
POTENTIAL_FILE_NAME ALL_POTENTIALS
SORT_BASIS EXP
BASIS_SET_FILE_NAME EMSL_BASIS_SETS
BASIS_SET_FILE_NAME BASIS_RI_cc-TZ
POTENTIAL_FILE_NAME ALL_POTENTIALS
SORT_BASIS EXP
&MGRID
CUTOFF 400
REL_CUTOFF 50
&END MGRID
&QS
METHOD GAPW
&END QS
&POISSON
PERIODIC NONE
PSOLVER MT
&END
&END POISSON
&QS
METHOD GAPW
&END QS
&SCF
EPS_SCF 1.0E-6
SCF_GUESS RESTART
MAX_SCF 200
CHOLESKY OFF
EPS_SCF 1.0E-6
MAX_SCF 200
&END SCF
&XC
&XC_FUNCTIONAL PBE
&END XC_FUNCTIONAL
&WF_CORRELATION
&LOW_SCALING
EPS_FILTER 1.0E-8
MEMORY_CUT 5
&END
&END LOW_SCALING
&RI_RPA
RPA_NUM_QUAD_POINTS 8
RPA_NUM_QUAD_POINTS 8
&GW
CORR_MOS_OCC 25
CORR_MOS_VIRT 25
CORR_MOS_OCC 25
CORR_MOS_VIRT 25
&END GW
&HF
&SCREENING
@ -42,7 +46,9 @@
&END SCREENING
&END HF
&END RI_RPA
&END
&END WF_CORRELATION
&XC_FUNCTIONAL PBE
&END XC_FUNCTIONAL
&END XC
&END DFT
&SUBSYS
@ -50,27 +56,21 @@
ABC 50.0 15.0 10.0
PERIODIC NONE
&END CELL
&TOPOLOGY
COORD_FILE_NAME nanoribbon.xyz
COORD_FILE_FORMAT xyz
&CENTER_COORDINATES
&END
&END TOPOLOGY
&KIND H
BASIS_SET ORB aug-cc-pVDZ
BASIS_SET ORB aug-cc-pVDZ
BASIS_SET RI_AUX RI_TZ
POTENTIAL ALL
&END KIND
&KIND C
BASIS_SET ORB aug-cc-pVDZ
BASIS_SET ORB aug-cc-pVDZ
BASIS_SET RI_AUX RI_TZ
POTENTIAL ALL
&END KIND
&TOPOLOGY
COORD_FILE_FORMAT xyz
COORD_FILE_NAME nanoribbon.xyz
&CENTER_COORDINATES
&END CENTER_COORDINATES
&END TOPOLOGY
&END SUBSYS
&END FORCE_EVAL
&GLOBAL
RUN_TYPE ENERGY
PROJECT PERFORMANCE_GRAPHENEN_NANORIBBON
PRINT_LEVEL MEDIUM
EXTENDED_FFT_LENGTHS
&END GLOBAL

View file

@ -18,8 +18,8 @@ To run the benchmark, CP2K needs to be compiled with libint support (`-D__LIBINT
## Results on Piz Dora, CSCS
| Input File | Configuration | Total Number of Cores | Runtime \[s\] |
| ---------- | ------------------------: | --------------------: | ------------: |
| GW.inp | 16 nodes x 36 MPI x 1 OMP | 576 | 305 |
| Input File | Configuration | Total Number of Cores | Runtime [s] |
| ---------- | ------------------------: | --------------------: | ----------: |
| GW.inp | 16 nodes x 36 MPI x 1 OMP | 576 | 305 |
The timings have been obtained on CRAY-XC40 (PizDora@CSCS)

View file

@ -1,33 +1,39 @@
&GLOBAL
PRINT_LEVEL MEDIUM
PROJECT H2O-128-PBE-TZ
RUN_TYPE ENERGY
&END GLOBAL
&FORCE_EVAL
METHOD Quickstep
&DFT
BASIS_SET_FILE_NAME BASIS_RI_cc-TZ
POTENTIAL_FILE_NAME POTENTIAL
BASIS_SET_FILE_NAME BASIS_RI_cc-TZ
POTENTIAL_FILE_NAME POTENTIAL
SORT_BASIS EXP
&MGRID
CUTOFF 800
REL_CUTOFF 50
CUTOFF 800
REL_CUTOFF 50
&END MGRID
&QS
EPS_DEFAULT 1.0E-12
&END QS
&SCF
SCF_GUESS ATOMIC
EPS_SCF 1.0E-6
MAX_SCF 30
EPS_SCF 1.0E-6
MAX_SCF 30
SCF_GUESS ATOMIC
&OT
MINIMIZER CG
PRECONDITIONER FULL_ALL
&END
MINIMIZER CG
PRECONDITIONER FULL_ALL
&END OT
&OUTER_SCF
EPS_SCF 1.0E-6
MAX_SCF 20
&END
EPS_SCF 1.0E-6
MAX_SCF 20
&END OUTER_SCF
&PRINT
&RESTART
BACKUP_COPIES 0
&END
&END
&END RESTART
&END PRINT
&END SCF
&XC
&XC_FUNCTIONAL PBE
@ -38,25 +44,19 @@
&CELL
ABC 15.6404 15.6404 15.6404
&END CELL
&TOPOLOGY
COORD_FILE_NAME ./H2O-128.xyz
COORD_FILE_FORMAT XYZ
&END TOPOLOGY
&KIND H
BASIS_SET cc-TZ
BASIS_SET RI_AUX RI_TZ
POTENTIAL GTH-PBE-q1
BASIS_SET cc-TZ
BASIS_SET RI_AUX RI_TZ
POTENTIAL GTH-PBE-q1
&END KIND
&KIND O
BASIS_SET cc-TZ
BASIS_SET RI_AUX RI_TZ
POTENTIAL GTH-PBE-q6
BASIS_SET cc-TZ
BASIS_SET RI_AUX RI_TZ
POTENTIAL GTH-PBE-q6
&END KIND
&TOPOLOGY
COORD_FILE_FORMAT XYZ
COORD_FILE_NAME ./H2O-128.xyz
&END TOPOLOGY
&END SUBSYS
&END FORCE_EVAL
&GLOBAL
PROJECT H2O-128-PBE-TZ
RUN_TYPE ENERGY
PRINT_LEVEL MEDIUM
&END GLOBAL

View file

@ -1,84 +1,84 @@
&GLOBAL
PREFERRED_DIAG_LIBRARY SL
PRINT_LEVEL MEDIUM
PROJECT H2O-128-RPA-TZ
RUN_TYPE ENERGY_FORCE
&END GLOBAL
&FORCE_EVAL
METHOD Quickstep
&DFT
BASIS_SET_FILE_NAME BASIS_RI_cc-TZ
POTENTIAL_FILE_NAME POTENTIAL
WFN_RESTART_FILE_NAME ./H2O-128-PBE-TZ-RESTART.wfn
BASIS_SET_FILE_NAME BASIS_RI_cc-TZ
POTENTIAL_FILE_NAME POTENTIAL
SORT_BASIS EXP
WFN_RESTART_FILE_NAME ./H2O-128-PBE-TZ-RESTART.wfn
&MGRID
CUTOFF 800
REL_CUTOFF 50
CUTOFF 800
REL_CUTOFF 50
&END MGRID
&QS
EPS_DEFAULT 1.0E-12
&END QS
&SCF
SCF_GUESS RESTART
EPS_SCF 1.0E-6
MAX_SCF 30
EPS_SCF 1.0E-6
MAX_SCF 30
SCF_GUESS RESTART
&OT
MINIMIZER CG
PRECONDITIONER FULL_ALL
&END
MINIMIZER CG
PRECONDITIONER FULL_ALL
&END OT
&OUTER_SCF
EPS_SCF 1.0E-6
MAX_SCF 20
&END
EPS_SCF 1.0E-6
MAX_SCF 20
&END OUTER_SCF
&PRINT
&RESTART OFF
&END
&END
&END RESTART
&END PRINT
&END SCF
&XC
&XC_FUNCTIONAL PBE
&END XC_FUNCTIONAL
&WF_CORRELATION
&RI_RPA
MINIMAX_QUADRATURE
RPA_NUM_QUAD_POINTS 8
&END
&INTEGRALS
&WFC_GPW
CUTOFF 200
REL_CUTOFF 40
&END WFC_GPW
&END INTEGRALS
&LOW_SCALING
MEMORY_CUT 4
MIN_BLOCK_SIZE 6
&END LOW_SCALING
&INTEGRALS
&WFC_GPW
CUTOFF 200
REL_CUTOFF 40
&END
&END INTEGRALS
&RI
&RI_METRIC
POTENTIAL_TYPE IDENTITY
&END RI_METRIC
&END RI
&END
&RI_RPA
MINIMAX_QUADRATURE
RPA_NUM_QUAD_POINTS 8
&END RI_RPA
&END WF_CORRELATION
&XC_FUNCTIONAL PBE
&END XC_FUNCTIONAL
&END XC
&END DFT
&SUBSYS
&CELL
ABC 15.6404 15.6404 15.6404
&END CELL
&TOPOLOGY
COORD_FILE_NAME ./H2O-128.xyz
COORD_FILE_FORMAT XYZ
&END TOPOLOGY
&KIND H
BASIS_SET cc-TZ
BASIS_SET RI_AUX RI_TZ
POTENTIAL GTH-PBE-q1
BASIS_SET cc-TZ
BASIS_SET RI_AUX RI_TZ
POTENTIAL GTH-PBE-q1
&END KIND
&KIND O
BASIS_SET cc-TZ
BASIS_SET RI_AUX RI_TZ
POTENTIAL GTH-PBE-q6
BASIS_SET cc-TZ
BASIS_SET RI_AUX RI_TZ
POTENTIAL GTH-PBE-q6
&END KIND
&TOPOLOGY
COORD_FILE_FORMAT XYZ
COORD_FILE_NAME ./H2O-128.xyz
&END TOPOLOGY
&END SUBSYS
&END FORCE_EVAL
&GLOBAL
PROJECT H2O-128-RPA-TZ
RUN_TYPE ENERGY_FORCE
PREFERRED_DIAG_LIBRARY SL
PRINT_LEVEL MEDIUM
&END GLOBAL

View file

@ -1,98 +1,98 @@
&GLOBAL
PREFERRED_DIAG_LIBRARY SL
PRINT_LEVEL MEDIUM
PROJECT H2O-128-SOS-MP2-TZ
RUN_TYPE ENERGY_FORCE
&END GLOBAL
&FORCE_EVAL
METHOD Quickstep
&DFT
BASIS_SET_FILE_NAME BASIS_RI_cc-TZ
POTENTIAL_FILE_NAME POTENTIAL
WFN_RESTART_FILE_NAME ./H2O-128-PBE-TZ-RESTART.wfn
BASIS_SET_FILE_NAME BASIS_RI_cc-TZ
POTENTIAL_FILE_NAME POTENTIAL
SORT_BASIS EXP
WFN_RESTART_FILE_NAME ./H2O-128-PBE-TZ-RESTART.wfn
&MGRID
CUTOFF 800
REL_CUTOFF 50
CUTOFF 800
REL_CUTOFF 50
&END MGRID
&QS
EPS_DEFAULT 1.0E-12
&END QS
&SCF
SCF_GUESS RESTART
EPS_SCF 1.0E-6
MAX_SCF 30
EPS_SCF 1.0E-6
MAX_SCF 30
SCF_GUESS RESTART
&OT
MINIMIZER DIIS
PRECONDITIONER FULL_SINGLE_INVERSE
&END
MINIMIZER DIIS
PRECONDITIONER FULL_SINGLE_INVERSE
&END OT
&OUTER_SCF
EPS_SCF 1.0E-6
MAX_SCF 20
&END
EPS_SCF 1.0E-6
MAX_SCF 20
&END OUTER_SCF
&PRINT
&RESTART OFF
&END
&END
&END RESTART
&END PRINT
&END SCF
&XC
&XC_FUNCTIONAL NONE
&END XC_FUNCTIONAL
&HF
FRACTION 1.0
&SCREENING
EPS_SCHWARZ 1.0E-7
&END SCREENING
FRACTION 1.0
&INTERACTION_POTENTIAL
CUTOFF_RADIUS 4.9
POTENTIAL_TYPE TRUNCATED
CUTOFF_RADIUS 4.9
T_C_G_DATA t_c_g.dat
&END
T_C_G_DATA t_c_g.dat
&END INTERACTION_POTENTIAL
&MEMORY
MAX_MEMORY 6000
&END
&END MEMORY
&SCREENING
EPS_SCHWARZ 1.0E-7
&END SCREENING
&END HF
&WF_CORRELATION
SCALE_S 1.3
&RI_SOS_MP2
QUADRATURE_POINTS 8
&END RI_SOS_MP2
&INTEGRALS
&WFC_GPW
CUTOFF 200
REL_CUTOFF 40
&END WFC_GPW
&END INTEGRALS
&LOW_SCALING
MEMORY_CUT 4
MIN_BLOCK_SIZE 6
&END LOW_SCALING
&INTEGRALS
&WFC_GPW
CUTOFF 200
REL_CUTOFF 40
&END
&END INTEGRALS
&RI
&RI_METRIC
POTENTIAL_TYPE IDENTITY
&END RI_METRIC
&END RI
&END
&RI_SOS_MP2
QUADRATURE_POINTS 8
&END RI_SOS_MP2
&END WF_CORRELATION
&XC_FUNCTIONAL NONE
&END XC_FUNCTIONAL
&END XC
&END DFT
&SUBSYS
&CELL
ABC 15.6404 15.6404 15.6404
&END CELL
&TOPOLOGY
COORD_FILE_NAME ./H2O-128.xyz
COORD_FILE_FORMAT XYZ
&END TOPOLOGY
&KIND H
BASIS_SET cc-TZ
BASIS_SET RI_AUX RI_TZ
POTENTIAL GTH-HF-q1
BASIS_SET cc-TZ
BASIS_SET RI_AUX RI_TZ
POTENTIAL GTH-HF-q1
&END KIND
&KIND O
BASIS_SET cc-TZ
BASIS_SET RI_AUX RI_TZ
POTENTIAL GTH-HF-q6
BASIS_SET cc-TZ
BASIS_SET RI_AUX RI_TZ
POTENTIAL GTH-HF-q6
&END KIND
&TOPOLOGY
COORD_FILE_FORMAT XYZ
COORD_FILE_NAME ./H2O-128.xyz
&END TOPOLOGY
&END SUBSYS
&END FORCE_EVAL
&GLOBAL
PROJECT H2O-128-SOS-MP2-TZ
RUN_TYPE ENERGY_FORCE
PREFERRED_DIAG_LIBRARY SL
PRINT_LEVEL MEDIUM
&END GLOBAL

View file

@ -1,33 +1,40 @@
&GLOBAL
PREFERRED_DIAG_LIBRARY SL
PRINT_LEVEL MEDIUM
PROJECT H2O-32-PBE-TZ
RUN_TYPE ENERGY
&END GLOBAL
&FORCE_EVAL
METHOD Quickstep
&DFT
BASIS_SET_FILE_NAME BASIS_RI_cc-TZ
POTENTIAL_FILE_NAME POTENTIAL
BASIS_SET_FILE_NAME BASIS_RI_cc-TZ
POTENTIAL_FILE_NAME POTENTIAL
SORT_BASIS EXP
&MGRID
CUTOFF 800
REL_CUTOFF 50
CUTOFF 800
REL_CUTOFF 50
&END MGRID
&QS
EPS_DEFAULT 1.0E-12
&END QS
&SCF
SCF_GUESS ATOMIC
EPS_SCF 1.0E-6
MAX_SCF 30
EPS_SCF 1.0E-6
MAX_SCF 30
SCF_GUESS ATOMIC
&OT
MINIMIZER CG
PRECONDITIONER FULL_ALL
&END
MINIMIZER CG
PRECONDITIONER FULL_ALL
&END OT
&OUTER_SCF
EPS_SCF 1.0E-6
MAX_SCF 20
&END
EPS_SCF 1.0E-6
MAX_SCF 20
&END OUTER_SCF
&PRINT
&RESTART
BACKUP_COPIES 0
&END
&END
&END RESTART
&END PRINT
&END SCF
&XC
&XC_FUNCTIONAL PBE
@ -38,26 +45,19 @@
&CELL
ABC 9.8528 9.8528 9.8528
&END CELL
&TOPOLOGY
COORD_FILE_NAME ./H2O-32.xyz
COORD_FILE_FORMAT XYZ
&END TOPOLOGY
&KIND H
BASIS_SET cc-TZ
BASIS_SET RI_AUX RI_TZ
POTENTIAL GTH-PBE-q1
BASIS_SET cc-TZ
BASIS_SET RI_AUX RI_TZ
POTENTIAL GTH-PBE-q1
&END KIND
&KIND O
BASIS_SET cc-TZ
BASIS_SET RI_AUX RI_TZ
POTENTIAL GTH-PBE-q6
BASIS_SET cc-TZ
BASIS_SET RI_AUX RI_TZ
POTENTIAL GTH-PBE-q6
&END KIND
&TOPOLOGY
COORD_FILE_FORMAT XYZ
COORD_FILE_NAME ./H2O-32.xyz
&END TOPOLOGY
&END SUBSYS
&END FORCE_EVAL
&GLOBAL
PROJECT H2O-32-PBE-TZ
RUN_TYPE ENERGY
PREFERRED_DIAG_LIBRARY SL
PRINT_LEVEL MEDIUM
&END GLOBAL

View file

@ -1,84 +1,84 @@
&GLOBAL
PREFERRED_DIAG_LIBRARY SL
PRINT_LEVEL MEDIUM
PROJECT H2O-32-RPA-TZ
RUN_TYPE ENERGY_FORCE
&END GLOBAL
&FORCE_EVAL
METHOD Quickstep
&DFT
BASIS_SET_FILE_NAME BASIS_RI_cc-TZ
POTENTIAL_FILE_NAME POTENTIAL
WFN_RESTART_FILE_NAME ./H2O-32-PBE-TZ-RESTART.wfn
BASIS_SET_FILE_NAME BASIS_RI_cc-TZ
POTENTIAL_FILE_NAME POTENTIAL
SORT_BASIS EXP
WFN_RESTART_FILE_NAME ./H2O-32-PBE-TZ-RESTART.wfn
&MGRID
CUTOFF 800
REL_CUTOFF 50
CUTOFF 800
REL_CUTOFF 50
&END MGRID
&QS
EPS_DEFAULT 1.0E-12
&END QS
&SCF
SCF_GUESS RESTART
EPS_SCF 1.0E-6
MAX_SCF 30
EPS_SCF 1.0E-6
MAX_SCF 30
SCF_GUESS RESTART
&OT
MINIMIZER CG
PRECONDITIONER FULL_ALL
&END
MINIMIZER CG
PRECONDITIONER FULL_ALL
&END OT
&OUTER_SCF
EPS_SCF 1.0E-6
MAX_SCF 20
&END
EPS_SCF 1.0E-6
MAX_SCF 20
&END OUTER_SCF
&PRINT
&RESTART OFF
&END
&END
&END RESTART
&END PRINT
&END SCF
&XC
&XC_FUNCTIONAL PBE
&END XC_FUNCTIONAL
&WF_CORRELATION
&RI_RPA
MINIMAX_QUADRATURE
RPA_NUM_QUAD_POINTS 8
&END
&INTEGRALS
&WFC_GPW
CUTOFF 200
REL_CUTOFF 40
&END WFC_GPW
&END INTEGRALS
&LOW_SCALING
MEMORY_CUT 3
MIN_BLOCK_SIZE 5
&END LOW_SCALING
&INTEGRALS
&WFC_GPW
CUTOFF 200
REL_CUTOFF 40
&END
&END INTEGRALS
&RI
&RI_METRIC
POTENTIAL_TYPE IDENTITY
&END RI_METRIC
&END RI
&END
&RI_RPA
MINIMAX_QUADRATURE
RPA_NUM_QUAD_POINTS 8
&END RI_RPA
&END WF_CORRELATION
&XC_FUNCTIONAL PBE
&END XC_FUNCTIONAL
&END XC
&END DFT
&SUBSYS
&CELL
ABC 9.8528 9.8528 9.8528
&END CELL
&TOPOLOGY
COORD_FILE_NAME ./H2O-32.xyz
COORD_FILE_FORMAT XYZ
&END TOPOLOGY
&KIND H
BASIS_SET cc-TZ
BASIS_SET RI_AUX RI_TZ
POTENTIAL GTH-PBE-q1
BASIS_SET cc-TZ
BASIS_SET RI_AUX RI_TZ
POTENTIAL GTH-PBE-q1
&END KIND
&KIND O
BASIS_SET cc-TZ
BASIS_SET RI_AUX RI_TZ
POTENTIAL GTH-PBE-q6
BASIS_SET cc-TZ
BASIS_SET RI_AUX RI_TZ
POTENTIAL GTH-PBE-q6
&END KIND
&TOPOLOGY
COORD_FILE_FORMAT XYZ
COORD_FILE_NAME ./H2O-32.xyz
&END TOPOLOGY
&END SUBSYS
&END FORCE_EVAL
&GLOBAL
PROJECT H2O-32-RPA-TZ
RUN_TYPE ENERGY_FORCE
PREFERRED_DIAG_LIBRARY SL
PRINT_LEVEL MEDIUM
&END GLOBAL

View file

@ -1,99 +1,99 @@
&GLOBAL
PREFERRED_DIAG_LIBRARY SL
PRINT_LEVEL MEDIUM
PROJECT H2O-32-SOS-MP2-TZ
RUN_TYPE ENERGY_FORCE
&END GLOBAL
&FORCE_EVAL
METHOD Quickstep
&DFT
BASIS_SET_FILE_NAME BASIS_RI_cc-TZ
POTENTIAL_FILE_NAME POTENTIAL
WFN_RESTART_FILE_NAME ./H2O-32-PBE-TZ-RESTART.wfn
BASIS_SET_FILE_NAME BASIS_RI_cc-TZ
POTENTIAL_FILE_NAME POTENTIAL
SORT_BASIS EXP
WFN_RESTART_FILE_NAME ./H2O-32-PBE-TZ-RESTART.wfn
&MGRID
CUTOFF 800
REL_CUTOFF 50
CUTOFF 800
REL_CUTOFF 50
&END MGRID
&QS
EPS_DEFAULT 1.0E-12
&END QS
&SCF
SCF_GUESS RESTART
EPS_SCF 1.0E-6
MAX_SCF 30
EPS_SCF 1.0E-6
MAX_SCF 30
SCF_GUESS RESTART
&OT
MINIMIZER DIIS
PRECONDITIONER FULL_SINGLE_INVERSE
&END
MINIMIZER DIIS
PRECONDITIONER FULL_SINGLE_INVERSE
&END OT
&OUTER_SCF
EPS_SCF 1.0E-6
MAX_SCF 20
&END
EPS_SCF 1.0E-6
MAX_SCF 20
&END OUTER_SCF
&PRINT
&RESTART OFF
&END
&END
&END RESTART
&END PRINT
&END SCF
&XC
&XC_FUNCTIONAL NONE
&END XC_FUNCTIONAL
&HF
FRACTION 1.0
&SCREENING
EPS_SCHWARZ 1.0E-7
!SCREEN_ON_INITIAL_P TRUE
&END SCREENING
FRACTION 1.0
&INTERACTION_POTENTIAL
CUTOFF_RADIUS 4.9
POTENTIAL_TYPE TRUNCATED
CUTOFF_RADIUS 4.9
T_C_G_DATA t_c_g.dat
&END
T_C_G_DATA t_c_g.dat
&END INTERACTION_POTENTIAL
&MEMORY
MAX_MEMORY 6000
&END
&END MEMORY
&SCREENING
EPS_SCHWARZ 1.0E-7
!SCREEN_ON_INITIAL_P TRUE
&END SCREENING
&END HF
&WF_CORRELATION
SCALE_S 1.3
&RI_SOS_MP2
QUADRATURE_POINTS 8
&END RI_SOS_MP2
&INTEGRALS
&WFC_GPW
CUTOFF 200
REL_CUTOFF 40
&END WFC_GPW
&END INTEGRALS
&LOW_SCALING
MEMORY_CUT 3
MIN_BLOCK_SIZE 5
&END LOW_SCALING
&INTEGRALS
&WFC_GPW
CUTOFF 200
REL_CUTOFF 40
&END
&END INTEGRALS
&RI
&RI_METRIC
POTENTIAL_TYPE IDENTITY
&END RI_METRIC
&END RI
&END
&RI_SOS_MP2
QUADRATURE_POINTS 8
&END RI_SOS_MP2
&END WF_CORRELATION
&XC_FUNCTIONAL NONE
&END XC_FUNCTIONAL
&END XC
&END DFT
&SUBSYS
&CELL
ABC 9.8528 9.8528 9.8528
&END CELL
&TOPOLOGY
COORD_FILE_NAME ./H2O-32.xyz
COORD_FILE_FORMAT XYZ
&END TOPOLOGY
&KIND H
BASIS_SET cc-TZ
BASIS_SET RI_AUX RI_TZ
POTENTIAL GTH-HF-q1
BASIS_SET cc-TZ
BASIS_SET RI_AUX RI_TZ
POTENTIAL GTH-HF-q1
&END KIND
&KIND O
BASIS_SET cc-TZ
BASIS_SET RI_AUX RI_TZ
POTENTIAL GTH-HF-q6
BASIS_SET cc-TZ
BASIS_SET RI_AUX RI_TZ
POTENTIAL GTH-HF-q6
&END KIND
&TOPOLOGY
COORD_FILE_FORMAT XYZ
COORD_FILE_NAME ./H2O-32.xyz
&END TOPOLOGY
&END SUBSYS
&END FORCE_EVAL
&GLOBAL
PROJECT H2O-32-SOS-MP2-TZ
RUN_TYPE ENERGY_FORCE
PREFERRED_DIAG_LIBRARY SL
PRINT_LEVEL MEDIUM
&END GLOBAL

View file

@ -1,33 +1,39 @@
&GLOBAL
PRINT_LEVEL MEDIUM
PROJECT H2O-64-PBE-TZ
RUN_TYPE ENERGY
&END GLOBAL
&FORCE_EVAL
METHOD Quickstep
&DFT
BASIS_SET_FILE_NAME BASIS_RI_cc-TZ
POTENTIAL_FILE_NAME POTENTIAL
BASIS_SET_FILE_NAME BASIS_RI_cc-TZ
POTENTIAL_FILE_NAME POTENTIAL
SORT_BASIS EXP
&MGRID
CUTOFF 800
REL_CUTOFF 50
CUTOFF 800
REL_CUTOFF 50
&END MGRID
&QS
EPS_DEFAULT 1.0E-12
&END QS
&SCF
SCF_GUESS ATOMIC
EPS_SCF 1.0E-6
MAX_SCF 30
EPS_SCF 1.0E-6
MAX_SCF 30
SCF_GUESS ATOMIC
&OT
MINIMIZER CG
PRECONDITIONER FULL_ALL
&END
MINIMIZER CG
PRECONDITIONER FULL_ALL
&END OT
&OUTER_SCF
EPS_SCF 1.0E-6
MAX_SCF 20
&END
EPS_SCF 1.0E-6
MAX_SCF 20
&END OUTER_SCF
&PRINT
&RESTART
BACKUP_COPIES 0
&END
&END
&END RESTART
&END PRINT
&END SCF
&XC
&XC_FUNCTIONAL PBE
@ -36,27 +42,21 @@
&END DFT
&SUBSYS
&CELL
ABC 12.4138 12.4138 12.4138
ABC 12.4138 12.4138 12.4138
&END CELL
&TOPOLOGY
COORD_FILE_NAME ./H2O-64.xyz
COORD_FILE_FORMAT XYZ
&END TOPOLOGY
&KIND H
BASIS_SET cc-TZ
BASIS_SET RI_AUX RI_TZ
POTENTIAL GTH-PBE-q1
BASIS_SET cc-TZ
BASIS_SET RI_AUX RI_TZ
POTENTIAL GTH-PBE-q1
&END KIND
&KIND O
BASIS_SET cc-TZ
BASIS_SET RI_AUX RI_TZ
POTENTIAL GTH-PBE-q6
BASIS_SET cc-TZ
BASIS_SET RI_AUX RI_TZ
POTENTIAL GTH-PBE-q6
&END KIND
&TOPOLOGY
COORD_FILE_FORMAT XYZ
COORD_FILE_NAME ./H2O-64.xyz
&END TOPOLOGY
&END SUBSYS
&END FORCE_EVAL
&GLOBAL
PROJECT H2O-64-PBE-TZ
RUN_TYPE ENERGY
PRINT_LEVEL MEDIUM
&END GLOBAL

View file

@ -1,84 +1,84 @@
&GLOBAL
PREFERRED_DIAG_LIBRARY SL
PRINT_LEVEL MEDIUM
PROJECT H2O-64-RPA-TZ
RUN_TYPE ENERGY_FORCE
&END GLOBAL
&FORCE_EVAL
METHOD Quickstep
&DFT
BASIS_SET_FILE_NAME BASIS_RI_cc-TZ
POTENTIAL_FILE_NAME POTENTIAL
WFN_RESTART_FILE_NAME ./H2O-64-PBE-TZ-RESTART.wfn
BASIS_SET_FILE_NAME BASIS_RI_cc-TZ
POTENTIAL_FILE_NAME POTENTIAL
SORT_BASIS EXP
WFN_RESTART_FILE_NAME ./H2O-64-PBE-TZ-RESTART.wfn
&MGRID
CUTOFF 800
REL_CUTOFF 50
CUTOFF 800
REL_CUTOFF 50
&END MGRID
&QS
EPS_DEFAULT 1.0E-12
&END QS
&SCF
SCF_GUESS RESTART
EPS_SCF 1.0E-6
MAX_SCF 30
EPS_SCF 1.0E-6
MAX_SCF 30
SCF_GUESS RESTART
&OT
MINIMIZER CG
PRECONDITIONER FULL_ALL
&END
MINIMIZER CG
PRECONDITIONER FULL_ALL
&END OT
&OUTER_SCF
EPS_SCF 1.0E-6
MAX_SCF 20
&END
EPS_SCF 1.0E-6
MAX_SCF 20
&END OUTER_SCF
&PRINT
&RESTART OFF
&END
&END
&END RESTART
&END PRINT
&END SCF
&XC
&XC_FUNCTIONAL PBE
&END XC_FUNCTIONAL
&WF_CORRELATION
&RI_RPA
MINIMAX_QUADRATURE
RPA_NUM_QUAD_POINTS 8
&END
&INTEGRALS
&WFC_GPW
CUTOFF 200
REL_CUTOFF 40
&END WFC_GPW
&END INTEGRALS
&LOW_SCALING
MEMORY_CUT 4
MIN_BLOCK_SIZE 5
&END LOW_SCALING
&INTEGRALS
&WFC_GPW
CUTOFF 200
REL_CUTOFF 40
&END
&END INTEGRALS
&RI
&RI_METRIC
POTENTIAL_TYPE IDENTITY
&END RI_METRIC
&END RI
&END
&RI_RPA
MINIMAX_QUADRATURE
RPA_NUM_QUAD_POINTS 8
&END RI_RPA
&END WF_CORRELATION
&XC_FUNCTIONAL PBE
&END XC_FUNCTIONAL
&END XC
&END DFT
&SUBSYS
&CELL
ABC 12.4138 12.4138 12.4138
ABC 12.4138 12.4138 12.4138
&END CELL
&TOPOLOGY
COORD_FILE_NAME ./H2O-64.xyz
COORD_FILE_FORMAT XYZ
&END TOPOLOGY
&KIND H
BASIS_SET cc-TZ
BASIS_SET RI_AUX RI_TZ
POTENTIAL GTH-PBE-q1
BASIS_SET cc-TZ
BASIS_SET RI_AUX RI_TZ
POTENTIAL GTH-PBE-q1
&END KIND
&KIND O
BASIS_SET cc-TZ
BASIS_SET RI_AUX RI_TZ
POTENTIAL GTH-PBE-q6
BASIS_SET cc-TZ
BASIS_SET RI_AUX RI_TZ
POTENTIAL GTH-PBE-q6
&END KIND
&TOPOLOGY
COORD_FILE_FORMAT XYZ
COORD_FILE_NAME ./H2O-64.xyz
&END TOPOLOGY
&END SUBSYS
&END FORCE_EVAL
&GLOBAL
PROJECT H2O-64-RPA-TZ
RUN_TYPE ENERGY_FORCE
PREFERRED_DIAG_LIBRARY SL
PRINT_LEVEL MEDIUM
&END GLOBAL

View file

@ -1,98 +1,98 @@
&GLOBAL
PREFERRED_DIAG_LIBRARY SL
PRINT_LEVEL MEDIUM
PROJECT H2O-64-SOS-MP2-TZ
RUN_TYPE ENERGY_FORCE
&END GLOBAL
&FORCE_EVAL
METHOD Quickstep
&DFT
BASIS_SET_FILE_NAME BASIS_RI_cc-TZ
POTENTIAL_FILE_NAME POTENTIAL
WFN_RESTART_FILE_NAME ./H2O-64-PBE-TZ-RESTART.wfn
BASIS_SET_FILE_NAME BASIS_RI_cc-TZ
POTENTIAL_FILE_NAME POTENTIAL
SORT_BASIS EXP
WFN_RESTART_FILE_NAME ./H2O-64-PBE-TZ-RESTART.wfn
&MGRID
CUTOFF 800
REL_CUTOFF 50
CUTOFF 800
REL_CUTOFF 50
&END MGRID
&QS
EPS_DEFAULT 1.0E-12
&END QS
&SCF
SCF_GUESS RESTART
EPS_SCF 1.0E-6
MAX_SCF 30
EPS_SCF 1.0E-6
MAX_SCF 30
SCF_GUESS RESTART
&OT
MINIMIZER DIIS
PRECONDITIONER FULL_SINGLE_INVERSE
&END
MINIMIZER DIIS
PRECONDITIONER FULL_SINGLE_INVERSE
&END OT
&OUTER_SCF
EPS_SCF 1.0E-6
MAX_SCF 20
&END
EPS_SCF 1.0E-6
MAX_SCF 20
&END OUTER_SCF
&PRINT
&RESTART OFF
&END
&END
&END RESTART
&END PRINT
&END SCF
&XC
&XC_FUNCTIONAL NONE
&END XC_FUNCTIONAL
&HF
FRACTION 1.0
&SCREENING
EPS_SCHWARZ 1.0E-7
&END SCREENING
FRACTION 1.0
&INTERACTION_POTENTIAL
CUTOFF_RADIUS 4.9
POTENTIAL_TYPE TRUNCATED
CUTOFF_RADIUS 4.9
T_C_G_DATA t_c_g.dat
&END
T_C_G_DATA t_c_g.dat
&END INTERACTION_POTENTIAL
&MEMORY
MAX_MEMORY 6000
&END
&END MEMORY
&SCREENING
EPS_SCHWARZ 1.0E-7
&END SCREENING
&END HF
&WF_CORRELATION
SCALE_S 1.3
&RI_SOS_MP2
QUADRATURE_POINTS 8
&END RI_SOS_MP2
&INTEGRALS
&WFC_GPW
CUTOFF 200
REL_CUTOFF 40
&END WFC_GPW
&END INTEGRALS
&LOW_SCALING
MEMORY_CUT 4
MIN_BLOCK_SIZE 5
&END LOW_SCALING
&INTEGRALS
&WFC_GPW
CUTOFF 200
REL_CUTOFF 40
&END
&END INTEGRALS
&RI
&RI_METRIC
POTENTIAL_TYPE IDENTITY
&END RI_METRIC
&END RI
&END
&RI_SOS_MP2
QUADRATURE_POINTS 8
&END RI_SOS_MP2
&END WF_CORRELATION
&XC_FUNCTIONAL NONE
&END XC_FUNCTIONAL
&END XC
&END DFT
&SUBSYS
&CELL
ABC 12.4138 12.4138 12.4138
ABC 12.4138 12.4138 12.4138
&END CELL
&TOPOLOGY
COORD_FILE_NAME ./H2O-64.xyz
COORD_FILE_FORMAT XYZ
&END TOPOLOGY
&KIND H
BASIS_SET cc-TZ
BASIS_SET RI_AUX RI_TZ
POTENTIAL GTH-HF-q1
BASIS_SET cc-TZ
BASIS_SET RI_AUX RI_TZ
POTENTIAL GTH-HF-q1
&END KIND
&KIND O
BASIS_SET cc-TZ
BASIS_SET RI_AUX RI_TZ
POTENTIAL GTH-HF-q6
BASIS_SET cc-TZ
BASIS_SET RI_AUX RI_TZ
POTENTIAL GTH-HF-q6
&END KIND
&TOPOLOGY
COORD_FILE_FORMAT XYZ
COORD_FILE_NAME ./H2O-64.xyz
&END TOPOLOGY
&END SUBSYS
&END FORCE_EVAL
&GLOBAL
PROJECT H2O-64-SOS-MP2-TZ
RUN_TYPE ENERGY_FORCE
PREFERRED_DIAG_LIBRARY SL
PRINT_LEVEL MEDIUM
&END GLOBAL

Some files were not shown because too many files have changed in this diff Show more