Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make use of libcommute and update C++ API accordingly #44

Merged
merged 30 commits into from
May 21, 2021
Merged
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
04ea9ed
Demote `BlockNumber` from a structure to a simple integer
krivenko Apr 1, 2021
ff2c479
[cmake] Add libcommute dependency
krivenko Mar 26, 2021
555e08a
[cmake] Temporarily comment out compilation of almost all sources
krivenko Apr 1, 2021
066817e
libcommute: New header Operators.h
krivenko Apr 1, 2021
f627e86
libcommute: Reworked version of `IndexClassification`
krivenko Apr 1, 2021
914014e
libcommute: Reworked versions of `Symmetrizer` and `StatesClassificat…
krivenko Apr 1, 2021
8767238
libcommute: Reworked versions of `Hamiltonian` and `HamiltonianPart`
krivenko Apr 2, 2021
68c7ef2
Hamiltonian: Implement visitation interface for the parts
krivenko Apr 8, 2021
d87cb56
libcommute: Reworked versions of `DensityMatrix` and `DensityMatrixPart`
krivenko Apr 8, 2021
5522cf2
libcommute: Rename `Symmetrizer` -> `HilbertSpace`
krivenko Apr 9, 2021
1e91805
libcommute: Remove template parameter from `HamiltonianPart`
krivenko Apr 11, 2021
9b00075
libcommute: Ported remaining bits of the library needed for GF4siteTe…
krivenko Apr 10, 2021
5678908
libcommute: Store a ref to HamiltonianPart in DensityMatrixPart
krivenko Apr 14, 2021
631c81b
[ci] Install libcommute before compiling pomerol
krivenko Apr 18, 2021
1e535a9
[ci] Fix failing GCC builds
krivenko Apr 18, 2021
4db4118
[ci] Require Clang 3.9 instead of 3.6 and 3.7
krivenko Apr 18, 2021
83b3efe
[ci] More work to fix failing Clang builds
krivenko Apr 18, 2021
dfec66e
libcommute: Remove unused oirbital indices from `GF4siteTest_libcommute`
krivenko Apr 19, 2021
2f70f53
libcommute: Reworked versions of `TwoParticleGF*` classes
krivenko Apr 19, 2021
2891144
libcommute: Re-enable compilation of `Vertex4.cpp`
krivenko Apr 19, 2021
67b2d9e
libcommute: Reworked versions of `EnsembleAverage` and `Susceptibility*`
krivenko Apr 19, 2021
b2fbc87
libcommute: Merge `OperatorPresets` functions into `Operators`
krivenko Apr 19, 2021
b9f07d9
libcommute: Remove some unused sources
krivenko Apr 19, 2021
424cff3
libcommute: Remove `LibcommuteEigen.h`
krivenko Apr 20, 2021
9594f8f
libcommute: Remove `Lattice.h` and rework `LatticePresets`
krivenko Apr 21, 2021
d86c52c
libcommute: Port `GF*` and `Anderson*` unit tests and fix a couple of…
krivenko Apr 22, 2021
56a56ea
libcommute: Port remaining unit tests
krivenko May 3, 2021
0cd8a13
libcommute: Port programs
krivenko May 4, 2021
62f985e
Update the Pomerol 2.0 roadmap
krivenko May 4, 2021
4666955
Drop shared pointers from DensityMatrix and Susceptibility
krivenko May 21, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[ci] Install libcommute before compiling pomerol
  • Loading branch information
krivenko committed Apr 18, 2021
commit 631c81b3ebbf896344eb871012adbaa020ef9376
16 changes: 15 additions & 1 deletion .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,27 @@ jobs:
sudo apt-get update -q
sudo apt-get install -y libeigen3-dev libopenmpi-dev libboost-all-dev
sudo apt-get install -y ${{ matrix.compiler.name }}

- name: Install libcommute
run: |
git clone https://github.com/krivenko/libcommute
mkdir libcommute.build && cd libcommute.build
cmake ../libcommute \
-DCMAKE_INSTALL_PREFIX=${GITHUB_WORKSPACE}/libcommute.ins \
-DTESTS=OFF \
-DEXAMPLES=OFF
make install

- name: Build
env:
CXX: ${{ matrix.compiler.cxx }}
run: |
mkdir build
cd build
cmake -DTesting=ON -DProgs=ON -Dprogs_list="anderson;hubbard2d" ..
cmake -Dlibcommute_DIR=${GITHUB_WORKSPACE}/libcommute.ins/lib/cmake \
-DTesting=ON \
-DProgs=ON \
-Dprogs_list="anderson;hubbard2d" ..
make VERBOSE=1

- name: Run unit tests
Expand Down