<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3020" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=026164316-19012007><FONT face=Arial
size=2><STRONG>Hi,</STRONG></FONT></SPAN></DIV>
<DIV><SPAN class=026164316-19012007><FONT face=Arial
size=2><STRONG></STRONG></FONT></SPAN> </DIV>
<DIV><SPAN class=026164316-19012007><FONT face=Arial
size=2><STRONG> Ive installed the serial version of
petsc couple of months back sucessfully. I did it again just now on Itanium-64
with the compiler options</STRONG></FONT></SPAN></DIV>
<DIV><SPAN class=026164316-19012007><FONT face=Arial size=2><STRONG>mpi=0. Just
wondering, although libmpiuni.a is getting linked, i still get undefined ref to
MPI_Init()? Any clues ?</STRONG></FONT></SPAN></DIV>
<DIV><SPAN class=026164316-19012007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=026164316-19012007><FONT face=Arial size=2>gcc -c -Wall -g3
-I/home/pdominic/petsc-2.2.1
-I/home/pdominic/petsc-2.2.1/bmake/linux-gnu-ia64-intel
-I/home/pdominic/petsc-2.2.1/include -I/home/pdominic/petsc-2.2.1/include/mpiuni
-DPETSC_USE_BOPT_g -DPETSC_USE_EXTERN_CXX -D__SDIR__="src/ksp/examples/tests/"
ex2.c<BR></FONT></SPAN></DIV>
<DIV><SPAN class=026164316-19012007><FONT face=Arial size=2>gcc -Wall -g3
-Wl,-rpath,/home/pdominic/petsc-2.2.1/lib/libg/linux-gnu-ia64-intel -o ex2
ex2.o -L/home/pdominic/petsc-2.2.1/lib/libg/linux-gnu-ia64-intel
-lpetscksp -lpetscdm -lpetscmat -lpetscvec
-lpetsc
-L/usr/X11R6/lib
-lX11
-Wl,-rpath,/usr/lib -L/usr/lib -llapack -Wl,-rpath,/usr/lib -L/usr/lib -lblas
-Wl,-rpath,/usr/src/gcc-3.0.4-build2/lib/gcc-lib/ia64-unknown-linux/3.0.4
-L/usr/src/gcc-3.0.4-build2/lib/gcc-lib/ia64-unknown-linux/3.0.4 -lg2c
-L/home/pdominic/petsc-2.2.1/lib/libg/linux-gnu-ia64-intel -lmpiuni -ldl -ldl
-ldl -ldl -lm -lg2c -lm -L/usr/local/lib/gcc-lib/ia64-unknown-linux/3.0.4
-L/usr/local/lib/gcc-lib/ia64-unknown-linux/3.0.4/../../.. -lm<BR>ex2.o: In
function `main':</FONT></SPAN></DIV>
<DIV><SPAN class=026164316-19012007><FONT face=Arial
size=2><BR>/home/pdominic/petsc-2.2.1/src/ksp/examples/tests/ex2.c:31: undefined
reference to
`MPI_Init'<BR>/home/pdominic/petsc-2.2.1/src/ksp/examples/tests/ex2.c:33:
undefined reference to `MPI_Finalize'<BR>collect2: ld returned 1 exit
status<BR>make: [ex2] Error 1 (ignored)<BR>rm -f ex2.o<BR></FONT></SPAN></DIV>
<DIV><SPAN class=026164316-19012007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=026164316-19012007><FONT face=Arial
size=2>Regards,</FONT></SPAN></DIV>
<DIV><SPAN class=026164316-19012007><FONT face=Arial
size=2>Dominic</DIV></FONT></SPAN></BODY></HTML>