-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changelog: - fix compilation bug with BUILD_PREBO=OFF
- Loading branch information
1 parent
63ed092
commit 5ab0eef
Showing
14 changed files
with
112 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,70 @@ | ||
image: gitlab.chab.ethz.ch:4567/reiher/docker/qcmaquis-gcc:latest | ||
|
||
build: | ||
build-electronic: | ||
stage: build | ||
tags: | ||
- default_docker | ||
script: | ||
- mkdir build && cd build | ||
- mkdir buildElectronic && cd buildElectronic | ||
- cmake -DQCMAQUIS_TESTS=ON -DBUILD_SYMMETRIES="TwoU1;TwoU1PG;SU2U1;SU2U1PG" ../dmrg | ||
- make -j4 | ||
artifacts: | ||
paths: | ||
- buildElectronic/ | ||
expire_in: 6h | ||
when: always | ||
|
||
build-relativistic: | ||
stage: build | ||
tags: | ||
- default_docker | ||
script: | ||
- mkdir buildRelativistic && cd buildRelativistic | ||
- cmake -DQCMAQUIS_TESTS=ON -DBUILD_SYMMETRIES="TwoU1;TwoU1PG;SU2U1;SU2U1PG;U1DG" ../dmrg | ||
- make -j4 | ||
artifacts: | ||
paths: | ||
- buildRelativistic/ | ||
expire_in: 6h | ||
when: always | ||
|
||
build-with-nu1: | ||
stage: build | ||
tags: | ||
- default_docker | ||
script: | ||
- mkdir buildNU1 && cd buildNU1 | ||
- cmake -DQCMAQUIS_TESTS=ON -DBUILD_SYMMETRIES="TwoU1;TwoU1PG;SU2U1;SU2U1PG;U1DG;NU1" -DBUILD_PREBO=ON -DDMRG_NUMSYMM=5 ../dmrg | ||
- make -j4 | ||
artifacts: | ||
paths: | ||
- build/ | ||
- buildNU1/ | ||
expire_in: 6h | ||
when: always | ||
|
||
testElectronic: | ||
stage: test | ||
needs: ["build-electronic"] | ||
tags: | ||
- default_docker | ||
script: | ||
- cd buildElectronic | ||
- make test | ||
|
||
test: | ||
testRelativistic: | ||
stage: test | ||
needs: ["build-relativistic"] | ||
tags: | ||
- default_docker | ||
script: | ||
- cd build | ||
- cd buildRelativistic | ||
- make test | ||
|
||
testNU1: | ||
stage: test | ||
needs: ["build-with-nu1"] | ||
tags: | ||
- default_docker | ||
script: | ||
- cd buildNU1 | ||
- make test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,6 @@ | |
* Copyright (C) 2014 Institute for Theoretical Physics, ETH Zurich | ||
* 2012-2013 by Michele Dolfi <[email protected]> | ||
* Sebastian Keller <[email protected]> | ||
* | ||
* 2020- by Robin Feldmann <[email protected]> | ||
* | ||
* This software is part of the ALPS Applications, published under the ALPS | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ | |
* | ||
* Copyright (C) 2014 Institute for Theoretical Physics, ETH Zurich | ||
* 2011-2011 by Michele Dolfi <[email protected]> | ||
* 2021 by Alberto Baiardi <[email protected]> | ||
* | ||
* This software is part of the ALPS Applications, published under the ALPS | ||
* Application License; you can use, redistribute it and/or modify it under | ||
|
@@ -39,8 +40,10 @@ struct coded_model_factory<Matrix, TwoU1> { | |
return impl_ptr( new FermiHubbardTwoU1<Matrix>(lattice, parms) ); | ||
else if (parms["MODEL"] == std::string("quantum_chemistry")) | ||
return impl_ptr( new qc_model<Matrix, TwoU1>(lattice, parms) ); | ||
#ifdef HAVE_NU1 | ||
else if (parms["MODEL"] == std::string("PreBO")) | ||
return impl_ptr( new PreBO<Matrix, 2>(lattice, parms) ); | ||
#endif | ||
else { | ||
throw std::runtime_error("Don't know this model!"); | ||
return impl_ptr(); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters