diff --git a/NEWS b/NEWS index 30950a40648c68cfe6b42fd4e5bfb61cb925f5cf..46ae875c494e2b6c6b921e287716e800310e170c 100644 --- a/NEWS +++ b/NEWS @@ -12,8 +12,10 @@ documents those changes that are of interest to users and admins. -- Added Python module to process hostslists as used by SLURM. See contribs/python/hostlist. Supplied by Kent Engstrom, National Supercomputer Centre, Sweden. - -- Report abormal task termination message (restored functionality present + -- Report task termination due to signal (restored functionality present in slurm v1.2). + -- Remove sbatch test for script size being no larger than 64k bytes. + The current limit is 4GB. * Changes in SLURM 1.3.6 ======================== diff --git a/src/sbatch/sbatch.c b/src/sbatch/sbatch.c index 92d42e91df75dd86c6ee2613d9dfcbbf9f66b434..8da2c7944431223156fe90194578f4d479c90ba9 100644 --- a/src/sbatch/sbatch.c +++ b/src/sbatch/sbatch.c @@ -421,9 +421,6 @@ static void *get_script_buffer(const char *filename, int *size) if (script_size == 0) { error("Batch script is empty!"); goto fail; - } else if (script_size >= 0xffff) { - error("Job script exceeds size supported by slurm"); - goto fail; } else if (xstring_is_whitespace(buf)) { error("Batch script contains only whitespace!"); goto fail;