找回密码
 注册
查看: 5215|回复: 2

运用ScaLAPACK库函数调试出错

[复制链接]
发表于 2007-1-13 23:09:53 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

x
[这个贴子最后由firedragon在 2007/01/14 00:19am 第 2 次编辑]

本人刚学习并行计算技术,想试验一下用Intel核心数学库来并行线性方程组,看看效率如何,先在普通的PC机上看是否编译通过。
使用的环境如下:
硬件平台:单机PC
编译器:Intel.Visual.Fortran.Compiler.9.1 for WINDOWS,
程序开发环境:with Microsoft* Visual C++ 6.0;
Intel核心数学库:Intel.Math.Kernel.Library.Cluster.Edition.for.Windows.
调试的例子:example1.f (http://www.netlib.org/scalapack/examples/)
程序编译报错见下面,有经验的朋友请于提示,谢谢!

--------------------Configuration: scatest - Win32 Debug--------------------
</h3>
<h3>Command Lines</h3>
Creating temporary file "C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\RSP81E.tmp" with contents
[
kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib
odbc32.lib odbccp32.lib /nologo /subsystem:console /incremental:yes /pdb:"Debug/scatest.pdb" /debug /machine:I386
/out:"Debug/scatest.exe" /pdbtype:sept
".\Debug\scatest.obj"
]
Creating command line "link.exe @C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\RSP81E.tmp"
<h3>Output Window</h3>
Linking...
scatest.obj : error LNK2001: unresolved external symbol _BLACS_GRIDINFO@20
scatest.obj : error LNK2001: unresolved external symbol _DESCINIT@40
scatest.obj : error LNK2001: unresolved external symbol _PDLACPY@48
scatest.obj : error LNK2001: unresolved external symbol _PDGESV@48
scatest.obj : error LNK2001: unresolved external symbol _PDLAMCH@12
scatest.obj : error LNK2001: unresolved external symbol _PDLANGE@36
scatest.obj : error LNK2001: unresolved external symbol _PDGEMM@84
scatest.obj : error LNK2001: unresolved external symbol _BLACS_GRIDEXIT@4
scatest.obj : error LNK2001: unresolved external symbol _BLACS_EXIT@4
scatest.obj : error LNK2001: unresolved external symbol _BLACS_PINFO@8
scatest.obj : error LNK2001: unresolved external symbol _BLACS_SETUP@8
scatest.obj : error LNK2001: unresolved external symbol _BLACS_GET@12
scatest.obj : error LNK2001: unresolved external symbol _BLACS_GRIDINIT@20
Debug/scatest.exe : fatal error LNK1120: 13 unresolved externals
Error executing link.exe.

<h3>Results</h3>
scatest.exe - 14 error(s), 0 warning(s)
发表于 2007-3-14 13:28:40 | 显示全部楼层

运用ScaLAPACK库函数调试出错

错误提示说明Intel.Visual.Fortran.Compiler.9.1 for WINDOWS不包括需要用到的函数库,也就是SCALAPACK和BLACS。这两个函数库都是公开的,在LINUX下可以编译。
如果Intel.Visual.Fortran.Compiler.9.1 for WINDOWS没有关于使用SCALAPACK的专门案例,建议楼主不要缘木求鱼了。要学并行计算,还是在LINUX进行。还有,PC上要有一个以上CPU才可以谈并行的。
发表于 2007-4-25 21:53:38 | 显示全部楼层

运用ScaLAPACK库函数调试出错

下面引用由firedragon2007/01/13 11:09pm 发表的内容:
本人刚学习并行计算技术,想试验一下用Intel核心数学库来并行线性方程组,看看效率如何,先在普通的PC机上看是否编译通过。
使用的环境如下:
硬件平台:单机PC
编译器:Intel.Visual.Fortran.Compiler.9.1 for  ...
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表