<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> </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> </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 using the newest version of PETSc 2.3.3. I couldn't figure a way to fix this although I tried the solution suggested from PETSc troubleshooting guides by executing command >make BOPT=g fortran (which is confusing to me as in why there is a space in between and it didn't work). </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>As for the compilers, I used:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV>CC = gcc<BR>CXX = c++<BR>F90 = ifort<BR>F77 = ifort<BR>CPP = /lib/cpp<BR>FPP = /lib/cpp<BR>LD = c++<BR>AR = ar<BR>RANLIB = ranlib<BR>PERL = perl<BR></DIV>
<DIV><FONT face=Arial size=2>Does anyone know how can I fix this problem, I really appreciate your help.<FONT face="Times New Roman" size=3> </FONT> </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Best regards,</FONT></DIV>
<DIV><FONT face=Arial size=2>Tri.</FONT></DIV></BODY></HTML>