Added proof of concept code for single point energy calculations using pyscf! A single endpoint (at /energy) has been exposed which takes a payload with keys for functional, basis_set, charge, spin_multiplicity, and molecule. The molecule payload includes a nested structure with an atoms key that contains a list of Atom structures with keys for symbol and position. This provides the minimal set of information for which to perform single point energy calculations.
The docker image was built using a line from the build script:
docker run -p 127.0.0.1:5000:5000 -it emeraldsci/cloudcompchem:test
The specific address my need to be tweaked to run on another machine. Once the server is running, then I used the requests package to call a simple post request to the endpoint and got a successful response! See below:
Added proof of concept code for single point energy calculations using pyscf! A single endpoint (at
/energy
) has been exposed which takes a payload with keys forfunctional
,basis_set
,charge
,spin_multiplicity
, andmolecule
. Themolecule
payload includes a nested structure with anatoms
key that contains a list ofAtom
structures with keys forsymbol
andposition
. This provides the minimal set of information for which to perform single point energy calculations.The docker image was built using a line from the build script:
And run from the command line using:
The specific address my need to be tweaked to run on another machine. Once the server is running, then I used the
requests
package to call a simplepost
request to the endpoint and got a successful response! See below: