[petsc-users] slepc compilation problem: 'module' object has no attribute 'INSTALL_DIR'

Jose E. Roman jroman at dsic.upv.es
Thu Oct 27 08:53:59 CDT 2011


El 27/10/2011, a las 15:51, Kyunghoon Lee escribió:

> Hi, 
> 
> slpec used to work, but somehow I cannot compile it again after I recompiled petsc to enable complex variable support.  Here's what I did:
> 
> $ export SLEPC_DIR=$PWD
> $ export PETSC_DIR=/Users/aeronova/Development/local/lib64/petsc/petsc-3.2-p4
> $ export CXX="/usr/bin/mpicxx"
> $ export CC="/usr/bin/mpicc"
> $ ./configure --prefix=/Users/aeronova/Development/local/lib64/slepc/slepc-3.1-p6
> Checking environment...
> Traceback (most recent call last):
>   File "./configure", line 223, in <module>
>     log.Write('PETSc install directory: ' + petscconf.INSTALL_DIR)
> AttributeError: 'module' object has no attribute 'INSTALL_DIR'
> 
> Plz help me with this error.
> 

slepc-3.1 is not compatible with petsc-3.2.
You have to wait for slepc-3.2, which will be out very soon (maybe today).
Jose



More information about the petsc-users mailing list