| 查看: 1550 | 回復: 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] 錯誤 1 在make時 出現(xiàn)這個問題 我在lib里發(fā)現(xiàn)有l(wèi)ibmkl_scalapack_lp64.a 但為什么會出現(xià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 第一句你加一下,第二個的話其實最后一個-pthread不加沒什么的,你姑且加一下吧。 然后我要說的是你的openmpi是用ifort編譯的嗎? mpif90 -v 輸出是什么? |
金蟲 (初入文壇)
金蟲 (小有名氣)
|
暈,那么你的openmpi是用ifort編譯的嗎?? 這里給你找了一個文檔,你對照著在試一次吧 http://115.com/file/dnedhsiz# Siesta-TranSiesta-Smeagol-ATK安裝筆記.pdf 最好是刪除,重新解壓再編譯 |
|
改里面的為這個試試: 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ā)表 | |
|---|---|---|---|---|
|
[考研] 【求調劑】085601材料工程專碩 | 總分272 | +7 | 腳滑的守法公民 2026-03-27 | 7/350 |
|
|---|---|---|---|---|
|
[考研] 一志愿北京化工大學材料與化工(085600)296求調劑 +17 | 稻妻小編 2026-03-26 | 17/850 |
|
|
[考研] 085600 材料與化工 329分求調劑 +14 | Mr. Z 2026-03-25 | 14/700 |
|
|
[考研] 334分 一志愿武理 材料求調劑 +7 | 李李不服輸 2026-03-26 | 7/350 |
|
|
[考研] 291求調劑 +5 | Y-cap 2026-03-29 | 6/300 |
|
|
[考研] 求調劑一志愿武漢理工大學材料工程(085601) +7 | WW.' 2026-03-23 | 9/450 |
|
|
[考研] 求調劑,一志愿 南京航空航天大學 ,080500材料科學與工程學碩,總分289分 +7 | @taotao 2026-03-29 | 7/350 |
|
|
[考研] 0856材料化工調劑 總分330 +14 | zhubinhao 2026-03-27 | 14/700 |
|
|
[考研] 295求調劑 +4 | wei-5 2026-03-26 | 4/200 |
|
|
[考研] 332求調劑 +4 | @MZB382400 2026-03-28 | 4/200 |
|
|
[考研] 071000生物學求調劑,初試成績343 +7 | 小小甜面團 2026-03-25 | 7/350 |
|
|
[考研] 一志愿北化085600材料專碩275|有文章專利|求調劑 +7 | Micky11223 2026-03-25 | 7/350 |
|
|
[考研] 調劑 +3 | 好好讀書。 2026-03-28 | 3/150 |
|
|
[考研] 材料277求調劑 +7 | min3 2026-03-24 | 7/350 |
|
|
[考研] 085405 考的11408求各位老師帶走 +3 | Qiu學ing 2026-03-28 | 3/150 |
|
|
[考研] 330一志愿中國海洋大學 化學工程 085602 有讀博意愿 求調劑 +3 | wywy.. 2026-03-27 | 4/200 |
|
|
[考研] 285求調劑 +4 | AZMK 2026-03-27 | 7/350 |
|
|
[論文投稿] Journal of Mechanical Science and Technology +3 | Russ_ss 2026-03-25 | 5/250 |
|
|
[考研] 325求調劑 +5 | 李嘉圖·S·路 2026-03-23 | 5/250 |
|
|
[考研] 一志愿山東大學藥學學碩求調劑 +3 | 開開心心沒煩惱 2026-03-23 | 4/200 |
|