On Tue, Sep 6, 2011 at 2:21 PM, Mark F. Adams <span dir="ltr"><<a href="mailto:mark.adams@columbia.edu">mark.adams@columbia.edu</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I can't seem to use ParMetis.  I get an error that its an unknown type.  I've deleted and reconfigured/built everything and ParMetis seems to get configured properly, but its not there and I've found that PETSC_HAVE_PARMETIS is not defined in partition.c.  I recently moved to 64 bit indices, could that be a problem?<br>
</blockquote><div><br></div><div>Always always always always always send configure.log</div><div><br></div><div>    Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

This is what I get out of configure:<br>
<br>
===============================================================================                                                                  Compiling & installing Parmetis; this may take several minutes                                                                       ===============================================================================                                                            TESTING: alternateConfigureLibrary from PETSc.packages.mpi4py(config/PETSc/packages/mpi4py.py:49)                                          Compilers:<br>

  C Compiler:         /Users/markadams/Codes/petsc-dev/arch-macosx-gnu-O/bin/mpicc  -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3<br>
  CUDA Compiler:      nvcc  -g<br>
  C++ Compiler:       /Users/markadams/Codes/petsc-dev/arch-macosx-gnu-O/bin/mpicxx   -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g<br>
  Fortran Compiler:   /Users/markadams/Codes/petsc-dev/arch-macosx-gnu-O/bin/mpif90   -Wall -Wno-unused-variable -g<br>
Linkers:<br>
  Static linker:   /usr/bin/ar cr<br>
  Dynamic linker:   /Users/markadams/Codes/petsc-dev/arch-macosx-gnu-O/bin/mpicxx  -dynamiclib -single_module -undefined dynamic_lookup -multiply_defined suppress<br>
MPI:<br>
  Includes: -I/Users/markadams/Codes/petsc-dev/arch-macosx-gnu-O/include<br>
BLAS/LAPACK: -L/Users/markadams/Codes/petsc-dev/arch-macosx-gnu-O/lib -L/Users/markadams/Codes/petsc-dev/arch-macosx-gnu-O/lib -lflapack -L/Users/markadams/Codes/petsc-dev/arch-macosx-gnu-O/lib -L/Users/markadams/Codes/petsc-dev/arch-macosx-gnu-O/lib -lfblas<br>

c2html:<br>
ParMetis:<br>
  Includes: -I/Users/markadams/Codes/petsc-dev/arch-macosx-gnu-O/include<br>
  Library:  -L/Users/markadams/Codes/petsc-dev/arch-macosx-gnu-O/lib -lparmetis -lmetis<br>
pthread:<br>
sowing:<br>
valgrind:<br>
PETSc:<br>
  PETSC_ARCH: arch-macosx-gnu-O<br>
  PETSC_DIR: /Users/markadams/Codes/petsc-dev<br>
  Clanguage: Cxx<br>
  Scalar type: real<br>
  Precision: double<br>
  Memory alignment: 16<br>
  shared libraries: disabled<br>
  dynamic loading: disabled<br>
xxx=========================================================================xxx<br>
 Configure stage complete. Now build PETSc libraries with (legacy build):<br>
   make PETSC_DIR=/Users/markadams/Codes/petsc-dev PETSC_ARCH=arch-macosx-gnu-O all<br>
 or (experimental with python):<br>
   PETSC_DIR=/Users/markadams/Codes/petsc-dev PETSC_ARCH=arch-macosx-gnu-O ./config/builder.py<br>
xxx=========================================================================xxx<br>
~/Codes/petsc-dev>make PETSC_DIR=/Users/markadams/Codes/petsc-dev PETSC_ARCH=arch-macosx-gnu-O all<br>
==========================================<br>
<font color="#888888"><br>
<br>
mark</font></blockquote></div><br><br clear="all"><div><br></div>-- <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>