| 查看: 1551 | 回復(fù): 11 | ||
zhangzhaojin金蟲 (初入文壇)
|
[求助]
siesta編譯
|
|
`FoX/FoX-config --libs --wcml` -L/home/hu/intel/mkl/10.0.2.018/lib/em64t -lmkl_scalapack_lp64 -L/home/hu/intel/mkl/10.0.2.018/lib/em64t -lmkl_blacs_openmpi_lp64 -L/home/hu/intel/mkl/10.0.2.018/lib/em64t -lmkl_sequential -lmkl_core -L/home/hu/intel/mkl/10.0.2.018/lib/em64t -lmkl_solver_lp64 -lmkl_intel_lp64 -lguide /home/hu/intel/mkl/10.0.2.018/lib/em64t/libmkl_scalapack_lp64.a: could not read symbols: File format not recognized make: *** [siesta] 錯(cuò)誤 1 在make時(shí) 出現(xiàn)這個(gè)問題 我在lib里發(fā)現(xiàn)有l(wèi)ibmkl_scalapack_lp64.a 但為什么會(huì)出現(xiàn)這種情況 請指點(diǎn) 謝謝 |
金蟲 (小有名氣)
|
誒,肯定是庫文件問題, 樓主貼一下arch.make文件出欄看看吧 |
金蟲 (初入文壇)
送鮮花一朵|
# # This file is part of the SIESTA package. # # Copyright (c) Fundacion General Universidad Autonoma de Madrid: # E.Artacho, J.Gale, A.Garcia, J.Junquera, P.Ordejon, D.Sanchez-Portal # and J.M.Soler, 1996- . # # Use of this software constitutes agreement with the full conditions # given in the SIESTA license, as signed by all legitimate users. # .SUFFIXES: .SUFFIXES: .f .F .o .a .f90 .F90 SIESTA_ARCH=Ifort(10.1.021)+MKL(10.0.2.018)+OpenMPI(1.2.6)@openSUSE-10.3_X86-64 FPP= FPP_OUTPUT= FC=mpif90 RANLIB=ranlib SYS=nag SP_KIND=4 DP_KIND=8 KINDS=$(SP_KIND) $(DP_KIND) FFLAGS= -O2 -i-static FFLAGS_DEBUG= -g LDFLAGS=-Vaxlib FPPFLAGS= -DFC_HAVE_FLUSH -DFC_HAVE_ABORT -DMPI ARFLAGS_EXTRA= FCFLAGS_fixed_f= FCFLAGS_free_f90= FPPFLAGS_fixed_F= FPPFLAGS_free_F90= BLAS_LIBS=-L/home/hu/intel/mkl/10.0.2.018/lib/em64t -lmkl_solver_lp64 -lmkl_intel_lp64 -lguide LAPACK_LIBS=-L/home/hu/intel/mkl/10.0.2.018/lib/em64t -lmkl_sequential -lmkl_core BLACS_LIBS=-L/home/hu/intel/mkl/10.0.2.018/lib/em64t -lmkl_blacs_openmpi_lp64 SCALAPACK_LIBS=-L/home/hu/intel/mkl/10.0.2.018/lib/em64t -lmkl_scalapack_lp64 COMP_LIBS= NETCDF_LIBS= NETCDF_INTERFACE= LIBS=$(SCALAPACK_LIBS) $(BLACS_LIBS) $(LAPACK_LIBS) $(BLAS_LIBS) $(NETCDF_LIBS) #SIESTA needs an F90 interface to MPI #This will give you SIESTA's own implementation #If your compiler vendor offers an alternative, you may change #to it here. MPI_INTERFACE= libmpi_f90.a MPI_INCLUDE=/home/hu/software/openmpi-1.2.6/include #Dependency rules are created by autoconf according to whether #discrete preprocessing is necessary or not. .F.o: $(FC) -c $(FFLAGS) $(INCFLAGS) $(FPPFLAGS) $(FPPFLAGS_fixed_F) $< .F90.o: $(FC) -c $(FFLAGS) $(INCFLAGS) $(FPPFLAGS) $(FPPFLAGS_free_F90) $< .f.o: $(FC) -c $(FFLAGS) $(INCFLAGS) $(FCFLAGS_fixed_f) $< .f90.o: $(FC) -c $(FFLAGS) $(INCFLAGS) $(FCFLAGS_free_f90) $< |
金蟲 (小有名氣)
|
COMP_LIBS=dc_lapack.a liblapack.a libblas.a SCALAPACK_LIBS=-L/home/zhn/intel/mkl/10.1.0.015/lib/em64t -lmkl_scalapack_lp64 -pthread 第一句你加一下,第二個(gè)的話其實(shí)最后一個(gè)-pthread不加沒什么的,你姑且加一下吧。 然后我要說的是你的openmpi是用ifort編譯的嗎? mpif90 -v 輸出是什么? |
金蟲 (初入文壇)
金蟲 (小有名氣)
|
暈,那么你的openmpi是用ifort編譯的嗎?? 這里給你找了一個(gè)文檔,你對(duì)照著在試一次吧 http://115.com/file/dnedhsiz# Siesta-TranSiesta-Smeagol-ATK安裝筆記.pdf 最好是刪除,重新解壓再編譯 |
鐵桿木蟲 (著名寫手)
|
改里面的為這個(gè)試試: BLAS_LIBS=-L/home/hu/intel/mkl/10.0.2.018/lib/em64t -lmkl_solver_lp64 -lmkl_intel_lp64 -lmkl_blacs_openmpi_lp64 -lguide -pthread LAPACK_LIBS=-L/home/hu/intel/mkl/10.0.2.018/lib/em64t -lmkl_sequential -lmkl_core SCALAPACK_LIBS=-L/home/hu/intel/mkl/10.0.2.018/lib/em64t -lmkl_scalapack_lp64 |

金蟲 (初入文壇)
金蟲 (初入文壇)
金蟲 (小有名氣)
|
暈,沒道理啊。 你把mkl庫重新安裝一下試一試? 或者自己下載庫自己編譯庫文件試一試? 這些庫都比較容易編譯的啦。 http://www.gaoyang168.com/bbs/viewthread.php?tid=2420318&fpage=1 這里有喔,可以試一試 |
| 最具人氣熱帖推薦 [查看全部] | 作者 | 回/看 | 最后發(fā)表 | |
|---|---|---|---|---|
|
[考研] 材料專碩調(diào)劑 +9 | 椰椰。 2026-03-29 | 9/450 |
|
|---|---|---|---|---|
|
[考研] 求化學(xué)調(diào)劑 +11 | wulanna 2026-03-28 | 11/550 |
|
|
[考研] 332求調(diào)劑 +6 | Lyy930824@ 2026-03-29 | 6/300 |
|
|
[考研] 277跪求調(diào)劑 +6 | 1915668 2026-03-27 | 10/500 |
|
|
[考研] 343求調(diào)劑 +6 | 愛羈絆 2026-03-29 | 6/300 |
|
|
[考研] 本科雙非材料,跨考一志愿華電085801電氣,283求調(diào)劑,任何專業(yè)都可以 +6 | 芝士雪baoo 2026-03-28 | 8/400 |
|
|
[考研] 生物學(xué)學(xué)碩,一志愿湖南大學(xué),初試成績338 +6 | YYYYYNNNNN 2026-03-26 | 7/350 |
|
|
[考研] 394求調(diào)劑 +3 | 好事多磨靜候佳?/a> 2026-03-26 | 5/250 |
|
|
[考研] 291求調(diào)劑 +15 | hhhhxn.. 2026-03-23 | 21/1050 |
|
|
[考研] 張芳銘-中國農(nóng)業(yè)大學(xué)-環(huán)境工程專碩-298 +4 | 手機(jī)用戶 2026-03-26 | 4/200 |
|
|
[考研] 340求調(diào)劑 +5 | jhx777 2026-03-27 | 5/250 |
|
|
[考研] 279 分 求調(diào)劑 +4 | 睡個(gè)好覺_16 2026-03-24 | 4/200 |
|
|
[考研] 085600,材料與化工321分調(diào)劑 +4 | 大饞小子 2026-03-27 | 6/300 |
|
|
[考研] 305求調(diào)劑 +5 | 哇盧卡庫 2026-03-26 | 5/250 |
|
|
[考研] 求調(diào)劑 +6 | 林之夕 2026-03-24 | 6/300 |
|
|
[考研] 生物學(xué) 296 求調(diào)劑 +4 | 朵朵- 2026-03-26 | 6/300 |
|
|
[考研] 26考研-291分-廈門大學(xué)(085601)-柔性電子學(xué)院材料工程專業(yè)求調(diào)劑 +3 | min3 2026-03-24 | 4/200 |
|
|
[考研] 285求調(diào)劑 +3 | AZMK 2026-03-24 | 3/150 |
|
|
[考研] 材料調(diào)劑 +3 | iwinso 2026-03-23 | 3/150 |
|
|
[考研] 292求調(diào)劑 +4 | 鵝鵝鵝額額額額?/a> 2026-03-24 | 4/200 |
|