[NeXus-code-tickets] [NeXusCode] #68: Failure of Absoft Fortran 90

NeXus Data Format Library and Applications noreply at nexusformat.org
Thu May 17 15:32:52 BST 2007


#68: Failure of Absoft Fortran 90
-------------------------+--------------------------------------------------
  Reporter:  Ray Osborn  |       Owner:  Freddie Akeroyd
      Type:  defect      |      Status:  new            
  Priority:  major       |   Milestone:                 
 Component:  napi        |     Version:  4.0rc3         
Resolution:              |    Keywords:                 
-------------------------+--------------------------------------------------
Old description:

> "Configure" correctly located the Absoft v7.0 compiler, but the "make"
> failed on the first F90 application - NXdump - with the following error:
>
> f90  -I/Users/roadmin/Desktop/nexus-4.0rc3/bindings/f90 -c NXdump.f90
>
>    use NXmodule
>        ^
> cf90-292 f90fe: ERROR NXDUMP, File = NXdump.f90, Line = 35, Column = 8
>   "NXMODULE" is specified as the module name on a USE statement, but the
> compiler cannot find it.
>
>    type(NXhandle) :: file_id
>         ^
> cf90-126 f90fe: ERROR NXDUMP, File = NXdump.f90, Line = 37, Column = 9
>   Derived type "NXHANDLE" is used, but it does not have any components
> defined for it.
>
>       integer :: status, type, rank, dimensions(NX_MAXRANK)
>                                                 ^
> cf90-521 f90fe: ERROR GETDIR, File = NXdump.f90, Line = 52, Column = 49
>   Local variable "NX_MAXRANK" must be a dummy argument or in common to be
> used in a bounds specification expression.
>
> f90: Copyright Absoft Corporation 1994-2001; Absoft Pro FORTRAN Version
> 7.0b
> f90fe: 82 source lines
> f90fe: 3 Errors, 0 Warnings, 0 Other messages, 0 ANSI
>
> make[2]: *** [NXdump.o] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all-recursive] Error 1
>
> NXMODULE.mod does exist in the bindings/f90/ directory, but presumably
> Absoft Fortran needs a link switch to define the location.

New description:

 "Configure" correctly located the Absoft v7.0 compiler, but the "make"
 failed on the first F90 application - NXdump - with the following error:

 f90  -I/Users/roadmin/Desktop/nexus-4.0rc3/bindings/f90 -c NXdump.f90

    use NXmodule
        ^
 cf90-292 f90fe: ERROR NXDUMP, File = NXdump.f90, Line = 35, Column = 8
   "NXMODULE" is specified as the module name on a USE statement, but the
 compiler cannot find it.

    type(NXhandle) :: file_id
         ^
 cf90-126 f90fe: ERROR NXDUMP, File = NXdump.f90, Line = 37, Column = 9
   Derived type "NXHANDLE" is used, but it does not have any components
 defined for it.

       integer :: status, type, rank, dimensions(NX_MAXRANK)
                                                 ^
 cf90-521 f90fe: ERROR GETDIR, File = NXdump.f90, Line = 52, Column = 49
   Local variable "NX_MAXRANK" must be a dummy argument or in common to be
 used in a bounds specification expression.

 f90: Copyright Absoft Corporation 1994-2001; Absoft Pro FORTRAN Version
 7.0b
 f90fe: 82 source lines
 f90fe: 3 Errors, 0 Warnings, 0 Other messages, 0 ANSI

 make[2]: *** [NXdump.o] Error 1
 make[1]: *** [all-recursive] Error 1
 make: *** [all-recursive] Error 1

 NXMODULE.mod does exist in the bindings/f90/ directory, but Absoft Fortran
 needs a link switch ("-p path") to define the location.  It's not the same
 as the "include" switch "-I/path", which is presumably what gfortran uses.

-- 
Ticket URL: <http://trac.nexusformat.org/code/ticket/68#comment:1>
NeXus Data Format Library and Applications <http://www.nexusformat.org/>
NeXus Data Format Library and Applications



More information about the NeXus-code-tickets mailing list