Changeset 322 for trunk/src


Ignore:
Timestamp:
Dec 6, 2011, 9:54:58 PM (13 years ago)
Author:
gostiaux
Message:

trying to add civ_matlab in batch...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/civ.m

    r319 r322  
    11051105%% MAIN LOOP
    11061106time=get(handles.ImaDoc,'UserData'); %get the set of times
    1107 batch_file_list=[];
     1107batch_file_list=[];%should be renamed file_list, can be used for xml or bash files
    11081108 
    11091109for ifile=1:nbfield
     
    14371437                    save(t,filename_xml)
    14381438                    if batch   
    1439                         batch_file_list{length(batch_file_list)+1}=filename_xml;
     1439                        path_civ=fileparts(which('civ'));
     1440                        batch_file_list{length(batch_file_list)+1}=['matlab -nodisplay -nosplash -r "cd ' path_civ ';civ_matlab(''' filename_xml ''');"'];
    14401441                    else
    14411442                        [Data,erromsg]=civ_matlab(Param,filecell.nc.civ1{ifile,j});
     
    14801481               
    14811482                case 'oar-dispatch' %oar-dispatch.pl
     1483                    walltime_onejob=600;%seconds
    14821484                    filename_joblist=fullfile(Rootbat,'job_list.txt');
    14831485                    fid=fopen(filename_joblist,'w');
    1484                     walltime_onejob=600;%seconds
    14851486                    for p=1:length(batch_file_list)
    14861487                        oar_command=['oarsub -n CIVX '...
Note: See TracChangeset for help on using the changeset viewer.