LAPACK Archives

[Lapack] BLACS linking errors

Hi,

Any idea on these errors ???

Thank you.
-Hiral
On Mon, Apr 11, 2011 at 6:32 PM, hi <hiralsmaillist@Domain.Removed> wrote:

Greetings !!!

While compiling BLACS and SCALAPACK with OpenMPI-1.5.2 (locally built) I am
observing following link errors.

It seems that BLACS_GET and other symbols didn't get generated, do I need
to comment or uncomment some source code based on the OpenMPI ???


   Output

Linking...
Link /OUT:"C:\SCALAPACK_1.8.0_for_Windows_VS\SCALAPACK 1.8.0 for 
Windows\BLACS_VSsolution\Visual Studio 
Solution\\..\Testing\EXE\BLACS_C_test.exe" /NOLOGO /LIBPATH:"C:\Program Files 
(x86)\MPICH2\lib" /LIBPATH:"C:\openmpi-1.5.2\installed_vs2008\lib" 
/MANIFEST:NO /DEBUG /PDB:"Debug/BLACS_C_test.pdb" /SUBSYSTEM:CONSOLE 
libmpi_cxxd.lib libmpi_f77d.lib libmpid.lib libopen-pald.lib libopen-rted.lib 
"Debug/btprim_MPI.obj" "Debug/tools.obj" "Debug/blacstest.obj" 
"c:\SCALAPACK_1.8.0_for_Windows_VS\SCALAPACK 1.8.0 for 
Windows\BLACS_VSsolution\lib\win32\BLACSd.lib" 
"c:\SCALAPACK_1.8.0_for_Windows_VS\SCALAPACK 1.8.0 for 
Windows\BLACS_VSsolution\lib\win32\BLACS_Cinitd.lib"
BLACSd.lib(bi_f77_get_constants.obj):warning : locally defined symbol 
__imp__MPIPRIV1 imported
BLACSd.lib(bi_f77_get_constants.obj):warning : locally defined symbol 
__imp__MPIPRIV2 imported
BLACSd.lib(bi_f77_get_constants.obj):warning : locally defined symbol 
__imp__MPIPRIVC imported
Link: executing 'link'
LINK : warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; 
use /NODEFAULTLIB:library
BLACSd.lib(bi_f77_get_constants.obj) : warning LNK4049: locally defined 
symbol _MPIPRIV1 imported
BLACSd.lib(bi_f77_get_constants.obj) : warning LNK4049: locally defined 
symbol _MPIPRIV2 imported
BLACSd.lib(bi_f77_get_constants.obj) : warning LNK4049: locally defined 
symbol _MPIPRIVC imported
blacstest.obj : error LNK2019: unresolved external symbol _BLACS_GET 
referenced in function _MAIN__
blacstest.obj : error LNK2019: unresolved external symbol _BLACS_GRIDINIT 
referenced in function _MAIN__
blacstest.obj : error LNK2019: unresolved external symbol _BLACS_GRIDEXIT 
referenced in function _MAIN__
blacstest.obj : error LNK2019: unresolved external symbol _BLACS_EXIT 
referenced in function _MAIN__
blacstest.obj : error LNK2019: unresolved external symbol _BLACS_SETUP 
referenced in function _RUNTESTS
blacstest.obj : error LNK2019: unresolved external symbol _BLACS_GRIDINFO 
referenced in function _MAKEGRIDS
blacstest.obj : error LNK2019: unresolved external symbol _BLACS_ABORT 
referenced in function _MAKEGRIDS
blacstest.obj : error LNK2019: unresolved external symbol _BLACS_PNUM 
referenced in function _AUXTEST
blacstest.obj : error LNK2019: unresolved external symbol _BLACS_PCOORD 
referenced in function _AUXTEST
blacstest.obj : error LNK2019: unresolved external symbol _IGSUM2D referenced 
in function _AUXTEST
blacstest.obj : error LNK2019: unresolved external symbol _BLACS_SET 
referenced in function _AUXTEST
blacstest.obj : error LNK2019: unresolved external symbol _DGSUM2D referenced 
in function _AUXTEST
blacstest.obj : error LNK2019: unresolved external symbol _DWALLTIME00 
referenced in function _AUXTEST
blacstest.obj : error LNK2019: unresolved external symbol _BLACS_GRIDMAP 
referenced in function _AUXTEST
blacstest.obj : error LNK2019: unresolved external symbol _IGERV2D referenced 
in function _AUXTEST
blacstest.obj : error LNK2019: unresolved external symbol _IGESD2D referenced 
in function _AUXTEST
blacstest.obj : error LNK2019: unresolved external symbol _BLACS_FREEBUFF 
referenced in function _AUXTEST
blacstest.obj : error LNK2019: unresolved external symbol _BLACS_BARRIER 
referenced in function _AUXTEST
blacstest.obj : error LNK2019: unresolved external symbol _ITRSD2D referenced 
in function _ISDRVTEST
blacstest.obj : error LNK2019: unresolved external symbol _ITRRV2D referenced 
in function _ISDRVTEST
blacstest.obj : error LNK2019: unresolved external symbol _STRSD2D referenced 
in function _SSDRVTEST
blacstest.obj : error LNK2019: unresolved external symbol _SGESD2D referenced 
in function _SSDRVTEST
blacstest.obj : error LNK2019: unresolved external symbol _STRRV2D referenced 
in function _SSDRVTEST
blacstest.obj : error LNK2019: unresolved external symbol _SGERV2D referenced 
in function _SSDRVTEST
blacstest.obj : error LNK2019: unresolved external symbol _DTRSD2D referenced 
in function _DSDRVTEST
blacstest.obj : error LNK2019: unresolved external symbol _DGESD2D referenced 
in function _DSDRVTEST
blacstest.obj : error LNK2019: unresolved external symbol _DTRRV2D referenced 
in function _DSDRVTEST
blacstest.obj : error LNK2019: unresolved external symbol _DGERV2D referenced 
in function _DSDRVTEST
blacstest.obj : error LNK2019: unresolved external symbol _CTRSD2D referenced 
in function _CSDRVTEST
blacstest.obj : error LNK2019: unresolved external symbol _CGESD2D referenced 
in function _CSDRVTEST
blacstest.obj : error LNK2019: unresolved external symbol _CTRRV2D referenced 
in function _CSDRVTEST
blacstest.obj : error LNK2019: unresolved external symbol _CGERV2D referenced 
in function _CSDRVTEST
blacstest.obj : error LNK2019: unresolved external symbol _ZTRSD2D referenced 
in function _ZSDRVTEST
blacstest.obj : error LNK2019: unresolved external symbol _ZGESD2D referenced 
in function _ZSDRVTEST
blacstest.obj : error LNK2019: unresolved external symbol _ZTRRV2D referenced 
in function _ZSDRVTEST
blacstest.obj : error LNK2019: unresolved external symbol _ZGERV2D referenced 
in function _ZSDRVTEST
blacstest.obj : error LNK2019: unresolved external symbol _ITRBS2D referenced 
in function _IBSBRTEST
blacstest.obj : error LNK2019: unresolved external symbol _IGEBS2D referenced 
in function _IBSBRTEST
blacstest.obj : error LNK2019: unresolved external symbol _ITRBR2D referenced 
in function _IBSBRTEST
blacstest.obj : error LNK2019: unresolved external symbol _IGEBR2D referenced 
in function _IBSBRTEST
blacstest.obj : error LNK2019: unresolved external symbol _STRBS2D referenced 
in function _SBSBRTEST
blacstest.obj : error LNK2019: unresolved external symbol _SGEBS2D referenced 
in function _SBSBRTEST
blacstest.obj : error LNK2019: unresolved external symbol _STRBR2D referenced 
in function _SBSBRTEST
blacstest.obj : error LNK2019: unresolved external symbol _SGEBR2D referenced 
in function _SBSBRTEST
blacstest.obj : error LNK2019: unresolved external symbol _DTRBS2D referenced 
in function _DBSBRTEST
blacstest.obj : error LNK2019: unresolved external symbol _DGEBS2D referenced 
in function _DBSBRTEST
blacstest.obj : error LNK2019: unresolved external symbol _DTRBR2D referenced 
in function _DBSBRTEST
blacstest.obj : error LNK2019: unresolved external symbol _DGEBR2D referenced 
in function _DBSBRTEST
blacstest.obj : error LNK2019: unresolved external symbol _CTRBS2D referenced 
in function _CBSBRTEST
blacstest.obj : error LNK2019: unresolved external symbol _CGEBS2D referenced 
in function _CBSBRTEST
blacstest.obj : error LNK2019: unresolved external symbol _CTRBR2D referenced 
in function _CBSBRTEST
blacstest.obj : error LNK2019: unresolved external symbol _CGEBR2D referenced 
in function _CBSBRTEST
blacstest.obj : error LNK2019: unresolved external symbol _ZTRBS2D referenced 
in function _ZBSBRTEST
blacstest.obj : error LNK2019: unresolved external symbol _ZGEBS2D referenced 
in function _ZBSBRTEST
blacstest.obj : error LNK2019: unresolved external symbol _ZTRBR2D referenced 
in function _ZBSBRTEST
blacstest.obj : error LNK2019: unresolved external symbol _ZGEBR2D referenced 
in function _ZBSBRTEST
blacstest.obj : error LNK2019: unresolved external symbol _SGSUM2D referenced 
in function _SSUMTEST
blacstest.obj : error LNK2019: unresolved external symbol _CGSUM2D referenced 
in function _CSUMTEST
blacstest.obj : error LNK2019: unresolved external symbol _ZGSUM2D referenced 
in function _ZSUMTEST
blacstest.obj : error LNK2019: unresolved external symbol _IGAMX2D referenced 
in function _IAMXTEST
blacstest.obj : error LNK2019: unresolved external symbol _SGAMX2D referenced 
in function _SAMXTEST
blacstest.obj : error LNK2019: unresolved external symbol _DGAMX2D referenced 
in function _DAMXTEST
blacstest.obj : error LNK2019: unresolved external symbol _CGAMX2D referenced 
in function _CAMXTEST
blacstest.obj : error LNK2019: unresolved external symbol _ZGAMX2D referenced 
in function _ZAMXTEST
blacstest.obj : error LNK2019: unresolved external symbol _IGAMN2D referenced 
in function _IAMNTEST
blacstest.obj : error LNK2019: unresolved external symbol _SGAMN2D referenced 
in function _SAMNTEST
blacstest.obj : error LNK2019: unresolved external symbol _DGAMN2D referenced 
in function _DAMNTEST
blacstest.obj : error LNK2019: unresolved external symbol _CGAMN2D referenced 
in function _CAMNTEST
blacstest.obj : error LNK2019: unresolved external symbol _ZGAMN2D referenced 
in function _ZAMNTEST
BLACS_Cinitd.lib(blacs_pinfo_.obj) : error LNK2001: unresolved external 
symbol _BI_Iam
BLACS_Cinitd.lib(blacs_pinfo_.obj) : error LNK2001: unresolved external 
symbol _ompi_mpi_comm_world
BLACS_Cinitd.lib(blacs_pinfo_.obj) : error LNK2001: unresolved external 
symbol _BI_Np
BLACS_Cinitd.lib(blacs_pinfo_.obj) : error LNK2001: unresolved external 
symbol _BI_F77_MPI_COMM_WORLD
C:\SCALAPACK_1.8.0_for_Windows_VS\SCALAPACK 1.8.0 for 
Windows\BLACS_VSsolution\Visual Studio 
Solution\\..\Testing\EXE\BLACS_C_test.exe : fatal error LNK1120: 73 
unresolved externals

BLACS_C_test - 74 error(s), 7 warning(s)



Thank you in advance.
-Hiral

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://lists.eecs.utk.edu/mailman/private/lapack/attachments/20110412/072ffb7b/attachment-0001.html
 

<Prev in Thread] Current Thread [Next in Thread>


For additional information you may use the LAPACK/ScaLAPACK Forum.
Or one of the mailing lists, or