| 查看: 1914 | 回復: 10 | |||
信任開花鐵桿木蟲 (知名作家)
|
[交流]
【求助成功】請教一下vasp4.6編譯lib得到libdmy.a出現(xiàn)如下信息對不? 已有3人參與
|
||
|
intel ifc +mkl+mpich2 這個能說明前面數據庫安裝正確不能? [root@lj vasp.4.lib]# make rm libdmy.a rm: cannot remove `libdmy.a': No such file or directory make: [libdmy.a] Error 1 (ignored) ar vq libdmy.a preclib.o timing_.o derrf_.o dclock_.o diolib.o dlexlib.o drdatab.o ar: creating libdmy.a a - preclib.o a - timing_.o a - derrf_.o a - dclock_.o a - diolib.o a - dlexlib.o a - drdatab.o [ Last edited by 信任開花 on 2010-7-27 at 11:03 ] |

鐵桿木蟲 (知名作家)
|
謝謝版主 剛才網上看到了兩處提到這個問題,應該是沒有問題 (1) http://cms.mpi.univie.ac.at/vasp-forum/forum_viewtopic.php?2.6654 fixed that with rm -f libdmy.a (2) http://bbs.zixia.net/boardcon.ph ... d=19479&ftype=6 Cannot access libdmy.a: No such file or directory *** Error code 2 (bu21) (ignored) ar vq libdmy.a preclib.o timing_.o derrf_.o dclock_.o diolib.o dlexlib.o drdatab.o ar: Warning: creating libdmy.a q - preclib.o q - timing_.o q - derrf_.o q - dclock_.o q - diolib.o q - dlexlib.o q - drdatab.o o3000 57% 至此,已經編譯成功了。中間確實有很多warning,這些都不用理它的。最后所顯示的那個錯誤,其實在于makefile中有一個命令,要刪除當前目錄下已經存在的libdmy.a文件;在你進行首次編譯的時候,這個文件是不存在的。所以,現(xiàn)在你查看一下,如果當前目錄已經有了這個文件,就應該沒有問題了。如果不放心的話,你可以在編譯一次: touch *.F make 這次就應該沒有錯誤(ERROR)了, warning還是會有的。 |

榮譽版主 (文壇精英)

鐵桿木蟲 (知名作家)

榮譽版主 (文壇精英)

鐵桿木蟲 (知名作家)

鐵桿木蟲 (知名作家)
|
問題依舊 版主看看可是makefile問題 非常感謝 .SUFFIXES: .inc .f .F #----------------------------------------------------------------------- # Makefile for Portland Group F90/HPF compiler # the makefile was tested only under Linux on Intel platforms # however it might work on other platforms as well # # this release of vasp.4.lib contains lapack v2.0 # this can be compiled with pgf90 compiler if the option -O1 is used # # Mind: one user reported that he had to copy preclib.F diolib.F # dlexlib.F and drdatab.F to the directory vasp.4.4, compile the files # there and link them directly into vasp # for no obvious reason these files could not be linked from the library # #----------------------------------------------------------------------- # C-preprocessor CPP = gcc -E -P -C $*.F >$*.f FC=ifort CFLAGS = -O FFLAGS = -O0 -FI FREE = -FR DOBJ = preclib.o timing_.o derrf_.o dclock_.o diolib.o dlexlib.o drdatab.o #----------------------------------------------------------------------- # general rules #----------------------------------------------------------------------- libdmy.a: $(DOBJ) lapack_double.o linpack_double.o lapack_atlas.o -rm libdmy.a ar vq libdmy.a $(DOBJ) # files which do not require autodouble lapack_min.o: lapack_min.f $(FC) $(FFLAGS) $(NOFREE) -c lapack_min.f lapack_double.o: lapack_double.f $(FC) $(FFLAGS) $(NOFREE) -c lapack_double.f lapack_single.o: lapack_single.f $(FC) $(FFLAGS) $(NOFREE) -c lapack_single.f lapack_atlas.o: lapack_atlas.f $(FC) $(FFLAGS) $(NOFREE) -c lapack_atlas.f linpack_double.o: linpack_double.f $(FC) $(FFLAGS) $(NOFREE) -c linpack_double.f linpack_single.o: linpack_single.f $(FC) $(FFLAGS) $(NOFREE) -c linpack_single.f .c.o: $(CC) $(CFLAGS) -c $*.c .F.o: $(CPP) $(FC) $(FFLAGS) $(FREE) $(INCS) -c $*.f .F.f: $(CPP) .f.o: $(FC) $(FFLAGS) $(FREE) $(INCS) -c $*.f |

榮譽版主 (文壇精英)

鐵桿木蟲 (知名作家)
|
好的,以后就用普通用戶 剛才make后出的信息是這樣的,是不是我數據庫沒有安裝好呢 [root@lj vasp.4.lib]# make gcc -E -P -C preclib.F >preclib.f ifort -O0 -FI -FR -c preclib.f cc -O -c timing_.c cc -O -c derrf_.c cc -O -c dclock_.c gcc -E -P -C diolib.F >diolib.f ifort -O0 -FI -FR -c diolib.f gcc -E -P -C dlexlib.F >dlexlib.f ifort -O0 -FI -FR -c dlexlib.f gcc -E -P -C drdatab.F >drdatab.f ifort -O0 -FI -FR -c drdatab.f ifort -O0 -FI -c lapack_double.f ifort -O0 -FI -c linpack_double.f ifort -O0 -FI -c lapack_atlas.f rm libdmy.a rm: cannot remove `libdmy.a': No such file or directory make: [libdmy.a] Error 1 (ignored) ar vq libdmy.a preclib.o timing_.o derrf_.o dclock_.o diolib.o dlexlib.o drdatab.o ar: creating libdmy.a a - preclib.o a - timing_.o a - derrf_.o a - dclock_.o a - diolib.o a - dlexlib.o a - drdatab.o |

榮譽版主 (文壇精英)

| 最具人氣熱帖推薦 [查看全部] | 作者 | 回/看 | 最后發(fā)表 | |
|---|---|---|---|---|
|
[考研] 材料科學與工程 317求調劑 +7 | JKSOIID 2026-03-26 | 7/350 |
|
|---|---|---|---|---|
|
[考研] 288資源與環(huán)境專碩求調劑,不限專業(yè),有學上就行 +7 | lllllos 2026-03-30 | 7/350 |
|
|
[有機交流] 考研調劑 +8 | watb 2026-03-26 | 8/400 |
|
|
[考研] 291求調劑 +8 | HanBeiNingZC 2026-03-24 | 8/400 |
|
|
[考研] 材料科學與工程調劑 +8 | 深V宿舍吧 2026-03-30 | 8/400 |
|
|
[考研] 071010 323 分求調劑 +3 | Baekzhy 2026-03-27 | 3/150 |
|
|
[考研] 化學308分調劑 +7 | 你好明天你好 2026-03-30 | 8/400 |
|
|
[考研] 0703化學/290求調劑/本科經歷豐富/工科也可 +13 | 丹青奶蓋 2026-03-26 | 15/750 |
|
|
[考研] 一志愿211,335分,0856,求調劑院校和導師 +7 | 傾____蕭 2026-03-27 | 8/400 |
|
|
[考研] 求調劑 +4 | QiMing7 2026-03-25 | 5/250 |
|
|
[考研] 環(huán)境工程 085701,267求調劑 +6 | minht 2026-03-29 | 6/300 |
|
|
[考研] 數一英一271專碩(085401)求調劑,可跨 +7 | 前行必有光 2026-03-28 | 8/400 |
|
|
[考研] 283求調劑 +7 | A child 2026-03-28 | 7/350 |
|
|
[考研] 一志愿南師大0703化學 275求調劑 +4 | Ripcord上岸 2026-03-27 | 4/200 |
|
|
[考研] 321求調劑 +6 | wasdssaa 2026-03-26 | 6/300 |
|
|
[考研] 調劑 +4 | 柚柚yoyo 2026-03-26 | 4/200 |
|
|
[考研] 340求調劑 +5 | 話梅糖111 2026-03-24 | 5/250 |
|
|
[考研] 一志愿武理085500機械專業(yè)總分300求調劑 +3 | an10101 2026-03-24 | 7/350 |
|
|
[考研] 300分,材料,求調劑,英一數二 +5 | 超贊的 2026-03-24 | 5/250 |
|
|
[考研] 調劑 +4 | 13853210211 2026-03-24 | 4/200 |
|