Changeset 113 for trunk/src


Ignore:
Timestamp:
Oct 14, 2010, 6:30:43 PM (14 years ago)
Author:
sommeria
Message:

Max number of jobs in run corrected

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/civ.m

    r112 r113  
    22332233        [s,w]=unix('ps faux |grep civ|wc -l');
    22342234        w(end)=[];
    2235         if str2num(w)+numel(filecell)> MaxCivProcesses
     2235        str2num(w)+numel(num1_civ1)
     2236        if str2num(w)+numel(num1_civ1)> MaxCivProcesses
    22362237            msgbox_uvmat('ERROR',{['There are already ' w ' civ processes running locally'];'Use BATCH or submit RUN later'})
    22372238            return
Note: See TracChangeset for help on using the changeset viewer.