Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* F90 compiler on DecUnix 3.2
@ 1996-06-11  4:00 Rob Hooft
  1996-06-13  4:00 ` Steve Lionel
  0 siblings, 1 reply; 2+ messages in thread
From: Rob Hooft @ 1996-06-11  4:00 UTC (permalink / raw)




My workstation was upgraded from 2.0 to 3.2 last Friday. Part of the upgrade
was the installation of the DEC 'f90' fortran compiler. 

  nu[169]Mail% ll /usr/lib/cmplrs/ | grep fort
  lrwxrwxrwx   1 root     system          8 Jun  7 14:57 fort -> fort_380/
  lrwxrwxrwx   1 root     system         12 Jun  7 15:01 fort90 -> ./fort90_200/
  drwxr-xr-x   2 root     system        512 Jun  7 15:02 fort90_200/
  drwxr-xr-x   2 root     system        512 Jun  7 14:58 fort_380/
  lrwxrwxrwx   1 root     system         11 Jun  7 14:57 fortrtl -> fortrtl_360/
  drwxr-xr-x   2 root     system        512 Jun  7 14:57 fortrtl_360/

I noticed a few unfortunate properties of this compiler:

  nu[127]src% touch empty.f
  nu[128]src% f90 -c empty.f 
  f90: Severe: The input stream is empty
  nu[129]src% f77 -c empty.f 
  nu[130]src% echo " " > space.f
  nu[131]src% f90 -c space.f    
  f90: Error: space.f, line 1: Syntax error, found END-OF-FILE when expecting one of: <LABEL> <END-OF-STATEMENT> ; TYPE COMPLEX BYTE CHARACTER DOUBLE DOUBLECOMPLEX ...
   
  -^
  nu[132]src% f77 -c space.f 
  nu[133]src% 

Is this supposed to happen? The real-world cases triggering this are a
few files that only contain Silicon Graphics specific code that should not
be compiled on ALPHA. This results in the "Syntax error" mentioned
above after the "-cpp" has found out that there is no serious code
left.

Rob Hooft.

-- 
=== Rob.Hooft@EMBL-Heidelberg.DE   http://www.Sander.EMBL-Heidelberg.DE/rob/ ==
==== In need of protein modeling?  http://www.Sander.EMBL-Heidelberg.DE/whatif/
Validation of protein structures?  http://biotech.EMBL-Heidelberg.DE:8400/ ====
================ Long Live Linux!  Free Software Rules The World! =============



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: F90 compiler on DecUnix 3.2
  1996-06-11  4:00 F90 compiler on DecUnix 3.2 Rob Hooft
@ 1996-06-13  4:00 ` Steve Lionel
  0 siblings, 0 replies; 2+ messages in thread
From: Steve Lionel @ 1996-06-13  4:00 UTC (permalink / raw)




In article <vzyspc2cz18.fsf@nu.embl-heidelberg.de>, Rob Hooft 
<Rob.Hooft@embl-heidelberg.de> writes:
|>
|>I noticed a few unfortunate properties of this compiler:
|>
|>  nu[127]src% touch empty.f
|>  nu[128]src% f90 -c empty.f 
|>  f90: Severe: The input stream is empty
|>  nu[129]src% f77 -c empty.f 
|>  nu[130]src% echo " " > space.f
|>  nu[131]src% f90 -c space.f    
|>  f90: Error: space.f, line 1: Syntax error, found END-OF-FILE when expecting one of: <LABEL> <END-OF-STATEMENT> ; TYPE COMPLEX BYTE CHARACTER DOUBLE DOUBLECOMPLEX ...
|>
|>Is this supposed to happen? The real-world cases triggering this are a
|>few files that only contain Silicon Graphics specific code that should not
|>be compiled on ALPHA. This results in the "Syntax error" mentioned
|>above after the "-cpp" has found out that there is no serious code
|>left.

Yes, that is the intended behavior.  I agree it can be annoying.  I know we
discussed changing it in the past but I don't recall the outcome of the
discussion. I'll bring it up again. 

By the way, I noticed that your new installation was of a year-old compiler.
Digital Fortran V4.0 (includes F77 and F90) was released in April of this
year.
-- 

Steve Lionel                      mailto:lionel@quark.zko.dec.com
Fortran Development               http://www.digital.com/info/slionel.html
Digital Equipment Corporation     
110 Spit Brook Road, ZKO2-3/N30    
Nashua, NH 03062-2698             "Free advice is worth every cent"

For information on Digital Fortran, see http://www.digital.com/info/hpc/fortran/



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1996-06-13  4:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-06-11  4:00 F90 compiler on DecUnix 3.2 Rob Hooft
1996-06-13  4:00 ` Steve Lionel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox