<div>When I compiled petsc code, I encourntered following error code.</div>
<div>the compiler is mpicc</div>
<div> </div>
<div>/usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../lib64/crt1.o(.text+0x21): In function `_start':<br>: undefined reference to `main'<br>collect2: ld returned 1 exit status</div>
<div> </div>
<div>Thank you in advance!</div>