Home
last modified time | relevance | path

Searched refs:find (Results 1 – 25 of 117) sorted by relevance

12345

/petsc/doc/
H A Dbuild_man_impls_links.py14 bibneeded = text.find('{cite}') > -1
15 isclass = text.find('typedef struct') > -1
18 f.write(text[0:text.find('## See Also')])
20 f.write(text[text.find('## See Also'):])
24 iclass = list(filter(lambda x: x.find('_p_'+itemName+' ') > -1, implsClassAll))
26 isubclass = list(filter(lambda x: x.find('} '+itemName+'_') > -1, subimplsClassAll))
30 func = list(filter(lambda x: x.find(' '+itemName+'_') > -1, implsFuncAll))
48 …implsClassAll = list(filter(lambda x: not (x.find('/tests/') > -1 or x.find('/tutorials') > -1 or …
51 …subimplsClassAll = list(filter(lambda x: not (x.find('/tests/') > -1 or x.find('/tutorials') > -1)…
54 …implsFuncAll = list(filter(lambda x: not (x.find('_Private') > -1 or x.find('_private') > -1 or x.
H A Dbuild_c2html.py62 if root.find('/tests') > -1 or root.find('tutorials') > -1:
68 l = line.find('char help[] = ')
70 s = line.find('\\n')
H A Dbuild_man_pages.py14 …submansecl = [line for line in mklines if (line.find('SUBMANSEC') > -1 and line.find('BFORT') == -…
58 if sp.stdout and sp.stdout.find('WARNING') > -1:
61 if sp.stderr and sp.stderr.find('WARNING') > -1:
H A Dbuild_manpages_c2html.py62 doctext = [line for line in f if line.find('DOCTEXT ') > -1]
102 c2html = [line for line in f if line.find('C2HTML ') > -1]
108 mapnames = [line for line in f if line.find('MAPNAMES ') > -1]
/petsc/lib/petsc/bin/
H A Dpetscnagfor47 if (output+error).find('No licences currently available') == -1:
50 if (output+error).find('No licences currently available') > -1:
110 if i.find('forcomp') > -1:
121 if (i.find('/fpp') == -1 and i.find('quickfit.o') == -1):
122 if i.find('forcomp') > -1:
126 f1 = last.find('.')
129 if i.find('forcomp') > -1:
139 if k.find("Unused dummy variable") > -1: continue
140 if k.find("Fixed source form") > -1: continue
141 if k.find("[NAG Fortran Compiler normal termination") > -1: continue
[all …]
H A Dtaucc.py58 if line.find('TAU_INSTRUMENT0R:') >= 0: tau_instr = line.replace('TAU_INSTRUMENT0R:','')
59 elif line.find('TAU_DEFS:') >= 0: tau_defs = line.replace('TAU_DEFS:',' ')
60 elif line.find('TAU_INCLUDE:') >= 0: tau_include = line.replace('TAU_INCLUDE:',' ')
61 elif line.find('TAU_LIBS:') >= 0: tau_libs = line.replace('TAU_LIBS:',' ')
62 elif line.find('TAU_MPI_INC:') >= 0: tau_mpi_inc = line.replace('TAU_MPI_INC:',' ')
63 elif line.find('TAU_MPI_LIBS:') >= 0: tau_mpi_libs = line.replace('TAU_MPI_LIBS:',' ')
64 elif line.find('TAU_CXXLIBS:') >= 0: tau_cxxlibs = line.replace('TAU_CXXLIBS:',' ')
92 if pdt_parse.find('cparse') >=0: iscparse = 1
93 elif pdt_parse.find('cxxparse') >=0: iscparse = 0
H A DgetAPI.py210 if line.find(' MANSEC') > -1:
215 if line.find('SUBMANSEC') > -1:
238 if fl and not line.find('deprecated') > -1:
278 values = struct[struct.find("{") + 1:struct.find("}")]
367 values = struct[struct.find("{") + 1:struct.find(";}")]
368 if values.find('#') > -1 or values.find('*') > -1 or values.find('][') > -1: opaque = True
369 if not values.find('#') == -1: opaque = True
416 submansecl = [line for line in mklines if line.find('BFORTSUBMANSEC') > -1]
421 …submansecl = [line for line in mklines if (line.find('SUBMANSEC') > -1 and line.find('BFORT') == -…
440 file = i[i.find('/') + 1:i.find('.') + 2]
[all …]
/petsc/config/
H A Dconfigure.py29 if name.find(' ') >= 0:
31 if name.find('_') >= 0:
34 if name.find(exc) >= 0:
38 if opt.find('=') >=0:
43 if name.find(exc.replace('_','-')) > -1:
69 if optname.find(oldname) >=0 and not optname.find(newname) >=0:
78 if name.find('PETSC_ARCH=') >= 0:
99 if name.find(no_break_space) >= 0:
105 if name.find('=') == -1:
116 if name.find('=') == -1:
[all …]
H A Dgmakegen.py23 loc = file.find('.')
30 loc = file.find('.')
91 if pkg_pkgs.find(',') > 0: npkgs = set(pkg_pkgs.split(','))
115 space = define.find(' ')
128 space = define.find(' ')
166 if not self.have_fortran and os.path.basename(root).find('ftn-') > -1: continue
187 if root.find('/ftn/') > -1: nroot = ''.join(root.rsplit(pkg_arch + '/', 1))
/petsc/lib/petsc/bin/maint/
H A Drunjobs.py60 if (ci.find(File_Header) >= 0):
73 if ci.find('TEST_ARCH: arch-ci-'+arch) > -1:
100 if a.find('CONFIG_OPTS: ') > -1: continue
101 if a.find('petsc4py-') > -1: continue
102 if a.find('check-each-commit:') > -1: continue
103 if a.find('petsc-dist:') > -1: continue
104 test_arch = a.find('TEST_ARCH: ')
107 n = arch.find('\n')
H A Dfindbadfiles10 find . -type l -exec ls -l \{\} \; | cut -c46- | grep '\-> /'
13 find . \( -perm 0600 -o -perm 0700 \) -print
16 find . -name lib -prune -o -name aftp-logs -prune -o \
20 find . -name '*.[ch]' -exec grep -l PARCH_ \{\} \;
H A DPetscStaticFunctionCandidates.py17 … if name.endswith((".c", ".h")) and root.find("ftn-custom") < 0 and root.find("examples") < 0]
57 if line.find(".seealso") >= 0:
61 …if line.find(' ' + funcname + '(') >= 0 or line.find("=" + funcname + '(') >= 0: #Note: Might n…
H A Dcheck-fortran-coverage.sh10 find "$1" -type f \( -name '*.F' -o -name '*.h90' -o -name '*.f' -o -name '*.f90' \) \
21 petsc_arch=$(find . -maxdepth 1 -type d -name 'arch-*' | head -n1 | sed 's|^\./||')
H A Dbuilddist156 /usr/bin/find . -type f -name "*.pyc" -exec /bin/rm -f {} \;
158 /usr/bin/find . -type f -name "*.orig" -exec /bin/rm -f {} \;
167 find petsc$version -type d -name "*" -exec chmod a+x {} \;
175 find $tmpdir/petsc$version -type f -name "*.html" -exec rm {} \;
/petsc/config/BuildSystem/config/
H A Dframework.py216 if key.find('KEY') > -1: continue
455 … if output.find('your evaluation license will expire') > -1 and output.lower().find('error') == -1:
459 …lines = [s for s in lines if s.find("icc: command line remark #10148: option '-i-dynamic' not supp…
460 …lines = [s for s in lines if s.find("[: unexpected operator") < 0] # Deals with error in mpiicc a…
461 lines = [s for s in lines if s.find(': remark #10441:') < 0]
462 lines = [s for s in lines if s.find("'linker' input unused") < 0]
466 lines = [s for s in lines if s.find('license.dat') < 0]
468 lines = [s for s in lines if s.find('INFO: catamount target') < 0]
469 lines = [s for s in lines if s.find('INFO: linux target') < 0]
471 lines = [s for s in lines if s.find('Encountered 0 errors') < 0]
[all …]
H A DcompilerFlags.py154 start = command.find('-o ')
155 end = start + 3 + command[start+3:].find(' ')
158 if out.find('__AVX2__') > -1 and out.find('__FMA__') > -1:
161 if out.find('__AVX512') > -1:
185 if out.find(' avx2 ') > -1 and out.find(' fma ') > -1:
188 if out.find(' avx512') > -1:
H A DpreTests.py24 if buf.find('1.5.11-1') > -1:
36 if buf.find('2.4') > -1:
54 if buf.find('Shrike') > -1:
H A Dcompilers.py216 if output.find('\'') >= 0:
219 while output.find('\'') >= 0:
227 if output.find('XL_CONFIG') >= 0:
246 if arg.endswith('"') and arg[:-1].find('"') == -1:
317 if lib.startswith('"') and lib.endswith('"') and lib.find(' ') == -1: lib = lib[1:-1]
554 if output.find('\'') >= 0:
556 while output.find('\'') >= 0:
564 if output.find('XL_CONFIG') >= 0:
583 if arg.endswith('"') and arg[:-1].find('"') == -1:
637 elif arg.find('-libpath:')>=0:
[all …]
H A DcompilerOptions.py15 if [s for s in ['mpicc','mpiicc','mpiicx'] if os.path.basename(compiler).find(s)>=0]:
130 …'mpiCC','mpic++','mpicxx','mpiicxx','mpiicpc','mpiicpx'] if os.path.basename(compiler).find(s)>=0]:
174 elif compiler.find('mpCC') >= 0 or compiler.find('xlC') >= 0:
244 …r s in ['mpif77','mpif90','mpifort','mpiifort','mpiifx'] if os.path.basename(compiler).find(s)>=0]:
366 if compiler.find('win32fe') > -1:
374 elif output.find('Cuda compiler driver') >= 0:
/petsc/src/dm/dt/interface/
H A Ddtweakform.c558 PetscInt find = f * wf->Nf + g; in PetscWeakFormGetJacobian() local
561 …PetscCall(PetscWeakFormGetFunction_Private(wf, wf->form[PETSC_WF_G0], label, val, find, part, n0, … in PetscWeakFormGetJacobian()
562 …PetscCall(PetscWeakFormGetFunction_Private(wf, wf->form[PETSC_WF_G1], label, val, find, part, n1, … in PetscWeakFormGetJacobian()
563 …PetscCall(PetscWeakFormGetFunction_Private(wf, wf->form[PETSC_WF_G2], label, val, find, part, n2, … in PetscWeakFormGetJacobian()
564 …PetscCall(PetscWeakFormGetFunction_Private(wf, wf->form[PETSC_WF_G3], label, val, find, part, n3, … in PetscWeakFormGetJacobian()
570 PetscInt find = f * wf->Nf + g; in PetscWeakFormAddJacobian() local
573 …PetscCall(PetscWeakFormAddFunction_Private(wf, wf->form[PETSC_WF_G0], label, val, find, part, (Pet… in PetscWeakFormAddJacobian()
574 …PetscCall(PetscWeakFormAddFunction_Private(wf, wf->form[PETSC_WF_G1], label, val, find, part, (Pet… in PetscWeakFormAddJacobian()
575 …PetscCall(PetscWeakFormAddFunction_Private(wf, wf->form[PETSC_WF_G2], label, val, find, part, (Pet… in PetscWeakFormAddJacobian()
576 …PetscCall(PetscWeakFormAddFunction_Private(wf, wf->form[PETSC_WF_G3], label, val, find, part, (Pet… in PetscWeakFormAddJacobian()
[all …]
/petsc/config/BuildSystem/config/packages/
H A DSuperLU_DIST.py51 if item.find('CMAKE_C_FLAGS') >= 0 or item.find('CMAKE_CXX_FLAGS') >= 0:
63 if item.find('CMAKE_C_FLAGS') >= 0 or item.find('CMAKE_CXX_FLAGS') >= 0:
H A Dml.py45 if i.find('-rpath') == -1:
54 if i.find('-rpath') == -1:
76 if bf.find('(Dev)') > -1:
H A DSuperLU.py54 if item.find('CMAKE_C_FLAGS') >= 0 or item.find('CMAKE_CXX_FLAGS') >= 0:
H A Dfblaslapack.py50 if fc.find('f90') >= 0 or fc.find('f95') >=0:
79 if line.find("-no-prec-div") >= 1:
/petsc/config/BuildSystem/
H A Dnargs.py77 if arg.find('=') >= 0:
107 if name.find('enable-') >= 0:
109 if name.find('=') == -1: argList[l] = argList[l]+'=1'
110 if name.find('disable-') >= 0:
112 if name.find('=') == -1: argList[l] = argList[l]+'=0'
114 if name.find('without-') >= 0:
116 if name.find('=') == -1: argList[l] = argList[l]+'=0'
425 index = value.find(' ')

12345