Skip to content

Commit 821b4aa

Browse files
committed
try 39
1 parent 8cd4e0e commit 821b4aa

File tree

8 files changed

+23
-9
lines changed

8 files changed

+23
-9
lines changed

.github/workflows/cmake.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ jobs:
77
strategy:
88
fail-fast: false
99
matrix:
10-
build_type : [ Release ]
11-
os : [ ubuntu-20.04 ]
10+
build_type : [ Release, Debug ]
11+
os : [ macos-latest, ubuntu-20.04 ]
1212
include:
1313
- os: ubuntu-20.04
1414
cxx: g++-10
@@ -97,6 +97,8 @@ jobs:
9797
run: |
9898
CPPFLAGS="-I$EIGEN3_INCLUDE_DIR" CXXFLAGS="-std=c++11 -Wno-enum-compare" ${{github.workspace}}/configure --with-max-am=2,2 --with-eri-max-am=2,2 --with-eri3-max-am=3,2 --enable-eri=1 --enable-eri3=1 --enable-1body=1 --disable-1body-property-derivs --with-multipole-max-order=2
9999
make -j3
100+
make check
101+
cd src/bin/test_eri && ./stdtests.pl && cd ../../..
100102
make export
101103
echo "ARTIFACT=`ls -1 libint*tgz`" >> $GITHUB_ENV
102104
@@ -110,7 +112,7 @@ jobs:
110112
retention-days: 1
111113

112114
- name: Build+test+install Libint library
113-
if: false
115+
if: ${{ steps.skip_check.outputs.should_skip != 'true' }}
114116
shell: bash
115117
working-directory: ${{github.workspace}}/build/library
116118
run: |
@@ -122,7 +124,7 @@ jobs:
122124
cmake --build build --target install
123125
124126
- name: Test installed Libint library
125-
if: false
127+
if: ${{ steps.skip_check.outputs.should_skip != 'true' }}
126128
shell: bash
127129
working-directory: ${{github.workspace}}/build/library_test
128130
run: |
@@ -139,7 +141,7 @@ jobs:
139141
./hf++ $LIBINT_EXPORTED_DIR/tests/hartree-fock/h2o_rotated.xyz | python $LIBINT_EXPORTED_DIR/tests/hartree-fock/hartree-fock++-validate.py $LIBINT_EXPORTED_DIR/MakeVars.features
140142
141143
- name: Build Python bindings
142-
if: false
144+
if: ${{ steps.skip_check.outputs.should_skip != 'true' }}
143145
shell: bash
144146
working-directory: ${{github.workspace}}/build/library
145147
run: |

CHANGES

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,18 @@
44
Following is a brief summary of changes made in each release of Libint.
55

66
- 2022-xx-yy: 2.8.0-beta.1
7+
- UNMERGED PR #270: For Windows, basis sets with a star have been renamed to "s", so 6-31g**.g94 -> 6-31gss.g94.
8+
- UNMERGED PR #270: Adapt build system and header imports so that library and Python bindings can build on
9+
Windows (at least with clang-cl compiler atop MSVC). Note that a Linux- or Mac-generated export
10+
builds on Windows; one cannot generate an export on Windows.
11+
- UNMERGED PR #269: minimum CMake bumped to 3.16
12+
- UNMERGED PR #269: Solid harmonics ordering is runtime switchable in the library. Issue
13+
`libint2::set_solid_harmonics_ordering(libint2::SHGShellOrdering_Gaussian)` or `_Standard` after
14+
initialization. Similarly, prefer new `INT_SOLIDHARMINDEX(sho, l, m)` to usual `(l, m)` version.
15+
- PR #268: Python detection (relevant to Python bindings, Fortran, and some tests) now uses modern
16+
`find_package(Python)`. Specify with `Python_EXECUTABLE` (note change in case) or
17+
https://cmake.org/cmake/help/latest/module/FindPython.html for details .
18+
- PR #268: Python bindings can now use Pybind11 >=2.6 and can use detected installation.
719
- PR #249: Python bindings (HT @asadchev)
820
- PR #246: BasisSet is no longer derived from vector<Shell>
921
- PR #232: introduced new primitive screening methods
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

tests/unit/fixture.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ namespace unit {
2121
class DefaultFixture {
2222
public:
2323
DefaultFixture() : atoms{ {8, 0.,0.,0.}, {8, 0.,0.,2.}, {1, 0.,-1.,-1.}, {1, 0.,1.,3.}},
24-
obs("6-31g_d_", atoms),
24+
obs("6-31gs", atoms),
2525
dfbs("aug-cc-pvdz", atoms) {}
2626
protected:
2727
std::vector<Atom> atoms;

tests/unit/test-basis.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ TEST_CASE("Basis", "[basis]") {
1313
REQUIRE(bs.nbf() > 0);
1414
};
1515
for(auto&& bs_name : {"3-21g",
16-
"6-311g_d_p_",
16+
"6-311gss",
1717
"6-31g",
18-
"6-31g_d_",
19-
"6-31g_d_p_",
18+
"6-31gs",
19+
"6-31gss",
2020
"ano-rcc",
2121
"aug-cc-pv5z-cabs",
2222
"aug-cc-pvdz-cabs",

0 commit comments

Comments
 (0)