| /petsc/lib/petsc/bin/maint/ |
| H A D | testharness_util.py | 40 for root, dirs, files in os.walk(top, topdown=False): 41 if "examples" not in root: continue 42 if root == 'output': continue 43 if '.dSYM' in root: continue 44 if verbose: print(root) 53 fullex = os.path.join(root, exfile) 55 d[root] = testparse.parseTestFile(fullex, 0) 56 if exfile in d[root]: 57 for test in d[root][exfile]: 58 if 'args' in d[root][exfile][test]: [all …]
|
| H A D | PetscStaticFunctionCandidates.py | 14 sourcefiles = [os.path.join(root, name) 15 for root, dirs, files in os.walk(path) 17 … if name.endswith((".c", ".h")) and root.find("ftn-custom") < 0 and root.find("examples") < 0]
|
| /petsc/src/sys/objects/device/tests/output/ |
| H A D | ex7_with_info_hip.out | 3 [0] <device> MarkFromID_IncompatibleModes(): dctx 53 (global root) - obj 58 (memory allocation): ne… 4 [0] <device> PetscDeviceContextMarkIntentFromID_Private(): dctx 53 (global root) - obj 58 (memory a… 5 [0] <device> MarkFromID_IncompatibleModes(): dctx 53 (global root) - obj 58 (memory deallocation): … 6 [0] <device> MarkFromID_IncompatibleModes_UpdateLastWrite(): dctx 53 (global root) - obj 58 (memory… 7 [0] <device> PetscDeviceContextMarkIntentFromID_Private(): dctx 53 (global root) - obj 58 (memory d… 8 [0] <device> MarkFromID_IncompatibleModes(): dctx 53 (global root) - obj 63 (memory allocation): ne… 9 [0] <device> PetscDeviceContextMarkIntentFromID_Private(): dctx 53 (global root) - obj 63 (memory a… 10 [0] <device> MarkFromID_IncompatibleModes(): dctx 53 (global root) - obj 64 (memory allocation): ne… 11 [0] <device> PetscDeviceContextMarkIntentFromID_Private(): dctx 53 (global root) - obj 64 (memory a… 12 [0] <device> MarkFromID_IncompatibleModes(): dctx 53 (global root) - obj 65 (memory allocation): ne… [all …]
|
| H A D | ex7_with_info_cuda.out | 3 [0] <device> MarkFromID_IncompatibleModes(): dctx 53 (global root) - obj 58 (memory allocation): ne… 4 [0] <device> PetscDeviceContextMarkIntentFromID_Private(): dctx 53 (global root) - obj 58 (memory a… 5 [0] <device> MarkFromID_IncompatibleModes(): dctx 53 (global root) - obj 58 (memory deallocation): … 6 [0] <device> MarkFromID_IncompatibleModes_UpdateLastWrite(): dctx 53 (global root) - obj 58 (memory… 7 [0] <device> PetscDeviceContextMarkIntentFromID_Private(): dctx 53 (global root) - obj 58 (memory d… 8 [0] <device> MarkFromID_IncompatibleModes(): dctx 53 (global root) - obj 63 (memory allocation): ne… 9 [0] <device> PetscDeviceContextMarkIntentFromID_Private(): dctx 53 (global root) - obj 63 (memory a… 10 [0] <device> MarkFromID_IncompatibleModes(): dctx 53 (global root) - obj 64 (memory allocation): ne… 11 [0] <device> PetscDeviceContextMarkIntentFromID_Private(): dctx 53 (global root) - obj 64 (memory a… 12 [0] <device> MarkFromID_IncompatibleModes(): dctx 53 (global root) - obj 65 (memory allocation): ne… [all …]
|
| H A D | ex7_with_info_sycl.out | 3 [0] <device> MarkFromID_IncompatibleModes(): dctx 2 (global root) - obj 8 (memory allocation): new … 4 [0] <device> PetscDeviceContextMarkIntentFromID_Private(): dctx 2 (global root) - obj 8 (memory all… 5 [0] <device> MarkFromID_IncompatibleModes(): dctx 2 (global root) - obj 8 (memory deallocation): ne… 6 [0] <device> MarkFromID_IncompatibleModes_UpdateLastWrite(): dctx 2 (global root) - obj 8 (memory d… 7 [0] <device> PetscDeviceContextMarkIntentFromID_Private(): dctx 2 (global root) - obj 8 (memory dea… 8 [0] <device> MarkFromID_IncompatibleModes(): dctx 2 (global root) - obj 12 (memory allocation): new… 9 [0] <device> PetscDeviceContextMarkIntentFromID_Private(): dctx 2 (global root) - obj 12 (memory al… 10 [0] <device> MarkFromID_IncompatibleModes(): dctx 2 (global root) - obj 13 (memory allocation): new… 11 [0] <device> PetscDeviceContextMarkIntentFromID_Private(): dctx 2 (global root) - obj 13 (memory al… 12 [0] <device> MarkFromID_IncompatibleModes(): dctx 2 (global root) - obj 14 (memory allocation): new… [all …]
|
| H A D | ex7_with_info_host_with_device.out | 3 [0] <device> MarkFromID_IncompatibleModes(): dctx 53 (global root) - obj 56 (memory allocation): ne… 4 [0] <device> PetscDeviceContextMarkIntentFromID_Private(): dctx 53 (global root) - obj 56 (memory a… 5 [0] <device> MarkFromID_IncompatibleModes(): dctx 53 (global root) - obj 56 (memory deallocation): … 6 [0] <device> MarkFromID_IncompatibleModes_UpdateLastWrite(): dctx 53 (global root) - obj 56 (memory… 7 [0] <device> PetscDeviceContextMarkIntentFromID_Private(): dctx 53 (global root) - obj 56 (memory d… 8 [0] <device> MarkFromID_IncompatibleModes(): dctx 53 (global root) - obj 60 (memory allocation): ne… 9 [0] <device> PetscDeviceContextMarkIntentFromID_Private(): dctx 53 (global root) - obj 60 (memory a… 10 [0] <device> MarkFromID_IncompatibleModes(): dctx 53 (global root) - obj 61 (memory allocation): ne… 11 [0] <device> PetscDeviceContextMarkIntentFromID_Private(): dctx 53 (global root) - obj 61 (memory a… 12 [0] <device> MarkFromID_IncompatibleModes(): dctx 53 (global root) - obj 62 (memory allocation): ne… [all …]
|
| H A D | ex7_with_info_host_no_device.out | 3 [0] <device> MarkFromID_IncompatibleModes(): dctx 53 (global root) - obj 56 (memory allocation): ne… 4 [0] <device> PetscDeviceContextMarkIntentFromID_Private(): dctx 53 (global root) - obj 56 (memory a… 5 [0] <device> MarkFromID_IncompatibleModes(): dctx 53 (global root) - obj 56 (memory deallocation): … 6 [0] <device> MarkFromID_IncompatibleModes_UpdateLastWrite(): dctx 53 (global root) - obj 56 (memory… 7 [0] <device> PetscDeviceContextMarkIntentFromID_Private(): dctx 53 (global root) - obj 56 (memory d… 8 [0] <device> MarkFromID_IncompatibleModes(): dctx 53 (global root) - obj 60 (memory allocation): ne… 9 [0] <device> PetscDeviceContextMarkIntentFromID_Private(): dctx 53 (global root) - obj 60 (memory a… 10 [0] <device> MarkFromID_IncompatibleModes(): dctx 53 (global root) - obj 61 (memory allocation): ne… 11 [0] <device> PetscDeviceContextMarkIntentFromID_Private(): dctx 53 (global root) - obj 61 (memory a… 12 [0] <device> MarkFromID_IncompatibleModes(): dctx 53 (global root) - obj 62 (memory allocation): ne… [all …]
|
| /petsc/doc/ |
| H A D | build_c2html.py | 36 for root, dirs, files in chain.from_iterable(os.walk(path) for path in [petsc_dir]): 38 root = root[len(petsc_dir)+1:] 39 if not root: continue 40 if not os.path.isdir(os.path.join(loc,root)): os.makedirs(os.path.join(loc,root)) 41 …allfiles.extend([os.path.join(loc,root,f+'.html') for f in files if any([s for s in SUFFIXES if f.… 44 with open(os.path.join(loc,root,'index.html'),'w') as fdw: 45 if root.startswith('src'): 49 if os.path.isfile(os.path.join(root,'makefile')): 50 with open(os.path.join(root,'makefile')) as mklines: 62 if root.find('/tests') > -1 or root.find('tutorials') > -1: [all …]
|
| H A D | fix_man_page_edit_links.py | 11 def fix_man_page_edit_link(root,filename): argument 12 with open(os.path.join(root,filename)) as f: 22 with open(os.path.join(root,filename),'w') as f: 35 def fix_man_page_edit_links(root): argument 36 base = os.path.join(root, "manualpages") 37 for root, dirs, filenames in os.walk(base): 40 fix_man_page_edit_link(root,filename)
|
| H A D | make_links_relative.py | 8 def make_links_relative(root, placeholder=PETSC_DOC_OUT_ROOT_PLACEHOLDER): argument 13 root_level = os.fspath(root).count(os.path.sep) 14 for dirpath, dirnames, filenames in os.walk(root, topdown=True):
|
| H A D | fix_pydata_margins.py | 8 def fix_pydata_margins(root): argument 9 filename = os.path.join(root, '_static','styles','pydata-sphinx-theme.css')
|
| /petsc/src/mat/graphops/order/ |
| H A D | qmdmrg.c | 40 …PetscInt head, inhd, irch, node, mark, ilink, root, j, lnode, nabor, jstop, jstrt, rchsze, mrgsze,… in SPARSEPACKqmdmrg() local 57 root = nbrhd[inhd]; in SPARSEPACKqmdmrg() 58 marker[root] = 0; in SPARSEPACKqmdmrg() 64 root = nbrhd[inhd]; in SPARSEPACKqmdmrg() 65 marker[root] = -1; in SPARSEPACKqmdmrg() 70 jstrt = xadj[root]; in SPARSEPACKqmdmrg() 71 jstop = xadj[root + 1] - 1; in SPARSEPACKqmdmrg() 77 root = -nabor; in SPARSEPACKqmdmrg() 138 root = nbrhd[inhd]; in SPARSEPACKqmdmrg() 139 marker[root] = 0; in SPARSEPACKqmdmrg()
|
| H A D | fnroot.c | 32 PetscErrorCode SPARSEPACKfnroot(PetscInt *root, const PetscInt *xadj, const PetscInt *adjncy, Petsc… in SPARSEPACKfnroot() argument 49 PetscCall(SPARSEPACKrootls(root, &xadj[1], &adjncy[1], &mask[1], nlvl, &xls[1], &ls[1])); in SPARSEPACKfnroot() 57 *root = ls[jstrt]; in SPARSEPACKfnroot() 71 *root = node; in SPARSEPACKfnroot() 77 PetscCall(SPARSEPACKrootls(root, &xadj[1], &adjncy[1], &mask[1], &nunlvl, &xls[1], &ls[1])); in SPARSEPACKfnroot()
|
| H A D | genrcm.c | 42 PetscInt nlvl, root, i, ccsize; in SPARSEPACKgenrcm() local 68 root = i; in SPARSEPACKgenrcm() 74 PetscCall(SPARSEPACKfnroot(&root, &xadj[1], &adjncy[1], &mask[1], &nlvl, &xls[1], &perm[num])); in SPARSEPACKgenrcm() 75 PetscCall(SPARSEPACKrcm(&root, &xadj[1], &adjncy[1], &mask[1], &perm[num], &ccsize, &xls[1])); in SPARSEPACKgenrcm()
|
| H A D | degree.c | 26 PetscErrorCode SPARSEPACKdegree(const PetscInt *root, const PetscInt *inxadj, const PetscInt *adjnc… in SPARSEPACKdegree() argument 46 ls[1] = *root; in SPARSEPACKdegree() 47 xadj[*root] = -xadj[*root]; in SPARSEPACKdegree()
|
| H A D | gennd.c | 60 PetscInt nsep, root, i; in SPARSEPACKgennd() local 80 root = i; in SPARSEPACKgennd() 82 …PetscCall(SPARSEPACKfndsep(&root, &xadj[1], &adjncy[1], &mask[1], &nsep, &perm[num + 1], &xls[1], … in SPARSEPACKgennd()
|
| H A D | rootls.c | 24 PetscErrorCode SPARSEPACKrootls(const PetscInt *root, const PetscInt *xadj, const PetscInt *adjncy,… in SPARSEPACKrootls() argument 42 mask[*root] = 0; in SPARSEPACKrootls() 43 ls[1] = *root; in SPARSEPACKrootls()
|
| H A D | qmdrch.c | 30 PetscErrorCode SPARSEPACKqmdrch(const PetscInt *root, const PetscInt *xadj, const PetscInt *adjncy,… in SPARSEPACKqmdrch() argument 52 istrt = xadj[*root]; in SPARSEPACKqmdrch() 53 istop = xadj[*root + 1] - 1; in SPARSEPACKqmdrch()
|
| H A D | qmdqt.c | 26 PetscErrorCode SPARSEPACKqmdqt(const PetscInt *root, const PetscInt *xadj, const PetscInt *inadjncy… in SPARSEPACKqmdqt() argument 45 node = *root; in SPARSEPACKqmdqt() 82 adjncy[j] = *root; in SPARSEPACKqmdqt()
|
| /petsc/config/BuildSystem/ |
| H A D | retrieval.py | 111 def genericRetrieve(self,proto,url,root): argument 114 return self.gitRetrieve(url,root) 116 return self.hgRetrieve(url,root) 118 return self.dirRetrieve(url,root) 120 self.linkRetrieve(url,root) 122 self.tarballRetrieve(url,root) 124 def dirRetrieve(self, url, root): argument 128 t = os.path.join(root,os.path.basename(url)) 132 def linkRetrieve(self, url, root): argument 136 t = os.path.join(root,os.path.basename(url)) [all …]
|
| H A D | sourceDatabase.py | 43 def __init__(self, root, filename = None): argument 46 self.root = root 49 self.filename = os.path.join(str(root), 'bsSource.db') 77 root = str(self.root) 78 if not path.startswith(root+os.sep): 79 raise ValueError('Absolute path '+path+' conflicts with root '+root) 81 path = path[len(root)+1:]
|
| /petsc/config/ |
| H A D | query_tests.py | 159 for root in dataDict: 160 for exfile in dataDict[root]: 161 for test in dataDict[root][exfile]: 164 fname=nameSpace(defroot,os.path.relpath(root,srcdir)) 168 if field not in dataDict[root][exfile][test]: continue 169 values=dataDict[root][exfile][test][field] 219 for root, dirs, files in os.walk(top, topdown=False): 220 if root == 'output': continue 221 if '.dSYM' in root: continue 222 if verbose: print(root) [all …]
|
| H A D | gmakegentest.py | 544 def genRunScript(self,testname,root,isRun,srcDict): argument 555 rpath=self.srcrelpath(root) 569 install_files(os.path.join(root, lfile), 574 install_files(os.path.join(root, lfile), 626 def genScriptsAndInfo(self,exfile,root,srcDict): argument 637 rpath=self.srcrelpath(root) 656 self.genRunScript(test,root,isRun,srcDict) 829 def checkOutput(self,exfile,root,srcDict): argument 834 rpath=self.srcrelpath(root) 845 fullout=os.path.join(root,output_file) [all …]
|
| /petsc/src/sys/logging/handler/impls/nested/ |
| H A D | lognested.h | 32 PetscLogEvent root; member 36 #define NestedIdPairHash(key) PetscHashCombine(PetscHash_UInt32((PetscHash32_t)((key).root)), P… 37 #define NestedIdPairEqual(k1, k2) (((k1).root == (k2).root) && ((k1).leaf == (k2).leaf))
|
| /petsc/lib/petsc/bin/ |
| H A D | taucc.py | 123 root,ext = os.path.splitext(sourcefile) 124 obj_file = root + '.o' 127 if ext == '.c': pdt_file = root+ '.pdb' 130 if ext == '.cc' or ext == '.cpp' or ext == '.cxx' or ext == '.C' : pdt_file = root+ '.pdb' 132 tau_file = root +'.inst' + ext
|