I am having issues compiling petsc-dev (the most recent version according to hg pull -u). Here are the last few lines of output:<br><br>[ 65%] Building CXX object CMakeFiles/petsc.dir/src/dm/impls/complex/complexcreate.c.o<br>
/home/user/Desktop/LIBRARIES/petsc-dev/src/dm/impls/complex/complexcreate.c: In function ‘PetscErrorCode DMComplexCreateSquareBoundary(DM, const PetscReal*, const PetscReal*, const PetscInt*)’:<br>/home/user/Desktop/LIBRARIES/petsc-dev/src/dm/impls/complex/complexcreate.c:40:18: warning: unused variable ‘mesh’ [-Wunused-variable]<br>
/home/user/Desktop/LIBRARIES/petsc-dev/src/dm/impls/complex/complexcreate.c: In function ‘PetscErrorCode DMComplexCreateCubeBoundary(DM, const PetscReal*, const PetscReal*, const PetscInt*)’:<br>/home/user/Desktop/LIBRARIES/petsc-dev/src/dm/impls/complex/complexcreate.c:158:18: warning: unused variable ‘mesh’ [-Wunused-variable]<br>
/home/user/Desktop/LIBRARIES/petsc-dev/src/dm/impls/complex/complexcreate.c: In function ‘PetscErrorCode DMComplexCreateSquareMesh(DM, const PetscReal*, const PetscReal*, const PetscInt*)’:<br>/home/user/Desktop/LIBRARIES/petsc-dev/src/dm/impls/complex/complexcreate.c:255:18: warning: unused variable ‘mesh’ [-Wunused-variable]<br>
[ 65%] Building CXX object CMakeFiles/petsc.dir/src/dm/impls/complex/complex.c.o<br>[ 65%] Building CXX object CMakeFiles/petsc.dir/src/dm/impls/complex/complexexodusii.c.o<br>/home/user/Desktop/LIBRARIES/petsc-dev/src/dm/impls/complex/complex.c: In function ‘PetscErrorCode DMComplexGenerate_CTetgen(DM, PetscBool, _p_DM**)’:<br>
/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**)’<br>/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**)’<br>
/home/user/Desktop/LIBRARIES/petsc-dev/src/dm/impls/complex/complex.c: In function ‘PetscErrorCode DMComplexRefine_CTetgen(DM, PetscReal*, _p_DM**)’:<br>/home/user/Desktop/LIBRARIES/petsc-dev/src/dm/impls/complex/complex.c:4729:18: warning: unused variable ‘mesh’ [-Wunused-variable]<br>
[ 65%] Building CXX object CMakeFiles/petsc.dir/src/dm/impls/complex/complexvtk.c.o<br>make[4]: *** [CMakeFiles/petsc.dir/src/dm/impls/complex/complex.c.o] Error 1<br>make[4]: *** Waiting for unfinished jobs....<br>make[3]: *** [CMakeFiles/petsc.dir/all] Error 2<br>
make[2]: *** [all] Error 2<br>make[1]: *** [cmake] Error 2<br>********************************************************************<br> Error during compile, check arch-linux2-cxx-debug/conf/make.log<br> Send it and arch-linux2-cxx-debug/conf/configure.log to <a href="mailto:petsc-maint@mcs.anl.gov" target="_blank">petsc-maint@mcs.anl.gov</a><br>
********************************************************************<br>make: *** [all] Error 1<br><br>I've sent my make.log and configure.log files to <a href="mailto:petsc-maint@mcs.anl.gov" target="_blank">petsc-maint@mcs.anl.gov</a> as requested.<br>
<br>-- <br>Chris Eldred<br>DOE Computational Science Graduate Fellow<br>Graduate Student, Atmospheric Science, Colorado State University<br>B.S. Applied Computational Physics, Carnegie Mellon University, 2009<br><a href="mailto:chris.eldred@gmail.com" target="_blank">chris.eldred@gmail.com</a><br>