1. 02 Jul, 2015 8 commits
  2. 01 Jul, 2015 8 commits
    • Dorian Krause's avatar
      srun: Enable output processing on stdout in pty mode · 03e156c5
      Dorian Krause authored
      Dear all,
      
      we noticed that debugX() and error() calls in srun mess up the output if the --pty flag is used. The reason for this behavior is that srun sets the terminal in raw mode and disables output processing. This is fine for the output forwarded from the remote damon but not for local printf()s by the srun process. This problem can be circumented by re-enabling OPOST after the cfmakeraw() call in srun(). A patch is pasted at the bottom of the mail. It works nicely on Linux but I am not 100% sure it may not have some undesirable side effects on other platforms.
      
      Best regards,
      Dorian
      
      Example with current HEAD:
      
      [snip]
      srun: jobid 10: nodes(1):`node1', cpu counts: 1(x1)
      srun: launching 10.0 on host node1, 1 tasks: 0
                                                    srun: route default plugin loaded
                                                                                     srun: Node node1, 1 tasks started
                                                                                                                      srun: Received task exit notification for 1 task (status=0x0100).
                                               srun: error: node1: task 0: Exited with exit code 1
                                                                                                  #
      Example with the patch applied:
      
      [snip]
       srun: jobid 11: nodes(1):`node1', cpu counts: 1(x1)
      srun: launching 11.0 on host node1, 1 tasks: 0
      srun: route default plugin loaded
      srun: Node node1, 1 tasks started
      srun: Received task exit notification for 1 task (status=0x0100).
      srun: error: node1: task 0: Exited with exit code 1
      03e156c5
    • Morris Jette's avatar
      Add TRES support to sview · bb2c84c6
      Morris Jette authored
      Add job, step and reservation TRES information to sview command
      bb2c84c6
    • Morris Jette's avatar
      Make CPU frequency test more thorough · a7ad5445
      Morris Jette authored
      a7ad5445
    • Morris Jette's avatar
      Refactor CPU frequency test · 179d2502
      Morris Jette authored
      Prevent test failure if the compute node does not permit user
        control over CPU frequency (no "userspace" governor).
      179d2502
    • Morris Jette's avatar
      Prevent test leaving vestigial file · 7118060a
      Morris Jette authored
      7118060a
    • Brian Christiansen's avatar
      Show job in sacct when step's cpus are different from job allocation. · 0f8e7338
      Brian Christiansen authored
      When submitting a job with srun -n# the job may be allocated more than # because
      the job was given the whole core or socket (eg. CR_CORE, CR_SOCKET). sacct
      showed only what the step used and not the allocation. This commit shows the job
      and the step if job and step cpus are different.
      0f8e7338
    • Thomas Cadeau's avatar
      26806204
    • Morris Jette's avatar
      Add TRES support to sreport command · b860ed8e
      Morris Jette authored
      Major re-write of the sreport command to support --tres job option
      and permit users to select specific tracable resources to generate
      reports for. For most reports, each TRES is listed on a separate
      line of output with its name. The default TRES type is "cpu" to
      minimize changes to output.
      b860ed8e
  3. 30 Jun, 2015 10 commits
  4. 29 Jun, 2015 4 commits
  5. 27 Jun, 2015 1 commit
    • Morris Jette's avatar
      Fix parsing of TrackWCKey in tests · 0db7d470
      Morris Jette authored
      The regression tests were looking for TrackWCKey=YES, but the
        current output value is numeric (TrackWCKey=1). Correcting
        this results in test22.1 failing. In fact, the test has not
        run since the format of TrackWCKey changed.
      0db7d470
  6. 26 Jun, 2015 9 commits