Skip to content

Commit 8a786e8

Browse files
Merge pull request #248 from alchem0x2A/master
2 parents 3fc7c83 + fb1a9c3 commit 8a786e8

File tree

5 files changed

+17
-3
lines changed

5 files changed

+17
-3
lines changed

.github/workflows/build-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- name: Install SPARC-X-API stable version for docparser
3030
run: |
3131
mamba install -c conda-forge pip setuptools
32-
pip install git+https://github.com/SPARC-X/SPARC-X-API.git@v1.0.5
32+
pip install git+https://github.com/SPARC-X/SPARC-X-API.git@v1.1.0
3333
- name: Convert parameters.json
3434
run: |
3535
python -m sparc.docparser --include-subdirs doc/.LaTeX

.github/workflows/update-doc-pdf.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
- name: Install SPARC-X-API stable version for docparser
3535
run: |
3636
mamba install -c conda-forge pip setuptools
37-
pip install git+https://github.com/SPARC-X/SPARC-X-API.git@v1.0.5
37+
pip install git+https://github.com/SPARC-X/SPARC-X-API.git@v1.1.0
3838
- name: Convert parameters.json
3939
run: |
4040
python -m sparc.docparser --include-subdirs doc/.LaTeX

ChangeLog

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22
-Date
33
-Name
44
-changes
5+
--------------
6+
June 17, 2025
7+
Name: Tian Tian
8+
Changes: src/energy.c, CI workflows
9+
1. Fix compilation error with CBLAS in CI workflow
10+
2. Bump stable API version in CI workflow to v1.1.0
511

612
--------------
713
June 17, 2025

doc/.LaTeX/System.tex

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1087,6 +1087,7 @@
10871087

10881088
\begin{block}{Example}
10891089
\texttt{HUBBARD: \\}
1090+
10901091
% \texttt{U\_ATOM\_TYPE: Ni \\}
10911092
% \texttt{U\_VAL:} 0 0 0.05 0 \\
10921093
\end{block}
@@ -1157,4 +1158,4 @@
11571158
\end{block}
11581159

11591160
\end{frame}
1160-
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1161+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

src/energy.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,13 @@
2525
#include "sqEnergy.h"
2626
#include "occupationMatrix.h"
2727

28+
#ifdef USE_MKL
29+
#include <mkl.h>
30+
#else
31+
#include <cblas.h>
32+
#include <lapacke.h>
33+
#endif
34+
2835
#define TEMP_TOL (1e-14)
2936

3037

0 commit comments

Comments
 (0)