Skip to content

Commit

Permalink
Project updated
Browse files Browse the repository at this point in the history
  • Loading branch information
pcingola committed Aug 29, 2021
1 parent 503eecc commit 4de0f29
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/manual/site/search/search_index.json

Large diffs are not rendered by default.

Binary file modified docs/manual/site/sitemap.xml.gz
Binary file not shown.
8 changes: 5 additions & 3 deletions docs/manual/site/task_resources.html
Original file line number Diff line number Diff line change
Expand Up @@ -179,9 +179,11 @@ <h1 id="resources">Resources</h1>
<p>In this case <code>bds</code> will run two tasks in parallel, because each <code>task</code> consumes half the available memory.</p>
<p><strong>Clusters:</strong> If these tasks are running in a cluster environment, each task would be issued with the appropriate CPUs and memory parameters, so that the cluster system can schedule the job in an appropriate node (keep in mind tha most cluster systems will kill task that consume more resources that the ones declared).</p>
<h3 id="basic-resources">Basic resources</h3>
<p>The basic resources you can add to a task are:
- <code>cpus</code>: Number of CPUs / cores consumed by the task. The default is <code>cpus := 1</code>
- <code>mem</code>: Amount of memory used by the task. The default value is <code>mem := -1</code>, which doesn't use the resource (e.g. in a cluster system it will use the cluster's default setting).</p>
<p>The basic resources you can add to a task are:</p>
<ul>
<li><code>cpus</code>: Number of CPUs / cores consumed by the task. The default is <code>cpus := 1</code></li>
<li><code>mem</code>: Amount of memory used by the task. The default value is <code>mem := -1</code>, which doesn't use the resource (e.g. in a cluster system it will use the cluster's default setting).</li>
</ul>
<h3 id="custom-reosurces">Custom reosurces</h3>
<p>There are other resources than <code>cpus</code> and <code>mem</code> that you might need to define.
Typical examples are special hardware accelerator cards (GPUs, TPUs, FFPGA, etc.).
Expand Down
1 change: 1 addition & 0 deletions manual/docs/task_resources.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ In this case `bds` will run two tasks in parallel, because each `task` consumes
### Basic resources

The basic resources you can add to a task are:

- `cpus`: Number of CPUs / cores consumed by the task. The default is `cpus := 1`
- `mem`: Amount of memory used by the task. The default value is `mem := -1`, which doesn't use the resource (e.g. in a cluster system it will use the cluster's default setting).

Expand Down

0 comments on commit 4de0f29

Please sign in to comment.