[petsc-dev] parmetis broken (with 64 bit indices)?
Mark F. Adams
mark.adams at columbia.edu
Tue Sep 6 14:21:13 CDT 2011
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?
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
More information about the petsc-dev
mailing list