where to realize "petscsetcommonblock_" and "petscgetcommoncomm_"

Yujie recrusader at gmail.com
Tue Sep 22 15:14:48 CDT 2009

Hello, PETSc developer

I am trying to compile my codes. However, I got the following errors.
"Linking myproj-dbg...
/home/yujie/codes/petsc-3.0.0-p3/linux/lib/libpetsc.so: undefined reference
to `petscsetcommonblock_'
/home/yujie/codes/petsc-3.0.0-p3/linux/lib/libpetsc.so: undefined reference
to `petscgetcommoncomm_'
I can't find "petscsetcommonblock_" and "petscgetcommoncomm_". I have
checked libpetsc.so using nm commands as follows:
"00000000000c65a4 T petscsequentialphasebegin_
00000000000c6574 T petscsequentialphaseend_
                                U petscsetcommonblock_
0000000000032cb4 T petscsetdefaultdebugger_

00000000003dcba0 B petscfortran9_
00000000001441a2 T petscfprintf_
000000000013e2c8 T petscgetarchtype_
                             U petscgetcommoncomm_
0000000000052f18 T petscgetcputime_
000000000014761e T petscgetflops_
There is not the address linker for them. I can't find the realization for
these two functions in PETSc codes. Could you give me some advice?
CPU in my PC is x86_64bits. GCC is 4.2 version. Thanks a lot.

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

More information about the petsc-users mailing list