Changeset 312 for trunk/src/civ.m


Ignore:
Timestamp:
Dec 1, 2011, 12:15:07 PM (13 years ago)
Author:
gostiaux
Message:

type of batch submission with oar added

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/civ.m

    r311 r312  
    925925    end
    926926    set(hlist,'UserData',rootroot)
    927     pause(10)% wait 10 seconds for next check
     927    if count<10
     928    pause(.5)% wait 0.5 seconds for next check
     929    else
     930        pause(10)% wait 10 seconds for next check
     931    end
    928932end
    929933
     
    14951499       case 'oar' %oar-dispatch.pl
    14961500           oar_modes={'oar-dispatch','mpilauncher'};
    1497            text={'Batch processing on servcalcul3 LEGI',...
    1498                '\n',...
    1499                'Please choose one of the followint modes\n',...
    1500                ' * oar-dispatch : jobs in a container\n',...
    1501                ' * mpilauncher : one single job using several cores\n',...
     1501           text={'Batch processing on servcalcul3 LEGI';...
     1502               'Please choose one of the followint modes';...
     1503               '* oar-dispatch : jobs in a container';...
     1504               '* mpilauncher : one single job using several cores';...
     1505               '**********************************'...
    15021506               };
    15031507           [S,v]=listdlg('PromptString',text,'ListString',oar_modes,...
    1504                'SelectionMode','single');
    1505            switch oar_modes(S)
     1508               'SelectionMode','single','ListSize',[400 100],'Name','LEGI job mode');
     1509           switch oar_modes{S}
    15061510               
    1507                case 'oar_dispatch' %oar-dispatch.pl
     1511               case 'oar-dispatch' %oar-dispatch.pl
    15081512                   filename_joblist=fullfile(Rootbat,'job_list.txt');
    15091513                   fid=fopen(filename_joblist,'w');
Note: See TracChangeset for help on using the changeset viewer.