Commits

Satish Balay  committed 9e8bcbc

mkl_pardiso: rename configure option appropriately [mk-pardiso to mkl_pardiso]

  • Participants
  • Parent commits d615f99

Comments (0)

Files changed (3)

File config/PETSc/packages/mkl-pardiso.py

-import PETSc.package
-import os
-
-class Configure(PETSc.package.NewPackage):
-  def __init__(self, framework):
-    PETSc.package.NewPackage.__init__(self, framework)
-    self.includes     = ['mkl_pardiso.h']
-    self.functions    = ['pardisoinit']
-    self.liblist      = [[]] # use MKL detected by BlasLapack.py
-    self.double       = 0
-    self.requires32bitint = 0
-    self.complex      = 1
-    return
-
-  def setupDependencies(self, framework):
-    PETSc.package.NewPackage.setupDependencies(self, framework)
-    self.blasLapack = framework.require('config.packages.BlasLapack',self)
-    self.deps       = [self.blasLapack]
-    return

File config/PETSc/packages/mkl_pardiso.py

+import PETSc.package
+import os
+
+class Configure(PETSc.package.NewPackage):
+  def __init__(self, framework):
+    PETSc.package.NewPackage.__init__(self, framework)
+    self.includes     = ['mkl_pardiso.h']
+    self.functions    = ['pardisoinit']
+    self.liblist      = [[]] # use MKL detected by BlasLapack.py
+    self.double       = 0
+    self.requires32bitint = 0
+    self.complex      = 1
+    return
+
+  def setupDependencies(self, framework):
+    PETSc.package.NewPackage.setupDependencies(self, framework)
+    self.blasLapack = framework.require('config.packages.BlasLapack',self)
+    self.deps       = [self.blasLapack]
+    return

File config/configure.py

     name = opt.split('=')[0]
     if name.find('_') >= 0:
       exception = False
-      for exc in ['superlu_dist', 'PETSC_ARCH', 'PETSC_DIR', 'CXX_CXXFLAGS', 'LD_SHARED', 'CC_LINKER_FLAGS', 'CXX_LINKER_FLAGS', 'FC_LINKER_FLAGS', 'AR_FLAGS', 'C_VERSION', 'CXX_VERSION', 'FC_VERSION', 'size_t', 'MPI_Comm','MPI_Fint','int64_t']:
+      for exc in ['mkl_pardiso', 'superlu_dist', 'PETSC_ARCH', 'PETSC_DIR', 'CXX_CXXFLAGS', 'LD_SHARED', 'CC_LINKER_FLAGS', 'CXX_LINKER_FLAGS', 'FC_LINKER_FLAGS', 'AR_FLAGS', 'C_VERSION', 'CXX_VERSION', 'FC_VERSION', 'size_t', 'MPI_Comm','MPI_Fint','int64_t']:
         if name.find(exc) >= 0:
           exception = True
       if not exception: