10
1
mirror of https://gitlab.com/scemama/qmcchem.git synced 2024-07-07 11:55:47 +02:00
qmcchem/ocaml/Qmcchem_stop.ml

23 lines
390 B
OCaml
Raw Normal View History

2015-12-19 02:35:13 +01:00
let run ezfio_filename =
Qputils.set_ezfio_filename ezfio_filename;
2015-12-19 02:35:13 +01:00
Status.write Status.Stopping
let spec =
let open Command.Spec in
empty
+> anon ("ezfio_file" %: string)
let command =
2018-03-14 17:02:52 +01:00
Command.basic_spec
2015-12-19 02:35:13 +01:00
~summary: "Stop a running calculation"
~readme:(fun () ->
"
Stop a running calculation
")
spec
(fun ezfio_file () -> run ezfio_file )