Skip to content

fix: print dlerror if dlopen fails (#4485)

Codecov / codecov/patch succeeded Dec 22, 2024 in 0s

74.19% of diff hit (within 100.00% threshold of 84.64%)

View this Pull Request on Codecov

74.19% of diff hit (within 100.00% threshold of 84.64%)

Annotations

Check warning on line 438 in deepmd/dpmodel/atomic_model/pairtab_atomic_model.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/dpmodel/atomic_model/pairtab_atomic_model.py#L438

Added line #L438 was not covered by tests

Check warning on line 497 in deepmd/pt/model/atomic_model/pairtab_atomic_model.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/model/atomic_model/pairtab_atomic_model.py#L497

Added line #L497 was not covered by tests

Check warning on line 64 in deepmd/utils/data.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/utils/data.py#L64

Added line #L64 was not covered by tests

Check warning on line 104 in deepmd/utils/data_system.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/utils/data_system.py#L104

Added line #L104 was not covered by tests

Check warning on line 302 in deepmd/utils/path.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/utils/path.py#L302

Added line #L302 was not covered by tests

Check warning on line 396 in source/api_cc/src/common.cc

See this annotation in the file changed.

@codecov codecov / codecov/patch

source/api_cc/src/common.cc#L395-L396

Added lines #L395 - L396 were not covered by tests

Check warning on line 398 in source/api_cc/src/common.cc

See this annotation in the file changed.

@codecov codecov / codecov/patch

source/api_cc/src/common.cc#L398

Added line #L398 was not covered by tests