Skip to content
  • Leigh B. Stoller's avatar
    Add -p option, which says to allow partial allocation (reserve what · 8a5fcebe
    Leigh B. Stoller authored
    nodes it can).
    
    Change exit value; return -1 on fatal error, otherwise return the
    number of nodes that could not be allocated. Combined with the -p
    switch, assign_wrapper can easily determine that nalloc was able to
    reserve a subset of the nodes.
    
    Also fix up getopts() call, which had its arguments backwards! Good
    thing we hardly pass switches to nalloc.
    8a5fcebe