- Timestamp:
- May 27, 2011, 5:24:52 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/civ.m
r252 r256 1535 1535 if isfield(s,'BatchParam') 1536 1536 sparam=s.BatchParam; 1537 if ~ismember(sparam.BatchMode,{'sge'}) 1537 1538 if ~ismember(sparam.BatchMode,{'sge','oar'}) 1538 1539 errormsg=['batch mode ' sparam.BatchMode ' not supported by UVMAT']; 1539 1540 return … … 2123 2124 display(['!qsub -p ' pvalue ' -q civ.q -e ' flname '.errors -o ' flname '.log' ' ' filename_bat]); 2124 2125 eval( ['!qsub -p ' pvalue ' -q civ.q -e ' flname '.errors -o ' flname '.log' ' ' filename_bat]); 2126 case 'oar' 2127 % pvalue=num2str((1-ind_answer)*500); 2128 % display(['!qsub -p ' pvalue ' -q civ.q -e ' flname '.errors -o ' flname '.log' ' ' filename_bat]); 2129 eval( ['!chmod +x ' filename_bat]); 2130 eval( ['!oarsub -l /nodes=1/cpu=1,walltime=00:10:00 ' filename_bat]); 2125 2131 end 2126 2132 elseif ~CivUvmat
Note: See TracChangeset
for help on using the changeset viewer.