<HTML dir=ltr><HEAD>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content="MSHTML 6.00.6000.16640" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial color=#000000 size=2>Dear all,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I don't know whether it is appropriate to raise this question here. I want to compile Cactus together with MPI (LAM) and PETSc and I've got problem when linking with the PETSc fortran interface library. I received the error like this:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV>/usr/bin/ld: cannot find -lpetscfortran<BR>collect2: ld returned 1 exit status<BR>gmake[1]: *** [/home/tri/CACTUS/Cactus/exe/cactus_singlepillar] Error 1<BR>gmake: *** [hello] Error 2<BR></DIV>
<DIV><FONT face=Arial size=2>I'm&nbsp;using the newest version of PETSc 2.3.3.&nbsp;I couldn't&nbsp;figure a way to fix this although I tried the solution suggested from&nbsp;PETSc troubleshooting guides by executing command&nbsp;&gt;make BOPT=g fortran (which is confusing to me as in why there is a space&nbsp;in&nbsp;between and&nbsp;it didn't work).&nbsp;</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>As for the compilers, I used:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV>CC&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = gcc<BR>CXX&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = c++<BR>F90&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = ifort<BR>F77&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = ifort<BR>CPP&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = /lib/cpp<BR>FPP&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = /lib/cpp<BR>LD&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = c++<BR>AR&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = ar<BR>RANLIB&nbsp;&nbsp;= ranlib<BR>PERL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = perl<BR></DIV>
<DIV><FONT face=Arial size=2>Does anyone know how&nbsp;can I fix this problem, I really appreciate your help.<FONT face="Times New Roman" size=3>&nbsp;</FONT>&nbsp;&nbsp;&nbsp;</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Best regards,</FONT></DIV>
<DIV><FONT face=Arial size=2>Tri.</FONT></DIV></BODY></HTML>