[petsc-dev] SuperLU configure error on CG at ANL

Satish Balay balay at mcs.anl.gov
Mon Apr 24 15:48:18 CDT 2017


Perhaps the branch you are using doesn't have the following fix..

Satish
-----

$ git diff origin/knepley/feature-plasma-example..master config/BuildSystem/config/packages/SuperLU.py
diff --git a/config/BuildSystem/config/packages/SuperLU.py b/config/BuildSystem/config/packages/SuperLU.py
index cae10870ca..1434decd5b 100644
--- a/config/BuildSystem/config/packages/SuperLU.py
+++ b/config/BuildSystem/config/packages/SuperLU.py
@@ -35,8 +35,8 @@ class Configure(config.package.CMakePackage):
 
     #  Tests are broken on Apple since they depend on a shared library that is not resolved against BLAS
     args.append('-Denable_tests=0')
-    #  CMake in SuperLU should set this; but like many other packages it does not
-    args.append('-DCMAKE_INSTALL_NAME_DIR:STRING="'+os.path.join(self.installDir,self.libdir)+'"')
+    #  CMake in SuperLU should set this; but like many other packages it does not [and its different from superlu_dist]
+    args.append('-DCMAKE_INSTALL_LIBDIR:STRING="'+os.path.join(self.installDir,self.libdir)+'"')
 
     if not hasattr(self.compilers, 'FC'):
       args.append('-DXSDK_ENABLE_Fortran=OFF')


balay at asterix /home/balay/petsc (master *=)
$ git log origin/knepley/feature-plasma-example..master config/BuildSystem/config/packages/SuperLU.py
commit 6236a5d9e43d1cf8dbaf058b22758e3e51a52108
Merge: 2c6f62ef04 c7820e35e3
Author: Satish Balay <balay at mcs.anl.gov>
Date:   Sun Mar 5 18:30:19 2017 -0600

    Merge branch 'maint'

commit c7820e35e37acd21255cd00e399111b9de215482
Author: Satish Balay <balay at mcs.anl.gov>
Date:   Sun Mar 5 18:03:42 2017 -0600

    superlu: libray is installed in PREFIX/lib64 - fix this to use PREFIX/lib
    
    Reported-by: Ju Liu <liujuy at gmail.com>
b
On Mon, 24 Apr 2017, Mark Adams wrote:

> I get this error, is there a superLU built on CG that I should use?
> 




More information about the petsc-dev mailing list