home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!gatech!rpi!usc!news!tbone!hou
- From: hou@agouron.com (Xinjun Hou)
- Newsgroups: comp.unix.aix
- Subject: AIX FORTRAN (xlf) questions
- Message-ID: <1992Aug25.180509.3090@agouron.com>
- Date: 25 Aug 92 18:05:09 GMT
- Sender: usenet@agouron.com (For News posting)
- Organization: Agouron Pharmaceuticals, Inc., San Diego, CA
- Lines: 35
-
- 1) xlf
- I have trouble using the SNGL function on a RS/6000-520. The compiler
- gives error message for a statement demonstrated below:
-
- PROGRAM FOO
- EH = SNGL(5.0)
- END
-
- The "%xlf foo.f" gave following messages:
- >
- > 2.14 1513-041: (S) Arguments of the wrong type were specified for\
- > the INTRINSIC function sngl.
- >** foo === End of Compilation 1 ===
- >1501-511 Compilation failed for file foo.f.
- >
-
- Neiter does it accept EH = SNGL(A) where A is a real*4
-
- It compiled OK with 5.0 is changed to 5.0D0. It seems like that SNGL
- requires a double precision argument, but the reference manual of xlf
- says that SNGL can take any real arguments (XLF ref manual p160)
-
- 2) .o files
-
- It appears that the .o file will not be removed if the compilation
- failed. This could cause a problem for make. Is this a bug or a
- feature?
-
-
- Any help would be appreciated.
-
- --
- Xinjun Jason Hou 010110000110100101101110
- Agouron Pharmaceticals, Inc 011010100111010101101110
- hou@agouron.com 010010000110111101110101
-