You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 8, 2024. It is now read-only.
The test test_krr_bob produces a segmentation fault on macOS (10.14):
================================================================================== test session starts ===================================================================================
platform darwin -- Python 3.6.9, pytest-5.1.2, py-1.8.0, pluggy-0.13.0 -- /Users/rmeli/miniconda3/envs/qml/bin/python
cachedir: .pytest_cache
rootdir: /Users/rmeli/Documents/git/software/qml
collected 90 items
test/test_acsf.py::test_acsf_1 PASSED [ 1%]
test/test_acsf.py::test_acsf_2 PASSED [ 2%]
test/test_acsf_linear_angles.py::test_fchl_acsf PASSED [ 3%]
test/test_acsf_linear_angles.py::test_acsf PASSED [ 4%]
test/test_arad.py::test_arad PASSED [ 5%]
test/test_armp.py::test_set_representation PASSED [ 6%]
test/test_armp.py::test_set_properties PASSED [ 7%]
test/test_armp.py::test_set_descriptor PASSED [ 8%]
test/test_armp.py::test_fit_1 PASSED [ 10%]
test/test_armp.py::test_fit_2 PASSED [ 11%]
test/test_armp.py::test_fit_3 PASSED [ 12%]
test/test_armp.py::test_fit_4 PASSED [ 13%]
test/test_armp.py::test_score_3 PASSED [ 14%]
test/test_armp.py::test_predict_3 PASSED [ 15%]
test/test_armp.py::test_predict_fromxyz PASSED [ 16%]
test/test_armp.py::test_retraining PASSED [ 17%]
test/test_compound.py::test_compound PASSED [ 18%]
test/test_distance.py::test_manhattan PASSED [ 20%]
test/test_distance.py::test_l2 PASSED [ 21%]
test/test_distance.py::test_p PASSED [ 22%]
test/test_energy_krr_atomic_cmat.py::test_krr_gaussian_local_cmat PASSED [ 23%]
test/test_energy_krr_atomic_cmat.py::test_krr_laplacian_local_cmat PASSED [ 24%]
test/test_energy_krr_bob.py::test_krr_bob Fatal Python error: Segmentation fault
Thread 0x000070000e7bf000 (most recent call first):
File "/Users/rmeli/miniconda3/envs/qml/lib/python3.6/threading.py", line 295 in wait
File "/Users/rmeli/miniconda3/envs/qml/lib/python3.6/queue.py", line 164 in get
File "/Users/rmeli/miniconda3/envs/qml/lib/python3.6/site-packages/tensorflow/python/summary/writer/event_file_writer.py", line 159 in run
File "/Users/rmeli/miniconda3/envs/qml/lib/python3.6/threading.py", line 916 in _bootstrap_inner
File "/Users/rmeli/miniconda3/envs/qml/lib/python3.6/threading.py", line 884 in _bootstrap
Current thread 0x0000000113a955c0 (most recent call first):
File "/Users/rmeli/miniconda3/envs/qml/lib/python3.6/site-packages/qml/representations/representations.py", line 314 in generate_bob
File "/Users/rmeli/miniconda3/envs/qml/lib/python3.6/site-packages/qml/utils/compound.py", line 249 in generate_bob
File "/Users/rmeli/Documents/git/software/qml/test/test_energy_krr_bob.py", line 74 in test_krr_bob
File "/Users/rmeli/miniconda3/envs/qml/lib/python3.6/site-packages/_pytest/python.py", line 170 in pytest_pyfunc_call
File "/Users/rmeli/miniconda3/envs/qml/lib/python3.6/site-packages/pluggy/callers.py", line 187 in _multicall
File "/Users/rmeli/miniconda3/envs/qml/lib/python3.6/site-packages/pluggy/manager.py", line 86 in <lambda>
File "/Users/rmeli/miniconda3/envs/qml/lib/python3.6/site-packages/pluggy/manager.py", line 92 in _hookexec
File "/Users/rmeli/miniconda3/envs/qml/lib/python3.6/site-packages/pluggy/hooks.py", line 286 in __call__
File "/Users/rmeli/miniconda3/envs/qml/lib/python3.6/site-packages/_pytest/python.py", line 1423 in runtest
File "/Users/rmeli/miniconda3/envs/qml/lib/python3.6/site-packages/_pytest/runner.py", line 117 in pytest_runtest_call
File "/Users/rmeli/miniconda3/envs/qml/lib/python3.6/site-packages/pluggy/callers.py", line 187 in _multicall
File "/Users/rmeli/miniconda3/envs/qml/lib/python3.6/site-packages/pluggy/manager.py", line 86 in <lambda>
File "/Users/rmeli/miniconda3/envs/qml/lib/python3.6/site-packages/pluggy/manager.py", line 92 in _hookexec
File "/Users/rmeli/miniconda3/envs/qml/lib/python3.6/site-packages/pluggy/hooks.py", line 286 in __call__
File "/Users/rmeli/miniconda3/envs/qml/lib/python3.6/site-packages/_pytest/runner.py", line 192 in <lambda>
File "/Users/rmeli/miniconda3/envs/qml/lib/python3.6/site-packages/_pytest/runner.py", line 220 in from_call
File "/Users/rmeli/miniconda3/envs/qml/lib/python3.6/site-packages/_pytest/runner.py", line 192 in call_runtest_hook
File "/Users/rmeli/miniconda3/envs/qml/lib/python3.6/site-packages/_pytest/runner.py", line 167 in call_and_report
File "/Users/rmeli/miniconda3/envs/qml/lib/python3.6/site-packages/_pytest/runner.py", line 87 in runtestprotocol
File "/Users/rmeli/miniconda3/envs/qml/lib/python3.6/site-packages/_pytest/runner.py", line 72 in pytest_runtest_protocol
File "/Users/rmeli/miniconda3/envs/qml/lib/python3.6/site-packages/pluggy/callers.py", line 187 in _multicall
File "/Users/rmeli/miniconda3/envs/qml/lib/python3.6/site-packages/pluggy/manager.py", line 86 in <lambda>
File "/Users/rmeli/miniconda3/envs/qml/lib/python3.6/site-packages/pluggy/manager.py", line 92 in _hookexec
File "/Users/rmeli/miniconda3/envs/qml/lib/python3.6/site-packages/pluggy/hooks.py", line 286 in __call__
File "/Users/rmeli/miniconda3/envs/qml/lib/python3.6/site-packages/_pytest/main.py", line 256 in pytest_runtestloop
File "/Users/rmeli/miniconda3/envs/qml/lib/python3.6/site-packages/pluggy/callers.py", line 187 in _multicall
File "/Users/rmeli/miniconda3/envs/qml/lib/python3.6/site-packages/pluggy/manager.py", line 86 in <lambda>
File "/Users/rmeli/miniconda3/envs/qml/lib/python3.6/site-packages/pluggy/manager.py", line 92 in _hookexec
File "/Users/rmeli/miniconda3/envs/qml/lib/python3.6/site-packages/pluggy/hooks.py", line 286 in __call__
File "/Users/rmeli/miniconda3/envs/qml/lib/python3.6/site-packages/_pytest/main.py", line 235 in _main
File "/Users/rmeli/miniconda3/envs/qml/lib/python3.6/site-packages/_pytest/main.py", line 191 in wrap_session
File "/Users/rmeli/miniconda3/envs/qml/lib/python3.6/site-packages/_pytest/main.py", line 228 in pytest_cmdline_main
File "/Users/rmeli/miniconda3/envs/qml/lib/python3.6/site-packages/pluggy/callers.py", line 187 in _multicall
File "/Users/rmeli/miniconda3/envs/qml/lib/python3.6/site-packages/pluggy/manager.py", line 86 in <lambda>
File "/Users/rmeli/miniconda3/envs/qml/lib/python3.6/site-packages/pluggy/manager.py", line 92 in _hookexec
File "/Users/rmeli/miniconda3/envs/qml/lib/python3.6/site-packages/pluggy/hooks.py", line 286 in __call__
File "/Users/rmeli/miniconda3/envs/qml/lib/python3.6/site-packages/_pytest/config/__init__.py", line 78 in main
File "/Users/rmeli/miniconda3/envs/qml/bin/pytest", line 10 in <module>
[1] 18142 segmentation fault pytest -v
The segmentation fault comes from subroutine fgenerate_bob in frepresentations.f90 when called by def generate_bob in representations.py.
The test
test_krr_bob
produces a segmentation fault on macOS (10.14):The segmentation fault comes from
subroutine fgenerate_bob
infrepresentations.f90
when called bydef generate_bob
inrepresentations.py
.Installation
Installation on
develop
branch.The text was updated successfully, but these errors were encountered: