Skip to content

Commit fa004a1

Browse files
authored
Merge pull request #73 from NCKU-QFort/settings
Several Settings
2 parents 2fa9b29 + 61cf2e4 commit fa004a1

File tree

8 files changed

+64
-24
lines changed

8 files changed

+64
-24
lines changed

.github/workflows/FormatCheck.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,17 @@ on:
44
push:
55
branches:
66
- 'main'
7-
tags:
8-
- '*'
7+
paths:
8+
- '.github/workflows/FormatCheck.yml'
9+
- '.JuliaFormatter.toml'
10+
- '**.jl'
911
pull_request:
1012
branches:
1113
- 'main'
14+
paths:
15+
- '.github/workflows/FormatCheck.yml'
16+
- '.JuliaFormatter.toml'
17+
- '**.jl'
1218
types:
1319
- opened
1420
- reopened

.github/workflows/Runtests.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,21 @@ on:
44
push:
55
branches:
66
- 'main'
7-
paths-ignore:
8-
- 'docs/**'
9-
- 'examples/**'
7+
paths:
8+
- '.github/workflows/Runtests.yml'
9+
- 'src/**'
10+
- 'ext/**'
11+
- 'test/**'
12+
- 'Project.toml'
1013
pull_request:
1114
branches:
1215
- 'main'
13-
paths-ignore:
14-
- 'docs/**'
15-
- 'examples/**'
16+
paths:
17+
- '.github/workflows/Runtests.yml'
18+
- 'src/**'
19+
- 'ext/**'
20+
- 'test/**'
21+
- 'Project.toml'
1622
types:
1723
- opened
1824
- reopened

.github/workflows/documentation.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,13 @@ on:
99
pull_request:
1010
branches:
1111
- 'main'
12+
paths:
13+
- '.github/workflows/documentation.yml'
14+
- 'src/**'
15+
- 'ext/**'
16+
- 'docs/**'
17+
- 'examples/**'
18+
- 'Project.toml'
1219
types:
1320
- opened
1421
- reopened

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,19 @@
11
.DS_Store
22
.vscode
33

4+
*.jl.*.cov
5+
*.jl.cov
6+
*.jl.mem
47
Manifest.toml
58
docs/build/
69
docs/src/examples/
710

811
*.txt
912
*.jld2
13+
*.json
1014

1115
*.py
16+
*.ipynb
1217
*.ipynb_checkpoints
1318
**/*.ipynb_checkpoints
1419
**/**/*.ipynb_checkpoints

CODE_OF_CONDUCT.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Contributor Covenant Code of Conduct
2+
3+
As contributors and maintainers of this project, and in the interest of fostering an open and welcoming community, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.
4+
5+
We are committed to making participation in this project a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, ethnicity, age, religion, or nationality.
6+
7+
Examples of unacceptable behavior by participants include:
8+
9+
* The use of sexualized language or imagery
10+
* Personal attacks
11+
* Trolling or insulting/derogatory comments
12+
* Public or private harassment
13+
* Publishing other's private information, such as physical or electronic addresses, without explicit permission
14+
* Other unethical or unprofessional conduct
15+
16+
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct. By adopting this Code of Conduct, project maintainers commit themselves to fairly and consistently applying these principles to every aspect of managing this project. Project maintainers who do not follow or enforce the Code of Conduct may be permanently removed from the project team.
17+
18+
This code of conduct applies both within project spaces and in public spaces when an individual is representing the project or its community.
19+
20+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by opening an issue or contacting one or more of the project maintainers.
21+
22+
This Code of Conduct is adapted from the Contributor Covenant , version 1.2.0, available at https://www.contributor-covenant.org/version/1/2/0/code-of-conduct.html
23+
24+
[homepage]: https://contributor-covenant.org
25+
[version]: https://contributor-covenant.org/version/1/2/

Project.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ HierarchicalEOM_QuantumToolboxExt = "QuantumToolbox"
3030
[compat]
3131
CUDA = "5"
3232
DiffEqCallbacks = "2, 3"
33-
FastExpm = "1.1.0"
34-
JLD2 = "0.4.31"
33+
FastExpm = "1.1"
34+
JLD2 = "0.4.31 - 0.4"
3535
LinearAlgebra = "<0.0.1, 1"
36-
LinearSolve = "2.4.2"
37-
OrdinaryDiffEq = "6.53.4"
36+
LinearSolve = "2.4.2 - 2"
37+
OrdinaryDiffEq = "6.53.4 - 6"
3838
Pkg = "<0.0.1, 1"
3939
PrecompileTools = "1"
4040
ProgressMeter = "1.7"

docs/Project.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ QuantumToolbox = "6c2fb7c5-b903-41d2-bc5e-5a7c320b9fab"
1313

1414
[compat]
1515
BenchmarkTools = "1.3"
16-
Documenter = "0.27, 1"
16+
Documenter = "1"
1717
HierarchicalEOM = "1"
1818
LaTeXStrings = "1"
19-
LinearSolve = "2.4"
19+
LinearSolve = "2"
2020
Literate = "2"
21-
OrdinaryDiffEq = "6.53"
21+
OrdinaryDiffEq = "6"
2222
Pardiso = "0.5"
2323
Plots = "1"
2424
QuantumOptics = "1"

examples/benchmark_LS_solvers.jl

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,6 @@ UMFPACKFactorization();
4242
# This solver performs better when there is less structure to the sparsity pattern (depends on the complexity of your system and baths).
4343
KLUFactorization();
4444

45-
# ### Julia's built-in LU factorization
46-
LUFactorization();
47-
4845
# ### A generic BICGSTAB implementation from Krylov
4946
KrylovJL_BICGSTAB();
5047

@@ -65,9 +62,6 @@ MKLPardisoIterate();
6562
# ### KLUFactorization
6663
@benchmark SteadyState(M_even; solver = KLUFactorization(), verbose = false)
6764

68-
# ### Julia's built-in generic LU factorization
69-
@benchmark SteadyState(M_even; solver = LUFactorization(), verbose = false)
70-
7165
# ### KrylovJL_BICGSTAB
7266
@benchmark SteadyState(M_even; solver = KrylovJL_BICGSTAB(rtol = 1e-10, atol = 1e-12), verbose = false)
7367

@@ -84,9 +78,6 @@ MKLPardisoIterate();
8478
# ### KLUFactorization
8579
@benchmark DensityOfStates(M_odd, ados_s, d_up, ωlist; solver = KLUFactorization(), verbose = false)
8680

87-
# ### Julia's built-in LU factorization
88-
@benchmark DensityOfStates(M_odd, ados_s, d_up, ωlist; solver = LUFactorization(), verbose = false)
89-
9081
# ### KrylovJL_BICGSTAB
9182
@benchmark DensityOfStates(
9283
M_odd,

0 commit comments

Comments
 (0)