24小时热门版块排行榜    

Znn3bq.jpeg
查看: 3267  |  回复: 17
当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖

bjmaowei25

铜虫 (小有名气)

[求助] 求助:VASP 安装

本人现在在安装VASP4.6 版的过程中,在vasp 4.6 make 过程中出现的问题

./preprocess base.f90 -DMPI  -DHOST=\"LinuxIFC\" -DIFC -Dkind8 -DNGZhalf -DCACHE_SIZE=4000 -DPGF90 -Davoidalloc -DMPI_BLOCK=500 -DRPROMU_DGEMV  -DRACCMU_DGEMV
mpif90 -FR -lowercase -assume byterecl  -O3 -xW -tpp7  -c base.f90
gfortran: error: byterecl: No such file or directory
gfortran: error: unrecognized option ‘-assume’
gfortran: error: unrecognized option ‘-tpp7’
make: *** [base.o] Error 1

不知道哪位高手能知道其中的原因,希望能 告知,先谢谢了!
其中 在vasp.4.lib$ make中
libdmy.a 已经得到。
回复此楼
追求真理
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

bjmaowei25

铜虫 (小有名气)

引用回帖:
: Originally posted by liliangfang at 2012-01-07 08:06:16:
FC=ifort
OFLAG=-O3

谢谢你的回复,根据你的意识改后,就变成这样的错误了:


[mao@localhost vasp.4.6]$ gedit makefile
[mao@localhost vasp.4.6]$ make
./preprocess lattlib.f90 -DMPI  -DHOST=\"LinuxIFC_ath\" -DIFC -Dkind8 -DNGZhalf -DCACHE_SIZE=2000 -DPGF90 -Davoidalloc -DRPROMU_DGEMV
mpif90 -FR -lowercase -e95 -c lattlib.f90
ifort: command line remark #10010: option '-lowercase' is deprecated and will be removed in a future release. See '-help deprecated'
lattlib.f90(196): error #7342: The computed GOTO statement is an obsolescent feature in Fortran 95.
      GOTO (2,4,6,8,10,12,14,16,18,20,22,24,26,28,30) IBRAV
------^
lattlib.f90(711): error #5113: Extension to FORTRAN-90: tab formatting
               CELLDM(5)=(A3XA2*ABS2*ABS3+A3XA1*ABS1*ABS3)/ABS2P1/ABS3       
---------------------------------------------------------------------^
lattlib.f90(1372): error #6033: Sharing of a DO termination statement by more than one DO statement is an obsolescent feature in Fortran 95.  Use an END DO or CONTINUE statement for each DO statement.   [300]
  300 CONTINUE
--^
lattlib.f90(1790): error #6028: DO termination on a statement other than an END DO or CONTINUE is an obsolescent feature in Fortran 95.
    1 WRK(IA,I)=TAU(INDEX(IA),I)
----^
lattlib.f90(1790): error #6033: Sharing of a DO termination statement by more than one DO statement is an obsolescent feature in Fortran 95.  Use an END DO or CONTINUE statement for each DO statement.   [1]
    1 WRK(IA,I)=TAU(INDEX(IA),I)
----^
lattlib.f90(1793): error #6028: DO termination on a statement other than an END DO or CONTINUE is an obsolescent feature in Fortran 95.
    2 TAU(IA,I)=WRK(IA,I)
----^
lattlib.f90(1793): error #6033: Sharing of a DO termination statement by more than one DO statement is an obsolescent feature in Fortran 95.  Use an END DO or CONTINUE statement for each DO statement.   [2]
    2 TAU(IA,I)=WRK(IA,I)
----^
lattlib.f90(1822): error #6028: DO termination on a statement other than an END DO or CONTINUE is an obsolescent feature in Fortran 95.
    4    INDEX(NBEG+I)=INDEX(NBEG+I)+NBEG-1
----^
lattlib.f90(1832): error #6028: DO termination on a statement other than an END DO or CONTINUE is an obsolescent feature in Fortran 95.
    7       TAU(INDEX(ICURR),K)=TEMP
----^
lattlib.f90(1865): error #6028: DO termination on a statement other than an END DO or CONTINUE is an obsolescent feature in Fortran 95.
    9          INDEX(IBEG+I)=INDEX(IBEG+I)+IBEG-1
----^
lattlib.f90(1881): error #6028: DO termination on a statement other than an END DO or CONTINUE is an obsolescent feature in Fortran 95.
   13       TAU(INDEX(ICURR),K)=TEMP
---^
lattlib.f90(1899): error #6028: DO termination on a statement other than an END DO or CONTINUE is an obsolescent feature in Fortran 95.
   15 INDEX(IA)=NINT(WRK(IA,3))
---^
lattlib.f90(2424): error #6033: Sharing of a DO termination statement by more than one DO statement is an obsolescent feature in Fortran 95.  Use an END DO or CONTINUE statement for each DO statement.   [13]
   13 CONTINUE
---^
compilation aborted for lattlib.f90 (code 1)
make: *** [lattlib.o] Error 1
追求真理
16楼2012-01-07 13:33:49
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
查看全部 18 个回答

souledge

专家顾问 (著名写手)

【答案】应助回帖

★ ★
感谢参与,应助指数 +1
franch(金币+2, 专家考核): 谢谢回帖交流 2012-01-02 22:24:55
去掉Fortran Flags中的-assume,-tpp7等参数试试~
顺便,gfortran编译VASP可行么……一直自己编译和看别人编译都用的是ifort或者其他的编译器~
思想重于技巧,内涵重于表象
2楼2012-01-02 22:07:08
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

bjmaowei25

铜虫 (小有名气)

引用回帖:
: Originally posted by souledge at 2012-01-02 22:07:08:
去掉Fortran Flags中的-assume,-tpp7等参数试试~
顺便,gfortran编译VASP可行么……一直自己编译和看别人编译都用的是ifort或者其他的编译器~

谢谢你的 回复和 帮忙,根据你的建议我 改改看看!
希望能多赐教!
追求真理
3楼2012-01-03 02:51:33
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

iamikaruk

木虫 (著名写手)


liliangfang(金币+1): 多谢提示 2012-01-03 12:59:50
“-FR -lowercase -assume byterecl  -O3 -xW -tpp7”这些编译参数是ifort的
[img]http://osu.ppy.sh/stat2/iamikaruk-0.png[/img]
4楼2012-01-03 09:04:58
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
信息提示
请填处理意见