diff bin/nl1.sh @ 167:3213a8bb2ed1

new style batch jobs, see cirrus_work repo for _xxx.sh
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Mon, 18 Jul 2022 19:16:20 +0100
parents
children fc1b16130961
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/bin/nl1.sh	Mon Jul 18 19:16:20 2022 +0100
@@ -0,0 +1,16 @@
+#!/bin/bash
+# Invoke this as e.g. sbatch --ntasks=10 -c 20 nl1.sh \
+#                     CC-MAIN-2019-35 nl1_counts langs 0 299
+# It will run on the login node
+
+#SBATCH --time=01:00:00
+#SBATCH --partition=standard
+#SBATCH --qos=standard
+#SBATCH --account=ec184-guest
+#SBATCH --job-name ex1
+
+export W=/work/dc007/dc007
+
+echo $(date) Launching $SLURM_JOB_NUM_NODES nodes for nl1 "$@" 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/_nl1.sh "$@"