Changeset 303


Ignore:
Timestamp:
Nov 28, 2011, 6:27:26 PM (12 years ago)
Author:
gostiaux
Message:

Bug in batch submission when the string "bat" was in filename; corrected.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/civ.m

    r301 r303  
    20482048                for p=1:length(batch_file_list)
    20492049                    oar_command=['oarsub -n CIVX '...
    2050                    '-E ' regexprep(batch_file_list{p},'.bat','.errors') ' -O ' regexprep(batch_file_list{p},'.bat','.log ')...
     2050                   '-E ' regexprep(batch_file_list{p},'\.bat\>','.errors') ' -O ' regexprep(batch_file_list{p},'\.bat\>','.log ')...
    20512051                        '-l "/core=1,walltime=00:10:00"   ' batch_file_list{p}];
    20522052                    fprintf(fid,[oar_command '\n']);
Note: See TracChangeset for help on using the changeset viewer.