#!/bin/bash
# Invoke this as e.g. sbatch -N 4 --ntasks=3 -c 5 s2t.sh \
#                     CC-MAIN-2019-35 cdx_counts 0 299

#SBATCH --time=01:00:00
#SBATCH --partition=standard
#SBATCH --qos=standard
#SBATCH --account=ec184-guest
#SBATCH --job-name s2t

export W=/work/dc007/dc007

echo $(date) Launching $SLURM_JOB_NUM_NODES nodes for s2t "$@" from $(hostname) to do $SLURM_NTASKS tasks, $SLURM_CPUS_PER_TASK cpus each

srun -c $SLURM_CPUS_PER_TASK $W/shared/bin/sing $W/hst/bin/_s2t.sh "$@"

