> We've come across a bizarre problem with the latest Sun F90 compiler. The
> following test program shows the problem:
You must have something going on in your environment. The test case you
have works correctly for us on Solaris 2.5.1 with the 104366-04 patch
compiler.
> We haven't tested them all!
Units 5, 6, 100, 101 and 102 have special meaning for Sun's f90. This
is described in the User's Guide. I wrote this simple test case:
## cat t.f90
do i = 1,110
if ((i .ne. 5) .and. (i .ne. 6) .and. (i .ne. 100) .and. &
(i .ne. 101) .and. (i .ne. 102)) then
write(i)i
write(i)i
endif
enddo
end
## f90 -V t.f90
f90: WorkShop Compilers 4.2 01 Dec 1997 FORTRAN 90 1.2 patch 104366-04
f90: SunSoft F90 Version 1.0.1.0 (25279289) Wed Apr 22, 1998 18:49:37
f90: COMPILE TIME 0.140000 SECONDS
f90: MAXIMUM FIELD LENGTH 2496064 DECIMAL WORDS
f90: 8 SOURCE LINES
f90: 0 ERRORS, 0 WARNINGS, 0 OTHER MESSAGES, 0 ANSI
f90: CODE: 135 WORDS, DATA: 5 WORDS
## uname -a
SunOS oviraptor 5.5.1 Generic sun4u sparc SUNW,Ultra-2
## limit descriptors 255 ! you would need to increase this from
! the default of 64, since we are opening
! more than 64 files in this program
### a.out
### ls fort.* | wc
105 105 841 ! All 105 files are created successfully
--Prakash Narayan
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|