| /petsc/lib/petsc/bin/maint/ |
| H A D | normalizeOutput.py | 14 def mvfiles(directory): argument 15 for ofile in glob.glob(directory+"/*.out"): 36 directory=options.directory 37 if not os.path.isdir(directory): 38 print(directory+' is not a directory') 41 mvfiles(directory)
|
| /petsc/config/BuildSystem/config/packages/ |
| H A D | MOAB.py | 53 args.append('--with-mpi="'+self.mpi.directory+'"') 59 args.append('--with-hdf5="'+self.hdf5.directory+'"') 61 args.append('--with-szip="'+self.szlib.directory+'"') 67 args.append('--with-netcdf="'+self.netcdf.directory+'"') 71 args.append('--with-eigen3="'+self.eigen.directory+'"') 73 args.append('--with-metis="'+self.metis.directory+'"') 79 args.append('--with-parmetis="'+self.parmetis.directory+'"') 81 args.append('--with-scotch="'+self.ptscotch.directory+'"') 83 args.append('--with-zoltan="'+self.zoltan.directory+'"')
|
| H A D | mstk.py | 46 args.append('-DMETIS_DIR:FILEPATH='+self.metis.directory) 50 args.append('-DZOLTAN_DIR:FILEPATH='+self.zoltan.directory) 52 args.append('-DZOLTAN_DIR:FILEPATH='+self.trilinos.directory) 55 args.append('-DParMETIS_DIR:FILEPATH='+self.parmetis.directory) 58 args.append('-DPTSCOTCH_DIR:FILEPATH='+self.ptscotch.directory) 63 args.append('-DEXODUSII_DIR:FILEPATH='+self.exodusii.directory) 65 args.append('-DEXODUSII_DIR:FILEPATH='+self.trilinos.directory)
|
| H A D | sundials2.py | 33 …if self.mpi.directory and (os.path.realpath(self.getCompiler())).find(os.path.realpath(self.mpi.di… 34 self.log.write('Sundials configure: using --with-mpi-root='+self.mpi.directory+'\n') 35 args.append('--with-mpi-root="'+self.mpi.directory+'"') 39 if self.mpi.directory: 41 …write(str(os.path.realpath(self.getCompiler()))+' '+str(os.path.realpath(self.mpi.directory))+'\n')
|
| H A D | ExodusII.py | 65 if not self.netcdf.directory: 68 args.append('-DNetCDF_DIR:PATH='+self.netcdf.directory) 69 args.append('-DHDF5_DIR:PATH='+self.hdf5.directory) 70 if not self.pnetcdf.directory: 73 args.append('-DPnetcdf_LIBRARY_DIRS:PATH='+os.path.join(self.pnetcdf.directory,'lib')) 74 args.append('-DPnetcdf_INCLUDE_DIRS:PATH='+os.path.join(self.pnetcdf.directory,'include'))
|
| H A D | ParMmg.py | 36 args.append('-DSCOTCH_DIR:STRING="'+self.ptscotch.directory+'"') 37 args.append('-DMETIS_DIR:STRING="'+self.metis.directory+'"') 38 args.append('-DMMG_DIR:STRING="'+self.mmg.directory+'"')
|
| H A D | mpi4py.py | 85 self.directory = self.argDB['with-mpi4py-dir'] 87 self.directory = os.path.join(self.installDir) 97 if self.directory: 98 installLibPath = os.path.join(self.directory, 'lib')
|
| H A D | PaStiX.py | 82 if dep.directory: 83 if os.path.isdir(dep.directory): 84 cmake_prefix_path.append(dep.directory)
|
| H A D | cgns.py | 30 if self.hdf5.directory: 31 args.append('-DHDF5_ROOT:PATH={}'.format(self.hdf5.directory))
|
| H A D | hwloc.py | 49 if self.found and self.directory: 50 self.getExecutable('lstopo', path=os.path.join(self.directory,'bin'), getFullPath = 1)
|
| H A D | OpenBLAS.py | 54 if self.directory: 55 self.libDir = os.path.join(self.directory,self.libDirs[0]) 56 self.include = [os.path.join(self.directory,'include')]
|
| H A D | SAMRAI.py | 48 args.append('--with-hdf5='+self.hdf5.directory) 49 args.append('--with-silo='+self.silo.directory)
|
| H A D | CUDA.py | 174 def generateLibList(self, directory): argument 208 if not directory and not self.isnvhpc: 210 liblist = config.package.Package.generateLibList(self, directory) 216 toolkitCudaLibDir = directory 227 nvhpcDir = os.path.dirname(os.path.dirname(directory)) # /path/nvhpc/Linux_x86_64/21.7 244 …nvhpcDir = os.path.dirname(os.path.dirname(os.path.dirname(directory))) # /path/nvhpc/Li… 245 ver = os.path.basename(os.path.dirname(directory)) # 11.4
|
| H A D | OpenMPI.py | 57 args.append('--with-ucx='+self.ucx.directory) 65 args.append('--with-hwloc="'+self.hwloc.directory+'"')
|
| H A D | Firedrake.py | 48 self.env['HDF5_DIR'] = self.hdf5.directory 49 self.env['SLEPC_DIR'] = self.slepc.directory
|
| /petsc/config/ |
| H A D | report_tests.py | 30 def summarize_results(directory,make,ntime,etime,show_results): argument 34 os.chdir(directory) 36 print('# No test results in ', directory) 117 def get_test_data(directory): argument 123 os.chdir(directory) 150 probfullpath=os.path.normpath(os.path.join(directory,probdir)) 255 def generate_xml(testdata,directory): argument 260 os.chdir(directory) 339 summarize_results(options.directory,options.make,int(options.time), 341 testresults=get_test_data(options.directory) [all …]
|
| H A D | testparse.py | 562 def parseTestDir(directory,verbosity): argument 568 basedir=os.path.realpath(directory) 606 def main(directory='',test_file='',verbosity=0): argument 608 if directory: 609 tDict=parseTestDir(directory,verbosity) 631 if not opts.test_file and not opts.directory: 642 main(directory=opts.directory,test_file=opts.test_file,verbosity=verbosity)
|
| /petsc/src/ts/tutorials/ |
| H A D | extchem.py | 14 directory = sys.argv[1] variable 16 directory = 'Visualization-data' variable 17 (t,v,names) = PetscBinaryIOTrajectory.ReadTrajectory(directory)
|
| /petsc/lib/petsc/bin/ |
| H A D | PetscBinaryIOTrajectory.py | 13 def ReadTrajectory(directory): argument 22 fh = open(os.path.join(directory,'SA-%06d.bin'%cnt)); 32 fh = open(os.path.join(directory,'variablenames'))
|
| /petsc/ |
| H A D | GNUmakefile | 9 +@$(MAKE) -f makefile --no-print-directory $@ 17 +@$(MAKE) -f makefile --no-print-directory $@
|
| /petsc/doc/manual/ |
| H A D | tests.md | 30 general invocation from the installation (prefix) directory is: 36 which will create/use the directories `tests/*` in the current directory for generated test files. 68 the same directory as the source tree underneath. For testing installs, 128 Select a package name, for example, `mypkg` and create a sub-directory with that name, say `/home/m… 129 In any sub-directory of that directory named `tests` or `tutorials` put a PETSc makefile, for examp… 137 {any}`test_harness`. Also select a directory where you wish the tests to be compiled and run, say `…
|
| /petsc/doc/tutorials/performance/ |
| H A D | guide_to_TAS.md | 29 3. A log file in the above directory called `ex_13_test.py` should now be present. This is also the…
|
| /petsc/src/ksp/pc/impls/spai/ |
| H A D | readme | 2 This directory code to interface
|
| /petsc/doc/developers/ |
| H A D | testing.md | 113 - This file is described relative to the source directory of the 166 testing directory so they will be found by the executable. If you 167 list a directory instead of files, it will copy the entire 168 directory (this is limited currently to a single directory) 188 directory given by the environmental variable `DATAFILESPATH`. 510 The make rules for running tests are contained in `gmakefile.test` in the PETSc root directory. The… 578 directory, or 2) use the gmakefile.test from the top level directory. We present both 583 First, look at the working directory and the options for the 632 directory: 645 /usr/bin/gmake --no-print-directory test <options> [all …]
|
| /petsc/doc/install/ |
| H A D | install_tutorial.md | 102 With all dependencies installed, navigate to a suitable directory on your machine and pull 104 will create a directory "petsc" inside the current directory and retrieve the latest 121 It is **IMPERATIVE** to install PETSc in a directory whose path does not contain any of 183 false) or a directory path. Directory paths must be absolute (i.e. full path from the root 184 directory of your machine), but do accept environment variables as input. 298 gmake[2]: Leaving directory '/your/petsc/dir' 299 gmake[1]: Leaving directory '/your/petsc/dir'
|