1. 23 Mar, 2018 4 commits
    • Felip Moll's avatar
      Fix env var tracking in jobs · 4e3c41e9
      Felip Moll authored
      When setting environment variables in jobs we were tracking other job's
      indexes and information, while the scope of the environment is totally
      different for each job. The static variables have been moved to non static.
      
      This fixes CUDA_VISIBLE_DEVICES indexing while running different jobs on
      the same node.
      
      Bug 4851
      4e3c41e9
    • Tim Wickberg's avatar
      Fix segfault when block_map_size is zero. · 08a51983
      Tim Wickberg authored
      If block_map_size is zero (as seen on FreeBSD when not using HWLOC),
      xmalloc(0) will return NULL. Writing to str[0] then is invalid.
      
      Bug 4845.
      08a51983
    • Tim Wickberg's avatar
      Fix build issue on FreeBSD due to missing sys/eventfd.h header. · d6e41189
      Tim Wickberg authored
      Commit 943c4a13 introduced _register_oom_notifications()
      which relies on eventfd() to subscribe to the memory.oom_control file.
      
      As eventfd is unavailable on FreeBSD, disable this functionality
      until some alternative implementation can be created.
      
      Bug 4845.
      d6e41189
    • Tim Wickberg's avatar
      Fix FreeBSD build issue with missing cpu_set_t type. · 6e7dcfe4
      Tim Wickberg authored
      Copy this definition from src/common/gres.c, along
      with the necessary includes. (Note that these includes
      cannot be alphabetized as is done elsewhere.)
      
      Bug 4845.
      6e7dcfe4
  2. 22 Mar, 2018 2 commits
  3. 21 Mar, 2018 3 commits
  4. 20 Mar, 2018 5 commits
  5. 19 Mar, 2018 1 commit
  6. 15 Mar, 2018 21 commits
  7. 14 Mar, 2018 4 commits