- 23 Jan, 2012 2 commits
-
-
jette authored
-
Philip D. Eckert authored
Moe, Here it is, I have added a subroutine to env.c to unset the user's environment and then called it from sbatch in main. I also removed the comment from the sbatch man page indicating that it wasn't working the same for a regular user as it did for Moab. It should now be functionally the same. I think there is still a difference between how sbatch functions with an environment in a file than it does from when Moab excve'd the environment. However, I'm not sure what it would be at this point. Again, for so many iterations.... Phil
-
- 22 Jan, 2012 3 commits
-
-
jette authored
-
Philip D. Eckert authored
Moe, After doing more extensive testing, I came to realize that we had made a bad basic assumption. We believed that the user's environment should only be what was sent in the file via the --export-file option. However, that broke the previous behavior, especially in regard to Moab jobs. It also caused the SLURM defined environment variables to be lost as well. This patch will enable the correct behavior for Moab on top of SLURM whne using the --export-file option, but the behavior is less that pefect for using it stand alone with sbatch. When using the option with sbatch as a user, the file environment is read in, and then when the env_array_merge is made, some variables may get overwritten. This is good for the SLURM and MPI vairables, but not so good for others., The problem is trying to reconcile two sources of environment is very problematic. I also added a caveat in the man page. I made changes in my branch of SchedMD SLURM for 2.3, here is the patch. Phil
-
jette authored
Fix race condition that could generate job_cnt_comp underflow errors on front-end architectures (Cray or IBM BlueGene systems).
-
- 21 Jan, 2012 2 commits
-
-
Danny Auble authored
just the accounting plugins.
-
Danny Auble authored
It was found if the conditions were right that this could cause the state to be set to 0 if it was being set to RUNNING at the same time in node_scheduler.c in the slurmctld. It probably would never happen on a real system but this makes the problem go away.
-
- 20 Jan, 2012 7 commits
-
-
Danny Auble authored
-
Danny Auble authored
-
Morris Jette authored
-
Morris Jette authored
Fix for possible invalid memory reference in slurmctld in job dependency logic. Patch from Carles Fenoy (Barcelona Supercomputer Center).
-
Danny Auble authored
jobs finish
-
Danny Auble authored
-
Danny Auble authored
-
- 19 Jan, 2012 9 commits
-
-
Morris Jette authored
Insure that BlueGene system has partition configured with Shared=FORCE whenever Dynmaic blocks are configured before trying to create sub- midplane blocks.
-
Danny Auble authored
-
Danny Auble authored
-
Danny Auble authored
all jobs would be returned even if the flag was set. Patch from Bill Brophy, Bull.
-
Morris Jette authored
-
Morris Jette authored
-
Morris Jette authored
We replaced references to "pipe" with a more generic "file descriptor". We also replaced a while loop in env.c with a for loop.
-
Morris Jette authored
-
Morris Jette authored
-
- 18 Jan, 2012 7 commits
-
-
Morris Jette authored
-
Morris Jette authored
-
Morris Jette authored
-
Morris Jette authored
-
Morris Jette authored
Fix bug in --switch option with topology resulting in bad switch count use. Patch from Alejandro Lucero Palau (Barcelona Supercomputer Center).
-
Morris Jette authored
-
Morris Jette authored
Avoid calling jobacct_gather_g_getinfo() until there is data to read from the socket.
-
- 17 Jan, 2012 10 commits
-
-
Danny Auble authored
-
Danny Auble authored
-
Danny Auble authored
-
Morris Jette authored
-
Danny Auble authored
-
Danny Auble authored
-
Danny Auble authored
-
Matthieu Hautreux authored
In current version of slurm initscript, a stop action returns a non null exit code as slurmstatus exit code is directly used and the daemons are stopped. Ensure that when called from slurmstop, slurmstatus error code is reversed to correctly match the attended error code of the stop stage.
-
Matthieu Hautreux authored
When multiple slurmd is enabled, there is no way in the prolog and epilog scripts associated to the slurmd daemons to determine which node, either virtual or physical is associated to the execution. SLURMD_NODENAME will provide that information, that is to say the name of the virtual or physical SLURM node at the origin of the prolog/epilog execution.
-
Matthieu Hautreux authored
When cpuset is used as the task/affinity backend, a common root directory is used to group every cpuset subdirectories created by the plugin. With multiple slurmd support, this result in all the virtual nodes executing on a same physical node sharing the same cpuset directories. This patch make sure that every virtual node has its own root directory in the cpuset hierarchy.
-