FYI, the problem turned out to be that the configure script uses += to
append , which is a bash extension.
I don't know if this was done consciously or if someone didn't know it's
not a standard Bourne shell feature, but the shebang in the script is
/bin/sh, which contradicts the use of this
In the sbatch man page, for the --immediate option, it says "NOTE: There
is limited support for this option with batch jobs."
Is this trying to say that the sbatch option isn't as powerful as the
option of the same name for srun and salloc, or is it saying that the
option might not always work