Hi,
I am working on a project (with Fortran 90) that uses MUMPS and Scalapack in Windows. I use Visual Studio 2005, Intel Fortran compiler 9.1 and HP-MPI, but I got some link errors (attached at the end of the message) in a small test program. The libs that the program links to are: libhpmpi32.lib BLASd.lib BLACS_Cinitd.lib BLACS_Finitd.lib BLACSd.lib LAPACKd.lib SCALAPACKd.lib dmumps_c_mp.lib dmumps_fortran_mp.lib mumps_common_c_mp.lib pord_c_mp.lib; where BLASd.lib BLACS_Cinitd.lib BLACS_Finitd.lib BLACSd.lib LAPACKd.lib SCALAPACKd.lib are prebuilt win32 libs provided by http://icl.cs.utk.edu/lapack-for-window ... librairies. It looks that BLACSd.lib could not find the MPI subroutines. But I did link to HP-MPI lib ( libhpmpi32.lib), and specified the pathes to the libs and header files in the Visual Studio project settings.
Thanks a lot for any hints,
Qin
==== Link errors =============
BLACSd.lib(blacs_gridexit_.obj) : error LNK2019: unresolved external symbol _MPI_Comm_free referenced in function _BLACS_GRIDEXIT
BLACSd.lib(blacs_gridmap_.obj) : error LNK2019: unresolved external symbol _MPI_Type_contiguous referenced in function _BLACS_GRIDMAP
BLACSd.lib(blacs_gridmap_.obj) : error LNK2019: unresolved external symbol _MPI_Type_commit referenced in function _BLACS_GRIDMAP
BLACSd.lib(igamn2d_.obj) : error LNK2001: unresolved external symbol _MPI_Type_commit
BLACSd.lib(Cdgamx2d_.obj) : error LNK2001: unresolved external symbol _MPI_Type_commit
BLACSd.lib(BI_GetMpiGeType.obj) : error LNK2001: unresolved external symbol _MPI_Type_commit
BLACSd.lib(blacs_gridmap_.obj) : error LNK2019: unresolved external symbol _MPI_Comm_dup referenced in function _BLACS_GRIDMAP
BLACSd.lib(blacs_gridmap_.obj) : error LNK2019: unresolved external symbol _MPI_Comm_rank referenced in function _BLACS_GRIDMAP
BLACS_Cinitd.lib(Cblacs_pinfo_.obj) : error LNK2001: unresolved external symbol _MPI_Comm_rank
BLACSd.lib(blacs_gridmap_.obj) : error LNK2019: unresolved external symbol _MPI_Comm_split referenced in function _BLACS_GRIDMAP
BLACSd.lib(BI_BlacsAbort.obj) : error LNK2019: unresolved external symbol _MPI_Abort referenced in function _BI_BlacsAbort
BLACSd.lib(BI_TransUserComm.obj) : error LNK2019: unresolved external symbol _MPI_Comm_group referenced in function _BI_TransUserComm
BLACSd.lib(BI_TransUserComm.obj) : error LNK2019: unresolved external symbol _MPI_Group_incl referenced in function _BI_TransUserComm
BLACSd.lib(BI_TransUserComm.obj) : error LNK2019: unresolved external symbol _MPI_Comm_create referenced in function _BI_TransUserComm
BLACSd.lib(BI_TransUserComm.obj) : error LNK2019: unresolved external symbol _MPI_Group_free referenced in function _BI_TransUserComm
BLACSd.lib(Cblacs_get_.obj) : error LNK2019: unresolved external symbol _MPI_Attr_get referenced in function _Cblacs_get
BLACS_Cinitd.lib(Cblacs_pinfo_.obj) : error LNK2019: unresolved external symbol _MPI_Initialized referenced in function _Cblacs_pinfo
BLACS_Cinitd.lib(Cblacs_pinfo_.obj) : error LNK2019: unresolved external symbol _MPI_Comm_size referenced in function _Cblacs_pinfo
BLACSd.lib(igamn2d_.obj) : error LNK2019: unresolved external symbol _MPI_Type_struct referenced in function _IGAMN2D
BLACSd.lib(Cdgamx2d_.obj) : error LNK2001: unresolved external symbol _MPI_Type_struct
BLACSd.lib(igamn2d_.obj) : error LNK2019: unresolved external symbol _MPI_Op_create referenced in function _IGAMN2D
BLACSd.lib(Cdgamx2d_.obj) : error LNK2001: unresolved external symbol _MPI_Op_create
BLACSd.lib(igamn2d_.obj) : error LNK2019: unresolved external symbol _MPI_Reduce referenced in function _IGAMN2D
BLACSd.lib(Cdgamx2d_.obj) : error LNK2001: unresolved external symbol _MPI_Reduce
BLACSd.lib(Cdgsum2d_.obj) : error LNK2001: unresolved external symbol _MPI_Reduce
BLACSd.lib(igamn2d_.obj) : error LNK2019: unresolved external symbol _MPI_Allreduce referenced in function _IGAMN2D
=============

