Changeset 23269
- Timestamp:
- 09/12/18 15:23:10 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/test/NightlyRun/runme.py
r23176 r23269 82 82 flist=glob('test*.py') #File name must start with 'test' and must end by '.py' and must be different than 'test.py' 83 83 list_ids=[int(file[4:-3]) for file in flist if not file == 'test.py'] #Keep test id only (skip 'test' and '.py') 84 #print 'list_ids =',list_ids85 84 86 85 i1,i2=parallelrange(rank,numprocs,len(list_ids)) #Get tests for this cpu only 87 86 list_ids=list_ids[i1:i2+1] 88 #print 'list_ids after parallelrange =',list_ids89 87 90 if id:88 if np.size(id) > 0: 91 89 test_ids = set(GetIds(id)).intersection(set(list_ids)) 92 90 else: … … 94 92 test_ids = set(list_ids) 95 93 96 #print 'test_ids after list =',test_ids97 94 # }}} 98 95 #GET exclude {{{ … … 100 97 101 98 test_ids=test_ids.difference(exclude_ids) 102 #print 'test_ids after exclude =',sorted(test_ids)103 #return104 99 # }}} 105 100 #Process Ids according to benchmarks {{{ … … 124 119 elif benchmark=='adolc': 125 120 test_ids=test_ids.intersection(set(range(3001,3200))) 126 #print 'test_ids after benchmark =',test_ids127 121 test_ids=list(test_ids) 128 122 test_ids.sort() 129 #print 'test_ids after sort =',test_ids130 123 # }}} 131 124
Note:
See TracChangeset
for help on using the changeset viewer.