1. Aug 29, 2018
    • Alberto Miranda's avatar
      Fix wrong initialization of m_is_paused · 2d0e8200
      Alberto Miranda authored
      The member field m_is_paused in class urd was not being explicitly
      initialized by default, which caused norns_submit() to fail even if no
      NORNSCTL_COMMAND_PAUSE_ACCEPT had been sent to the urd daemon.
      2d0e8200
    • Alberto Miranda's avatar
      Remove deprecated nornsctl_ping() function · 428c13c6
      Alberto Miranda authored
      It has been decided to remove the deprectated nornsctl_ping() function from
      libnornsctl.so, since an equivalent functionality is now supported using
      the new nornsctl_send_command() function and its NORNSCTL_COMMAND_PING
      argument.
      
      Therefore, any such invocation:
      
          norns_error_t rv = nornsctl_ping();
      
      can now be replicated as:
      
          norns_error_t rv = nornsctl_send_command(NORNSCTL_COMMAND_PING, NULL);
      428c13c6
    • Alberto Miranda's avatar
      Add new tests to .gitlab-ci.yml · 1f57d2cd
      Alberto Miranda authored
      1f57d2cd
    • Alberto Miranda's avatar
      First implementation of nornsctl_send_command() · 622f34fe
      Alberto Miranda authored
      The nornsctl_send_command() function allows administrative applications
      such as SLURM to send control commands to the urd server to control its
      behavior or to query specific information from it.
      
      Accepted commands:
      - NORNSCTL_COMMAND_PAUSE_ACCEPT: Stop accepting incoming tasks.
      - NORNSCTL_COMMAND_RESUME_ACCEPT: Resume accepting incoming tasks after
        a successful NORNSCTL_COMMAND_PAUSE_ACCEPT has been received.
      - NORNSCTL_COMMAND_PING: Check whether the server is up and running.
      622f34fe
  2. Aug 28, 2018
  3. Aug 24, 2018
  4. Aug 23, 2018
  5. Aug 22, 2018
  6. Aug 21, 2018
  7. Aug 18, 2018
  8. Aug 17, 2018
    • Alberto Miranda's avatar
      Fix compilation issue with gcc-7 · 5952711c
      Alberto Miranda authored
      This commit closes #1
      5952711c
    • Alberto Miranda's avatar
      Add nornsctl_status function · 7fe672fa
      Alberto Miranda authored
      The new nornctl_status function queries the urd daemon and returns
      summarized stats about all iotasks currently in the system. More
      specifically, the function returns a nornsctl_stat_t structure that
      contains the following information:
          st_running_tasks: Number of tasks currently running
          st_pending_tasks: Number of tasks currently pending
          st_eta: Estimated Time of Arrival of the currently running tasks
                  (in seconds). Note that, internally, the daemon estimates
                  how long a task will take by keeping track of the average
                  namespace-to-namespace bandwidth from previous requests.
                  This means that this field may contain NaN if no tasks
                  have yet completed, since the daemon will not be able to
                  estimate the E.T.A.
      7fe672fa
  9. Jul 12, 2018
  10. Jul 11, 2018
  11. Jul 10, 2018