diff --git a/abipy/dfpt/tests/test_ddb.py b/abipy/dfpt/tests/test_ddb.py index 9b57dfb51..d055d8e6b 100644 --- a/abipy/dfpt/tests/test_ddb.py +++ b/abipy/dfpt/tests/test_ddb.py @@ -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.