/trunk/config/configure.py
166,7 → 166,7
| |
| # Check PETSc version |
| petscversion.Load(petscdir) |
| if petscversion.VERSION < '3.0.0': |
| if petscversion.VERSION < '3.1': |
| sys.exit('ERROR: This SLEPc version is not compatible with PETSc version '+petscversion.VERSION) |
| |
| # Check some information about PETSc configuration |
235,7 → 235,7
| |
| # Check if PETSc is working |
| log.Println('Checking PETSc installation...') |
| if petscversion.VERSION > '3.0.0': |
| if petscversion.VERSION > '3.1': |
| log.Println('WARNING: PETSc version '+petscversion.VERSION+' is newer than SLEPc version') |
| if petscversion.RELEASE != '1': |
| log.Println('WARNING: using PETSc development version') |
/trunk/config/petscversion.py
38,6 → 38,6
| elif l[1] == 'PETSC_VERSION_SUBMINOR': |
| subminor = l[2] |
| f.close() |
| VERSION = major + '.' + minor + '.' + subminor |
| VERSION = major + '.' + minor |
| except: |
| sys.exit('ERROR: file error while reading PETSC version') |