[petsc-users] SLEPc configuration error related to PETSC_ARCH

Kyunghoon Lee aeronova.mailing at gmail.com
Sat Aug 11 23:24:53 CDT 2012


Hello all,

I'm having a trouble with installing SLEPc with the PETSC_ARCH variable.  I
installed PETSc on my Linux as follows:

export PETSC_DIR=$PWD
export PETSC_ARCH=arch-linux-cxx-debug-real
export CXX="/usr/bin/mpicxx"
export CC="/usr/bin/mpicc"
./configure --prefix=/home/aeronova/Development/local/lib/petsc/3.3-p2
--download-mpich=1 --download-blacs=1 --download-metis=1
--download-parmetis=1 --download-scalapack=1 --download-mumps=1
--download-umfpack=1 --with-clanguage=C++
make PETSC_DIR=/home/aeronova/Development/local/share/petsc/3.3-p2
PETSC_ARCH=arch-linux-cxx-debug-real all
make PETSC_DIR=/home/aeronova/Development/local/share/petsc/3.3-p2
PETSC_ARCH=arch-linux-cxx-debug-real install
make PETSC_DIR=/home/aeronova/Development/local/lib/petsc/3.3-p2 test

Then, I tried to install SLEPc as below

export SLEPC_DIR=$PWD
export CXX="/usr/bin/mpicxx"
export CC="/usr/bin/mpicc"
export PETSC_DIR=/home/aeronova/Development/local/lib/petsc/3.3-p2
export PETSC_ARCH=arch-linux-cxx-debug-real
./configure --prefix=/home/aeronova/Development/local/lib/slepc/3.3-p1

, which gives an error:

Checking environment...
ERROR: PETSc is not configured for architecture arch-linux-cxx-debug-real

The error is confusing since I configured/installed PETSc with
PETSC_ARCH=arch-linux-cxx-debug-real.  I'd appreciate if someone could help
me with this problem.

Regards,
K. Lee.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120812/6af99a88/attachment.html>


More information about the petsc-users mailing list