<div>Hi,</div>
<div> </div>
<div>Thanks alot!. It worked.</div>
<div><br><br> </div>
<div><span class="gmail_quote">On 3/5/07, <b class="gmail_sendername">Barry Smith</b> <<a href="mailto:bsmith@mcs.anl.gov">bsmith@mcs.anl.gov</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><br>Ben,<br><br> Sounds like you are using your own makefiles with your own list<br>of link libraries. Instead of removing the
mpich.lib from the linking<br>options you must replace it with the mpiuni library (which is a stub<br>library for one process) libmpiuni.lib<br><br>Barry<br><br>On Mon, 5 Mar 2007, Ben Tay wrote:<br><br>> Hi,<br>><br>
> I've managed to use PETSc in Compaq visual fortran using<br>> --download-blas-lapack=1 with mpi installed.<br>><br>> Now I tried to recompile PETSc with --with-mpi=0. I then tried to remove<br>> mpich.lib
from the linking options. compiling is ok but during linking, I<br>> got these error msg:<br>><br>><br>> linking...<br>> global.obj : error LNK2001: unresolved external symbol _MPI_DUP_FN<br>> petsc_sub.obj : error LNK2001: unresolved external symbol _MPI_DUP_FN
<br>> global.obj : error LNK2001: unresolved external symbol _MPI_NULL_DELETE_FN<br>> petsc_sub.obj : error LNK2001: unresolved external symbol<br>> _MPI_NULL_DELETE_FN<br>> global.obj : error LNK2001: unresolved external symbol _MPI_NULL_COPY_FN
<br>> petsc_sub.obj : error LNK2001: unresolved external symbol _MPI_NULL_COPY_FN<br>> libpetsc.lib(eventLog.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_TMP<br>> libpetsc.lib(dmouse.o) : error LNK2001: unresolved external symbol
<br>> _MPIUNI_TMP<br>> libpetsc.lib(petscvu.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_TMP<br>> libpetsc.lib(pdisplay.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_TMP<br>>
libpetsc.lib(fretrieve.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_TMP<br>> libpetsc.lib(mpiu.o) : error LNK2001: unresolved external symbol _MPIUNI_TMP<br>> libpetsc.lib(mpiuopen.o) : error LNK2001: unresolved external symbol
<br>> _MPIUNI_TMP<br>> libpetsc.lib(dtri.o) : error LNK2001: unresolved external symbol _MPIUNI_TMP<br>> libpetsc.lib(sseenabled.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_TMP<br>> libpetsc.lib
(random.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_TMP<br>> libpetsc.lib(axis.o) : error LNK2001: unresolved external symbol _MPIUNI_TMP<br>> libpetsc.lib(mtr.o) : error LNK2001: unresolved external symbol _MPIUNI_TMP
<br>> libpetsc.lib(sysio.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_TMP<br>> libpetsc.lib(psplit.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_TMP<br>> libpetsc.lib(mpimesg.o) : error LNK2001: unresolved external symbol
<br>> _MPIUNI_TMP<br>> libpetsc.lib(init.o) : error LNK2001: unresolved external symbol _MPIUNI_TMP<br>> libpetsc.lib(pbarrier.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_TMP<br>> libpetsc.lib
(tagm.o) : error LNK2001: unresolved external symbol _MPIUNI_TMP<br>> libpetsc.lib(dupl.o) : error LNK2001: unresolved external symbol _MPIUNI_TMP<br>> libpetsc.lib(draw.o) : error LNK2001: unresolved external symbol _MPIUNI_TMP
<br>> libpetsc.lib(options.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_TMP<br>> libpetsc.lib(dscatter.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_TMP<br>> libpetsc.lib(mprint.o
) : error LNK2001: unresolved external symbol<br>> _MPIUNI_TMP<br>> libpetsc.lib(view.o) : error LNK2001: unresolved external symbol _MPIUNI_TMP<br>> libpetsc.lib(verboseinfo.o) : error LNK2001: unresolved external symbol
<br>> _MPIUNI_TMP<br>> libpetsc.lib(plog.o) : error LNK2001: unresolved external symbol _MPIUNI_TMP<br>> libpetsc.lib(lg.o) : error LNK2001: unresolved external symbol _MPIUNI_TMP<br>> libpetsc.lib(binv.o) : error LNK2001: unresolved external symbol _MPIUNI_TMP
<br>> libpetsc.lib(drawv.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_TMP<br>> libpetsc.lib(pinit.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_TMP<br>> libpetsc.lib(filev.o) : error LNK2001: unresolved external symbol
<br>> _MPIUNI_TMP<br>> libpetscvec.lib(comb.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_TMP<br>> libpetscvec.lib(pf.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_TMP<br>> libpetsc.lib
(zstart.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_TMP<br>> libpetsc.lib(zutils.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_TMP<br>> libpetscvec.lib(vpscat.o) : error LNK2001: unresolved external symbol
<br>> _MPIUNI_TMP<br>> libpetscvec.lib(pdvec.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_TMP<br>> libpetscvec.lib(pvec2.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_TMP<br>>
libpetscvec.lib(shvec.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_TMP<br>> libpetscvec.lib(vecstash.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_TMP<br>> libpetscvec.lib(dlregisvec.o
) : error LNK2001: unresolved external symbol<br>> _MPIUNI_TMP<br>> libpetscvec.lib(dvec2.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_TMP<br>> libpetscvec.lib(vecio.o) : error LNK2001: unresolved external symbol
<br>> _MPIUNI_TMP<br>> libpetscvec.lib(isltog.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_TMP<br>> libpetscvec.lib(pmap.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_TMP<br>>
libpetscvec.lib(pbvec.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_TMP<br>> libpetscvec.lib(block.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_TMP<br>> libpetscvec.lib(index.o) : error LNK2001: unresolved external symbol
<br>> _MPIUNI_TMP<br>> libpetscvec.lib(general.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_TMP<br>> libpetscvec.lib(stride.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_TMP<br>
> libpetscvec.lib(iscomp.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_TMP<br>> libpetscvec.lib(vinv.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_TMP<br>> libpetscvec.lib(bvec2.o
) : error LNK2001: unresolved external symbol<br>> _MPIUNI_TMP<br>> libpetscvec.lib(vscat.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_TMP<br>> libpetscvec.lib(iscoloring.o) : error LNK2001: unresolved external symbol
<br>> _MPIUNI_TMP<br>> libpetscmat.lib(mmsbaij.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_TMP<br>> libpetscmat.lib(baijov.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_TMP<br>
> libpetscvec.lib(vector.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_TMP<br>> libpetscvec.lib(rvector.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_TMP<br>> libpetscmat.lib(mpibaij.o
) : error LNK2001: unresolved external symbol<br>> _MPIUNI_TMP<br>> libpetscmat.lib(aijtype.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_TMP<br>> libpetscmat.lib(maij.o) : error LNK2001: unresolved external symbol
<br>> _MPIUNI_TMP<br>> libpetscmat.lib(sbaijov.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_TMP<br>> libpetscmat.lib(bdiag.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_TMP<br>>
libpetscmat.lib(mpibdiag.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_TMP<br>> libpetscmat.lib(sbaij.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_TMP<br>> libpetscmat.lib(mpisbaij.o
) : error LNK2001: unresolved external symbol<br>> _MPIUNI_TMP<br>> libpetscmat.lib(partition.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_TMP<br>> libpetscmat.lib(fdmatrix.o) : error LNK2001: unresolved external symbol
<br>> _MPIUNI_TMP<br>> libpetscmat.lib(mscatter.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_TMP<br>> libpetscmat.lib(mpiadj.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_TMP<br>
> libpetscmat.lib(fdmpiaij.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_TMP<br>> libpetscmat.lib(mpiov.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_TMP<br>> libpetscmat.lib(mpicsrperm.o
) : error LNK2001: unresolved external symbol<br>> _MPIUNI_TMP<br>> libpetscmat.lib(mmdense.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_TMP<br>> libpetscmat.lib(baij.o) : error LNK2001: unresolved external symbol
<br>> _MPIUNI_TMP<br>> libpetscmat.lib(matstash.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_TMP<br>> libpetscmat.lib(mpiptap.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_TMP<br>
> libpetscmat.lib(mpimatmatmult.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_TMP<br>> libpetscmat.lib(mpiaij.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_TMP<br>> libpetscmat.lib
(dense.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_TMP<br>> libpetscmat.lib(mpidense.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_TMP<br>> libpetscmat.lib(aij.o) : error LNK2001: unresolved external symbol
<br>> _MPIUNI_TMP<br>> libpetscksp.lib(comm.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_TMP<br>> libpetscksp.lib(gs.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_TMP<br>> libpetscmat.lib
(matrix.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_TMP<br>> libpetscmat.lib(axpy.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_TMP<br>> libpetscksp.lib(mg.o) : error LNK2001: unresolved external symbol
<br>> _MPIUNI_TMP<br>> libpetscksp.lib(lu.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_TMP<br>> libpetscksp.lib(bjacobi.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_TMP<br>>
libpetscksp.lib(pbjacobi.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_TMP<br>> libpetscksp.lib(eige.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_TMP<br>> libpetscksp.lib(nn.o) : error LNK2001: unresolved external symbol
<br>> _MPIUNI_TMP<br>> libpetscksp.lib(redundant.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_TMP<br>> libpetscksp.lib(asm.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_TMP<br>>
libpetscksp.lib(itcreate.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_TMP<br>> libpetscksp.lib(xmon.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_TMP<br>> libpetscksp.lib(itfunc.o) : error LNK2001: unresolved external symbol
<br>> _MPIUNI_TMP<br>> libpetscksp.lib(precon.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_TMP<br>> libpetsc.lib(errstop.o) : error LNK2001: unresolved external symbol<br>> _Petsc_MPI_Abort<br>
> libpetsc.lib(fp.o) : error LNK2001: unresolved external symbol<br>> _Petsc_MPI_Abort<br>> libpetsc.lib(mtr.o) : error LNK2001: unresolved external symbol<br>> _Petsc_MPI_Abort<br>> libpetsc.lib(mpimesg.o) : error LNK2001: unresolved external symbol
<br>> _Petsc_MPI_Abort<br>> libpetsc.lib(mpiu.o) : error LNK2001: unresolved external symbol<br>> _Petsc_MPI_Abort<br>> libpetsc.lib(signal.o) : error LNK2001: unresolved external symbol<br>> _Petsc_MPI_Abort
<br>> libpetsc.lib(pinit.o) : error LNK2001: unresolved external symbol<br>> _Petsc_MPI_Abort<br>> libpetsc.lib(plog.o) : error LNK2001: unresolved external symbol<br>> _Petsc_MPI_Abort<br>> libpetsc.lib(mprint.o
) : error LNK2001: unresolved external symbol<br>> _Petsc_MPI_Abort<br>> libpetsc.lib(init.o) : error LNK2001: unresolved external symbol<br>> _Petsc_MPI_Abort<br>> libpetscvec.lib(pvec2.o) : error LNK2001: unresolved external symbol
<br>> _Petsc_MPI_Abort<br>> libpetscvec.lib(comb.o) : error LNK2001: unresolved external symbol<br>> _Petsc_MPI_Abort<br>> libpetsc.lib(zutils.o) : error LNK2001: unresolved external symbol<br>> _Petsc_MPI_Abort
<br>> libpetsc.lib(err.o) : error LNK2001: unresolved external symbol<br>> _Petsc_MPI_Abort<br>> libpetscvec.lib(vecstash.o) : error LNK2001: unresolved external symbol<br>> _Petsc_MPI_Abort<br>> libpetscvec.lib
(vecio.o) : error LNK2001: unresolved external symbol<br>> _Petsc_MPI_Abort<br>> libpetscvec.lib(vpscat.o) : error LNK2001: unresolved external symbol<br>> _Petsc_MPI_Abort<br>> libpetscvec.lib(pdvec.o) : error LNK2001: unresolved external symbol
<br>> _Petsc_MPI_Abort<br>> libpetscmat.lib(sbaijov.o) : error LNK2001: unresolved external symbol<br>> _Petsc_MPI_Abort<br>> libpetscmat.lib(baijov.o) : error LNK2001: unresolved external symbol<br>> _Petsc_MPI_Abort
<br>> libpetscvec.lib(iscoloring.o) : error LNK2001: unresolved external symbol<br>> _Petsc_MPI_Abort<br>> libpetscvec.lib(isltog.o) : error LNK2001: unresolved external symbol<br>> _Petsc_MPI_Abort<br>> libpetscmat.lib
(mmdense.o) : error LNK2001: unresolved external symbol<br>> _Petsc_MPI_Abort<br>> libpetscmat.lib(mpibdiag.o) : error LNK2001: unresolved external symbol<br>> _Petsc_MPI_Abort<br>> libpetscmat.lib(mpisbaij.o) : error LNK2001: unresolved external symbol
<br>> _Petsc_MPI_Abort<br>> libpetscmat.lib(mpibaij.o) : error LNK2001: unresolved external symbol<br>> _Petsc_MPI_Abort<br>> libpetscmat.lib(matstash.o) : error LNK2001: unresolved external symbol<br>> _Petsc_MPI_Abort
<br>> libpetscmat.lib(mpiptap.o) : error LNK2001: unresolved external symbol<br>> _Petsc_MPI_Abort<br>> libpetscmat.lib(mpimatmatmult.o) : error LNK2001: unresolved external symbol<br>> _Petsc_MPI_Abort<br>>
libpetscmat.lib(mpiov.o) : error LNK2001: unresolved external symbol<br>> _Petsc_MPI_Abort<br>> libpetscmat.lib(mpiaij.o) : error LNK2001: unresolved external symbol<br>> _Petsc_MPI_Abort<br>> libpetscmat.lib(
mpidense.o) : error LNK2001: unresolved external symbol<br>> _Petsc_MPI_Abort<br>> libpetscmat.lib(aij.o) : error LNK2001: unresolved external symbol<br>> _Petsc_MPI_Abort<br>> libpetscmat.lib(baij.o) : error LNK2001: unresolved external symbol
<br>> _Petsc_MPI_Abort<br>> libpetscksp.lib(nn.o) : error LNK2001: unresolved external symbol<br>> _Petsc_MPI_Abort<br>> libpetscksp.lib(error.o) : error LNK2001: unresolved external symbol<br>> _Petsc_MPI_Abort
<br>> libpetscksp.lib(comm.o) : error LNK2001: unresolved external symbol<br>> _Petsc_MPI_Abort<br>> libpetscksp.lib(gs.o) : error LNK2001: unresolved external symbol<br>> _Petsc_MPI_Abort<br>> libpetsc.lib
(mpimesg.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_Memcpy<br>> libpetsc.lib(sseenabled.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_Memcpy<br>> libpetsc.lib(fretrieve.o) : error LNK2001: unresolved external symbol
<br>> _MPIUNI_Memcpy<br>> libpetsc.lib(pinit.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_Memcpy<br>> libpetsc.lib(plog.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_Memcpy<br>>
libpetsc.lib(tagm.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_Memcpy<br>> libpetsc.lib(psplit.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_Memcpy<br>> libpetscvec.lib(vpscat.o) : error LNK2001: unresolved external symbol
<br>> _MPIUNI_Memcpy<br>> libpetscvec.lib(pdvec.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_Memcpy<br>> libpetscvec.lib(pvec2.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_Memcpy
<br>> libpetscvec.lib(comb.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_Memcpy<br>> libpetscvec.lib(pmap.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_Memcpy<br>> libpetscvec.lib
(pbvec.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_Memcpy<br>> libpetscvec.lib(block.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_Memcpy<br>> libpetscvec.lib(dvec2.o) : error LNK2001: unresolved external symbol
<br>> _MPIUNI_Memcpy<br>> libpetscvec.lib(general.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_Memcpy<br>> libpetscvec.lib(stride.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_Memcpy
<br>> libpetscvec.lib(iscomp.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_Memcpy<br>> libpetscvec.lib(isltog.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_Memcpy<br>> libpetscvec.lib
(rvector.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_Memcpy<br>> libpetscvec.lib(vinv.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_Memcpy<br>> libpetscvec.lib(vscat.o) : error LNK2001: unresolved external symbol
<br>> _MPIUNI_Memcpy<br>> libpetscvec.lib(iscoloring.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_Memcpy<br>> libpetscmat.lib(mpisbaij.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_Memcpy
<br>> libpetscmat.lib(mpibaij.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_Memcpy<br>> libpetscmat.lib(sbaijov.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_Memcpy<br>> libpetscmat.lib
(baijov.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_Memcpy<br>> libpetscmat.lib(mpiov.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_Memcpy<br>> libpetscmat.lib(mmdense.o) : error LNK2001: unresolved external symbol
<br>> _MPIUNI_Memcpy<br>> libpetscmat.lib(mpiadj.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_Memcpy<br>> libpetscmat.lib(mpibdiag.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_Memcpy
<br>> libpetscmat.lib(mpiaij.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_Memcpy<br>> libpetscmat.lib(mpidense.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_Memcpy<br>> libpetscmat.lib
(mpiptap.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_Memcpy<br>> libpetscmat.lib(fdmpiaij.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_Memcpy<br>> libpetscksp.lib(asm.o) : error LNK2001: unresolved external symbol
<br>> _MPIUNI_Memcpy<br>> libpetscksp.lib(bjacobi.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_Memcpy<br>> libpetscksp.lib(comm.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_Memcpy
<br>> libpetscksp.lib(gs.o) : error LNK2001: unresolved external symbol<br>> _MPIUNI_Memcpy<br>> libpetsc.lib(filev.o) : error LNK2001: unresolved external symbol<br>> _Petsc_MPI_Attr_put<br>> libpetsc.lib(
tagm.o) : error LNK2001: unresolved external symbol<br>> _Petsc_MPI_Attr_put<br>> libpetsc.lib(fretrieve.o) : error LNK2001: unresolved external symbol<br>> _Petsc_MPI_Attr_put<br>> libpetsc.lib(mpiu.o) : error LNK2001: unresolved external symbol
<br>> _Petsc_MPI_Attr_put<br>> libpetscvec.lib(comb.o) : error LNK2001: unresolved external symbol<br>> _Petsc_MPI_Attr_put<br>> libpetsc.lib(binv.o) : error LNK2001: unresolved external symbol<br>> _Petsc_MPI_Attr_put
<br>> libpetsc.lib(vcreatea.o) : error LNK2001: unresolved external symbol<br>> _Petsc_MPI_Attr_put<br>> libpetsc.lib(drawv.o) : error LNK2001: unresolved external symbol<br>> _Petsc_MPI_Attr_put<br>> libpetsc.lib
(filev.o) : error LNK2001: unresolved external symbol<br>> _Petsc_MPI_Attr_get<br>> libpetsc.lib(tagm.o) : error LNK2001: unresolved external symbol<br>> _Petsc_MPI_Attr_get<br>> libpetsc.lib(fretrieve.o) : error LNK2001: unresolved external symbol
<br>> _Petsc_MPI_Attr_get<br>> libpetsc.lib(mpiu.o) : error LNK2001: unresolved external symbol<br>> _Petsc_MPI_Attr_get<br>> libpetscvec.lib(comb.o) : error LNK2001: unresolved external symbol<br>> _Petsc_MPI_Attr_get
<br>> libpetsc.lib(binv.o) : error LNK2001: unresolved external symbol<br>> _Petsc_MPI_Attr_get<br>> libpetsc.lib(vcreatea.o) : error LNK2001: unresolved external symbol<br>> _Petsc_MPI_Attr_get<br>> libpetsc.lib
(drawv.o) : error LNK2001: unresolved external symbol<br>> _Petsc_MPI_Attr_get<br>> libpetsc.lib(filev.o) : error LNK2001: unresolved external symbol<br>> _Petsc_MPI_Keyval_create<br>> libpetsc.lib(tagm.o) : error LNK2001: unresolved external symbol
<br>> _Petsc_MPI_Keyval_create<br>> libpetsc.lib(fretrieve.o) : error LNK2001: unresolved external symbol<br>> _Petsc_MPI_Keyval_create<br>> libpetsc.lib(mpiu.o) : error LNK2001: unresolved external symbol<br>
> _Petsc_MPI_Keyval_create<br>> libpetscvec.lib(comb.o) : error LNK2001: unresolved external symbol<br>> _Petsc_MPI_Keyval_create<br>> libpetsc.lib(binv.o) : error LNK2001: unresolved external symbol<br>> _Petsc_MPI_Keyval_create
<br>> libpetsc.lib(vcreatea.o) : error LNK2001: unresolved external symbol<br>> _Petsc_MPI_Keyval_create<br>> libpetsc.lib(drawv.o) : error LNK2001: unresolved external symbol<br>> _Petsc_MPI_Keyval_create<br>
> libpetsc.lib(zstart.o) : error LNK2001: unresolved external symbol<br>> _MPI_INIT@4<br>> libpetsc.lib(zstart.o) : error LNK2001: unresolved external symbol<br>> _Petsc_MPI_Initialized<br>> libpetsc.lib(pinit.o
) : error LNK2001: unresolved external symbol<br>> _Petsc_MPI_Initialized<br>> libpetsc.lib(pinit.o) : error LNK2001: unresolved external symbol<br>> _Petsc_MPI_Finalize<br>> libpetsc.lib(init.o) : error LNK2001: unresolved external symbol
<br>> _Petsc_MPI_Finalize<br>> libpetsc.lib(adebug.o) : error LNK2001: unresolved external symbol<br>> _Petsc_MPI_Finalize<br>> libpetsc.lib(pinit.o) : error LNK2001: unresolved external symbol<br>> _Petsc_MPI_Comm_free
<br>> libpetsc.lib(tagm.o) : error LNK2001: unresolved external symbol<br>> _Petsc_MPI_Comm_free<br>> libpetsc.lib(mpiu.o) : error LNK2001: unresolved external symbol<br>> _Petsc_MPI_Comm_free<br>> libpetsc.lib
(pinit.o) : error LNK2001: unresolved external symbol<br>> _Petsc_MPI_Comm_dup<br>> libpetsc.lib(tagm.o) : error LNK2001: unresolved external symbol<br>> _Petsc_MPI_Comm_dup<br>> libpetsc.lib(mpiu.o) : error LNK2001: unresolved external symbol
<br>> _Petsc_MPI_Comm_dup<br>> libpetsc.lib(tagm.o) : error LNK2001: unresolved external symbol<br>> _Petsc_MPI_Attr_delete<br>> libpetsc.lib(mpiu.o) : error LNK2001: unresolved external symbol<br>> _Petsc_MPI_Attr_delete
<br>> Debug/ns2d_c.exe : fatal error LNK1120: 15 unresolved externals<br>> Error executing link.exe.<br>><br>> ns2d_c.exe - 221 error(s), 0 warning(s)<br>><br>> How can I resolve these errors?<br>><br>
> Thank you.<br>><br><br></blockquote></div><br>