| /petsc/lib/petsc/bin/maint/ |
| H A D | builddist | 24 version=-$3 80 if [ ${version}foo = foo ]; then 81 version=-`git rev-parse --short HEAD` 82 elif [ ${version} = -SETVERSION ]; then 84 version=-${version_major}.$((version_minor+1)).dev0 86 version=-${version_major}.${version_minor}.${version_subminor} 92 echo "Building $ODIR/petsc$version.tar.gz, $ODIR/petsc-with-docs$version.tar.gz, and $ODIR/petsc4py… 124 if [ ! -d petsc$version ]; then 125 /bin/mv $pdir petsc$version 132 cd $tmpdir/petsc$version [all …]
|
| H A D | gcov.py | 91 version = list(map(int, it)) 92 assert len(version) <= 3 93 while len(version) < 3: 95 version.append(0) 96 return cls(*version) 126 version = getattr(cls, attr_name, None) 127 if version: 128 return version 133 version = output[1] 138 version = Version.from_string(version) [all …]
|
| /petsc/doc/manual/ |
| H A D | versionchecking.md | 3 # Checking the PETSc version 5 The PETSc version 9 …commands `make getversion` or `$PETSC_DIR/lib/petsc/bin/petscversion` prints out the PETSc version. 16 …s to make files, CMake files, configure scripts etc, to ensure the PETSc version is compatible wit… 22 returns 1 if the PETSc version is 3.22 (any subminor version is allowed). While 28 returns 1 if the PETSc version is 3.21 or higher. 41 prints out 1 if the PETSc version matches `xxx.yyy[.zzz]` and 0 otherwise. The command works in a s… 43 to check if the PETSc version is compatible with application even before beginning to compile your … 55 …used in the source code to choose different code paths or error out depending on the PETSc version. 62 char version(lengthofversion); [all …]
|
| /petsc/lib/petsc/bin/maint/petsclinter/petsclinter/ |
| H A D | __version__.py | 33 version = list(map(int, version_str.split('.'))) 34 while len(version) < 3: 35 version.append(0) 42 return tuple(version) # type: ignore[return-value] 92 version = (major, minor, sub_minor) 93 if version <= __MIN_PYTHON_VERSION__: 98 return sys.version_info < version
|
| H A D | pkg_consistency_checks.py | 15 version = list(map(int, version_str.split('.'))) 16 while len(version) < 3: 17 version.append(0) 24 return tuple(version) # type: ignore[return-value]
|
| /petsc/src/binding/petsc4py/test/ |
| H A D | test_sys.py | 9 version = PETSc.Sys.getVersion() 10 self.assertTrue(version > (0, 0, 0)) 12 self.assertTrue(version == v) 15 self.assertTrue(version == v) 19 version = PETSc.Sys.getVersion() 22 version,
|
| /petsc/src/sys/tests/options/output/ |
| H A D | ex55_5a.out | 5 -version: prints PETSc version 6 -help intro: prints example description and PETSc version, and exits 7 -help: prints example description, PETSc version, and available options for used routines
|
| H A D | ex55_6a.out | 5 -version: prints PETSc version 6 -help intro: prints example description and PETSc version, and exits 7 -help: prints example description, PETSc version, and available options for used routines
|
| /petsc/lib/petsc/bin/ |
| H A D | petscnagupgrade.py | 9 from packaging.version import Version 12 from distutils.version import LooseVersion as Version 35 version = parse_version_h(pv) 50 if aversion > version: 53 print(" Available Version: "+str(aversion)+" Installed Version: "+str(version))
|
| /petsc/config/BuildSystem/config/packages/ |
| H A D | zlib.py | 6 self.version = '1.3.2' 8 self.download = ['http://www.zlib.net/zlib-'+self.version+'.tar.gz', 9 … 'https://github.com/madler/zlib/releases/download/v'+self.version+'/zlib-'+self.version+'.tar.gz', 10 … 'https://web.cels.anl.gov/projects/petsc/download/externalpackages/zlib-'+self.version+'.tar.gz']
|
| H A D | libpng.py | 7 self.version = '1.6.47' 8 …ttps://sourceforge.net/projects/libpng/files/libpng16/'+self.version+'/libpng-'+self.version+'.tar… 9 …'https://web.cels.anl.gov/projects/petsc/download/externalpackages/libpng-'+self.version+'.tar.gz']
|
| H A D | gmp.py | 6 self.version = '6.3.0' 7 self.download = ['https://gmplib.org/download/gmp/gmp-'+self.version+'.tar.bz2', 8 … 'https://web.cels.anl.gov/projects/petsc/download/externalpackages/gmp-'+self.version+'.tar.bz2']
|
| H A D | szlib.py | 6 self.version = '2.1.1' 8 …self.download = ['https://support.hdfgroup.org/ftp/lib-external/szip/'+self.version+'/src… 9 … 'https://web.cels.anl.gov/projects/petsc/download/externalpackages/szip-'+self.version+'.tar.gz']
|
| H A D | ucx.py | 6 self.version = '1.20.0' 9 self.gitcommit = 'v'+self.version 11 … 'https://github.com/openucx/ucx/releases/download/v'+self.version+'/ucx-'+self.version+'.tar.gz', 12 … 'https://web.cels.anl.gov/projects/petsc/download/externalpackages/ucx-'+self.version+'.tar.gz']
|
| H A D | silo.py | 6 self.version = '4.11' 7 …d = ['https://github.com/LLNL/Silo/releases/download/v'+self.version+'/silo-'+self.version+'-bsd.…
|
| H A D | MPICH.py | 7 self.version = '5.0.0' 8 …['https://github.com/pmodels/mpich/releases/download/v'+self.version+'/mpich-'+self.version+'.tar.… 9 …'https://www.mpich.org/static/downloads/'+self.version+'/mpich-'+self.version+'.tar.gz', # does no… 10 …ttps://web.cels.anl.gov/projects/petsc/download/externalpackages'+'/mpich-'+self.version+'.tar.gz']
|
| H A D | GSL.py | 7 self.version = '2.8' 9 self.download = ['https://ftp.gnu.org/gnu/gsl/gsl-'+self.version+'.tar.gz', 10 'https://mirrors.kernel.org/gnu/gsl/gsl-'+self.version+'.tar.gz']
|
| H A D | Caliper.py | 7 self.version = '2.14.0' 10 self.gitcommit = 'v'+self.version 12 'https://github.com/LLNL/Caliper/archive/v'+self.version+'.tar.gz']
|
| H A D | zstd.py | 6 self.version = '1.5.6' 7 self.download = ['https://github.com/facebook/zstd/archive/v'+self.version+'.tar.gz', 8 … 'https://web.cels.anl.gov/projects/petsc/download/externalpackages/zstd-'+self.version+'.tar.gz']
|
| H A D | PnetCDF.py | 7 self.version = '1.14.1' 9 …self.download = ['https://parallel-netcdf.github.io/Release/pnetcdf-'+self.version+'.tar.g… 10 …https://web.cels.anl.gov/projects/petsc/download/externalpackages/pnetcdf-'+self.version+'.tar.gz']
|
| /petsc/src/sys/tutorials/ |
| H A D | ex17.c | 6 char version[128]; in main() local 20 PetscCall(PetscGetVersion(version, sizeof(version))); in main()
|
| /petsc/src/dm/impls/plex/hdf5/ |
| H A D | plexhdf5.c | 14 …PetscViewerPrintVersion_Private(PetscViewer viewer, DMPlexStorageVersion version, char str[], size… in PetscViewerPrintVersion_Private() argument 17 PetscCall(PetscViewerCheckVersion_Private(viewer, version)); in PetscViewerPrintVersion_Private() 18 PetscCall(PetscSNPrintf(str, len, "%d.%d.%d", version->major, version->minor, version->subminor)); in PetscViewerPrintVersion_Private() 22 …etscViewerParseVersion_Private(PetscViewer viewer, const char str[], DMPlexStorageVersion *version) in PetscViewerParseVersion_Private() argument 45 *version = v; in PetscViewerParseVersion_Private() 76 …ic PetscErrorCode PetscViewerCheckVersion_Private(PetscViewer viewer, DMPlexStorageVersion version) in PetscViewerCheckVersion_Private() argument 81 switch (version->major) { in PetscViewerCheckVersion_Private() 83 switch (version->minor) { in PetscViewerCheckVersion_Private() 85 switch (version->subminor) { in PetscViewerCheckVersion_Private() 92 switch (version->subminor) { in PetscViewerCheckVersion_Private() [all …]
|
| /petsc/src/sys/objects/ |
| H A D | version.c | 21 PetscErrorCode PetscGetVersion(char version[], size_t len) in PetscGetVersion() argument 25 …PetscCall(PetscSNPrintf(version, len, "PETSc Release Version %d.%d.%d, %s", PETSC_VERSION_MAJOR, P… in PetscGetVersion() 27 …PetscCall(PetscSNPrintf(version, len, "PETSc Development Git Revision: %s Git Date: %s", PETSC_VER… in PetscGetVersion()
|
| /petsc/src/binding/petsc4py/src/petsc4py/PETSc/ |
| H A D | Sys.pyx | 13 """Return PETSc version information. 20 Additionally, return whether using an in-development version. 29 Major version number. 31 Minor version number. 33 Micro (or patch) version number. 44 out = version = (toInt(major), toInt(minor), toInt(micro)) 46 out = [version] 64 """Return PETSc version information. 71 Dictionary with version information. 78 version, dev, date, author = cls.getVersion(True, True, True) [all …]
|
| /petsc/config/BuildSystem/config/ |
| H A D | compilerOptions.py | 342 version = 'Unknown' 367 version = '\\n'.join(output.split('\n')[0:2]) 368 version = version.replace('\r','') 372 version = output.split('\r\n')[1] 375 version = output.split('\n')[3] 377 version = output.split('\n')[0] 381 self.logWrite('getCompilerVersion: '+str(compiler)+' '+str(version)+'\n') 382 self.framework.addMakeMacro(language+'_VERSION',version) 383 return version
|