From 4c59ddbd5363f5f199338046f82b541b3677b0ae Mon Sep 17 00:00:00 2001 From: Anna Rift Date: Tue, 7 Jan 2025 09:04:45 -0800 Subject: [PATCH] break something for reproducing Signed-off-by: Anna Rift --- .../src/launch/slurm-gasnetrun_common/slurm-gasnetrun_common.h | 1 - runtime/src/launch/slurm-srun/launch-slurm-srun.c | 1 - 2 files changed, 2 deletions(-) diff --git a/runtime/src/launch/slurm-gasnetrun_common/slurm-gasnetrun_common.h b/runtime/src/launch/slurm-gasnetrun_common/slurm-gasnetrun_common.h index 557b89ac5aa9..6b7f9ab07ffb 100644 --- a/runtime/src/launch/slurm-gasnetrun_common/slurm-gasnetrun_common.h +++ b/runtime/src/launch/slurm-gasnetrun_common/slurm-gasnetrun_common.h @@ -82,7 +82,6 @@ static sbatchVersion determineSlurmVersion(void) { memset(version, 0, buflen); if (chpl_run_utility1K("sbatch", argv, version, buflen) <= 0) { chpl_error("Error trying to determine slurm version", 0, 0); - } if (strstr(version, "slurm")) { return slurm; diff --git a/runtime/src/launch/slurm-srun/launch-slurm-srun.c b/runtime/src/launch/slurm-srun/launch-slurm-srun.c index ed5e9b9fb1e3..fc73e923cb11 100644 --- a/runtime/src/launch/slurm-srun/launch-slurm-srun.c +++ b/runtime/src/launch/slurm-srun/launch-slurm-srun.c @@ -61,7 +61,6 @@ static const char* getTmpDir(void) { // Check what version of slurm is on the system // Returns 0 on success, 1 and prints an error message on failure -static int checkSlurmVersion(void) { const int buflen = 256; char versionBuf[buflen]; char *argv[3];