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

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