Changeset 23369
- Timestamp:
- 10/02/18 09:59:36 (6 years ago)
- Location:
- issm/trunk-jpl/test/NightlyRun
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/test/NightlyRun/runme.py
r23269 r23369 11 11 """ 12 12 RUNME - test deck for ISSM nightly runs 13 13 14 14 In a test deck directory (tests/Vertification/NightlyRun for example) 15 15 The following command will launch all the existing tests: … … 18 18 >> runme(id=[101,102]) 19 19 etc... 20 20 21 21 Available options: 22 22 'id' followed by the list of ids or (parts of) test names requested … … 37 37 'procedure' 'check' : run the test (default) 38 38 'update': update the archive 39 39 40 40 Usage: 41 41 runme(varargin) 42 42 43 43 Examples: 44 44 runme() … … 49 49 runme(id=[[101,102],['Dakota','Slr']]) 50 50 """ 51 52 51 from parallelrange import parallelrange 53 52 from IdToName import IdToName … … 85 84 i1,i2=parallelrange(rank,numprocs,len(list_ids)) #Get tests for this cpu only 86 85 list_ids=list_ids[i1:i2+1] 87 88 if np.size(id) > 0 :86 87 if np.size(id) > 0 and not id==None: 89 88 test_ids = set(GetIds(id)).intersection(set(list_ids)) 90 89 else: 91 90 # if no tests are specifically provided, do them all 92 91 test_ids = set(list_ids) 93 92 94 93 # }}} 95 94 #GET exclude {{{ … … 183 182 if np.shape(field) != np.shape(archive): 184 183 raise RuntimeError("Field '"+archive_name+"' from test is malformed; shape is "+str(np.shape(field.T))+", should be "+str(np.shape(archive))+" (or "+str(np.shape(archive.T))+").") 185 184 186 185 error_diff=np.amax(np.abs(archive-field),axis=0)/(np.amax(np.abs(archive),axis=0)+float_info.epsilon) 187 186 -
issm/trunk-jpl/test/NightlyRun/test101.m
r22501 r23369 4 4 md=parameterize(md,'../Par/SquareShelfConstrained.par'); 5 5 md=setflowequation(md,'SSA','all'); 6 md.cluster=generic('name',oshostname(),'np',2); 6 md.cluster=stallo('numnodes',1,'cpuspernode',16,'time',60,'queue','devel') 7 %md.cluster=generic('name',oshostname(),'np',2); 7 8 8 9 %output
Note:
See TracChangeset
for help on using the changeset viewer.