<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from rtf -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<font face="Calibri" size="2"><span style="font-size:11pt;">
<div>Hello, I successfully installed Petsc-dev on my cluster with the following configuration:</div>
<div><font face="Times New Roman"> </font></div>
<div>./configure --with-scalar-type=complex --with-clanguage=C++ --download-f-blas-lapack PETSC_ARCH=arch-complex --with-fortran-kernels=generic --download-superlu_dist --download-mumps --download-scalapack --download-parmetis --download-metis</div>
<div><font face="Times New Roman"> </font></div>
<div>The PETSc libraries were built correctly, and test examples were ran to verfy correct installation.</div>
<div><font face="Times New Roman"> </font></div>
<div>However, when I got to run the example in /Petsc-dev/src/ts/examples/tutorials/ex17.c, I got compilation an error as below:</div>
<div> </div>
<div><font color="red">[d3m956@philo tutorials]$ make ex17</font></div>
<div><font color="red">mpicxx -o ex17.o -c -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g -fPIC -I/pic/projects/ds/Powertech_Labs/petsc-dev.6.06.13/include -I/pic/projects/ds/Powertech_Labs/petsc-dev.6.06.13/arch-complex/include -I/share/apps/openmpi/1.6.5/gcc/4.6.2/include
-D__INSDIR__=src/ts/examples/tutorials/ ex17.c</font></div>
<div><font color="red">/pic/projects/ds/Powertech_Labs/petsc-dev.6.06.13/include/petscsnes.h(585): error: invalid argument to attribute "deprecated"</font></div>
<div><font color="red"> PETSC_DEPRECATED("Use SNESGetLineSearch()") PETSC_STATIC_INLINE PetscErrorCode SNESGetSNESLineSearch(SNES snes,SNESLineSearch *ls) {return SNESGetLineSearch(snes,ls);}</font></div>
<div><font color="red"> ^</font></div>
<div><font color="red"> </font></div>
<div><font color="red">/pic/projects/ds/Powertech_Labs/petsc-dev.6.06.13/include/petscsnes.h(586): error: invalid argument to attribute "deprecated"</font></div>
<div><font color="red"> PETSC_DEPRECATED("Use SNESSetLineSearch()") PETSC_STATIC_INLINE PetscErrorCode SNESSetSNESLineSearch(SNES snes,SNESLineSearch ls) {return SNESSetLineSearch(snes,ls);}</font></div>
<div><font color="red"> ^</font></div>
<div><font color="red"> </font></div>
<div><font color="red">compilation aborted for ex17.c (code 2)</font></div>
<div><font color="red">make: *** [ex17.o] Error 2</font></div>
<div><font face="Times New Roman"> </font></div>
<div>Can anyone tell me how to fix it?</div>
<div> </div>
<div>Thanks,</div>
<div>Shuangshuang</div>
<div> </div>
<div><font face="Times New Roman"> </font></div>
<div><font face="Times New Roman"> </font></div>
</span></font>
</body>
</html>