1. 27 Jan, 2012 7 commits
  2. 25 Jan, 2012 1 commit
    • Morris Jette's avatar
      Set DEFAULT flag in partition structure · 9f4ef925
      Morris Jette authored
      Set DEFAULT flag in partition structure when slurmctld reads the
      configuration file. Patch from Rémi Palancher. Note the flag is set
      when the information is sent via RPC for sinfo.
      9f4ef925
  3. 24 Jan, 2012 3 commits
  4. 23 Jan, 2012 3 commits
    • Morris Jette's avatar
      Add global variable as needed in priority/multifactor · cdcc4af9
      Morris Jette authored
      needed for test24.1
      cdcc4af9
    • Morris Jette's avatar
      e5ac37f1
    • Philip D. Eckert's avatar
      here it is · d254296c
      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
      d254296c
  5. 22 Jan, 2012 1 commit
    • Philip D. Eckert's avatar
      last one · 16e6fcd6
      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
      16e6fcd6
  6. 20 Jan, 2012 2 commits
  7. 19 Jan, 2012 5 commits
  8. 18 Jan, 2012 4 commits
  9. 17 Jan, 2012 2 commits
  10. 13 Jan, 2012 6 commits
  11. 11 Jan, 2012 1 commit
  12. 09 Jan, 2012 3 commits
  13. 28 Dec, 2011 1 commit
  14. 21 Dec, 2011 1 commit
    • Mark A. Grondona's avatar
      [PATCH] slurmstped: fix dup2() error with --pty · 13fdd529
      Mark A. Grondona authored
      In commit
      
       commit b33cd7c8
       Author: Mark A. Grondona <mgrondona@llnl.gov>
       Date:   Fri Oct 7 13:52:43 2011 -0700
      
      a minor bug was introduced because the io_dup_stdio() call was moved
      out from under the 'else' case of the empty if
      
       if (job->pty && (task->gtid == 0))
      
      in task.c:exec_task() This results in the error
      
       dup2(stdin): Bad file descriptor
      
      For task 0 when --pty is used, because io_dup_stdio() is
      inappropriately being called after login_tty().
      
      This patch collects the stdio setup into prepare_tty(), renames
      that function prepare_stdio(), and removes the io_dup_stdio()
      call from exec_task().  This removes the last io_* call from
      slurmstepd/task.c, so the io.h header is removed.
      
      I didn't see a problem with moving the io_dup_stdio() call earlier in
      the task setup path, but it could probably use another set of eyes.
      ----------
      Note: This problem was at least partly fixed with
      https://github.com/SchedMD/slurm/commit/4d17300c5de7a8f146072bae8baaf773ca1fe98a
      13fdd529