From 846be786c86e62e196d67083b113200c0fc303d0 Mon Sep 17 00:00:00 2001 From: Ravi Tripathi <ravi89@uab.edu> Date: Tue, 14 Aug 2018 17:31:22 -0500 Subject: [PATCH] Adding example for each option with prep_env --- bash_array_jobs/README.md | 32 +++++++++++++++++++++++++++++--- 1 file changed, 29 insertions(+), 3 deletions(-) diff --git a/bash_array_jobs/README.md b/bash_array_jobs/README.md index c65b7fb..3054d0f 100644 --- a/bash_array_jobs/README.md +++ b/bash_array_jobs/README.md @@ -14,13 +14,40 @@ The most basic method would be to create a [SLURM](https://docs.uabgrid.uab.edu/ # Content # * **prep_env**: -An executable to create test environment to run the job scripts on. +An executable to create test environment to run the job scripts on, along with job error and job output directories. Usage: ./prep_env {seq,rand.diff} seq: Create a test_dir with sequential file names. + Example: + └── test_dir + ├── test1 + ├── test2 + ├── test3 + ├── test4 + └── test5 rand: Create a test_dir with random file names. - diff: Create a test_dir with random sub-directory names, and a file 'test' in each directory. + Example: + └── test_dir + ├── CU4KT7 + ├── GEJ0IF + ├── LHZBSN + ├── MYODBC + └── X9E4T5 + + diff: Create a test_dir with random sub-directory names, and a file 'test' in each directory. + Example: + └── test_dir + ├── 1DOVW8 + │  └── test + ├── 75DJ90 + │  └── test + ├── 7CWD36 + │  └── test + ├── FTG47D + │  └── test + └── L9D3C4 + └── test * **clean_env**: @@ -39,5 +66,4 @@ This is a [SLURM](https://docs.uabgrid.uab.edu/wiki/Slurm) Array batch script, w This is a [SLURM](https://docs.uabgrid.uab.edu/wiki/Slurm) Array batch script, which works when the names of input files are in random form. -# BASH scripting # -- GitLab