Changeset 16966
- Timestamp:
- 11/27/13 14:01:46 (11 years ago)
- Location:
- issm/trunk-jpl/test
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/test/NightlyRun/runme.m
r16937 r16966 13 13 % 'exclude' ids to be excluded from the test 14 14 % 'benchmark' 'all' (all of them) 15 % 'nightly' (nightly run / daily run)15 % 'nightly' (nightly run) 16 16 % 'ismip' : validation of ismip-hom tests 17 17 % 'eismint': validation of eismint tests … … 65 65 %GET output {{{ 66 66 output=getfieldvalue(options,'output','none'); 67 if ~ismember(output,{'nightly',' daily','none'})67 if ~ismember(output,{'nightly','none'}) 68 68 disp('runme warning: output not supported, defaulting to test ''none''') 69 69 output='none'; … … 239 239 fclose(fid); 240 240 disp(sprintf(['FAILURE difference: N/A test id: %i test name: %s field: %s'],id,id_string,fieldname)); 241 elseif strcmpi(output,'daily');242 fid=fopen([ISSM_DIR '/dailylog/matlaberror.log'], 'at');243 fprintf(fid,'%s',message);244 fprintf(fid,'\n------------------------------------------------------------------\n');245 fclose(fid);246 disp(sprintf(['FAILURE difference: N/A test id: %i test name: %s field: %s'],id,id_string,fieldname));247 241 else 248 242 disp(sprintf(['FAILURE difference: N/A test id: %i test name: %s field: %s'],id,id_string,fieldname)); 249 rethrow(me2);243 fprintf('%s',message); 250 244 if(getfieldvalue(options,'stoponerror',0)), disp('STOP'); return; end 251 245 end 246 continue; 252 247 end 253 248 end … … 262 257 if strcmpi(output,'nightly') 263 258 fid=fopen([ISSM_DIR '/nightlylog/matlaberror.log'], 'at'); 264 fprintf(fid,'%s',message);265 fprintf(fid,'\n------------------------------------------------------------------\n');266 fclose(fid);267 disp(sprintf(['FAILURE difference: N/A test id: %i test name: %s field: %s'],id,id_string,'N/A'));268 elseif strcmpi(output,'daily');269 fid=fopen([ISSM_DIR '/dailylog/matlaberror.log'], 'at');270 259 fprintf(fid,'%s',message); 271 260 fprintf(fid,'\n------------------------------------------------------------------\n'); -
issm/trunk-jpl/test/NightlyRun/test119.m
r16938 r16966 1 1 2 2 %Simple mesh 3 md=bamg(model(),'domain','../Exp/Square.exp','hmax',100000. );3 md=bamg(model(),'domain','../Exp/Square.exp','hmax',100000.,'rand',false); 4 4 x1=md.mesh.x; 5 5 y1=md.mesh.y; 6 6 7 7 %hVertices 8 md=bamg(model(),'domain','../Exp/Square.exp','hmax',300000.,'hVertices',[10000. 100000. 400000. 100000.]' );8 md=bamg(model(),'domain','../Exp/Square.exp','hmax',300000.,'hVertices',[10000. 100000. 400000. 100000.]','rand',false); 9 9 x2=md.mesh.x; 10 10 y2=md.mesh.y; … … 12 12 %big mesh 13 13 t0=clock; 14 md=bamg(model(),'domain','../Exp/Square.exp','hmax',3000. );14 md=bamg(model(),'domain','../Exp/Square.exp','hmax',3000.,'rand',false); 15 15 nbelements=md.mesh.numberofelements; 16 16 elapsedtime=etime(clock,t0);
Note:
See TracChangeset
for help on using the changeset viewer.