[petsc-users] Problem for PETSc 3.1

Rongliang Chen rongliang.chan at gmail.com
Thu Oct 28 18:23:27 CDT 2010


Hi all,

I installed the Petsc 3.1 recently and when I tried to make my program using
Petsc 3.1 it said:

In file included from
/home/rlchen/soft/petsc-3.1-p4/include/petscsys.h:1467,
                 from /home/rlchen/soft/petsc-3.1-p4/include/petscis.h:7,
                 from /home/rlchen/soft/petsc-3.1-p4/include/petscao.h:8,
                 from joab.h:87,
                 from joab.c:54:
/home/rlchen/soft/petsc-3.1-p4/include/petscerror.h:81:1: warning:
"__SDIR__" redefined
<command line>:1:1: warning: this is the location of the previous definition
.
.
.
.
I never defined the "__SDIR__" and I do not know why it said I redefined
"__SDIR__".
But I can run my program on Petsc 3.0.

Can anyone tell me how to fix this problem? Thank you!

Best,

Rongliang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20101028/aa4b20c7/attachment.htm>


More information about the petsc-users mailing list