24小时热门版块排行榜    

北京石油化工学院2026年研究生招生接收调剂公告
查看: 1664  |  回复: 3
当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖

1357246

铁杆木虫 (职业作家)

壮士

[交流] 【求助】linux下lapack库编译测试错误 已有3人参与

这是我的验证错误提示
make[2]: Leaving directory `/home/dengk001/lapack/LAPACK/TIMING/LIN'
Timing square REAL LAPACK linear equation routines
xlintims < stime.in > stime.out 2>&1
make[1]: *** [stime.out] 错误 127
make[1]: Leaving directory `/home/dengk001/lapack/LAPACK/TIMING'
make: *** [timing] 错误 2

-----------------------------------------------------------------------------

下面是make.inc文件信息
####################################################################
#  LAPACK make include file.                                       #
#  LAPACK, Version 3.0                                             #
#  June 30, 1999                                                  #
####################################################################
#
SHELL = /bin/sh
#
#  The machine (platform) identifier to append to the library names
#
PLAT = _LINUX
#  
#  Modify the FORTRAN and OPTS definitions to refer to the
#  compiler and desired compiler options for your machine.  NOOPT
#  refers to the compiler options desired when NO OPTIMIZATION is
#  selected.  Define LOADER and LOADOPTS to refer to the loader and
#  desired load options for your machine.
#
FORTRAN  = ifort
#OPTS     = -O4 -u -f -mt
#OPTS     = -u -f -dalign -native -xO5 -xarch=v8plusa
#OPTS     = -u -f -dalign -native -xO5 -xarch=v8plusa
OPTS      = -O3  
DRVOPTS  = $(OPTS)
#NOOPT    = -u -f
NOOPT     =-O0
#NOOPT    = -u -f -mt
LOADER   = ifort
#LOADOPTS = -mt
LOADPTS   =
#LOADOPTS = -f -dalign -native -xO5 -xarch=v8plusa
#
#  The archiver and the flag(s) to use when building archive (library)
#  If you system has no ranlib, set RANLIB = echo.
#
ARCH     = ar
ARCHFLAGS= cr
RANLIB   = ranlib
#
#  The location of the libraries to which you will link.  (The
#  machine-specific, optimized BLAS library should be used whenever
#  possible.)
#
BLASLIB      = ../../blas$(PLAT).a
#BLASLIB     = -xlic_lib=sunperf_mt
#BLASLIB     = -xlic_lib=sunperf
LAPACKLIB    = lapack$(PLAT).a
TMGLIB       = tmglib$(PLAT).a
EIGSRCLIB    = eigsrc$(PLAT).a
LINSRCLIB    = linsrc$(PLAT).a
----------------------------------------------------------------------------

下面是我的Makefile文件信息
#
#  Top Level Makefile for LAPACK
#  Version 3.0
#  June 30, 1999
#

include make.inc

all: install lib testing blas_testing timing blas_timing

#lib: lapacklib tmglib
lib: blaslib lapacklib tmglib

clean: cleanlib cleantesting cleantiming

install:
    ( cd INSTALL; $(MAKE); ./testlsame; ./testslamch; \
      ./testdlamch; ./testsecond; ./testdsecnd; \
      cp lsame.f ../BLAS/SRC/; cp lsame.f ../SRC; \
      cp slamch.f ../SRC/; cp dlamch.f ../SRC/; \
      cp second.f ../SRC/; cp dsecnd.f ../SRC/ )

blaslib:
    ( cd BLAS/SRC; $(MAKE) )

lapacklib:
    ( cd SRC; $(MAKE) )

tmglib:
    ( cd TESTING/MATGEN; $(MAKE) )

testing:
    ( cd TESTING ; $(MAKE) )

blas_testing:
    ( cd BLAS/TESTING; $(MAKE) -f Makeblat1 )
    ( cd BLAS; ./xblat1s > sblat1.out; \
               ./xblat1d > dblat1.out; \
               ./xblat1c > cblat1.out; \
               ./xblat1z > zblat1.out )

    ( cd BLAS/TESTING; $(MAKE) -f Makeblat2 )
    ( cd BLAS; ./xblat2s < sblat2.in ; \
               ./xblat2d < dblat2.in ; \
               ./xblat2c < cblat2.in ; \
               ./xblat2z < zblat2.in )

    ( cd BLAS/TESTING; $(MAKE) -f Makeblat3 )
    ( cd BLAS; ./xblat3s < sblat3.in ; \
               ./xblat3d < dblat3.in ; \
               ./xblat3c < cblat3.in ; \
               ./xblat3z < zblat3.in )

timing:
    ( cd TIMING; $(MAKE) )

blas_timing:
    ( cd TIMING/LIN; $(MAKE) )
    ( cd TIMING; ./xlintims < sblasa.in > sblasa.out ; \
                 ./xlintims < sblasb.in > sblasb.out ; \
                 ./xlintims < sblasc.in > sblasc.out )
    ( cd TIMING; ./xlintimd < dblasa.in > dblasa.out ; \
                 ./xlintimd < dblasb.in > dblasb.out ; \
                 ./xlintimd < dblasc.in > dblasc.out )
    ( cd TIMING; ./xlintimc < cblasa.in > cblasa.out ; \
                 ./xlintimc < cblasb.in > cblasb.out ; \
                 ./xlintimc < cblasc.in > cblasc.out )
    ( cd TIMING; ./xlintimz < zblasa.in > zblasa.out ; \
                 ./xlintimz < zblasb.in > zblasb.out ; \
                 ./xlintimz < zblasc.in > zblasc.out )

cleanlib:
    ( cd INSTALL; $(MAKE) clean )
    ( cd BLAS/SRC; $(MAKE) clean )
    ( cd SRC; $(MAKE) clean )
    ( cd TESTING/MATGEN; $(MAKE) clean )

cleantesting:
    ( cd TESTING/LIN; $(MAKE) clean )
    ( cd TESTING/EIG; $(MAKE) clean )
    ( cd TESTING; rm xlin* xeig* )

cleantiming:
    ( cd TIMING/LIN; $(MAKE) clean )
    ( cd TIMING/LIN/LINSRC; $(MAKE) clean )
    ( cd TIMING/EIG; $(MAKE) clean )
    ( cd TIMING/EIG/EIGSRC; $(MAKE) clean )
    ( cd TIMING; rm xlin* xeig* )
------------------------------------------------------------------
我的主机信息:
Intel(R) Xeon(R) CPU           E5410  @ 2.33GHz stepping 0a
两个四核的CPU

Red Hat Enterprise Linux Server release 5.2 (Tikanga)

Linux node18 2.6.18-92.el5 #1 SMP Tue Apr 29 13:16:15 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux


------------------------------------------------------------------------------

盼高手解答一下啊!!不知道我给的信息够不够详细!

感谢再感谢

[ Last edited by 1357246 on 2010-6-11 at 21:28 ]
回复此楼

» 猜你喜欢

» 本主题相关价值贴推荐,对您同样有帮助:

✟耶稣爱你我也爱你✟【林前13:4-8】爱是恒久忍耐,又有恩慈。爱是不嫉妒。爱是不自夸。不张狂。不作害羞的事。不求自己的益处。不轻易发怒。不...
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

snoopyzhao

至尊木虫 (职业作家)

★ ★ ★ ★ ★ ★ ★ ★ ★ ★
余泽成(金币+10): 谢谢参与应助! 2011-09-26 21:39:49
为什么要自己编译?几乎所有的 Linux 系统中都有预编译好的可以用啊……
4楼2011-09-26 11:21:32
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
查看全部 4 个回答

zhoufcumt

金虫 (正式写手)


小木虫(金币+0.5):给个红包,谢谢回帖
引用回帖:
1楼: Originally posted by 1357246 at 2010-06-11 19:00:04:
这是我的验证错误提示
make[2]: Leaving directory `/home/dengk001/lapack/LAPACK/TIMING/LIN'
Timing square REAL LAPACK linear equation routines
xlintims < stime.in > stime.out 2>&1
ma ...

你这个问题搞定了没?
现在多吃苦是为了将来少吃苦~~
3楼2011-09-26 10:59:27
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
普通表情 高级回复 (可上传附件)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 307求调剂 +9 超级伊昂大王 2026-04-06 9/450 2026-04-07 10:20 by linyelide
[考研] 277求调剂 数一104分 +9 瓶子PZ 2026-04-05 13/650 2026-04-06 23:48 by 蓝云思雨
[考研] 材料调剂 +10 一样YWY 2026-04-06 10/500 2026-04-06 21:05 by lbsjt
[考研] 材料与化工363求推荐 +11 zh096 2026-04-04 11/550 2026-04-06 19:14 by guanxin1001
[考研] 085410人工智能 初试316分 求调剂 +7 残星拂曙 2026-03-31 7/350 2026-04-06 10:09 by 蓝云思雨
[考研] 材料调剂 +7 dxy调剂 2026-04-04 7/350 2026-04-05 09:15 by 陌秋26
[考研] +5 雾与海 2026-04-02 6/300 2026-04-04 19:53 by 蓝云思雨
[考研] 26调剂 086003 +6 失活的细胞 2026-04-04 6/300 2026-04-04 09:50 by zhangdingwa
[考研] 322求调剂 +6 FZAC123 2026-04-03 6/300 2026-04-03 22:23 by 科研小专家
[考研] 一志愿华中农业071010,总分320求调剂 +7 困困困困坤坤 2026-04-02 7/350 2026-04-03 17:26 by Yuena_Wang
[考研] 338求调剂 +7 晟功? 2026-04-03 7/350 2026-04-03 16:46 by wxiongid
[硕博家园] 求老师收留 +9 lllq123 2026-04-03 9/450 2026-04-03 13:48 by 呼吸都是减肥
[考研] 初试成绩337找调剂 +3 ??? ?. ? 2026-04-03 3/150 2026-04-03 11:43 by 土木硕士招生
[考研] 321求调剂 一志愿 浙江工业大学生物医药 +5 嘿嘿HC 2026-04-01 6/300 2026-04-02 15:23 by sophie2180
[考研] 材料工程322分 +8 哈哈哈吼吼吼哈 2026-04-01 8/400 2026-04-02 11:53 by 3041
[考研] 一志愿北交大材料工程,总分358 +4 cs0106 2026-04-01 4/200 2026-04-02 07:42 by 尚水阁主
[考研] 化学工程专硕324分,一志愿中国矿业大学求调剂 +7 耿耿1314 2026-04-01 7/350 2026-04-02 07:40 by 尚水阁主
[考研] 08工科275求调剂,可跨考。 +5 AaAa7420 2026-03-31 5/250 2026-04-01 15:21 by 159357hjz
[考研] 一志愿北交材料工程总分358 +5 cs0106 2026-04-01 7/350 2026-04-01 11:45 by wangjy2002
[考研] 一志愿西电085401数一英一299求调剂 六级521 +4 爱吃大鸭梨 2026-03-31 4/200 2026-03-31 11:51 by 搏击518
信息提示
请填处理意见