Home
last modified time | relevance | path

Searched refs:pkgname (Results 1 – 25 of 31) sorted by relevance

12

/petsc/config/
H A Dreport_tests.py139 pkgname = testname_list[0]
168 classname = pkgname
172 if pkgname not in testdata.keys():
173 testdata[pkgname] = {
184 testdata[pkgname]['problems'][probname] = {
201 testdata[pkgname]['problems'][probname][l[0]] = float(l[1])
202 testdata[pkgname][l[0]] += float(l[1])
203 elif l[0] in testdata[pkgname].keys():
206 testdata[pkgname][l[0]] += num_int
209 if len(testdata[pkgname]['problems'][probname]['stderr'])>0:
[all …]
/petsc/lib/petsc/bin/
H A Dgeneratefortranbindings.py45 def generateFortranInterface(pkgname, petscarch, classes, enums, structs, senums, funname, mpi_f08,… argument
70 if not file.startswith(pkgname): file = pkgname + file
81 …with open(os.path.join(petscarch, 'include', pkgname, 'finclude', file.replace('.h90', '.h')),'a')…
185 def generateCStub(pkgname,petscarch,manualstubsfound,senums,classes,structs,funname,fun): argument
241 fd.write('#include <' + pkgname + fun.mansec + '.h>\n')
242 fd.write('#include <' + pkgname + fun.includefile.replace(pkgname,'') + '>\n')
264 fd.write(pkgname.upper() + '_EXTERN void ' + (funname + suffix).lower() + '_(')
505 pkgname = 'slepc' if slepcdir else 'petsc'
539 dir = os.path.join(petscarch,'include', pkgname, 'finclude')
540 skipinc = [pkgname + 'version.h']
[all …]
H A DgetAPI.py226 def getIncludeFiles(filename,pkgname): argument
242 …if not line == file and os.path.isfile(os.path.join('include',line)) or (pkgname == 'slepc' and li…
431 def getpossiblefunctions(pkgname): argument
434 …output = check_output('grep -F -e "' + pkgname.upper() + '_EXTERN PetscErrorCode" -e "static inlin…
437 …funs = output.replace('' + pkgname.upper() + '_EXTERN','').replace('PetscErrorCode','').replace('s…
445 …output = check_output('grep "' + pkgname.upper() + '_EXTERN [a-zA-Z]* *[a-zA-Z]*;" include/*.h', s…
448 funs = output.replace('' + pkgname.upper() + '_EXTERN','')
639 def getAPI(directory,pkgname = 'petsc',verbose = False): argument
643 getIncludeFiles(i,pkgname)
679 functiontoinclude = getpossiblefunctions(pkgname)
[all …]
/petsc/config/BuildSystem/config/packages/
H A Dopencascade.py15 self.pkgname = 'opencascade'
30 raise RuntimeError("%s requires a C++ compiler\n" % self.pkgname)
H A Dscikit_build_core.py6 self.pkgname = 'scikit_build_core'
H A Dpybind11.py6 self.pkgname = 'pybind11'
H A DCython.py6 self.pkgname = 'cython'
H A Dnanobind.py6 self.pkgname = 'nanobind'
H A Dpyvista.py6 self.pkgname = 'pyvista'
H A Dlibsupermesh.py6 self.pkgname = 'libsupermesh'
H A Dcffi.py6 self.pkgname = 'cffi'
H A Drtree.py6 self.pkgname = 'rtree'
H A Dbempp-cl.py6 self.pkgname = 'bempp-cl'
H A Dpathspec.py6 self.pkgname = 'pathspec'
H A DX.py11 self.pkgname = 'x11'
H A Dfenics-ufl.py7 self.pkgname = 'fenics_ufl'
H A Dfenics_ffcx.py6 self.pkgname = 'fenics_ffcx'
H A Dmpfr.py11 self.pkgname = 'mpfr-3.1.5'
H A Dfenics-basix.py13 self.pkgname = 'basix'
H A Dgoogletest.py11 self.pkgname = 'googletest'
H A DEigen.py16 self.pkgname = 'eigen3'
H A Dfftw.py12 self.pkgname = 'fftw3'
H A DSuiteSparse.py22 self.pkgname = 'SPQR UMFPACK KLU CHOLMOD AMD'
/petsc/src/binding/petsc4py/test/
H A Druntests.py211 def import_package(options, pkgname): argument
218 package = __import__(pkgname)
298 pkgname = '%s4py' % components[-1].lower()
303 import_package(options, pkgname)
/petsc/src/binding/petsc4py/conf/
H A Dconfpetsc.py157 pkgname = re.compile(r'cython(\.|$)', re.IGNORECASE)
159 if pkgname.match(modname):
673 pkgname = self.distribution.get_name()
675 srcdir = Path(__file__).parent.parent / 'src' / pkgname
676 blddir = Path(self.build_lib) / pkgname
789 pkgname = self.distribution.get_name()
791 outputs.append(os.path.join(self.build_lib, pkgname, f"{modname}.pyi"))

12