Re: R-alpha: Fortran Survey

Ross Ihaka (ihaka@stat.auckland.ac.nz)
Fri, 1 Nov 1996 14:26:50 +1300 (NZDT)


From: Ross Ihaka <ihaka@stat.auckland.ac.nz>
Date: Fri, 1 Nov 1996 14:26:50 +1300 (NZDT)
Message-Id: <199611010126.OAA21366@stat11.stat.auckland.ac.nz>
To: r-testers@stat.math.ethz.ch
Subject: Re: R-alpha: Fortran Survey
In-Reply-To: <9610312132.AA03027@nokomis.stat.umn.edu>
 <9610312132.AA03027@nokomis.stat.umn.edu>

Luke Tierney writes:

 > Seems reasonable. HP-UX (be nice, please :-)) does provide a flag n

Sorry, I picked that one up from our system manager who has a whole
collection of them ...

 > its F77 to add underscores (is there anything else they do weird in
 > Fortran?) so if you like to use underscore names and are compilingyour
 > own fortran you're OK. If you also want to be able to support calling
 > precompiled libraries, they will probably have been built without
 > underscores.

I have been playing on Mike Meyer's machine to get HP-UX figured out.
The fortran "_" problem is fairly easy to figure out, so I use the
native way of doing things.  The big problem is that autoconfigure
decides that sys/times.h is there, but for reasons that escape me
c89 doesn't seem to find it (gcc does).

 > Have you thought about using native BLAS if it is available?

I hadn't, but if it lives in the usual system places it should be
simple enough to find and use in place of the portable one.  I'll
modify the setup so this will happen.

Another hard nut seems to be finding out what flags are needed by
cc and ld to set up shared libraries.  This seems to be very platform
dependent.
	Ross
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
r-testers mailing list -- To (un)subscribe, send
subscribe	or	unsubscribe
(in the "body", not the subject !)  To: r-testers-request@stat.math.ethz.ch
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-