Changeset 903


Ignore:
Timestamp:
May 29, 2015, 5:17:05 PM (6 years ago)
Author:
g7moreau
Message:
  • Change 0_OAR folder to 0_LOG
  • Put -s to oar-parexec to switch log of subjob
  • Name job with UVmat prefix
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/series.m

    r902 r903  
    19081908    case 'cluster_oar' % option 'oar-parexec' used
    19091909        %create subdirectory for oar command and log files
    1910         DirOAR=fullfile(OutputDir,'0_OAR');
    1911         if exist(DirOAR,'dir')% delete the content of the dir 0_OAR to allow new input
     1910        DirOAR=fullfile(OutputDir,'0_LOG');
     1911        if exist(DirOAR,'dir')% delete the content of the dir 0_LOG to allow new input
    19121912            curdir=pwd;
    19131913            cd(DirOAR)
     
    19301930        fclose(fid);
    19311931        system(['chmod +x ' filename_joblist]);% set the file to executable
    1932         oar_command=['oarsub -n CIVX '...
     1932        oar_command=['oarsub -n UVmat_' ActionName ' '...
    19331933            '-t idempotent --checkpoint ' num2str(walltime_onejob+60) ' '...
    19341934            '-l /core=' num2str(NbCore) ','...
     
    19371937            '-O ' regexprep(filename_joblist,'\.txt\>','.stdout') ' '...
    19381938            extra_oar ' '...
    1939             '"oar-parexec -f ' filename_joblist ' '...
     1939            '"oar-parexec -s -f ' filename_joblist ' '...
    19401940            '-l ' filename_joblist '.log"\n'];
    19411941        filename_oarcommand=fullfile(DirOAR,'oar_command');
     
    19491949        %create subdirectory for pbs command and log files
    19501950        DirPBS=fullfile(OutputDir,'0_PBS'); %todo : common name OAR/PBS
    1951         if exist(DirPBS,'dir')% delete the content of the dir 0_OAR to allow new input
     1951        if exist(DirPBS,'dir')% delete the content of the dir 0_LOG to allow new input
    19521952            curdir=pwd;
    19531953            cd(DirPBS)
Note: See TracChangeset for help on using the changeset viewer.