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
Got Cannot call MPI_INIT or MPI_INIT_THREAD more than once error when calling dftbplus.DftbPlus() twice. The first one has been closed by cdftb.close().
In my situation, I need to adjust the input file, so I must initialize DFTB+ twice.
@njzjz Thanks for reporting. The Python API should only use the serial binary as there is currently no way to pass MPI-handlers through the Python bindings. (But even in that case, you would have to run python within an MPI-framework already...). So, please use the serial library, you can still profit from the OpenMP threading within it.
Describe the bug
Got
Cannot call MPI_INIT or MPI_INIT_THREAD more than once
error when callingdftbplus.DftbPlus()
twice. The first one has been closed bycdftb.close()
.In my situation, I need to adjust the input file, so I must initialize DFTB+ twice.
To Reproduce
Expected behaviour
No error.
Additional context
The DFTB+ is installed from conda-forge.
The text was updated successfully, but these errors were encountered: