Changeset 31 for trunk


Ignore:
Timestamp:
09/24/13 11:32:00 (12 years ago)
Author:
mmamonski
Message:

Correct handling of MEM_PER_CPU

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/slurm_drmaa/util.c

    r30 r31  
    239239                #else 
    240240                        if(job_desc->pn_min_memory == NO_VAL ||  fsd_atoi(value) > (int)job_desc->pn_min_memory) { 
    241                                 fsd_log_debug(("# pn_min_memory = %s",value)); 
    242                                 job_desc->pn_min_memory = fsd_atoi(value); 
     241                                fsd_log_debug(("# pn_min_memory (MEM_PER_CPU) = %s",value)); 
     242                                job_desc->pn_min_memory = fsd_atoi(value) | MEM_PER_CPU; 
    243243                        } 
    244244                #endif 
Note: See TracChangeset for help on using the changeset viewer.