[Pw_forum] Compilation on SGI Origin 300

Miao, Maosheng mmiao at wsu.edu
Tue Oct 3 23:53:43 CEST 2006


Hi Paolo,

Thanks. But it doesn't work. And it seems ityp is used in the
subroutine. The following is the error messgae. 

MODULE realus
       ^
f90-855 f90: ERROR REALUS, File = realus.f90, Line = 1, Column = 8
  The compiler has detected errors in module "REALUS".  No module
information file will be created for this module.

      nt  = ityp(na)
            ^
f90-232 f90: ERROR NEWD_R, File = realus.f90, Line = 435, Column = 13
  IMPLICIT NONE is specified in the local scope, therefore an explicit
type must be specified for function "ITYP".

  USE ions_base,            ONLY : nat => nsp
                                   ^
f90-1015 f90: ERROR ADDUSDENS_R, File = realus.f90, Line = 857, Column =
36
  Local-name "NAT" must only be referenced once in a rename-list in this
scope.

        nt = ityp(na)
             ^
f90-232 f90: ERROR ADDUSDENS_R, File = realus.f90, Line = 891, Column =
14
  IMPLICIT NONE is specified in the local scope, therefore an explicit
type must be specified for function "ITYP".

f90: SGI MIPSpro Fortran 90 Version 7.41 (f14) Tue Oct  3, 2006
14:30:26
f90: 1081 source lines
f90: 4 Error(s), 0 Warning(s), 0 Other message(s), 0 ANSI(s)
cf90: "explain cf90-message number" gives more information about each
message
*** Error code 2 (bu21)
*** Error code 1 (bu21)

Thanks,
Maosheng 

-----Original Message-----
From: pw_forum-admin at pwscf.org [mailto:pw_forum-admin at pwscf.org] On
Behalf Of Paolo Giannozzi
Sent: Tuesday, October 03, 2006 12:45 PM
To: pw_forum at pwscf.org
Subject: Re: [Pw_forum] Compilation on SGI Origin 300


On Oct 3, 2006, at 21:09 , Miao, Maosheng wrote:

> I tried to compile Espresso-3.1.1 on a SGI origin 300 machine. The 
> compiler is SGI MIPSpro Fortran 90 Version 7.41. I got the following 
> error messages while it compiles the realus.f90 [...]
> USE ions_base,            ONLY : nat, ntyp => nsp, ityp
>                                       ^
> f90-1015 f90: ERROR NEWD_R, File = realus.f90, Line = 413, Column = 39
>   Local-name "NTYP" must only be referenced once in a rename-list in 
> this scope.
>
>   USE ions_base,            ONLY : nat, ntyp => nsp, ityp
>                                         ^
> f90-1015 f90: ERROR ADDUSDENS_R, File = realus.f90, Line = 857, Column

> =
> 41
>   Local-name "NTYP" must only be referenced once in a rename-list in 
> this scope.

local name "NTYP" IS correcly referenced, whatever the compiler may say.
Since however it is not actualy used in either routines, just remove it.

Paolo
_______________________________________________
Pw_forum mailing list
Pw_forum at pwscf.org
http://www.democritos.it/mailman/listinfo/pw_forum



More information about the Pw_forum mailing list