From 8024c7f9d4933415e7d6af0ea24bcba85f08b809 Mon Sep 17 00:00:00 2001 From: RamiyapriyaS <140844790+RamiyapriyaS@users.noreply.github.com> Date: Tue, 7 Jan 2025 15:04:23 -0500 Subject: [PATCH] Create hello-world.slurm --- .../aws-parallel-cluster-files/hello-world.slurm | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 notebooks/Snakemake/aws-parallel-cluster-files/hello-world.slurm diff --git a/notebooks/Snakemake/aws-parallel-cluster-files/hello-world.slurm b/notebooks/Snakemake/aws-parallel-cluster-files/hello-world.slurm new file mode 100644 index 0000000..84afd98 --- /dev/null +++ b/notebooks/Snakemake/aws-parallel-cluster-files/hello-world.slurm @@ -0,0 +1,9 @@ +#!/bin/bash +#SBATCH --job-name=hello-world +#SBATCH --output=hello-world.out +#SBATCH --error=hello-world.err +#SBATCH --ntasks=1 +#SBATCH --time=00:01:00 + +echo "Hello, World!" > ~/workdir/hello-world.out +echo "This job ran on node: $(hostname)" >> /home/workdir/scripts/hello-world.out