<div class="gmail_quote">On Thu, Oct 27, 2011 at 12:34, Ping Rong <span dir="ltr">&lt;<a href="mailto:ping.rong@tuhh.de">ping.rong@tuhh.de</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hello all,<br>
<br>
I was trying to compile the PETSc-3.2-p4 with superlu_dist. The machine is running with Ubuntu 10.04, gcc 4.4.5 and cmake 2.8.5. the configuration looks like the following:<br>
./config/configure.py \<br>
--with-precision=double \<br>
--with-blas-lib=$LIBS_DIR/<u></u>lapack/lib/libblas.so \<br>
--with-lapack-lib=$LIBS_DIR/<u></u>lapack/lib/liblapack.so \<br>
--with-scalar-type=complex \<br>
--with-clanguage=c++ \<br>
--with-mpi-dir=$LIBS_DIR/<u></u>mpich2 \<br>
--download-superlu=yes \<br>
--with-superlu=1 \<br>
--download-parmetis=yes \<br>
--with-parmetis=1 \<br>
--download-superlu_dist=yes \<br>
--with-superlu_dist=1 \<br>
--with-debugging=no \<br>
--with-shared-libraries=1<br>
<br>
when I try to run &quot;make all&quot;, it throws the error<br>
//----------------------------<u></u>---<br>
[ 60%] Building CXX object CMakeFiles/petsc.dir/src/mat/<u></u>order/amd/amd.c.o<br>
/home/xxx/libs/petsc/src/mat/<u></u>impls/aij/mpi/superlu_dist/<u></u>superlu_dist.c: In function ‘PetscErrorCode MatGetFactor_aij_superlu_dist(<u></u>_p_Mat*, MatFactorType, _p_Mat**)’:<br>
/home/xxx/libs/petsc/src/mat/<u></u>impls/aij/mpi/superlu_dist/<u></u>superlu_dist.c:634: error: ‘DOUBLE’ was not declared in this scope<br>
/home/xxx/libs/petsc/src/mat/<u></u>impls/aij/mpi/superlu_dist/<u></u>superlu_dist.c: In function ‘PetscErrorCode MatFactorInfo_SuperLU_DIST(_p_<u></u>Mat*, _p_PetscViewer*)’:<br>
/home/xxx/libs/petsc/src/mat/<u></u>impls/aij/mpi/superlu_dist/<u></u>superlu_dist.c:698: error: ‘DOUBLE’ was not declared in this scope<br></blockquote><div><br></div><div>The SuperLU maintainer made an API-incompatible change to the released tarball.</div>
<div><br></div><div>Sherry, we talked about this last week and I thought you were going to make a SuperLU-4.3 release with the namespaced enum values?</div></div>