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: "__SDIR__" redefined<br>
<command line>:1:1: warning: this is the location of the previous definition<br>.<br>.<br>.<br>.<br>I never defined the "__SDIR__" and I do not know why it said I redefined "__SDIR__".<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>