24小时热门版块排行榜    

查看: 1841  |  回复: 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时 出现这个问题 我在lib里发现有libmkl_scalapack_lp64.a 但为什么会出现这种情况 请指点 谢谢
回复此楼
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

zhangzhaojin

金虫 (初入文坛)

引用回帖:
7楼: Originally posted by 贺仪 at 2011-11-02 13:54:27:
改里面的为这个试试:

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.01 ...

我试了一下 还是一样的错误 但还是谢谢你啊
9楼2011-11-02 14:57:09
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
查看全部 12 个回答

hnuzhoulin

金虫 (小有名气)

【答案】应助回帖

★ ★ ★
franch(金币+3): 谢谢回帖交流 2011-10-31 20:59:54
诶,肯定是库文件问题,
楼主贴一下arch.make文件出栏看看吧

» 本帖已获得的红花(最新10朵)

2楼2011-10-31 14:12:23
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

zhangzhaojin

金虫 (初入文坛)

★ ★
送鲜花一朵
fzx2008(金币+2): 谢谢指教 2011-11-01 21:46:10
引用回帖:
2楼: Originally posted by hnuzhoulin at 2011-10-31 14:12:23:
诶,肯定是库文件问题,
楼主贴一下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)  $<
3楼2011-11-01 10:39:05
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

hnuzhoulin

金虫 (小有名气)

【答案】应助回帖


zhangzhaojin(金币+2): 2011-11-01 18:53:22
fzx2008(金币+1): 谢谢交流 2011-11-01 21:45:49
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 输出是什么?
4楼2011-11-01 13:14:47
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[基金申请] 今天务委会开完了,明天出结果吗 +7 angus9576 2026-08-25 7/350 2026-08-25 15:50 by Weed114114
[基金申请] 今日不放榜?网传国自然预计 8 月 27 日可查结果 +17 医学老男孩 2026-08-20 22/1100 2026-08-25 15:36 by 医学老男孩
[基金申请] 某些机构,以效率低为荣,以效率低作为存在感 +8 yuleib84 2026-08-25 9/450 2026-08-25 15:23 by Weed114114
[基金申请] 在坚冰还盖着北海的时候,我看到了怒放的梅花。 +4 ziyangfang 2026-08-25 6/300 2026-08-25 15:07 by huagongfeihu
[基金申请] 放榜前的不淡定 20+4 snowwithsea 2026-08-19 18/900 2026-08-25 14:50 by Weed114114
[基金申请] 没有任何消息-是不是就凉了 +9 图啦图啦 2026-08-24 10/500 2026-08-25 11:59 by 南海小哥
[基金申请] 人气不行了 +11 fansofjerry 2026-08-21 11/550 2026-08-25 11:04 by 孤独的英雄6
[教师之家] 导师吐槽:我怎么摊上了这么个极品研究生! +3 苏东坡二世 2026-08-23 3/150 2026-08-25 10:35 by shisan1313
[基金申请] 2026年的国家社科基金项目通讯评审的新规则与新动向、新挑战 +5 process2012 2026-08-23 7/350 2026-08-25 09:42 by huixian257
[基金申请] 我面上完蛋了 +13 且听虎啸 2026-08-20 14/700 2026-08-25 09:10 by mrkang
[基金申请] 明天应该可查了!? +5 chengyan1220 2026-08-23 5/250 2026-08-24 23:28 by 我4大白菜
[基金申请] 能否退出参与的面上项目解除限项 +21 koalala 2026-08-24 24/1200 2026-08-24 19:25 by 家与远方
[基金申请] 建议基金发布提前给出明确的时间点 +13 kulium 2026-08-21 16/800 2026-08-24 16:27 by superceng
[基金申请] 让我中一个面上吧! +13 大萍1987 2026-08-20 16/800 2026-08-24 10:23 by 太傻了
[教师之家] 跳槽后在研项目怎么办? +5 简单化xn 2026-08-22 10/500 2026-08-23 12:38 by 简单化xn
[基金申请] 今天放榜吗? +15 布布和一二 2026-08-19 16/800 2026-08-23 09:55 by 张春生
[基金申请] 时间戳今天,20号变了 +5 archvillain 2026-08-20 5/250 2026-08-22 06:12 by hui_daxiao
[基金申请] 看来今天不会放榜了? +8 chengyan1220 2026-08-21 11/550 2026-08-21 17:52 by dcqxinyang
[基金申请] 时间戳又变了 +13 wuchongjun 2026-08-20 19/950 2026-08-21 17:21 by 紫杉醇
[基金申请] 应该是下周三26日公布了吧? +4 哈哈蛤? 2026-08-21 4/200 2026-08-21 10:58 by Vivilian
信息提示
请填处理意见