24小时热门版块排行榜    

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

guopengzhen

金虫 (小有名气)

[交流] 【求助】vasp安装编译错误,请大家帮忙看下那里出错了。 已有3人参与

Sample Text在 单机四核,(64位)ubuntu10.0,vasp4.6,非商业版本l_fcompxe_2011.2.137, l_mkl_10.3.1.107_intel64.tgz
ifort和MKL安装都没问题,vasp4.lib也能顺利编译安装,生成了libdmy.a,安装vasp.4.6的时候都出现了下列问题,请高手指点
错误摘录如下:root@gpz-desktop:/home/VASP/vasp.4.6# make -f makefile.linux_ifc_P4
./preprocess fft3dlib.f90  -DHOST=\"LinuxIFC\" -Dkind8 -DNGXhalf -DCACHE_SIZE=12000 -DPGF90 -Davoidalloc
ifort  -FR -lowercase -O1 -tpp7 -xW -prefetch- -prev_div -unroll0 -e95 -vec_report3 -c fft3dlib.f90
ifort: command line remark #10010: option '-lowercase' is deprecated and will be removed in a future release. See '-help deprecated'
ifort: command line remark #10148: option '-tpp7' not supported
ifort: command line remark #10279: option '-xW' is deprecated and will be removed in a future release. See '-help deprecated'
ifort: command line remark #10148: option '-prefetch-' not supported
ifort: command line warning #10156: ignoring option '-p'; no argument required
fft3dlib.f90(140): error #8226: The variable typing occurred after the DATA statement and changed its implicit typing.   [IWOFF]
      SAVE IWOFF,MAXOLD
-----------^
fft3dlib.f90(140): error #8226: The variable typing occurred after the DATA statement and changed its implicit typing.   [MAXOLD]
      SAVE IWOFF,MAXOLD
-----------------^
fft3dlib.f90(1106): error #8226: The variable typing occurred after the DATA statement and changed its implicit typing.   [IWOFF]
      SAVE IWOFF,MAXOLD
-----------^
fft3dlib.f90(1106): error #8226: The variable typing occurred after the DATA statement and changed its implicit typing.   [MAXOLD]
      SAVE IWOFF,MAXOLD
-----------------^
fft3dlib.f90(1621): 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.   [20]
   20       CONTINUE
---^
fft3dlib.f90(1698): error #7342: The computed GOTO statement is an obsolescent feature in Fortran 95.
      GOTO (10,50,90,130,170,210,250),IGO
------^
fft3dlib.f90(1713): error #6477: Fortran 95 does not allow this statement or directive.
!DIR$ IVDEP
------^
fft3dlib.f90(1741): error #6477: Fortran 95 does not allow this statement or directive.
!DIR$ IVDEP
------^
fft3dlib.f90(1774): error #6477: Fortran 95 does not allow this statement or directive.
!DIR$ IVDEP
------^
fft3dlib.f90(1807): error #6477: Fortran 95 does not allow this statement or directive.
!DIR$ IVDEP
------^
fft3dlib.f90(1852): error #6477: Fortran 95 does not allow this statement or directive.
!DIR$ IVDEP
------^
fft3dlib.f90(1890): error #6477: Fortran 95 does not allow this statement or directive.
!DIR$ IVDEP
------^
fft3dlib.f90(1943): error #6477: Fortran 95 does not allow this statement or directive.
!DIR$ IVDEP
------^
fft3dlib.f90(1994): error #6477: Fortran 95 does not allow this statement or directive.
!DIR$ IVDEP
------^
fft3dlib.f90(2071): error #6477: Fortran 95 does not allow this statement or directive.
!DIR$ IVDEP
------^
fft3dlib.f90(2135): error #6477: Fortran 95 does not allow this statement or directive.
!DIR$ IVDEP
------^
fft3dlib.f90(2220): error #6477: Fortran 95 does not allow this statement or directive.
!DIR$ IVDEP
------^
fft3dlib.f90(2311): error #6477: Fortran 95 does not allow this statement or directive.
!DIR$ IVDEP
------^
fft3dlib.f90(2462): error #6477: Fortran 95 does not allow this statement or directive.
!DIR$ IVDEP
------^
fft3dlib.f90(2544): error #6477: Fortran 95 does not allow this statement or directive.
!DIR$ IVDEP
------^
fft3dlib.f90(2619): error #7342: The computed GOTO statement is an obsolescent feature in Fortran 95.
      GOTO (10,50,90,130,170,210,250),IGO
------^
fft3dlib.f90(2634): error #6477: Fortran 95 does not allow this statement or directive.
!DIR$ IVDEP
------^
fft3dlib.f90(2662): error #6477: Fortran 95 does not allow this statement or directive.
!DIR$ IVDEP
------^
fft3dlib.f90(2695): error #6477: Fortran 95 does not allow this statement or directive.
!DIR$ IVDEP
------^
fft3dlib.f90(2728): error #6477: Fortran 95 does not allow this statement or directive.
!DIR$ IVDEP
------^
fft3dlib.f90(2773): error #6477: Fortran 95 does not allow this statement or directive.
!DIR$ IVDEP
------^
fft3dlib.f90(2811): error #6477: Fortran 95 does not allow this statement or directive.
!DIR$ IVDEP
------^
fft3dlib.f90(2864): error #6477: Fortran 95 does not allow this statement or directive.
!DIR$ IVDEP
------^
fft3dlib.f90(2915): error #6477: Fortran 95 does not allow this statement or directive.
!DIR$ IVDEP
------^
fft3dlib.f90(2992): error #6477: Fortran 95 does not allow this statement or directive.
!DIR$ IVDEP
------^
fft3dlib.f90(3487): catastrophic error: Too many errors, exiting
compilation aborted for fft3dlib.f90 (code 1)
make: *** [fft3dlib.o] Error 1

ks:找不到命令
回复此楼
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

lonewolf659

铜虫 (小有名气)

★ ★ ★
小木虫(金币+0.5):给个红包,谢谢回帖交流
sunyang1988(金币+2): 谢谢指点 2011-03-06 10:27:24
这个好像见过
把Makefile中的后面的
ifort  -FR -lowercase -O1 -tpp7 -xW -prefetch- -prev_div -unroll0 -e95 -vec_report3 -c fft3dlib.f90这句中的 -e95去掉试试。
这个变量是按章fortran95的格式报错,90不兼容。
差距,差距啊!
2楼2011-03-06 03:08:24
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

lonewolf659

铜虫 (小有名气)

★ ★ ★
小木虫(金币+0.5):给个红包,谢谢回帖交流
zhang668(金币+2): 多谢提示 2011-03-06 11:27:11
呵呵。看来去掉还是管用的
这次你的错误变了。
是因为vasp编译要用到BLAS库,你指定了用gotoblas,但是在Makefile中按照你指定的路径没有这个库。
ifort: error #10236: File not found:  '/opt/libs/libgoto/libgoto_p4_512-r0.6.so'
你修改你的Makefile文件,将BALS的路径指定对了就行。
你google一下吧,MKL编译vasp时的makefile,里面会有说明的。
差距,差距啊!
4楼2011-03-06 08:45:03
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 guopengzhen 的主题更新
普通表情 高级回复 (可上传附件)
信息提示
请填处理意见