Skip to content

Commit ca50f2b

Browse files
committed
[Try] Test libxc-7.1.0 in CI
1 parent 8019727 commit ca50f2b

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,13 @@ jobs:
4646
ninja-build \
4747
xz-utils
4848
sudo pip install clang-format clang-tidy
49+
sudo apt-get remove libxc-dev -y
4950
5051
- name: Install external tools from toolchain
5152
run: |
5253
cd toolchain
5354
./install_abacus_toolchain_new.sh --with-dftd4=install --dry-run -j8
55+
./scripts/stage3/install_libxc.sh
5456
./scripts/stage4/install_stage4.sh
5557
cd ..
5658
@@ -89,6 +91,7 @@ jobs:
8991
run: |
9092
ABACUS_BIN=$(find build -name "abacus_*" -type f -executable | head -1)
9193
echo "Using binary: ${ABACUS_BIN}"
94+
source toolchain/install/setup
9295
9396
# Check 1: parameters.yaml matches C++ Input_Item definitions
9497
${ABACUS_BIN} --generate-parameters-yaml > /tmp/parameters_generated.yaml

tests/01_PW/204_PW_SY/INPUT

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ smearing_sigma 0.002
2222
mixing_type broyden
2323
mixing_beta 0.7
2424

25-
dft_functional XC_GGA_X_PBE+XC_GGA_C_PBE
25+
dft_functional pbe
2626

2727
cal_force 1
2828
cal_stress 1

0 commit comments

Comments
 (0)