annotate bin/ezip.sh @ 195:5f3c36e4fd6d
default tip
add target test-core which (dangerously) avoids (we hope pointless) recompilation of all the plugins
author |
Henry S. Thompson <ht@inf.ed.ac.uk> |
date |
Thu, 26 Sep 2024 17:55:56 +0100 |
parents |
464d2dfb99c9 |
children |
|
rev |
line source |
88
|
1 #!/bin/bash
|
|
2 # Invoke this as e.g. sbatch -n 4 -c 32 --exclusive masterJob.sh ezip
|
|
3 # run pigz -p 8 on extract_...tar files
|
|
4 n=$SLURM_NTASKS
|
|
5 c=$SLURM_CPUS_PER_TASK
|
|
6 node=$SLURMD_NODENAME
|
|
7 local=$SLURM_LOCALID
|
|
8 proc=$SLURM_PROCID
|
|
9 echo $(date) $node:$proc start
|
|
10
|
|
11 module load gnu-parallel
|
|
12
|
|
13 parallel --will-cite -j $c -n 1 'pigz -p 8 {}/orig/extracts/*.tar' < ezip/$proc.txt
|
|
14
|
|
15 echo $(date) $proc end
|
|
16
|