Home
last modified time | relevance | path

Searched refs:isdir (Results 1 – 25 of 58) sorted by relevance

123

/petsc/config/PETSc/options/
H A DdataFilesPath.py36 …if os.path.isdir(self.framework.argDB['DATAFILESPATH']) and os.path.isdir(os.path.join(self.framew…
40 elif os.path.isdir(homeloc) and os.path.isdir(os.path.join(homeloc,'matrices')):
42 elif os.path.isdir(parentloc) and os.path.isdir(os.path.join(parentloc,'matrices')):
44 …elif os.path.isdir(os.path.join(self.petscdir.dir, '..', '..','Datafiles')) & os.path.isdir(os.pa…
H A Dexternalpackagesdir.py26 if self.framework.argDB['with-clean'] and os.path.isdir(self.dir):
H A Darch.py147 if not os.path.isdir(self.argDB['package-prefix-hash']):
158 if os.path.isdir(hashdirpackages):
/petsc/doc/
H A Dadd_man_page_redirects.py29 if os.path.isdir(subdirectory):
31 if os.path.isdir(os.path.join(subdirectory, name)):
H A Dconf.py26 if not os.path.isdir("images"):
219 if os.path.isdir(os.path.join(app.outdir,'_sources','manualpages')):
/petsc/config/BuildSystem/config/packages/
H A DCUDA.py155 if os.path.isdir(nvhpcCudaIncDir) and os.path.isdir(nvhpcMathIncDir):
163 if os.path.isdir(nvhpcCudaVerIncDir) and os.path.isdir(nvhpcMathVerIncDir):
218 if os.path.isdir(toolkitCudaLibDir) and os.path.isdir(toolkitStubLibDir):
231 …if os.path.isdir(nvhpcCudaLibDir) and os.path.isdir(nvhpcMathLibDir) and os.path.isdir(nvhpcStubLi…
249 …if os.path.isdir(nvhpcCudaVerLibDir) and os.path.isdir(nvhpcMathVerLibDir) and os.path.isdir(nvhpc…
H A DMatlab.py38 if os.path.isdir('/Applications'):
69 if not os.path.isdir(os.path.join(matlab,'extern','lib')):
H A Dviennacl.py34 if os.path.isdir(destdir): shutil.rmtree(destdir)
H A Dkokkos-kernels.py87 …if self.argDB['with-kokkos-kernels-tpl'] and os.path.isdir(self.hip.rocBlasDir) and os.path.isdir(…
H A DHtool.py43 if os.path.isdir(destdir): shutil.rmtree(destdir)
/petsc/config/BuildSystem/
H A Dretrieval.py32 elif os.path.isdir(url) and self.isDirectoryGitRepo(url):
46 elif parsed[0] == 'dir' or os.path.isdir(url):
69 elif os.path.isdir(t):
126 if not os.path.isdir(url): raise RuntimeError('URL %s is not a directory' % url)
134 if not os.path.isdir(url): raise RuntimeError('URL %s is not pointing to a directory' % url)
144 if os.path.isdir(url) and not self.isDirectoryGitRepo(url):
237 if firstmember.isdir():
/petsc/src/binding/petsc4py/demo/legacy/wrap-cython/
H A Dsetup.py21 from os.path import join, isdir
22 if PETSC_ARCH and isdir(join(PETSC_DIR, PETSC_ARCH)):
/petsc/src/binding/petsc4py/src/petsc4py/lib/
H A D__init__.py118 elif not os.path.isdir(path):
124 if not os.path.isdir(os.path.join(path, arch)):
137 if os.path.isdir(os.path.join(path, arch)):
162 if os.path.isdir(os.path.join(path, arch)):
/petsc/src/binding/petsc4py/demo/legacy/wrap-f2py/
H A Dsetup.py25 from os.path import join, isdir
26 if PETSC_ARCH and isdir(join(PETSC_DIR, PETSC_ARCH)):
/petsc/src/binding/petsc4py/demo/legacy/wrap-swig/
H A Dsetup.py27 from os.path import join, isdir
28 if PETSC_ARCH and isdir(join(PETSC_DIR, PETSC_ARCH)):
/petsc/src/ksp/pc/impls/bddc/
H A Dbddcnullspace.c66 PetscErrorCode PCBDDCNullSpaceAssembleCorrection(PC pc, PetscBool isdir, PetscBool needscaling) in PCBDDCNullSpaceAssembleCorrection() argument
79 if (isdir) local_ksp = pcbddc->ksp_D; /* Dirichlet solver */ in PCBDDCNullSpaceAssembleCorrection()
84 …ear) nullspace: no need for correction in %s solver \n", PetscGlobalRank, isdir ? "Dirichlet" : "N… in PCBDDCNullSpaceAssembleCorrection()
187 if (isdir) { in PCBDDCNullSpaceAssembleCorrection()
216 if (isdir) { in PCBDDCNullSpaceAssembleCorrection()
244 if (isdir) { in PCBDDCNullSpaceAssembleCorrection()
/petsc/config/
H A Dconfigure.py320 if not os.path.isdir(newTmp): os.mkdir(os.path.abspath(newTmp))
364 if not os.path.isdir(petsc_arch): os.mkdir(petsc_arch)
365 if not os.path.isdir(lib_dir): os.mkdir(lib_dir)
366 if not os.path.isdir(petsc_dir): os.mkdir(petsc_dir)
367 if not os.path.isdir(conf_dir): os.mkdir(conf_dir)
407 if not os.path.isdir(configDir):
H A Dquery_tests.py396 if not os.path.isdir(petsc_dir):
401 if not os.path.isdir(petsc_full_arch):
404 elif not os.path.isdir(petsc_full_test):
408 if not os.path.isdir(petsc_full_src):
H A Dinstall.py114 if not os.path.isdir(os.path.realpath(self.destDir)):
139 elif not os.path.isdir(dst):
185 if not os.path.isdir(dst):
190 if not os.path.isdir(newConfigDir): os.mkdir(newConfigDir)
222 elif not os.path.isdir(dst):
234 elif os.path.isdir(srcname) and recurse and not os.path.basename(srcname) in exclude:
319 if os.path.isdir(pathname):
/petsc/config/PETSc/
H A Dpetsc.py135 if os.path.isdir(packageDir):
140 if os.path.isdir(os.path.join('/usr', 'local')):
145 if 'HOME' in os.environ and os.path.isdir(os.environ['HOME']):
354 if os.path.isdir(dir):
366 if not os.path.isdir(d):
/petsc/lib/petsc/bin/maint/
H A DnormalizeOutput.py37 if not os.path.isdir(directory):
H A Dgenerateetags.py151 if os.path.isdir(os.path.join(dirpath,name,'petsc','conf')):
182 if os.path.isdir('.git'):
/petsc/src/benchmarks/
H A Ddaemon.py47 if not workDir is None and os.path.isdir(workDir):
/petsc/config/BuildSystem/config/
H A Dprograms.py33 if not status and os.path.isdir(conftmpDir):
52 if not os.path.isdir(testdir):
/petsc/src/binding/petsc4py/conf/
H A Dconfpetsc.py230 if not os.path.isdir(petsc_dir):
270 from os.path import join, isdir, exists
276 if not (PETSC_ARCH and isdir(join(PETSC_DIR, PETSC_ARCH))):
279 if not (PETSC_ARCH and isdir(join(PETSC_DIR, PETSC_ARCH))):
502 if not os.path.isdir(petsc_dir):
517 if os.path.isdir(petsc_conf):
534 if os.path.isdir(arch_path):

123