Changeset 55 for trunk/src/civ.m
- Timestamp:
- Mar 17, 2010, 10:26:41 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/civ.m
r54 r55 139 139 patch_new_exe=sparam.PatchNew_exe; 140 140 end 141 142 if isfield(sparam,'SGE') 143 sge=str2double(sparam.SGE); 144 end 145 146 test_batch=sge;%default 141 147 if isfield(sparam,'Todo_path') 142 148 todo_path=sparam.Todo_path; 143 end 144 if isfield(sparam,'SGE') 145 sge=str2num(sparam.SGE); 146 end 147 name_todo=fullfile(todo_path,'TODO.txt'); 148 test_batch=1; 149 if ~sge 150 if isequal(todo_path,'') || isequal(todo_path,[]) 151 display(['no batch distributed processing available:file path TODO.txt not defined in UVMAT/PARAM.xml']) 152 test_batch=0; 153 end 154 if exist(name_todo,'file')~=2 155 msgbox_uvmat('WARNING',['no batch distributed processing available, queue file ' name_todo ' absent']); 156 % test_batch=0; % Problems to detect file on linux/nfs filesystems 149 name_todo=fullfile(todo_path,'TODO.txt'); 150 if exist(name_todo,'file') 151 test_batch=1; 157 152 end 158 153 end
Note: See TracChangeset
for help on using the changeset viewer.