所以我試圖在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