A problem on compiling a petsc code.

Yin Feng yfeng1 at tigers.lsu.edu
Tue Nov 10 21:53:52 CST 2009


When I compiled petsc code, I encourntered following error code.
the compiler is mpicc

/usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../lib64/crt1.o(.text+0x21):
In function `_start':
: undefined reference to `main'
collect2: ld returned 1 exit status

Thank you in advance!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20091110/c75e523c/attachment.htm>


More information about the petsc-users mailing list