Changeset 256


Ignore:
Timestamp:
May 27, 2011, 5:24:52 PM (13 years ago)
Author:
gostiaux
Message:

oar batch syastem added

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/civ.m

    r252 r256  
    15351535    if isfield(s,'BatchParam')
    15361536        sparam=s.BatchParam;
    1537         if ~ismember(sparam.BatchMode,{'sge'})
     1537
     1538        if ~ismember(sparam.BatchMode,{'sge','oar'})
    15381539            errormsg=['batch mode ' sparam.BatchMode ' not supported by UVMAT'];
    15391540            return
     
    21232124                    display(['!qsub -p ' pvalue ' -q civ.q -e ' flname '.errors -o ' flname '.log' ' ' filename_bat]);
    21242125                    eval(  ['!qsub -p ' pvalue ' -q civ.q -e ' flname '.errors -o ' flname '.log' ' ' filename_bat]);
     2126                case 'oar'
     2127%                     pvalue=num2str((1-ind_answer)*500);
     2128%                     display(['!qsub -p ' pvalue ' -q civ.q -e ' flname '.errors -o ' flname '.log' ' ' filename_bat]);
     2129                    eval(  ['!chmod +x ' filename_bat]);
     2130                    eval(  ['!oarsub -l /nodes=1/cpu=1,walltime=00:10:00  ' filename_bat]);
    21252131            end
    21262132        elseif ~CivUvmat
Note: See TracChangeset for help on using the changeset viewer.