[DFTB-Plus-User] Socket Interface
benjamin.hourahine at strath.ac.uk
Tue Apr 11 11:51:19 CEST 2017
there are python driver stubs in the autotests, look for prerun.py in the
directories for ip-address and unix file based control along with the
associated dftb_in.hsd files. These match the the relevant parts of the
i-PI protocol, so might be of use.
On 10/04/17 23:10, neoblako wrote:
> Hello everybody,
> I am trying to create a socket interface to control DFTB+
> calculations. It is my first step in further socket-QMMM implementation.
> Now I'm using a Python stub that acts as part of i-PI code: it can get
> client status, send 'POSDATA' message, but there are some troubles
> with sending cell data.
> It sends cell as numpy.ndarray (i.e.
> connection.sendall(np.zeros((3,3), dtype=np.float32)) ), as i-PI does.
> But this way I receive nothing from DFTB+ client.
> Input verbosity level is 4.
> Could you tell me, what is wrong?
> Best regards,
> Maxim Malkov
> DFTB-Plus-User mailing list
> DFTB-Plus-User at mailman.zfn.uni-bremen.de
Dr. B. Hourahine, SUPA, Department of Physics,
University of Strathclyde, John Anderson Building,
107 Rottenrow, Glasgow G4 0NG, UK.
+44 141 548 2325, benjamin.hourahine at strath.ac.uk
2013/14 THE Awards Entrepreneurial University of the Year
2012/13 THE Awards UK University of the Year
The University of Strathclyde is a charitable body,
registered in Scotland, number SC015263
More information about the DFTB-Plus-User