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。麻烦帮看看阿,谢谢啦!

Logo

开放原子开发者工作坊旨在鼓励更多人参与开源活动,与志同道合的开发者们相互交流开发经验、分享开发心得、获取前沿技术趋势。工作坊有多种形式的开发者活动,如meetup、训练营等,主打技术交流,干货满满,真诚地邀请各位开发者共同参与!

更多推荐