Skip to content

Commit

Permalink
doc: add usage note for --add-file submission cli option
Browse files Browse the repository at this point in the history
Problem: It may be tempting for users to use the --add-file=PATH
job submission cli option to broadcast large files to their job,
a use which would be inappropriate.

Add a note to this option explaining when --add-file should be used
vs the shell stage-in plugin.
  • Loading branch information
grondo committed Jun 8, 2023
1 parent 65eb9f0 commit 1eaab83
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions doc/man1/common/submit-other-options.rst
Expand Up @@ -48,6 +48,12 @@ OTHER OPTIONS
encode multiple files. Note: As documented in RFC 14, the file names
``script`` and ``conf.json`` are both reserved.

.. note::
This option should only be used for small files such as program input
parameters, configuration, scripts, and so on. For broadcast of large
files, binaries, and directories, the :man1:`flux-shell` ``stage-in``
plugin will be more appropriate.

**--conf=FILE|KEY=VAL|STRING|NAME**
The ``--conf`` option allows configuration for a Flux instance started
via ``flux-batch(1)`` or ``flux-alloc(1)`` to be iteratively built on
Expand Down

0 comments on commit 1eaab83

Please sign in to comment.