24小时热门版块排行榜    

查看: 1636  |  回复: 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的回帖

tjyl

金虫 (正式写手)

★ ★
小木虫(金币+0.5):给个红包,谢谢回帖交流
余泽成(金币+1):谢谢参与应助! 2010-06-12 11:51:01
你直接用MKL算了
2楼2010-06-11 23:13:01
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

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的回帖

snoopyzhao

至尊木虫 (职业作家)

★ ★ ★ ★ ★ ★ ★ ★ ★ ★
余泽成(金币+10): 谢谢参与应助! 2011-09-26 21:39:49
为什么要自己编译?几乎所有的 Linux 系统中都有预编译好的可以用啊……
4楼2011-09-26 11:21:32
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 1357246 的主题更新
普通表情 高级回复 (可上传附件)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 调剂 +8 调剂的考研学生 2026-03-09 8/400 2026-03-15 22:14 by Winj1e
[文学芳草园] 伙伴们,祝我生日快乐吧 +15 myrtle 2026-03-10 24/1200 2026-03-15 21:16 by 苏州_逗号
[考研] 中科院材料273求调剂 +3 yzydy 2026-03-15 3/150 2026-03-15 21:15 by ms629
[基金申请] 国自科面上基金字体 +4 iwuli 2026-03-12 5/250 2026-03-15 17:07 by 风云无泪
[考研] 289求调剂 +4 这么名字咋样 2026-03-14 6/300 2026-03-14 18:58 by userper
[考研] 267一志愿南京工业大学0817化工求调剂 +5 SUICHILD 2026-03-12 5/250 2026-03-14 14:53 by jean5056
[考研] 0703化学求调剂 +5 很老实人 2026-03-09 5/250 2026-03-14 02:57 by JourneyLucky
[考研] 一志愿郑大070303,338分,求调剂 +4 dadawaf 2026-03-10 5/250 2026-03-14 01:20 by lsw010101
[考研] 求材料调剂 085600英一数二总分302 前三科235 精通机器学习 一志愿哈工大 +4 林yaxin 2026-03-12 4/200 2026-03-13 22:04 by 星空星月
[考研] 0703化学一志愿211 总分320求调剂 +5 玛卡巴卡啊哈 2026-03-11 5/250 2026-03-13 21:40 by JourneyLucky
[考研] 工科,求调剂 +3 我887 2026-03-11 3/150 2026-03-13 21:39 by JourneyLucky
[考研] 求调剂 +5 一定有学上- 2026-03-12 5/250 2026-03-13 18:31 by ms629
[论文投稿] 投稿问题 5+4 星光灿烂xt 2026-03-12 6/300 2026-03-13 14:17 by god_tian
[考研] 26考研求调剂 +5 丶宏Sir 2026-03-13 5/250 2026-03-13 13:05 by JourneyLucky
[考研] 282分材料专业求调剂院校 +18 枫桥ZL 2026-03-09 25/1250 2026-03-13 10:47 by 白夜悠长
[考研] 材料专硕274一志愿陕西师范大学求调剂 +4 薛云鹏 2026-03-13 4/200 2026-03-13 10:40 by 学员8dgXkO
[考研] 工科0856专硕化学工程269能调剂吗 +10 我想读研11 2026-03-10 10/500 2026-03-13 10:14 by Yuyi.
[考博] 福州大学杨黄浩课题组招收2026年专业学位博士研究生,2026.03.20截止 +3 Xiangyu_ou 2026-03-12 3/150 2026-03-13 09:36 by duanwu655
[考研] 0857 资源与环境 285分 +6 未名考生 2026-03-09 6/300 2026-03-11 21:08 by 30660438
[考研] 083000环境科学与工程调剂 +8 mingmingry 2026-03-09 9/450 2026-03-11 10:23 by 沙漠之狐994
信息提示
请填处理意见