home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / lang / fortran / 3146 < prev    next >
Encoding:
Internet Message Format  |  1992-08-25  |  1.5 KB

  1. Path: sparky!uunet!gatech!rpi!usc!news!tbone!hou
  2. From: hou@agouron.com (Xinjun Hou)
  3. Newsgroups: comp.lang.fortran
  4. Subject: AIX FORTRAN (xlf) questions
  5. Keywords: FORTRAN, bugs, features
  6. Message-ID: <1992Aug25.180138.2971@agouron.com>
  7. Date: 25 Aug 92 18:01:38 GMT
  8. Sender: usenet@agouron.com (For News posting)
  9. Organization: Agouron Pharmaceuticals, Inc., San Diego, CA
  10. Lines: 36
  11.  
  12. 1) xlf
  13. I have trouble using the SNGL function on a RS/6000-520.  The compiler
  14. gives error message for a statement demonstrated below:
  15.  
  16.       PROGRAM FOO
  17.         EH = SNGL(5.0)
  18.       END
  19.  
  20. The "%xlf foo.f" gave following messages:
  21. >
  22. >  2.14   1513-041: (S) Arguments of the wrong type were specified for\
  23. >  the INTRINSIC function sngl.
  24. >** foo   === End of Compilation 1 ===
  25. >1501-511  Compilation failed for file foo.f.
  26. >
  27.  
  28. Neiter does it accept EH = SNGL(A) where A is a real*4
  29.  
  30. It compiled OK with 5.0 is changed to 5.0D0.  It seems like that SNGL
  31. requires a double precision argument, but the reference manual of xlf
  32. says that SNGL can take any real arguments (XLF ref manual p160)
  33.  
  34. 2) .o files
  35.  
  36.    It appears that the .o file will not be removed if the compilation
  37.    failed.  This could cause a problem for make. Is this a bug or a
  38.    feature?
  39.  
  40.    
  41. Any help would be appreciated.
  42.  
  43.  - 
  44. -- 
  45. Xinjun Jason Hou                                       010110000110100101101110
  46. Agouron Pharmaceticals, Inc                            011010100111010101101110
  47. hou@agouron.com                                        010010000110111101110101
  48.