所以我试图在WIEN2k中使用GotoBLAS2,在使用make之后,我发现GotoBLAS的构建是完整的(当然,make没有报错)。快速检查文件显示libgoto2_prescottp-r1.13.a和libgoto2_prescottp-r1.13.so包含在目录/Research/GotoBLAS2中。然而,使用一个小的测试程序,仔细检查我的工作,我会遇到以下问题:这个链接到共享库有什么问题?
[email protected]:~/Research/Sr2YRuO6-110914$ gfortran Fit-4.2K-0T-110803test.f -L../GotoBLAS2 -lgoto2_prescottp-r1.13 -o Fit-4.2K-0T-110803test.x
[email protected]:~/Research/Sr2YRuO6-110914$ ./Fit-4.2K-0T-110803test.x
./Fit-4.2K-0T-110803test.x: error while loading shared libraries: libgoto2_prescottp-r1.13.so: cannot open shared object file: No such file or directory
我承认,我是相当陌生链接共享库,但据我可以告诉我的呼叫使用是适当的。任何人都可以帮忙吗?谢谢!
如果我的答案解决了您的问题,请“接受”答案。如果没有,请让我知道目前的问题是什么,我会尽力帮忙。 – acm 2012-02-24 14:49:25