Changeset 297 for trunk/src


Ignore:
Timestamp:
Nov 22, 2011, 5:04:01 PM (12 years ago)
Author:
gostiaux
Message:

oar-dispatch mode debuggued

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/civ.m

    r296 r297  
    21392139                for p=1:length(batch_file_list)
    21402140                    oar_command=['oarsub -n CIVX '...
     2141                   '-E ' regexprep(batch_file_list{p},'.bat','.errors') ' -O ' regexprep(batch_file_list{p},'.bat','.log ')...
    21412142                        '-l "/core=1,walltime=00:10:00"   ' batch_file_list{p}];
    21422143                    fprintf(fid,[oar_command '\n']);
    21432144                end
    21442145                fclose(fid);
    2145                 walltime=datestr(length(batch_file_list)*10/24/60,13);
    2146                 oar_command=['oarsub -t container -n civx-container -l /core=24,walltime=' walltime ' "/fsnet/data/legi/calcul9/home/gostiaux/Documents/MATLAB/uvmat_dev/oar-dispatch -f '...
    2147                     filename_joblist '"'];
     2146                ncores=36;
     2147                walltime=datestr(length(batch_file_list)*10/24/60/ncores,13);
     2148                oar_command=['oarsub -t container -n civx-container '...
     2149                    '-l /core=' num2str(ncores) ',walltime=' walltime...
     2150                    ' "oar-dispatch -f ' filename_joblist '"'];
    21482151                filename_oarcommand=fullfile(Rootbat,'oar_command');
    21492152                fid=fopen(filename_oarcommand,'w');
Note: See TracChangeset for help on using the changeset viewer.