24小时热门版块排行榜    

Znn3bq.jpeg
北京石油化工学院2026年研究生招生接收调剂公告
查看: 1667  |  回复: 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的回帖
普通表情 高级回复 (可上传附件)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 一志愿吉大化学327求调剂 +9 王王白石 2026-04-06 10/500 2026-04-07 19:55 by macy2011
[考研] 化学调剂 +18 艾志恒 2026-04-03 19/950 2026-04-07 16:00 by 起飞的比熊1
[考研] 材料求调剂 +18 一样YWY 2026-04-05 18/900 2026-04-07 15:49 by dxlg
[考研] 353求调剂 +3 晴空万里air 2026-04-07 3/150 2026-04-07 11:10 by 诗与自由
[考研] 工科 22408 267求推荐 +4 wanwan00 2026-04-05 5/250 2026-04-06 22:47 by chenzhimin
[考研] 求调剂 +5 小沢 2026-04-03 5/250 2026-04-06 22:45 by 875465
[考研] 一志愿生物与医药,296分,求调剂 +11 66鹿 2026-04-03 13/650 2026-04-06 21:45 by 52305043001
[考研] 考研调剂 +3 Wwwwwww哇 2026-04-06 3/150 2026-04-06 20:55 by lbsjt
[考研] 化学调剂求助 +8 LULONG1 2026-04-03 8/400 2026-04-06 10:26 by dongzh2009
[考研] 296求调剂 +3 汪!?! 2026-04-05 4/200 2026-04-05 20:13 by 啵啵啵0119
[考研] 考研生物学考A区211,初试322,科目生化和生物综合,求调剂 +6 。。。54 2026-04-03 6/300 2026-04-05 14:54 by JOKER0401
[考研] 081200-11408-276学硕求调剂 +4 崔wj 2026-04-04 5/250 2026-04-05 14:06 by imissbao
[考研] 调剂 +3 好好读书。 2026-04-02 3/150 2026-04-05 13:02 by arrow8852
[考研] 材料调剂 +9 革微桂 2026-04-04 9/450 2026-04-05 08:27 by 544594351
[考研] 材料专硕322分 +11 哈哈哈吼吼吼哈 2026-04-02 11/550 2026-04-04 23:37 by 永字号
[考研] 化工求调剂 +11 荔香芝士椰奶 2026-04-03 11/550 2026-04-03 22:06 by 啵啵啵0119
[考研] 266求调剂 +3 08电气工程 2026-04-03 3/150 2026-04-03 14:05 by 1753564080
[考研] 一志愿北京交通大学材料工程总分358 +4 cs0106 2026-04-03 4/200 2026-04-03 13:41 by 百灵童888
[考研] 372分材料与化工(085600)一志愿湖南大学求调剂 +5 蓝笺片 2026-04-02 6/300 2026-04-02 21:37 by dongzh2009
[硕博家园] 考研调剂 +5 骆驼男人 2026-04-01 5/250 2026-04-01 14:28 by syjjj0321
信息提示
请填处理意见