[petsc-dev] Issue compiling newest version

Chris Eldred chris.eldred at gmail.com
Wed Oct 3 14:59:23 CDT 2012


I am having issues compiling petsc-dev (the most recent version according
to hg pull -u). Here are the last few lines of output:

[ 65%] Building CXX object
CMakeFiles/petsc.dir/src/dm/impls/complex/complexcreate.c.o
/home/user/Desktop/LIBRARIES/petsc-dev/src/dm/impls/complex/complexcreate.c:
In function ‘PetscErrorCode DMComplexCreateSquareBoundary(DM, const
PetscReal*, const PetscReal*, const PetscInt*)’:
/home/user/Desktop/LIBRARIES/petsc-dev/src/dm/impls/complex/complexcreate.c:40:18:
warning: unused variable ‘mesh’ [-Wunused-variable]
/home/user/Desktop/LIBRARIES/petsc-dev/src/dm/impls/complex/complexcreate.c:
In function ‘PetscErrorCode DMComplexCreateCubeBoundary(DM, const
PetscReal*, const PetscReal*, const PetscInt*)’:
/home/user/Desktop/LIBRARIES/petsc-dev/src/dm/impls/complex/complexcreate.c:158:18:
warning: unused variable ‘mesh’ [-Wunused-variable]
/home/user/Desktop/LIBRARIES/petsc-dev/src/dm/impls/complex/complexcreate.c:
In function ‘PetscErrorCode DMComplexCreateSquareMesh(DM, const PetscReal*,
const PetscReal*, const PetscInt*)’:
/home/user/Desktop/LIBRARIES/petsc-dev/src/dm/impls/complex/complexcreate.c:255:18:
warning: unused variable ‘mesh’ [-Wunused-variable]
[ 65%] Building CXX object
CMakeFiles/petsc.dir/src/dm/impls/complex/complex.c.o
[ 65%] Building CXX object
CMakeFiles/petsc.dir/src/dm/impls/complex/complexexodusii.c.o
/home/user/Desktop/LIBRARIES/petsc-dev/src/dm/impls/complex/complex.c: In
function ‘PetscErrorCode DMComplexGenerate_CTetgen(DM, PetscBool, _p_DM**)’:
/home/user/Desktop/LIBRARIES/petsc-dev/src/dm/impls/complex/complex.c:4610:50:
error: cannot convert ‘DM_Complex*’ to ‘DM {aka _p_DM*}’ for argument ‘1’
to ‘PetscErrorCode DMGetCoordinatesLocal(DM, _p_Vec**)’
/home/user/Desktop/LIBRARIES/petsc-dev/src/dm/impls/complex/complex.c:4611:59:
error: cannot convert ‘DM_Complex*’ to ‘DM {aka _p_DM*}’ for argument ‘1’
to ‘PetscErrorCode DMComplexGetCoordinateSection(DM, _n_PetscSection**)’
/home/user/Desktop/LIBRARIES/petsc-dev/src/dm/impls/complex/complex.c: In
function ‘PetscErrorCode DMComplexRefine_CTetgen(DM, PetscReal*, _p_DM**)’:
/home/user/Desktop/LIBRARIES/petsc-dev/src/dm/impls/complex/complex.c:4729:18:
warning: unused variable ‘mesh’ [-Wunused-variable]
[ 65%] Building CXX object
CMakeFiles/petsc.dir/src/dm/impls/complex/complexvtk.c.o
make[4]: *** [CMakeFiles/petsc.dir/src/dm/impls/complex/complex.c.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [CMakeFiles/petsc.dir/all] Error 2
make[2]: *** [all] Error 2
make[1]: *** [cmake] Error 2
********************************************************************
  Error during compile, check arch-linux2-cxx-debug/conf/make.log
  Send it and arch-linux2-cxx-debug/conf/configure.log to
petsc-maint at mcs.anl.gov
********************************************************************
make: *** [all] Error 1

I've sent my make.log and configure.log files to petsc-maint at mcs.anl.gov as
requested.

-- 
Chris Eldred
DOE Computational Science Graduate Fellow
Graduate Student, Atmospheric Science, Colorado State University
B.S. Applied Computational Physics, Carnegie Mellon University, 2009
chris.eldred at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20121003/1fb8ace6/attachment.html>


More information about the petsc-dev mailing list