The first problem is that we changed the structure slightly in the latest release. Instead of<div><br></div><div>include ${PETSC_DIR}/conf/base</div><div><br></div><div>you use<br><br></div><div><div>include ${PETSC_DIR}/conf/variables</div>
<div><div>include ${PETSC_DIR}/conf/rules</div></div><div><br></div><div>  Thanks,</div><div><br></div><div>     Matt</div><div><br></div><div class="gmail_quote">On Tue, Sep 7, 2010 at 11:37 AM, shraddha <span dir="ltr">&lt;<a href="mailto:shraddhav@cdac.in">shraddhav@cdac.in</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Dear Sir/Madam,<br>
<br>
              I have installed petsc-3.1-p4<br>
<br>
<br>
<br>
petsc-3.1-p4]$ time ./configure 2&gt;&amp;1 | tee LOG-config-2<br>
<br>
<br>
<br>
Compilers:<br>
<br>
  C Compiler:         mpicc  -Wall -Wwrite-strings -Wno-strict-aliasing -g3<br>
<br>
  Fortran Compiler:   mpif90  -Wall -Wno-unused-variable -g<br>
<br>
Linkers:<br>
<br>
  Static linker:   /usr/bin/ar cr<br>
<br>
MPI:<br>
<br>
  Includes: -I/opt/mpich2/gnu/include<br>
<br>
X11:<br>
<br>
  Includes:<br>
<br>
  Library:  -lX11<br>
<br>
BLAS/LAPACK: -llapack -lblas<br>
<br>
PETSc:<br>
<br>
  PETSC_ARCH: linux-gnu-c-debug<br>
<br>
  PETSC_DIR: /home/shraddha/PETSC/petsc-31p4/petsc-3.1-p4<br>
<br>
  Clanguage: C<br>
<br>
  Memory alignment: 16<br>
<br>
  Scalar type: real<br>
<br>
  Precision: double<br>
<br>
  shared libraries: disabled<br>
<br>
  dynamic libraries: disabled<br>
<br>
xxx=========================================================================<br>
xxx<br>
<br>
   Configure stage complete. Now build PETSc libraries with:<br>
<br>
   make PETSC_DIR=/home/shraddha/PETSC/petsc-31p4/petsc-3.1-p4<br>
PETSC_ARCH=linux-gnu-c-debug all<br>
<br>
xxx=========================================================================<br>
xxx<br>
<br>
<br>
<br>
MAKE:<br>
<br>
<br>
<br>
make PETSC_DIR=/home/shraddha/PETSC/petsc-31p4/petsc-3.1-p4<br>
PETSC_ARCH=linux-gnu-c-debug all<br>
<br>
<br>
<br>
[shraddha@Dell petsc-3.1-p4]$ ls linux-gnu-c-debug/<br>
<br>
bin  conf  include  lib<br>
<br>
<br>
<br>
[shraddha@Dell petsc-3.1-p4]$ ls linux-gnu-c-debug/bin/<br>
<br>
<br>
<br>
[shraddha@Dell petsc-3.1-p4]$ ls linux-gnu-c-debug/lib/<br>
<br>
libpetsc.a<br>
<br>
[shraddha@Dell petsc-3.1-p4]$ ls linux-gnu-c-debug/include/<br>
<br>
petscaodef.mod     petscda.mod     petsckspdef.mod     petscmeshdef.mod<br>
petscpcdef.mod    petscsys.mod<br>
<br>
petscao.mod        petscdef.mod    petscksp.mod        petscmesh.mod<br>
petscpc.mod       petsctsdef.mod<br>
<br>
petscconf.h        petscfix.h      petscmachineinfo.h  petscmgdef.mod<br>
petscsnesdef.mod  petscts.mod<br>
<br>
petscconfiginfo.h  petscisdef.mod  petscmatdef.mod     petscmg.mod<br>
petscsnes.mod     petscvecdef.mod<br>
<br>
petscdadef.mod     petscis.mod     petscmat.mod        petsc.mod<br>
petscsysdef.mod   petscvec.mod<br>
<br>
<br>
<br>
I have set PETSC_ARCH =linux-gnu or linux-gnu-c-debug in bashrc file.<br>
<br>
<br>
<br>
Now I wanted to install OOFEM parallel module.<br>
<br>
<br>
<br>
#export OOFEM_DIR=/home/shraddha/ONAMA/mechanical/OOFEM/oofem-1.8<br>
<br>
export OOFEM_DIR=/home/shraddha/ONAMA/mechanical/OOFEM/oofem-1.9<br>
<br>
<br>
<br>
<br>
<br>
./configure --prefix=/home/shraddha/ONAMA/mechanical/OOFEM/oofem-1.9<br>
--enable-poofem --with-MPIDIR=/opt/mpich2/gnu --enable-petsc<br>
--with-PETSCDIR=/home/shraddha/PETSC/petsc-31p4/petsc-3.1-p4<br>
--with-PARMETISDIR=/home/shraddha/PARMETIS/gnu/ParMetis-3.1.1<br>
PETSC_ARCH=linux-gnu-c-debug CXX=mpicxx<br>
<br>
<br>
<br>
make<br>
<br>
<br>
<br>
makefile:10: /home/shraddha/PETSC/petsc-31p4/petsc-3.1-p4/conf/base: No such<br>
file or directory<br>
<br>
makefile:63: generalbc.d: No such file or directory<br>
<br>
makefile:63: boundary.d: No such file or directory<br>
<br>
makefile:63: crosssection.d: No such file or directory<br>
<br>
makefile:63: dictionr.d: No such file or directory<br>
<br>
makefile:63: dof.d: No such file or directory<br>
<br>
<br>
<br>
I am not having petsc-3.1-p4/conf/base file.<br>
<br>
What should I do in this case???Please guide me.<br>
<br>
<br>
<br>
Another kind of error I am getting when I am trying to install SLEPc<br>
library:<br>
<br>
<br>
<br>
slepc-3.1-p2]$ ./configure --help<br>
<br>
SLEPc Configure Help<br>
<br>
----------------------------------------------------------------------------<br>
----<br>
<br>
  --prefix=&lt;dir&gt;                   : Specifiy location to install SLEPc<br>
(e.g., /usr/local)<br>
<br>
ARPACK:<br>
<br>
  --with-arpack                    : Indicate if you wish to test for ARPACK<br>
(PARPACK)<br>
<br>
  --with-arpack-dir=&lt;dir&gt;          : Indicate the directory for ARPACK<br>
libraries<br>
<br>
  --with-arpack-flags=&lt;flags&gt;      : Indicate comma-separated flags for<br>
linking ARPACK<br>
<br>
BLZPACK:<br>
<br>
  --with-blzpack                   : Indicate if you wish to test for<br>
BLZPACK<br>
<br>
  --with-blzpack-dir=&lt;dir&gt;         : Indicate the directory for BLZPACK<br>
libraries<br>
<br>
  --with-blzpack-flags=&lt;flags&gt;     : Indicate comma-separated flags for<br>
linking BLZPACK<br>
<br>
TRLAN:<br>
<br>
  --with-trlan                     : Indicate if you wish to test for TRLAN<br>
<br>
  --with-trlan-dir=&lt;dir&gt;           : Indicate the directory for TRLAN<br>
libraries<br>
<br>
  --with-trlan-flags=&lt;flags&gt;       : Indicate comma-separated flags for<br>
linking TRLAN<br>
<br>
PRIMME:<br>
<br>
  --with-primme                    : Indicate if you wish to test for PRIMME<br>
<br>
  --with-primme-dir=&lt;dir&gt;          : Indicate the directory for PRIMME<br>
libraries<br>
<br>
  --with-primme-flags=&lt;flags&gt;      : Indicate comma-separated flags for<br>
linking PRIMME<br>
<br>
slepc4py:<br>
<br>
  --download-slepc4py              : Download and install slepc4py in SLEPc<br>
directory<br>
<br>
<br>
<br>
slepc-3.1-p2]$ ./configure<br>
--prefix=/home/shraddha/ONAMA/mechanical/OOFEM/SLEPc/slepc-3.1-p2<br>
<br>
<br>
<br>
Checking environment...<br>
<br>
ERROR: SLEPc cannot be configured for non-source installation if PETSc is<br>
not configured in the same way.<br>
<br>
<br>
<br>
Please Guide me regarding this.<br>
<br>
<br>
<br>
Regards,<br>
<br>
Shraddha Desai<br>
<font color="#888888"><br>
<br>
<br>
<br>
--<br>
This message has been scanned for viruses and<br>
dangerous content by MailScanner, and is<br>
believed to be clean.<br>
<br>
<br>
</font><br>








<div lang="EN-US" link="blue" vlink="purple">

<div>

<p class="MsoNormal">Dear Sir/Madam,</p>

<p class="MsoNormal">             
I have installed <b>petsc-3.1-p4</b></p>

<p class="MsoNormal"> </p>

<p class="MsoNormal"><b>petsc-3.1-p4]$ time ./configure 2&gt;&amp;1 | tee
LOG-config-2</b></p>

<p class="MsoNormal"> </p>

<p class="MsoNormal"><b>Compilers:</b></p>

<p class="MsoNormal"><b>  C
Compiler:         mpicc  -Wall
-Wwrite-strings -Wno-strict-aliasing -g3</b></p>

<p class="MsoNormal"><b>  Fortran Compiler:   mpif90  -Wall
-Wno-unused-variable -g</b></p>

<p class="MsoNormal">Linkers:</p>

<p class="MsoNormal">  Static linker:   /usr/bin/ar cr</p>

<p class="MsoNormal">MPI:</p>

<p class="MsoNormal">  Includes: -I/opt/mpich2/gnu/include</p>

<p class="MsoNormal">X11:</p>

<p class="MsoNormal">  Includes:</p>

<p class="MsoNormal">  Library:  -lX11</p>

<p class="MsoNormal"><b>BLAS/LAPACK: -llapack -lblas</b></p>

<p class="MsoNormal"><b>PETSc:</b></p>

<p class="MsoNormal"><b>  PETSC_ARCH: linux-gnu-c-debug</b></p>

<p class="MsoNormal"><b>  PETSC_DIR:
/home/shraddha/PETSC/petsc-31p4/petsc-3.1-p4</b></p>

<p class="MsoNormal">  Clanguage: C</p>

<p class="MsoNormal">  Memory alignment: 16</p>

<p class="MsoNormal">  Scalar type: real</p>

<p class="MsoNormal">  Precision: double</p>

<p class="MsoNormal">  shared libraries: disabled</p>

<p class="MsoNormal">  dynamic libraries: disabled</p>

<p class="MsoNormal">xxx=========================================================================xxx</p>

<p class="MsoNormal">   Configure stage complete. Now build PETSc
libraries with:</p>

<p class="MsoNormal">   make PETSC_DIR=/home/shraddha/PETSC/petsc-31p4/petsc-3.1-p4
PETSC_ARCH=linux-gnu-c-debug all</p>

<p class="MsoNormal">xxx=========================================================================xxx</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal"><b><span style="font-size:18.0pt">MAKE:</span></b></p>

<p class="MsoNormal"><span style="font-size:12.0pt"> </span></p>

<p class="MsoNormal"><b>make
PETSC_DIR=/home/shraddha/PETSC/petsc-31p4/petsc-3.1-p4
PETSC_ARCH=linux-gnu-c-debug all</b>  </p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">[shraddha@<b>Dell petsc-3.1-p4]$ ls linux-gnu-c-debug/</b></p>

<p class="MsoNormal"><b>bin  conf  include  lib</b></p>

<p class="MsoNormal"><b> </b></p>

<p class="MsoNormal">[shraddha@Dell <b>petsc-3.1-p4]$ ls linux-gnu-c-debug/bin/</b></p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">[shraddha@Dell <b>petsc-3.1-p4]$ ls linux-gnu-c-debug/lib/</b></p>

<p class="MsoNormal"><b>libpetsc.a</b></p>

<p class="MsoNormal">[shraddha@Dell <b>petsc-3.1-p4]$ ls
linux-gnu-c-debug/include/</b></p>

<p class="MsoNormal">petscaodef.mod    
petscda.mod     petsckspdef.mod    
petscmeshdef.mod  petscpcdef.mod    petscsys.mod</p>

<p class="MsoNormal">petscao.mod       
petscdef.mod   
petscksp.mod       
petscmesh.mod    
petscpc.mod       petsctsdef.mod</p>

<p class="MsoNormal">petscconf.h       
petscfix.h      petscmachineinfo.h 
petscmgdef.mod    petscsnesdef.mod  petscts.mod</p>

<p class="MsoNormal">petscconfiginfo.h  petscisdef.mod 
petscmatdef.mod    
petscmg.mod       petscsnes.mod    
petscvecdef.mod</p>

<p class="MsoNormal">petscdadef.mod    
petscis.mod    
petscmat.mod       
petsc.mod        
petscsysdef.mod   petscvec.mod</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">I have set PETSC_ARCH =linux-gnu or linux-gnu-c-debug in
bashrc file.</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal"><b><span style="font-size:16.0pt">Now I wanted to install
OOFEM parallel module.</span></b></p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">#export
OOFEM_DIR=/home/shraddha/ONAMA/mechanical/OOFEM/oofem-1.8</p>

<p class="MsoNormal"><b>export OOFEM_DIR=/home/shraddha/ONAMA/mechanical/OOFEM/oofem-1.9</b></p>

<p class="MsoNormal"> </p>

<p class="MsoNormal"> </p>

<p class="MsoNormal"><b>./configure</b>
--prefix=/home/shraddha/ONAMA/mechanical/OOFEM/oofem-1.9 --enable-poofem
--with-MPIDIR=/opt/mpich2/gnu --enable-petsc
--with-PETSCDIR=/home/shraddha/PETSC/petsc-31p4/petsc-3.1-p4
--with-PARMETISDIR=/home/shraddha/PARMETIS/gnu/ParMetis-3.1.1 <b>PETSC_ARCH=linux-gnu-c-debug</b>
CXX=mpicxx </p>

<p class="MsoNormal"> </p>

<p class="MsoNormal"><b><span style="font-size:20.0pt">make</span></b></p>

<p class="MsoNormal"> </p>

<p class="MsoNormal"><b>makefile:10:
/home/shraddha/PETSC/petsc-31p4/petsc-3.1-p4/conf/base: No such file or
directory</b></p>

<p class="MsoNormal">makefile:63: generalbc.d: No such file or directory</p>

<p class="MsoNormal">makefile:63: boundary.d: No such file or directory</p>

<p class="MsoNormal">makefile:63: crosssection.d: No such file or directory</p>

<p class="MsoNormal">makefile:63: dictionr.d: No such file or directory</p>

<p class="MsoNormal">makefile:63: dof.d: No such file or directory</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">I am not having <b>petsc-3.1-p4/conf/base file.</b></p>

<p class="MsoNormal"><b>What should I do in this case???Please guide me.</b></p>

<p class="MsoNormal"><b> </b></p>

<p class="MsoNormal"><span style="font-size:20.0pt">Another kind of error I am
getting when I am trying to install SLEPc library:</span></p>

<p class="MsoNormal"> </p>

<p class="MsoNormal"><b>slepc-3.1-p2]$ ./configure --help</b></p>

<p class="MsoNormal">SLEPc Configure Help</p>

<p class="MsoNormal">--------------------------------------------------------------------------------</p>

<p class="MsoNormal"> 
--prefix=&lt;dir&gt;                  
: Specifiy location to install SLEPc (e.g., /usr/local)</p>

<p class="MsoNormal">ARPACK:</p>

<p class="MsoNormal"> 
--with-arpack                   
: Indicate if you wish to test for ARPACK (PARPACK)</p>

<p class="MsoNormal"> 
--with-arpack-dir=&lt;dir&gt;         
: Indicate the directory for ARPACK libraries</p>

<p class="MsoNormal"> 
--with-arpack-flags=&lt;flags&gt;      : Indicate
comma-separated flags for linking ARPACK</p>

<p class="MsoNormal">BLZPACK:</p>

<p class="MsoNormal"> 
--with-blzpack                  
: Indicate if you wish to test for BLZPACK</p>

<p class="MsoNormal"> 
--with-blzpack-dir=&lt;dir&gt;        
: Indicate the directory for BLZPACK libraries</p>

<p class="MsoNormal"> 
--with-blzpack-flags=&lt;flags&gt;     : Indicate
comma-separated flags for linking BLZPACK</p>

<p class="MsoNormal">TRLAN:</p>

<p class="MsoNormal"> 
--with-trlan                    
: Indicate if you wish to test for TRLAN</p>

<p class="MsoNormal"> 
--with-trlan-dir=&lt;dir&gt;          
: Indicate the directory for TRLAN libraries</p>

<p class="MsoNormal"> 
--with-trlan-flags=&lt;flags&gt;       : Indicate
comma-separated flags for linking TRLAN</p>

<p class="MsoNormal">PRIMME:</p>

<p class="MsoNormal"> 
--with-primme                   
: Indicate if you wish to test for PRIMME</p>

<p class="MsoNormal"> 
--with-primme-dir=&lt;dir&gt;         
: Indicate the directory for PRIMME libraries</p>

<p class="MsoNormal"> 
--with-primme-flags=&lt;flags&gt;      : Indicate
comma-separated flags for linking PRIMME</p>

<p class="MsoNormal">slepc4py:</p>

<p class="MsoNormal"> 
--download-slepc4py             
: Download and install slepc4py in SLEPc directory</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal"><b>slepc-3.1-p2]$ ./configure</b>
--prefix=/home/shraddha/ONAMA/mechanical/OOFEM/SLEPc/slepc-3.1-p2</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">Checking environment...</p>

<p class="MsoNormal">ERROR: SLEPc cannot be configured for non-source
installation if PETSc is not configured in the same way.</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">Please Guide me regarding this.</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">Regards,</p>

<p class="MsoNormal">Shraddha Desai</p>

<p class="MsoNormal"> </p>

</div>

</div>

<br>-- 
<br>This message has been scanned for viruses and
<br>dangerous content by
<a href="http://www.mailscanner.info/" target="_blank"><b>MailScanner</b></a>, and is
<br>believed to be clean.

<br></blockquote></div><br><br clear="all"><br>-- <br>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>-- Norbert Wiener<br>

</div>