Skip to content

Commit

Permalink
Disasble threads in anacompare_phdos test
Browse files Browse the repository at this point in the history
  • Loading branch information
gmatteo committed Jul 22, 2024
1 parent 623513b commit 8252378
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion abipy/dfpt/tests/test_ddb.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,8 +239,9 @@ def test_alas_ddb_444_nobecs(self):
assert c.plotter.combiplot(show=False)

# Use threads and gaussian DOS.
# num_cpus > 1 is problematic as it can cause a segmentation fault --> test sequential version only
c = ddb.anacompare_phdos(nqsmalls=[2, 3, 4], dos_method="gaussian", dipdip=0, asr=0,
num_cpus=2, verbose=2)
num_cpus=1, verbose=2)
assert c.phdoses and c.plotter is not None

# Execute anaddb to compute the interatomic force constants.
Expand Down

0 comments on commit 8252378

Please sign in to comment.