Just to add a couple more to the list ...
xlf 8.1 on IBM power4:
Wot now ? xlf95 -O -qarch=pwr4 -qtune=pwr4 -qsuffix=f=f90 -C -qlanglvl=95pure clf90.f90
** kind_mod === End of Compilation 1 ===
** pointer_mod === End of Compilation 2 ===
** test_prog === End of Compilation 3 ===
1501-510 Compilation successful for file clf90.f90.
Wot now ? ./a.out
DO-IF: nonpointer version
logical_array: T T F F T T
integer_array: 1 -1 2 -2 0 0 0 0 5 -5 6 -6
DO-WHERE: nonpointer version
logical_array: T T F F T T
integer_array: 1 -1 2 -2 0 0 0 0 5 -5 6 -6
FORALL-WHERE: non_pointer version
logical_array: T T F F T T
integer_array: 1 -1 2 -2 0 0 0 0 5 -5 6 -6
DO-IF: pointer version
logical_array: T T F F T T
integer_array: 1 -1 2 -2 0 0 0 0 5 -5 6 -6
DO-WHERE: pointer version
logical_array: T T F F T T
integer_array: 1 -1 2 -2 0 0 0 0 5 -5 6 -6
FORALL-WHERE: pointer version
logical_array: T T F F T T
integer_array: 1 -1 2 -2 0 0 0 0 5 -5 6 -6
Cray Fortran 3.5.0.4 on Cray T3E
Wot now ? f90 -V
Cray Fortran: Version 3.5.0.4 Wed Apr 02, 2003 12:09:21
Wot now ? f90 -O -en clf90.f90
f90-1221 f90: WARNING in command line
The -O command line option has been specified with no arguments. It will be ignored.
MODULE pointer_mod
^
f90-855 f90: ERROR POINTER_MOD, File = clf90.f90, Line = 16, Column = 8
The compiler has detected errors in module "POINTER_MOD". No module information file will be created for this module.
a1%vect = a2%vect
^
f90-1270 f90: ERROR P_VECT_I4_EQUALS_P_VECT_I4_SUB, File = clf90.f90, Line = 46, Column = 17
"A2" must not be defined inside of a pure subprogram. It is in common, a dummy argument or host or use associated.
USE pointer_mod, ONLY : pointer_vector_I4, ASSIGNMENT(=)
^
f90-894 f90: ERROR TEST_PROG, File = clf90.f90, Line = 57, Column = 8
Module "POINTER_MOD" has compile errors, therefore declarations obtained from the module via the USE statement may be incomplete.
USE pointer_mod, ONLY : pointer_vector_I4, ASSIGNMENT(=)
^
f90-894 f90: ERROR ELEMENTAL_POINTER_FUN, File = clf90.f90, Line = 230, Column = 11
Module "POINTER_MOD" has compile errors, therefore declarations obtained from the module via the USE statement may be incomplete.
Cray Fortran: Version 3.5.0.4 (u15f51p42138m32046a18)
Cray Fortran: Wed Apr 2, 2003 12:09:24
Cray Fortran: Compile time: 0.3594 seconds
Cray Fortran: 260 source lines
Cray Fortran: 4 errors, 1 warnings, 0 other messages, 0 ansi
Cray Fortran: "explain f90-message number" gives more information about each message
Ian
|