Compare commits
2 Commits
8a673365f6
...
2b44dde52f
| Author | SHA1 | Date | |
|---|---|---|---|
| 2b44dde52f | |||
| 5f386b3ae0 |
@ -0,0 +1,4 @@
|
|||||||
|
## Data Structure
|
||||||
|
|
||||||
|
All `.csv` files in the same directory should be of the same system config and contain all information required for
|
||||||
|
their reproduction.
|
||||||
17
parallel-citation
Normal file
17
parallel-citation
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
Academic tradition requires you to cite works you base your article on.
|
||||||
|
If you use programs that use GNU Parallel to process data for an article in a
|
||||||
|
scientific publication, please cite:
|
||||||
|
|
||||||
|
Tange, O. (2023, January 22). GNU Parallel 20230122 ('Bolsonaristas').
|
||||||
|
Zenodo. https://doi.org/10.5281/zenodo.7558957
|
||||||
|
|
||||||
|
This helps funding further development; AND IT WON'T COST YOU A CENT.
|
||||||
|
If you pay 10000 EUR you should feel free to use GNU Parallel without citing.
|
||||||
|
|
||||||
|
More about funding GNU Parallel and the citation notice:
|
||||||
|
https://www.gnu.org/software/parallel/parallel_design.html#citation-notice
|
||||||
|
|
||||||
|
To silence this citation notice: run 'parallel --citation' once.
|
||||||
|
|
||||||
|
Come on: You have run parallel 38 times. Isn't it about time
|
||||||
|
you run 'parallel --citation' once to silence the citation notice?
|
||||||
8
tools/minimal-viable-alteration-harness.bash
Executable file
8
tools/minimal-viable-alteration-harness.bash
Executable file
@ -0,0 +1,8 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# NOTE: Requires GNU parallel
|
||||||
|
|
||||||
|
MODEL="models/minimal-viable-alteration"
|
||||||
|
mkdir -p data/minimal-viable-alteration
|
||||||
|
|
||||||
|
parallel "$MODEL" '{1}' '{2}' 'data/minimal-viable-alteration/{1}-{2}.csv' ::: {1..20} ::: $(seq 1000 1000 5000)
|
||||||
15
tools/stick-probability-harness.bash
Executable file
15
tools/stick-probability-harness.bash
Executable file
@ -0,0 +1,15 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# NOTE: Requires GNU parallel
|
||||||
|
|
||||||
|
MODEL="models/stick-probability"
|
||||||
|
mkdir -p data/stick-probability
|
||||||
|
PROBABILITIES=$(seq 0.1 0.1 1)
|
||||||
|
|
||||||
|
for i in $PROBABILITIES; do
|
||||||
|
mkdir data/stick-probability/"$i"
|
||||||
|
done
|
||||||
|
|
||||||
|
MAX_PARTICLES=2000
|
||||||
|
|
||||||
|
parallel "$MODEL" '{1}' $MAX_PARTICLES '{2}' 'data/stick-probability/{2}/{1}.csv' ::: {1..20} ::: $PROBABILITIES
|
||||||
Loading…
Reference in New Issue
Block a user