batch_experiment 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +3 -0
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b01a82b2fe96315d3ce7f39ee99e40719a56ee7e
4
- data.tar.gz: 94f0f3f697a48958353f66f521e6b462806ee044
3
+ metadata.gz: 1eaf01a01169f63766cca960fc0acb6edfdff9cb
4
+ data.tar.gz: 69e6f2a63a0d3cab8f3c0c1974327a52a1adcf60
5
5
  SHA512:
6
- metadata.gz: 33806f836956132aa78b8efe7a2cb5972e353159ad848e156f7bde542d44d6d5e8d6fce85cdbf23e70308f367dc6bf81ba44c1645d22f65437cc4cedba2b2af7
7
- data.tar.gz: b7b17a54beca0742a6679dccb3db6e45a49aeb1389b99421c95e5414f222d85645d985f59a42e888833e3957b4c426e99a552093caf3be795d7806f5fb76390b
6
+ metadata.gz: 5582c9660677fab1bdb3a8ce3f0af9d4f4254b0b3f91510aca64d05a74bc4f6b3614f5eec67cebe5d2a5b9e51b33cd8c0d007fc32a61d84bce390b8957307004
7
+ data.tar.gz: 41fec77dbd71293fd7bd013167301d39c3001dc9504e69b714414f228c403e99f5c2d9f9780114ae54a035a3a38436dbbcd622523591782b31f005cd68cf6494
data/README.md CHANGED
@@ -1,6 +1,7 @@
1
1
  # batch_experiment
2
2
 
3
3
  Things you could want to do, and this tool does for you:
4
+
4
5
  * You want to run a batch of sh commands, but only one of those per core/cpu.
5
6
  * You want to maximize the core use, the moment a core/cpu becomes free from one of your commands, you want the next command to take its place.
6
7
  * You want the output of those commands to be saved by command/file (you want to have a file with what exactly the command outputted).
@@ -8,10 +9,12 @@ Things you could want to do, and this tool does for you:
8
9
  * You want the power to resume the batch from an interruption (i.e. system crashes, or energy goes down) without losing any work.
9
10
 
10
11
  What conditions you need to use this tool:
12
+
11
13
  * You use linux.
12
14
  * You have installed: sh (the shell); ruby (obvioulsy); time (NOT the bash/sh internal command, but the [package one](https://www.archlinux.org/packages/extra/x86_64/time/)); timeout (from coreutils); taskset (from [util-linux](https://www.archlinux.org/packages/core/x86_64/util-linux/)).
13
15
 
14
16
  What is not needed:
17
+
15
18
  * To know how to program in ruby. Only taking less than 5 minutes to learn some basic syntax will suffice to run commands on multiple cores and save the results to files. However, there's an exception, if you want not only to execute the commands but want to extract and group some information from their output to a CVS, you will need to tell ruby how to do the extracting part.
16
19
 
17
20
  ## How to use it
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: batch_experiment
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Henrique Becker