5118的11用计算机怎么算,超级计算机上的编译器如何调用? - 第一原理 - 小木虫 - 学术 科研 互动社区...

noavatar.png

c03185

有没有人知道阿?

1012cc4e7ea2f0cb58d12ff826d75bc5.gif

souledge

明明安装的是intel的fortran编译器,LZ为啥用PGI的fortran命令……Intel 11的编译器可执行文件名一般是ifort~~

noavatar.png

c03185

引用回帖:

souledge at 2012-04-12 18:37:22:

明明安装的是intel的fortran编译器,LZ为啥用PGI的fortran命令……Intel 11的编译器可执行文件名一般是ifort~~

修改成了ifort,权限不够,请问如何调用阿?

vsc30587@login1:~/vasp/vasp.4.6> make

makefile:344: 警告:覆盖关于目标“xcgrad.o”的命令

makefile:289: 警告:忽略关于目标“xcgrad.o”的旧命令

ifort -Mfree -Mx,119,0x200000   -O2  -tp p6   -c base.f

make: execvp: ifort: 权限不够

make: *** [base.o] 错误 127

noavatar.png

c03185

引用回帖:

c03185 at 2012-04-12 19:36:20:

修改成了ifort,权限不够,请问如何调用阿?

vsc30587@login1:~/vasp/vasp.4.6> make

makefile:344: 警告:覆盖关于目标“xcgrad.o”的命令

makefile:289: 警告:忽略关于目标“xcgrad.o”的旧命令

ifo ...

vsc30587@login1:~/vasp/vasp.4.6> module load intel_compiler/11.0.081

vsc30587@login1:~/vasp/vasp.4.6> module list

Currently Loaded

1) /intel_compiler/11.0.081

vsc30587@login1:~/vasp/vasp.4.6> make

makefile:344: 警告:覆盖关于目标“xcgrad.o”的命令

makefile:289: 警告:忽略关于目标“xcgrad.o”的旧命令

ifort -Mfree -Mx,119,0x200000   -O2  -tp p6   -c base.f

ifort: command line warning #10006: ignoring unknown option '-Mfree'

ifort: command line warning #10006: ignoring unknown option '-Mx,119,0x200000'

ifort: command line remark #10148: option '-tp' not supported

./preprocess mpi.f -DHOST=\"LinuxPgi\" -Dkind8 -DNGXhalf -DCACHE_SIZE=2000 -DPGF90 -Davoidalloc -DRPROMU_DGEMV

ifort -Mfree -Mx,119,0x200000   -O2  -tp p6   -c mpi.f

ifort: command line warning #10006: ignoring unknown option '-Mfree'

ifort: command line warning #10006: ignoring unknown option '-Mx,119,0x200000'

ifort: command line remark #10148: option '-tp' not supported

./preprocess smart_allocate.f -DHOST=\"LinuxPgi\" -Dkind8 -DNGXhalf -DCACHE_SIZE=2000 -DPGF90 -Davoidalloc -DRPROMU_DGEMV

ifort -Mfree -Mx,119,0x200000   -O2  -tp p6   -c smart_allocate.f

ifort: command line warning #10006: ignoring unknown option '-Mfree'

ifort: command line warning #10006: ignoring unknown option '-Mx,119,0x200000'

ifort: command line remark #10148: option '-tp' not supported

: error #5149: Illegal character in statement label field  [M]

: error #5149: Illegal character in statement label field  [O]

: error #5149: Illegal character in statement label field  [D]

: error #5149: Illegal character in statement label field  [U]

: error #5149: Illegal character in statement label field  [L]

: error #5118: First statement in file must not be continued

smart_allocate.f(46): error #5149: Illegal character in statement label field  [U]

USE prec

--^

smart_allocate.f(46): error #5149: Illegal character in statement label field  [S]

USE prec

---^

smart_allocate.f(46): error #5149: Illegal character in statement label field  [E]

USE prec

----^

smart_allocate.f(45): error #5082: Syntax error, found END-OF-STATEMENT when expecting one of: ( %% : . = =>

MODULE smart_allocate

---------------------^

smart_allocate.f(47): error #5149: Illegal character in statement label field  [I]

IMPLICIT NONE

--^

smart_allocate.f(47): error #5149: Illegal character in statement label field  [M]

IMPLICIT NONE

---^

smart_allocate.f(47): error #5149: Illegal character in statement label field  [P]

IMPLICIT NONE

----^

smart_allocate.f(48): error #5149: Illegal character in statement label field  [C]

CONTAINS

--^

smart_allocate.f(48): error #5149: Illegal character in statement label field  [O]

CONTAINS

---^

smart_allocate.f(48): error #5149: Illegal character in statement label field  [N]

CONTAINS

----^

smart_allocate.f(50): error #5149: Illegal character in statement label field  [S]

SUBROUTINE SMART_ALLOCATE_REAL(A,N)

--^

smart_allocate.f(50): error #5149: Illegal character in statement label field  [U]

SUBROUTINE SMART_ALLOCATE_REAL(A,N)

---^

smart_allocate.f(50): error #5149: Illegal character in statement label field  [B]

SUBROUTINE SMART_ALLOCATE_REAL(A,N)

----^

smart_allocate.f(51): error #5149: Illegal character in statement label field  [R]

REAL(q),POINTER :: A(

----^

smart_allocate.f(52): error #5149: Illegal character in statement label field  [I]

INTEGER N

----^

smart_allocate.f(54): error #5149: Illegal character in statement label field  [I]

IF (ASSOCIATED(A)) THEN

----^

smart_allocate.f(51): error #5082: Syntax error, found IDENTIFIER 'AL' when expecting one of: ( %% . = =>

REAL(q),POINTER :: A(

------^

smart_allocate.f(52): error #5082: Syntax error, found IDENTIFIER 'TEGERN' when expecting one of: ( * ) :: , ; + . - %% (/ [ : ] /) . ' ** / ...

INTEGER N

------^

smart_allocate.f(54): error #5082: Syntax error, found IDENTIFIER 'THEN' when expecting one of: ( * ) :: , ; + . - %% (/ [ : ] /) . ' ** / ...

IF (ASSOCIATED(A)) THEN

-----------------------^

smart_allocate.f(58): error #5149: Illegal character in statement label field  [E]

ENDIF

----^

smart_allocate.f(59): error #5149: Illegal character in statement label field  [I]

IF (.NOT. ASSOCIATED(A)) THEN

----^

(60): catastrophic error: Too many errors, exiting

compilation aborted for smart_allocate.f (code 1)

make: *** [smart_allocate.o] 错误 1

edd82ec3a6e7f4bd4c96cf78fb06c69e.gif

ahu1221

既然是集群,建议并行安装,改成mpif90,还有你出错的原因可能是因为你的makefile修改的不正确

edd82ec3a6e7f4bd4c96cf78fb06c69e.gif

ahu1221

好像看到你另一个帖子了,你的环境变量修改正确了吗

noavatar.png

c03185

引用回帖:

ahu1221 at 2012-04-12 23:31:10:

好像看到你另一个帖子了,你的环境变量修改正确了吗

该如何修改阿。在另一个帖子里贴出来了makefile。麻烦帮看看阿,谢谢啦!

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值