[petsc-dev] parmetis broken (with 64 bit indices)?

Matthew Knepley knepley at gmail.com
Tue Sep 6 14:22:22 CDT 2011


On Tue, Sep 6, 2011 at 2:21 PM, Mark F. Adams <mark.adams at columbia.edu>wrote:

> 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?
>

Always always always always always send configure.log

    Matt


> This is what I get out of configure:
>
> ===============================================================================
>                                                                  Compiling &
> installing Parmetis; this may take several minutes
>
> ===============================================================================
>                                                            TESTING:
> alternateConfigureLibrary from
> PETSc.packages.mpi4py(config/PETSc/packages/mpi4py.py:49)
>                        Compilers:
>  C Compiler:
> /Users/markadams/Codes/petsc-dev/arch-macosx-gnu-O/bin/mpicc  -Wall
> -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3
>  CUDA Compiler:      nvcc  -g
>  C++ Compiler:
> /Users/markadams/Codes/petsc-dev/arch-macosx-gnu-O/bin/mpicxx   -Wall
> -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g
>  Fortran Compiler:
> /Users/markadams/Codes/petsc-dev/arch-macosx-gnu-O/bin/mpif90   -Wall
> -Wno-unused-variable -g
> Linkers:
>  Static linker:   /usr/bin/ar cr
>  Dynamic linker:
> /Users/markadams/Codes/petsc-dev/arch-macosx-gnu-O/bin/mpicxx  -dynamiclib
> -single_module -undefined dynamic_lookup -multiply_defined suppress
> MPI:
>  Includes: -I/Users/markadams/Codes/petsc-dev/arch-macosx-gnu-O/include
> 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
> c2html:
> ParMetis:
>  Includes: -I/Users/markadams/Codes/petsc-dev/arch-macosx-gnu-O/include
>  Library:  -L/Users/markadams/Codes/petsc-dev/arch-macosx-gnu-O/lib
> -lparmetis -lmetis
> pthread:
> sowing:
> valgrind:
> PETSc:
>  PETSC_ARCH: arch-macosx-gnu-O
>  PETSC_DIR: /Users/markadams/Codes/petsc-dev
>  Clanguage: Cxx
>  Scalar type: real
>  Precision: double
>  Memory alignment: 16
>  shared libraries: disabled
>  dynamic loading: disabled
>
> xxx=========================================================================xxx
>  Configure stage complete. Now build PETSc libraries with (legacy build):
>   make PETSC_DIR=/Users/markadams/Codes/petsc-dev
> PETSC_ARCH=arch-macosx-gnu-O all
>  or (experimental with python):
>   PETSC_DIR=/Users/markadams/Codes/petsc-dev PETSC_ARCH=arch-macosx-gnu-O
> ./config/builder.py
>
> xxx=========================================================================xxx
> ~/Codes/petsc-dev>make PETSC_DIR=/Users/markadams/Codes/petsc-dev
> PETSC_ARCH=arch-macosx-gnu-O all
> ==========================================
>
>
> mark




-- 
What most experimenters take for granted before they begin their experiments
is infinitely more interesting than any results to which their experiments
lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20110906/10116c2b/attachment.html>


More information about the petsc-dev mailing list