Changeset 5085
- Timestamp:
- 08/09/10 12:36:13 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/test/NightlyRun/runme.m
r5084 r5085 2 2 %RUNME - test deck for ISSM nightly runs 3 3 % 4 % In a test deck directory (tests/Vertification/ test01_IceShelfIceFrontM2dfor example)5 % The following command will launch all the existing tests for test014 % In a test deck directory (tests/Vertification/NightlyRun for example) 5 % The following command will launch all the existing tests: 6 6 % >> runme 7 % To run the tests in serial only8 % >> runme(' parallel',0)7 % To run the tests 101 and 102: 8 % >> runme('id',[101 102]) 9 9 % etc... 10 10 % 11 11 % Available options: 12 % 'analysis_type' followed by the desired SolutionEnum 13 % 'parallel' 0: serial only 14 % 1: parallel only 12 % 'id' followed by the list of ids requested 13 % 'exclude' ids to be excluded from the test 14 % 'benchmark' 'nightly' (nightly run/ daily run) 15 % ... 15 16 % 'procedure' 'check' : run the test (default) 16 17 % 'update': update the archive … … 22 23 % Examples: 23 24 % runme; 24 % runme('analysis_type',DiagnosticSolutionEnum); 25 % runme('analysis_type',DiagnosticSolutionEnum,'parallel',0); 26 % runme('procedure','update','analysis_type',DiagnosticSolutionEnum,'parallel',1); 27 28 % This file can be run to check that the current version of issm is giving 29 % coherent results. 30 % is square. Just run this file in Matlab, with a properly setup ISSM code. 31 % The results of this test will indicate if there is a difference between current computations 32 % and archived results. 33 34 % Errors between archived results and the current version will get flagged if they are not within 35 % a certain tolerance. 25 % runme('exclude',101); 26 % md=runme('id',102,'procedure','model'); 36 27 37 28 %use ISSM_DIR generated by startup.m … … 91 82 test_ids=getfieldvalue(options,'id',list_ids); 92 83 test_ids=intersect(test_ids,list_ids); 84 % }}} 85 %GET exculde {{{1 86 exclude_ids=getfieldvalue(options,'exclude',[]); 87 pos=find(ismember(test_ids,exclude_ids)); 88 test_ids(pos)=[]; 93 89 % }}} 94 90 %Process Ids according to benchmarks{{{1
Note:
See TracChangeset
for help on using the changeset viewer.