24小时热门版块排行榜    

北京石油化工学院2026年研究生招生接收调剂公告
查看: 931  |  回复: 6

田山东

新虫


[交流] arpack96.tar.Z和arpack96.tar.gz有何区别

Compressed tar file of distribution ( arpack96.tar.Z) and patch (patch.tar.Z)
GNU zipped tar file of distribution ( arpack96.tar.gz) and patch (patch.tar.gz)

这两个文件有哦什么区别?GNU是干嘛的?我的系统是
Linux version 2.6.37.1-1.2-desktop (geeko@buildhost) (gcc version 4.5.1 20101208 [gcc-4_5-branch revision 167585] (SUSE Linux) ) #1 SMP PREEMPT
应该用arpack96.tar.Z吧?
正在细细摸索,已经装好lapack了。正在摸索arpack,感觉就那么几个语句,背会了,怎么还是不行呢?
而且lib路径也调整了,调整到我安装的liblapack下面了

###########################################################################
#
#  Program:         ARPACK
#
#  Module:          ARmake.inc
#
#  Purpose:         Top-level Definitions
#
#  Creation date:   February 22, 1996
#
#  Modified:
#
#  Send bug reports, comments or suggestions to arpack@caam.rice.edu
#
############################################################################
#
# %---------------------------------%
# |  SECTION 1: PATHS AND LIBRARIES |
# %---------------------------------%
#
#
# %--------------------------------------%
# | You should change the definition of  |
# | home if ARPACK is built some place   |
# | other than your home directory.      |
# %--------------------------------------%
#
#home = $(HOME)/ARPACK
home = /home/tianhongyu/arpack/ARPACK
#
#  %--------------------------------------%
#  | The platform identifier to suffix to |
#  | the end of library names             |
#  %--------------------------------------%
#
PLAT = LINUX
#
#  %------------------------------------------------------%
#  | The directories to find the various pieces of ARPACK |
#  %------------------------------------------------------%
#
BLASdir      = /home/tianhongyu/arpack/ARPACK/BLAS
LAPACKdir    = /home/tianhongyu/arpack/ARPACK/LAPACK
UTILdir      = /home/tianhongyu/arpack/ARPACK/UTIL
SRCdir       = /home/tianhongyu/arpack/ARPACK/SRC
#
DIRS        = $(BLASdir) $(LAPACKdir) $(UTILdir) $(SRCdir)
#
# %-------------------------------------------------------------------%
# | Comment out the previous line and uncomment the following         |
# | if you already have the BLAS and LAPACK installed on your system. |
# | NOTE: ARPACK assumes the use of LAPACK version 2 codes.           |
# %-------------------------------------------------------------------%
#
#DIRS         = $(UTILdir) $(SRCdir)
#
# %---------------------------------------------------%
# | The name of the libraries to be created/linked to |
# %---------------------------------------------------%
#
ARPACKLIB  = /home/tianhongyu/arpack/libarpack_$(PLAT).a
LAPACKLIB =/home/tianhongyu/lapack/liblapack.a
BLASLIB = /home/tianhongyu/lapack/libblas.a
#
ALIBS =  $(ARPACKLIB) $(LAPACKLIB) $(BLASLIB)
#
#
# %---------------------------------------------------------%
# |                  SECTION 2: COMPILERS                   |
# |                                                         |
# | The following macros specify compilers, linker/loaders, |
# | the archiver, and their options.  You need to make sure |
# | these are correct for your system.                      |
# %---------------------------------------------------------%
#
#
# %------------------------------%
# | Make our own suffixes' list. |
# %------------------------------%
#
.SUFFIXES:
.SUFFIXES:        .f        .o
#
# %------------------%
# | Default command. |
# %------------------%
#
.DEFAULT:
        @$(ECHO) "Unknown target $@, try:  make help"
#
# %-------------------------------------------%
# |  Command to build .o files from .f files. |
# %-------------------------------------------%
#
.f.o:
        @$(ECHO) Making $@ from $<
        @$(FC) -c $(FFLAGS) $<
#
# %-----------------------------------------%
# | Various compilation programs and flags. |
# | You need to make sure these are correct |
# | for your system.                        |
# %-----------------------------------------%
#
FC      = gfortran
FFLAGS        = -O

LDFLAGS =
CD      = cd

ECHO    = echo

LN      = ln
LNFLAGS = -s

MAKE    = /usr/bin/make

RM      = rm
RMFLAGS = -f

SHELL   = /bin/sh
#
#  %----------------------------------------------------------------%
#  | The archiver and the flag(s) to use when building an archive   |
#  | (library).  Also the ranlib routine.  If your system has no    |
#  | ranlib, set RANLIB = touch.                                    |
#  %----------------------------------------------------------------%
#
AR = ar
ARFLAGS = rv
#RANLIB  = touch
RANLIB   = ranlib
#
# %----------------------------------%
# | This is the general help target. |
# %----------------------------------%
#
help:
        @$(ECHO) "usage: make ?"
回复此楼

» 猜你喜欢

» 抢金币啦!回帖就可以得到:

查看全部散金贴

已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

田山东

新虫


我一句话一句话的来吧:
2. Recent bug fixes are included in patch.tar.gz and ppatch.tar.gz
   (only needed if you are using PARPACK also.)  If you have not
   retrieved these files, please do so and place them in the
   directory right above the current directory.  (They should
   be in the same directory where arpack96.tar reside).
   Use uncompress or gunzip to unzip the tar files, and use 'tar -xvf '
   to unbundle these patches.  The source codes in these patches will
   overwrite those contained in arpack96.tar and parpack96.tar.
2楼2012-10-14 10:56:25
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

lurencyj

专家顾问

优秀!!有木有!!!优秀!!有木有!!!优秀!!有木有!!!优秀!!有木有!!!



田山东(金币+1): 谢谢参与
以前跟楼主说过,即使用了patch,程序还是有bug...

一个是数学函数longabs,...之类的,还有就是second.f里面的函数有bug,关于怎么修改,官方没有继续打补丁了。。。。
3楼2012-10-14 21:59:30
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

田山东(金币+1): 谢谢参与
只回答你标题中的问题

这两个文件内容上没有什么区别,只是打包方式的不同。.Z 用的是传统 Unix 中的 compress 压缩的,而 .gz 用的是 gzip 压缩的。

GNU 是 Gnu's Not Unix 和简称,至于它到底是什么,自己去  wikipedia 上看一下……
6楼2012-10-15 07:35:25
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
简单回复
gyfwon4楼
2012-10-14 22:28   回复  
田山东(金币+1): 谢谢参与
佐手.5楼
2012-10-14 22:46   回复  
田山东(金币+1): 谢谢参与
hxp28007楼
2012-10-15 08:36   回复  
田山东(金币+1): 谢谢参与
相关版块跳转 我要订阅楼主 田山东 的主题更新
普通表情 高级回复 (可上传附件)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 318求调剂,计算材料方向 +6 吸喵有害笙命 2026-04-01 7/350 2026-04-01 23:01 by 吸喵有害笙命
[考研] 085602化学工程268分蹲调剂 +8 月照花林。 2026-04-01 8/400 2026-04-01 22:08 by 无际的草原
[考研] 一志愿北京科技大学085601材料工程英一数二初试总分335求调剂 +5 双马尾痞老板2 2026-04-01 5/250 2026-04-01 22:05 by SZW_UJN
[考研] 303分 0807学硕求调剂 +3 TYC3632 2026-04-01 3/150 2026-04-01 19:24 by lwk2004
[考研] 265求调剂 +11 yelck 2026-04-01 12/600 2026-04-01 19:12 by 549790059
[考研] 调剂 +3 好好读书。 2026-04-01 3/150 2026-04-01 17:06 by zhouyuwinner
[考研] 311求调剂 +11 蓝月亮亮 2026-03-30 11/550 2026-04-01 16:33 by 七度不信任
[考研] 0703化学/290求调剂/本科经历丰富/工科也可 +14 丹青奶盖 2026-03-26 16/800 2026-04-01 15:58 by oooqiao
[考研] 一志愿南昌大学324求调剂 +7 hanamiko 2026-03-30 7/350 2026-04-01 13:22 by JourneyLucky
[考研] 301求调剂 +8 axibli 2026-04-01 8/400 2026-04-01 09:51 by 我的船我的海
[考研] 土木304求调剂 +3 兔突突突, 2026-03-31 3/150 2026-04-01 09:42 by JourneyLucky
[考研] 0805求调剂 +6 是水分 2026-03-31 6/300 2026-04-01 09:05 by oooqiao
[考研] 282求调剂 +6 呼吸都是减肥 2026-04-01 6/300 2026-04-01 08:58 by laoshidan
[考研] 085600材料与化工调剂 +16 kikiki7 2026-03-30 16/800 2026-03-31 10:03 by 氯化亚硝酰
[考研] 293分求调剂,外语为俄语 +5 加一一九 2026-03-31 5/250 2026-03-31 09:39 by zhshch
[考研] 福建理工大学材料学院先进合金团队招收考研调剂学生 +3 大华金商都 2026-03-30 4/200 2026-03-31 01:04 by 方英俊602
[考研] 304材料求调剂 +5 钟llll 2026-03-26 5/250 2026-03-30 19:37 by 源_2020
[考研] 0703化学321分求调剂 +10 三dd. 2026-03-30 11/550 2026-03-30 19:24 by markhwc
[考研] 279求调剂 +4 蝶舞轻绕 2026-03-29 4/200 2026-03-29 09:45 by laoshidan
[考研] 085600,专业课化工原理,321分求调剂 +5 大馋小子 2026-03-28 5/250 2026-03-29 08:56 by qingfeng258
信息提示
请填处理意见