sbatch --export=ALL fix

Fix sbatch --export=ALL, it was treated by srun as a request to explicitly
export only the environment variable named "ALL".
bug 1045