From e4c8e3f79f6c8540a784847263021093a9301412 Mon Sep 17 00:00:00 2001 From: Johannes Merl Date: Sun, 21 Apr 2024 14:54:11 +0200 Subject: [PATCH] add run --- build.sbatch | 3 ++- run.sbatch | 9 +++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100755 run.sbatch diff --git a/build.sbatch b/build.sbatch index 8f98d7f..a4a6f8e 100755 --- a/build.sbatch +++ b/build.sbatch @@ -4,5 +4,6 @@ #SBATCH --output=./output/output_build.txt #SBATCH --error=./output/error_build.txt #SBATCH --nodelist=oc-compute02 -#SBATCH --mem=1G +#SBATCH --mem=4G +#SBATCH -c16 srun nix develop --command stack --no-nix --system-ghc --no-install-ghc build diff --git a/run.sbatch b/run.sbatch new file mode 100755 index 0000000..a528b6f --- /dev/null +++ b/run.sbatch @@ -0,0 +1,9 @@ +#!/usr/bin/env bash +#SBATCH --time=01:30:00 +#SBATCH --partition=cpu +#SBATCH --array=0-1 +#SBATCH --output=./output/output_run_%j.txt +#SBATCH --error=./output/error_run_%j.txt +#SBATCH --nodelist=oc-compute02 +#SBATCH --mem=8G +srun nix develop --command stack --no-nix --system-ghc --no-install-ghc run haga