mirror of https://github.com/phonopy/phono3py.git
Fix test for lapacke
This commit is contained in:
parent
232f22318c
commit
d65b191a78
|
@ -24,7 +24,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
conda activate test
|
conda activate test
|
||||||
conda install --yes python=${{ matrix.python-version }}
|
conda install --yes python=${{ matrix.python-version }}
|
||||||
conda install --yes matplotlib-base pyyaml h5py scipy pytest spglib alm cmake c-compiler cxx-compiler pypolymlp
|
conda install --yes matplotlib-base pyyaml h5py scipy pytest spglib cmake c-compiler cxx-compiler pypolymlp
|
||||||
- name: Install symfc develop branch
|
- name: Install symfc develop branch
|
||||||
run: |
|
run: |
|
||||||
conda activate test
|
conda activate test
|
||||||
|
|
|
@ -261,7 +261,7 @@ def test_phonon_smat_alm_cutoff_fc3(si_pbesol_111_222_alm_cutoff_fc3: Phono3py):
|
||||||
@pytest.mark.skipif(
|
@pytest.mark.skipif(
|
||||||
not phono3c.include_lapacke(), reason="requires to complile with lapacke"
|
not phono3c.include_lapacke(), reason="requires to complile with lapacke"
|
||||||
)
|
)
|
||||||
def test_fc3_lapacke_solver(si_pbesol_111: Phono3py, pinv_solver: str):
|
def test_fc3_lapacke_solver(si_pbesol_111: Phono3py):
|
||||||
"""Test fc3 with Si PBEsol 1x1x1 using lapacke solver."""
|
"""Test fc3 with Si PBEsol 1x1x1 using lapacke solver."""
|
||||||
for pinv_solver in ["lapacke", "numpy"]:
|
for pinv_solver in ["lapacke", "numpy"]:
|
||||||
ph = si_pbesol_111
|
ph = si_pbesol_111
|
||||||
|
|
Loading…
Reference in New Issue