QMCPACK / QMCPACK/qmcpack

Disable fallback to identity coef matrix in LCAO

Open
#3,435 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
C++
Stars
403
Forks
154
Avg merge
1d 12h
Merged PRs (30d)
82

Description

**Describe the bug**
@mcbennet hit this issue
```








```
fails because of missing `coefficient` line and if changed to
```


```
everything works as expected.
The reason is when LCAO spo was constructed if no `coefficient` was found, the code treat the MO coefficients matrix as identity. This behavior was used for system with 1 electron for convenience. However it is more likely a user error. For this reason, the code should not fallback and issue an error. If the identity matrix behavior, it should be explicitly requested for example like
```

```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.