Home
last modified time | relevance | path

Searched refs:isfile (Results 1 – 25 of 51) sorted by relevance

123

/petsc/lib/petsc/bin/maint/
H A Dabicheck.py65 if os.path.isfile(libname_so):
67 elif os.path.isfile(libname_dylib):
69 elif os.path.isfile(libname_a):
77 if not os.path.isfile(header):
133 if not os.path.isfile(petscvariables):
142 if not os.path.isfile(petscconf_h):
H A Dbk2darcs.py89 if os.path.isfile(log_file):
/petsc/doc/ext/
H A D__init__.py1 from os.path import dirname, basename, isfile
6 __all__ = [ basename(f)[:-3] for f in modules if isfile(f)]
/petsc/config/BuildSystem/config/
H A DcompilersFortran.py251 if os.path.isfile(f): os.remove(f)
298 if not os.path.isfile(self.compilerObj):
332 if os.path.isfile(cobj):
367 if not os.path.isfile(self.compilerObj):
376 if os.path.isfile(f):
405 if os.path.isfile(modobj):
439 …elif os.path.isfile(os.path.join(testdir, 'configtest.mod')) or os.path.isfile(os.path.join(testdi…
440 if os.path.isfile(os.path.join(testdir, 'configtest.mod')): modname = 'configtest.mod'
441 if os.path.isfile(os.path.join(testdir, 'CONFIGTEST.mod')): modname = 'CONFIGTEST.mod'
481 if os.path.isfile(depFilename):
H A Dbase.py222 if os.path.isfile(prog) and os.access(prog, os.X_OK):
490 if os.path.isfile(filename): os.remove(filename)
545 if not os.path.isfile(self.compilerObj):
549 if os.path.isfile(filename): os.remove(filename)
620 if os.path.isfile(self.compilerObj): os.remove(self.compilerObj)
622 if os.path.isfile(self.linkerObj):os.remove(self.linkerObj)
624 if os.path.isfile(pdbfile): os.remove(pdbfile)
649 if not os.path.isfile(self.linkerObj):
678 if os.path.isfile(self.compilerObj):
683 if cleanup and os.path.isfile(self.linkerObj):
[all …]
H A Dpython.py66 if os.path.isfile(lib):
73 if os.path.isfile(lib.split(ext)[0]+ext):
H A Dlibraries.py452 if os.path.isfile(configObj.compilerObj): os.remove(configObj.compilerObj)
455 if os.path.isfile(configObj.compilerObj): os.remove(configObj.compilerObj)
476 if os.path.isfile(configObj.compilerObj): os.remove(configObj.compilerObj)
480 if os.path.isfile(configObj.compilerObj): os.remove(configObj.compilerObj)
547 if os.path.isfile(lib1Name) and self.framework.doCleanup: os.remove(lib1Name)
548 if os.path.isfile(lib2Name) and self.framework.doCleanup: os.remove(lib2Name)
/petsc/doc/
H A Dbuild_c2html_file.py38 if os.path.isfile(includename):
40 elif os.path.isfile(os.path.join('include',includename)):
42 elif os.path.isfile(os.path.join(includename)):
H A Dbuild_man_pages.py34 if os.path.isfile(os.path.join(dir,'makefile')):
40 …if os.path.isfile(os.path.join(dir,file)) and pathlib.Path(file).suffix in ['.c', '.cxx', '.h', '.…
H A Dbuild_manpages_c2html.py98 …if not os.path.isfile(os.path.join(petsc_dir, "configure.log")): raise Exception("Expected PETSc c…
H A Dbuild_man_examples_links.py20 …if os.path.isfile(os.path.join(dir,file)) and (file.endswith('.c') or file.endswith('.cxx') or fil…
/petsc/lib/petsc/bin/
H A Dpetsc_conf.py25 if os.path.isfile(os.path.join(petscdir,'lib','petsc','conf','petscrules')):
32 if os.path.isfile(os.path.join(petscdir,petscarch,'lib','petsc','conf','petscrules')):
/petsc/src/binding/petsc4py/src/petsc4py/lib/
H A D__init__.py116 elif os.path.isfile(path):
140 if not os.path.isfile(rcfile):
142 if not os.path.isfile(rcfile):
/petsc/config/
H A Dconfigure.py345 if os.path.islink(logfile) and not os.path.isfile(logfile): os.remove(logfile)
374 if os.path.isfile(new_bkp): os.remove(new_bkp)
375 if os.path.isfile(new_file): os.rename(new_file,new_bkp)
376 if os.path.isfile(curr_file):
379 if os.path.isfile(new_file): os.symlink(new_file,curr_file)
382 if os.path.isfile(curr_bkp): os.remove(curr_bkp)
383 if os.path.isfile(new_bkp): os.symlink(new_bkp,curr_bkp)
H A Dgmakegen.py123 if os.path.isfile(f):
133 if os.path.isfile(f):
171 if os.path.isfile(makefile):
195 if os.path.isfile(makefile): self.gendeps.append(self.relpath(root, 'makefile'))
/petsc/src/mat/tests/
H A Dex192.c22 char isfile[PETSC_MAX_PATH_LEN]; /* input IS file name */ in main() local
73 PetscCall(PetscOptionsGetString(NULL, NULL, "-fis", isfile, sizeof(isfile), &isdata_provided)); in main()
77 PetscCall(PetscStrcmp(isfile, file, &samefile)); in main()
80 PetscCall(PetscViewerBinaryOpen(PETSC_COMM_WORLD, isfile, FILE_MODE_READ, &fd)); in main()
/petsc/config/BuildSystem/config/utilities/
H A DgetResidentSetSize.py41 if os.path.isfile(os.path.join('/proc',str(os.getpid()),'statm')):
/petsc/config/BuildSystem/
H A Dhelp.py185 if os.path.isfile(fd):
192 if os.path.isdir(fd) or os.path.isfile(fd):
H A DRDict.py130 if os.path.isfile(filename) and os.stat(filename).st_size > 10*1024*1024:
131 if os.path.isfile(filename+'.bkp'):
389 if not os.path.isfile(interpreter):
453 if os.path.isfile(filename):
660 if self.isServer and os.path.isfile(self.addrFilename):
H A Dnargs.py341 if self.mustExist and value and not os.path.isfile(value):
372 if self.mustExist and not os.path.isfile(file):
417 return os.path.isfile(prog) and os.access(prog, os.X_OK)
H A Dretrieval.py67 if os.path.islink(t) or os.path.isfile(t):
188 if not os.path.isfile(url):
/petsc/config/BuildSystem/config/packages/
H A DThrust.py50 if not os.path.isfile(cub_cuh):
H A DSAMRAI.py31 if not os.path.isfile(markFile):
H A Dp4est.py61 if os.path.isfile(os.path.join(Dir,'sc','README')):
/petsc/src/binding/petsc4py/docs/source/
H A Dconf.py54 if os.path.exists(version_h) and os.path.isfile(version_h):
164 if 'LOC' in os.environ and os.path.isfile(

123