Thanks for the tip; now it works fine.<br><br>K. Lee.<br><br><div class="gmail_quote">On Sun, Aug 12, 2012 at 2:39 PM, Jose E. Roman <span dir="ltr"><<a href="mailto:jroman@dsic.upv.es" target="_blank">jroman@dsic.upv.es</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
El 12/08/2012, a las 06:24, Kyunghoon Lee escribió:<br>
<div><div class="h5"><br>
> Hello all,<br>
><br>
> I'm having a trouble with installing SLEPc with the PETSC_ARCH variable.  I installed PETSc on my Linux as follows:<br>
><br>
> export PETSC_DIR=$PWD<br>
> export PETSC_ARCH=arch-linux-cxx-debug-real<br>
> export CXX="/usr/bin/mpicxx"<br>
> export CC="/usr/bin/mpicc"<br>
> ./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++<br>

> make PETSC_DIR=/home/aeronova/Development/local/share/petsc/3.3-p2 PETSC_ARCH=arch-linux-cxx-debug-real all<br>
> make PETSC_DIR=/home/aeronova/Development/local/share/petsc/3.3-p2 PETSC_ARCH=arch-linux-cxx-debug-real install<br>
> make PETSC_DIR=/home/aeronova/Development/local/lib/petsc/3.3-p2 test<br>
><br>
> Then, I tried to install SLEPc as below<br>
><br>
> export SLEPC_DIR=$PWD<br>
> export CXX="/usr/bin/mpicxx"<br>
> export CC="/usr/bin/mpicc"<br>
> export PETSC_DIR=/home/aeronova/Development/local/lib/petsc/3.3-p2<br>
> export PETSC_ARCH=arch-linux-cxx-debug-real<br>
> ./configure --prefix=/home/aeronova/Development/local/lib/slepc/3.3-p1<br>
><br>
> , which gives an error:<br>
><br>
> Checking environment...<br>
> ERROR: PETSc is not configured for architecture arch-linux-cxx-debug-real<br>
><br>
> 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.<br>
><br>
> Regards,<br>
> K. Lee.<br>
><br>
<br>
</div></div>You have to unset PETSC_ARCH. Follow the instructions in section 1.2.4 of SLEPc's manual.<br>
<span class="HOEnZb"><font color="#888888">Jose<br>
<br>
</font></span></blockquote></div><br>