<div dir="ltr"><div style>It works for me.</div><div><br></div><div>$ make ex104 runex104 runex104_elemental runex104_elemental_2 </div><div>/opt/mpich/bin/mpicc -o ex104.o -c -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -fno-inline -O0 -fopenmp   -I/home/jed/petsc/include -I/home/jed/petsc/mpich/include -I/home/jed/usr/clique-mpich/include -I/usr/include -I/usr/cbind/include -I/usr/forbind/include -I/opt/mpich/include    -D__INSDIR__=src/mat/examples/tests/ ex104.c</div>
<div>/opt/mpich/bin/mpicc -fopenmp   -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -fno-inline -O0 -fopenmp  -o ex104 ex104.o -Wl,-rpath,/home/jed/petsc/mpich/lib -L/home/jed/petsc/mpich/lib -lpetscmat -lpetscvec -lpetscsys  -Wl,-rpath,/home/jed/petsc/mpich/lib -L/home/jed/petsc/mpich/lib -lspooles -Wl,-rpath,/home/jed/usr/clique-mpich/lib -L/home/jed/usr/clique-mpich/lib -lclique -lparmetis-addons -lmetis-addons -lelemental -lplcg -lpmrrr -lsuperlu_4.3 -lml -Wl,-rpath,/opt/mpich/lib -L/opt/mpich/lib -Wl,-rpath,/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2 -L/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2 -lmpichcxx -lstdc++ -lspai -lsundials_cvode -lsundials_nvecserial -lsundials_nvecparallel -lHYPRE -lmpichcxx -lstdc++ -lsuperlu_dist_3.2 -Wl,-rpath,/usr/lib -L/usr/lib -lcholmod -lamd -lcolamd -lcamd -lccolamd -lumfpack -lcholmod -lcamd -lccolamd -lcolamd -lamd -lsuitesparseconfig -llapack -lblas -ltriangle -lX11 -lpthread -lparmetis -lmetis -lchaco -lamspub -lexoIIv2for -lexoIIv2c -lnetcdf -lhdf5_fortran -lhdf5 -lhdf5hl_fortran -lhdf5_hl -lz -lm -lmpichf90 -lgfortran -lm -lgfortran -lm -lquadmath -lm -lmpichcxx -lstdc++ -ldl -lmpich -lopa -lmpl -lrt -lpthread -lgcc_s -ldl </div>
<div>/bin/rm -f ex104.o</div><div>$</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jan 15, 2013 at 4:30 PM, Barry Smith <span dir="ltr"><<a href="mailto:bsmith@mcs.anl.gov" target="_blank">bsmith@mcs.anl.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
  This example has been broken for a while, did it ever work?<br>
<br>
=========================================<br>
0a1,25<br>
> [0]PETSC ERROR: --------------------- Error Message ------------------------------------<br>
> [0]PETSC ERROR: Object is in wrong state!<br>
> [0]PETSC ERROR: C != D!<br>
> [0]PETSC ERROR: ------------------------------------------------------------------------<br>
> [0]PETSC ERROR: Petsc Development HG revision: 34c1b366b0f8fabca0e1f952a026363f6ea75443  HG Date: Fri Jan 11 14:02:35 2013 -0600<br>
> [0]PETSC ERROR: See docs/changes/index.html for recent updates.<br>
> [0]PETSC ERROR: See docs/faq.html for hints about trouble shooting.<br>
> [0]PETSC ERROR: See docs/index.html for manual pages.<br>
> [0]PETSC ERROR: ------------------------------------------------------------------------<br>
> [0]PETSC ERROR: ./ex104 on a arch-gnu named Barrys-MacBook-Pro.local by barrysmith Tue Jan 15 16:28:10 2013<br>
> [0]PETSC ERROR: Libraries linked from /Users/barrysmith/Src/petsc-dev/arch-gnu/lib<br>
> [0]PETSC ERROR: Configure run at Fri Jan 11 21:09:18 2013<br>
> [0]PETSC ERROR: Configure options --download-blacs --download-cmake --download-fftw --download-fiat --download-generator --download-hypre --download-libyaml --download-metis --download-ml --download-mpich --download-mumps --download-parmetis --download-ptscotch --download-scalapack --download-scientificpython --download-superlu --download-superlu_dist --download-triangle --download-yaml --with-afterimage --with-ams-dir=/Users/barrysmith/Src/ams-dev --with-java --with-openmp --with-pthreadclasses --with-server --with-shared-libraries PETSC_ARCH=arch-gnu --download-sowing<br>

> [0]PETSC ERROR: ------------------------------------------------------------------------<br>
> [0]PETSC ERROR: main() line 74 in src/mat/examples/tests/ex104.c<br>
> application called MPI_Abort(MPI_COMM_WORLD, 73) - process 0<br>
> [cli_0]: aborting job:<br>
> application called MPI_Abort(MPI_COMM_WORLD, 73) - process 0<br>
><br>
<br>
</blockquote></div><br></div>