| Line 220... |
Line 220... |
if petscversion.VERSION > '3.0.0':
|
if petscversion.VERSION > '3.0.0':
|
log.Println('WARNING: PETSc version '+petscversion.VERSION+' is newer than SLEPc version')
|
log.Println('WARNING: PETSc version '+petscversion.VERSION+' is newer than SLEPc version')
|
if petscversion.RELEASE != '1':
|
if petscversion.RELEASE != '1':
|
log.Println('WARNING: using PETSc development version')
|
log.Println('WARNING: using PETSc development version')
|
if petscconf.ISINSTALL:
|
if petscconf.ISINSTALL:
|
if petscconf.INSTALL_DIR != petscdir:
|
if os.path.realpath(petscconf.INSTALL_DIR) != os.path.realpath(petscdir):
|
log.Println('WARNING: PETSC_DIR does not point to PETSc installation path')
|
log.Println('WARNING: PETSC_DIR does not point to PETSc installation path')
|
if not check.Link([],[],[]):
|
if not check.Link([],[],[]):
|
log.Exit('ERROR: Unable to link with PETSc')
|
log.Exit('ERROR: Unable to link with PETSc')
|
|
|
# Check for external packages
|
# Check for external packages
|