Run a calculation synchronously
Submit a calculation and block until it completes, then return the result. Use /submit instead to receive a request ID immediately without holding the connection open.
Request
This endpoint expects an object.
config
Configuration settings that define how to launch VASP.
atoms
Atomic structure to evaluate. Supply either this field or a POSCAR entry in files, but not both.
info
Optional metadata string echoed back on the reply.
files
Input files to pass to the service. Keys are file names; values are either the file contents as plaintext or a reference to a previously uploaded file. An INCAR entry is required.
Response
The calculation finished. The status code is 200 whether or not the calculation itself succeeded; inspect success and failure_info in the body.
atoms
The output atomic structure, which may differ from the input after a relaxation.
results
Results of the computation, or null if it failed.
config
The configuration used for the calculation.
request_id
Identifier used to correlate the reply with output files.
info
The metadata string passed with the request.
success
Whether the computation completed successfully.
failure_info
Failure details if the computation did not succeed.
memory
Memory usage statistics during the computation.
runtime
Runtime of the computation in seconds, excluding queue time.
Errors
422
Unprocessable Entity Error
500
Internal Server Error