| 查看: 1912 | 回復: 10 | |||
信任開花鐵桿木蟲 (知名作家)
|
[交流]
【求助成功】請教一下vasp4.6編譯lib得到libdmy.a出現(xiàn)如下信息對不? 已有3人參與
|
||
|
intel ifc +mkl+mpich2 這個能說明前面數(shù)據(jù)庫安裝正確不能? [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 ] |

鐵桿木蟲 (知名作家)
|
謝謝版主 剛才網(wǎng)上看到了兩處提到這個問題,應該是沒有問題 (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% 至此,已經(jīng)編譯成功了。中間確實有很多warning,這些都不用理它的。最后所顯示的那個錯誤,其實在于makefile中有一個命令,要刪除當前目錄下已經(jīng)存在的libdmy.a文件;在你進行首次編譯的時候,這個文件是不存在的。所以,現(xiàn)在你查看一下,如果當前目錄已經(jīng)有了這個文件,就應該沒有問題了。如果不放心的話,你可以在編譯一次: 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后出的信息是這樣的,是不是我數(shù)據(jù)庫沒有安裝好呢 [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ā)表 | |
|---|---|---|---|---|
|
[考研] 材料與化工272求調劑 +21 | 阿斯蒂芬2004 2026-03-28 | 21/1050 |
|
|---|---|---|---|---|
|
[考研] 085600,材料與化工321分求調劑 +10 | 大饞小子 2026-03-28 | 10/500 |
|
|
[考研] 考研調劑 +7 | 小蠟新筆 2026-03-29 | 7/350 |
|
|
[考研] 08工科求調劑286 +3 | tgs_001 2026-03-28 | 3/150 |
|
|
[考研] 289求調劑 +5 | BrightLL 2026-03-29 | 5/250 |
|
|
[考研] 070305高分子化學與物理 304分求調劑 +12 | c297914 2026-03-28 | 12/600 |
|
|
[考研] 一志愿:西北大學,英一數(shù)一408-284分求調劑 +4 | 12.27 2026-03-27 | 4/200 |
|
|
[考研] 332求92調劑 +8 | 蕉蕉123 2026-03-28 | 8/400 |
|
|
[考研] 356求調劑 +4 | gysy?s?a 2026-03-28 | 4/200 |
|
|
[考研] 322求調劑 +5 | 舊吢 2026-03-24 | 5/250 |
|
|
[考研] 化學調劑 +4 | 愛吃番茄的旭 2026-03-24 | 5/250 |
|
|
[考研] 一志愿南師大0703化學 275求調劑 +4 | Ripcord上岸 2026-03-27 | 4/200 |
|
|
[考研] 材料292調劑 +12 | 橘頌思美人 2026-03-23 | 12/600 |
|
|
[考研] 298調劑 +3 | jiyingjie123 2026-03-27 | 3/150 |
|
|
[考研] 314求調劑 +3 | 溪云珂 2026-03-26 | 3/150 |
|
|
[考研] 351求調劑 +4 | 麥克阿磊 2026-03-24 | 4/200 |
|
|
[考研] 材料考研求調劑 +3 | Dendel 2026-03-23 | 6/300 |
|
|
[考研] 打過很多競賽,085406控制工程300分,求調劑 +3 | askeladz 2026-03-26 | 3/150 |
|
|
[考研] 296求調劑 +4 | 汪?! 2026-03-25 | 7/350 |
|
|
[考研] 347求調劑 +4 | L when 2026-03-25 | 4/200 |
|