Changeset 903
- Timestamp:
- May 29, 2015, 5:17:05 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/series.m
r902 r903 1908 1908 case 'cluster_oar' % option 'oar-parexec' used 1909 1909 %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_ OARto allow new input1910 DirOAR=fullfile(OutputDir,'0_LOG'); 1911 if exist(DirOAR,'dir')% delete the content of the dir 0_LOG to allow new input 1912 1912 curdir=pwd; 1913 1913 cd(DirOAR) … … 1930 1930 fclose(fid); 1931 1931 system(['chmod +x ' filename_joblist]);% set the file to executable 1932 oar_command=['oarsub -n CIVX'...1932 oar_command=['oarsub -n UVmat_' ActionName ' '... 1933 1933 '-t idempotent --checkpoint ' num2str(walltime_onejob+60) ' '... 1934 1934 '-l /core=' num2str(NbCore) ','... … … 1937 1937 '-O ' regexprep(filename_joblist,'\.txt\>','.stdout') ' '... 1938 1938 extra_oar ' '... 1939 '"oar-parexec - f ' filename_joblist ' '...1939 '"oar-parexec -s -f ' filename_joblist ' '... 1940 1940 '-l ' filename_joblist '.log"\n']; 1941 1941 filename_oarcommand=fullfile(DirOAR,'oar_command'); … … 1949 1949 %create subdirectory for pbs command and log files 1950 1950 DirPBS=fullfile(OutputDir,'0_PBS'); %todo : common name OAR/PBS 1951 if exist(DirPBS,'dir')% delete the content of the dir 0_ OARto allow new input1951 if exist(DirPBS,'dir')% delete the content of the dir 0_LOG to allow new input 1952 1952 curdir=pwd; 1953 1953 cd(DirPBS)
Note: See TracChangeset
for help on using the changeset viewer.