Hi all,<br><br>I installed the Petsc 3.1 recently and when I tried to make my program using Petsc 3.1 it said:<br><br>In file included from /home/rlchen/soft/petsc-3.1-p4/include/petscsys.h:1467,<br>                 from /home/rlchen/soft/petsc-3.1-p4/include/petscis.h:7,<br>
                 from /home/rlchen/soft/petsc-3.1-p4/include/petscao.h:8,<br>                 from joab.h:87,<br>                 from joab.c:54:<br>/home/rlchen/soft/petsc-3.1-p4/include/petscerror.h:81:1: warning: &quot;__SDIR__&quot; redefined<br>
&lt;command line&gt;:1:1: warning: this is the location of the previous definition<br>.<br>.<br>.<br>.<br>I never defined the  &quot;__SDIR__&quot; and I do not know why it said I redefined  &quot;__SDIR__&quot;.<br>But I can run my program on Petsc 3.0.<br>
<br>Can anyone tell me how to fix this problem? Thank you!<br><br>Best,<br><br>Rongliang<br>