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