Age | Commit message (Collapse) | Author |
|
* ravanan/propnet.scm (run-propnet): Pre-schedule all propagators.
* tests/propnet.scm: New file.
|
|
* ravanan/workflow.scm (%supported-requirements): Add
ScatterFeatureRequirement.
|
|
* .dir-locals.el (scheme-mode): Do not set scheme-indent-function on
call-with-temporary-directory.
|
|
For other major modes, especially in magit commit message buffers, we
want the default fill-column of 70.
* .dir-locals.el (nil)[fill-column]: Move to scheme-mode.
|
|
* tests/work/command-line-tool.scm: New file.
|
|
log files are generated by tests.
* .gitignore: Add *.log.
|
|
* Makefile (GUILE, tests): New variable.
(check): New target.
* guix.scm (ravanan)[arguments]: Enable tests.
|
|
* bin/ravanan: Import (guix profiles).
|
|
*
ravanan/command-line-tool.scm (command-line-tool-scheduler)[schedule,
poll, capture-output]: Implement scatter steps.
|
|
* ravanan/command-line-tool.scm (<scheduler-proc>)[scatter,
scatter-method]: New fields.
* ravanan/workflow.scm (command-line-tool->propagator,
workflow-class->propagators): Initialize scatter and scatter-method in
scheduler-proc object.
|
|
* ravanan/vectors.scm: Import vector-every from (srfi srfi-43) and
re-export it.
|
|
* ravanan/command-line-tool.scm (command-line-tool-scheduler):
Refactor scheduler into separate named functions.
|
|
The job state records must not be inspected from other modules. They
may only be passed around as opaque blobs.
* ravanan/command-line-tool.scm: Do not export
single-machine-job-state, single-machine-job-state?,
single-machine-job-state-script, slurm-job-state, slurm-job-state?,
slurm-job-state-script and slurm-job-state-job-id.
|
|
* ravanan/command-line-tool.scm (<scheduler-proc>): New record type.
(command-line-tool-scheduler): Use <scheduler-proc> records.
* ravanan/workflow.scm (command-line-tool->propagator): Use
<scheduler-proc> records.
|
|
* ravanan/propnet.scm (<propagator>)[optional-inputs]: New field.
* ravanan/propnet.scm (activate-propagator): Activate propagator even
when optional inputs are absent.
* ravanan/workflow.scm: Import (ravanan work utils).
(command-line-tool->propagator, workflow-class->propagators): Specify
optional inputs of propagators.
(workflow->command-line-tool-steps): Inherit defaults down to the steps from the
containing workflow.
[inherit-defaults]: New function.
|
|
* ravanan/work/command-line-tool.scm (match-type): Handle matching
null objects to array types.
|
|
* ravanan/work/command-line-tool.scm (vector-empty?): Delete function.
(match-type): Match null type using pattern matching.
|
|
* ravanan/workflow.scm (run-workflow)[capture-output]: Do not error
out on optional outputs (that is, of the null type).
|
|
* ravanan/vectors.scm: Import (srfi srfi-1).
(vector-filter-map->list): New public function.
|
|
* ravanan/workflow.scm (run-workflow)[capture-output]: New function.
Use capture-output.
|
|
*
ravanan/command-line-tool.scm (build-command)[input+type-tree+binding->command-line-binding]:
Remove mutual recursion with collect-bindings.
|
|
*
ravanan/command-line-tool.scm (build-command-line-tool-script)[output-binding-glob]:
Require glob only for File and Directory types.
|
|
*
ravanan/command-line-tool.scm (build-command-line-tool-script)[output-binding-glob]:
New function.
[capture-outputs-gexp]: Use output-binding-glob.
|
|
* ravanan/workflow.scm (workflow->propagators): Check requirements and hints.
|
|
* ravanan/command-line-tool.scm (warning): Emit newline.
|
|
* ravanan/command-line-tool.scm (collect-input-files): Report ID of input whose
type is not specified.
|
|
error reports an error to the user. raise-error raises an exception and is meant
for programmers.
* ravanan/command-line-tool.scm: Import error from (rnrs base) as raise-error.
(build-command, collect-input-files, resolve-inputs,
build-command-line-tool-script): Use raise-error instead of error.
|
|
* ravanan/workflow.scm (maybe-vector?): New function.
(merge-values): Support merging vectors element-wise.
|
|
Matching using string=? errors out when the type is not a string (for example,
an array type).
*
ravanan/command-line-tool.scm (build-command-line-tool-script)[stdout-filename,
capture-outputs-gexp]: Match type to "stdout" using equal?.
|
|
* ravanan/command-line-tool.scm (build-command-line-tool-script): Use
with-extensions, not with-imported-modules, to import guile-gcrypt.
|
|
*
ravanan/command-line-tool.scm (build-command-line-tool-script)[other-output->value]:
Accept workflow-output-directory argument; pass it to path->value.
[capture-outputs-gexp]: Pass workflow-output-directory to other-output->value.
|
|
* ravanan/propnet.scm (run-propnet): Enqueue propagators to an intermediate
inbox before scheduling them.
|
|
* ravanan/workflow.scm (run-workflow): Retrieve outputs differently based on
whether the workflow is a CommandLineTool class or a Workflow class.
|
|
* ravanan/command-line-tool.scm (run-command-line-tool,
command-line-tool-scheduler): Report progress verbosely, and print out paths to
log files.
|
|
* bin/ravanan (print-usage): New function.
(main): Use print-usage.
|
|
* bin/ravanan (invoke): Delete function.
|
|
* ravanan/reader.scm (read-workflow, read-inputs): Read the basename of the full
file path.
|
|
* .guix-authorizations, .guix-channel: New files.
|
|
* .gitignore: New file.
|
|
These binary guile object files were committed accidentally in the initial
commit.
* ravanan/command-line-tool.go, ravanan/config.go, ravanan/glob.go,
ravanan/monads.go, ravanan/propnet.go, ravanan/reader.go, ravanan/slurm-api.go,
ravanan/utils.go, ravanan/vectors.go, ravanan/work/command-line-tool.go,
ravanan/work/types.go, ravanan/work/utils.go, ravanan/workflow.go: Delete files.
|
|
|