I give up. Maybe it is my search (Windows) but I cannot seem to find the definition of the F77_CALL or F77_NAME macros. Either there are too many matches or the search just doesn't find it. For example where is the source for: F77_CALL(dpotri) ? Thank you. Kevin
On 03/01/2010 9:11 AM, rkevinburton at charter.net wrote:> I give up. Maybe it is my search (Windows) but I cannot seem to find the definition of the F77_CALL or F77_NAME macros. Either there are too many matches or the search just doesn't find it. For example where is the source for: > > F77_CALL(dpotri) > > ?It's your search. The definition is in src/include/R_ext/RS.h. BTW, this sort of question is much more of an R-devel question than an R-help one. Duncan Murdoch
On Jan 3, 2010, at 9:11 AM, <rkevinburton at charter.net> wrote:> I give up. Maybe it is my search (Windows) but I cannot seem to find > the definition of the F77_CALL or F77_NAME macros. Either there are > too many matches or the search just doesn't find it. For example > where is the source for: > > F77_CALL(dpotri)G-Search: F77_CALL(dpotri) # second hit https://svn.r-project.org/R/trunk/src/modules/lapack/Lapack.c Given the fact that it occurs in source code module entitled Lapack.c wouldn't the logical assumption be that is is part of that facility? G-Search: Lapack (dpotri) # first hit http://www.netlib.org/lapack/double/dpotri.f (My net searching effort was two Google entries and three URL clicks. You should re-examine your searching strategies. I don't think the fact that I use a Mac is the reason for the relative ease of searching out this information.)> --David Winsemius, MD Heritage Laboratories West Hartford, CT
On Sun, Jan 3, 2010 at 2:11 PM, <rkevinburton at charter.net> wrote:> I give up. Maybe it is my search (Windows) but I cannot seem to find the definition of the F77_CALL or F77_NAME macros. Either there are too many matches or the search just doesn't find it. For example where is the source for: > > F77_CALL(dpotri) > > ?I'm not sure what the Windows equivalent of 'grep -r F77_CALL .' is, but the developer who wrote lbfgsb.c left a blatant clue which popped up as the third match: ./appl/lbfgsb.c:#include <R_ext/RS.h> /* for F77_CALL */ About three screenfulls later the actual definition itself appeared. If you are going to do a lot of this on a windows box, get cygwin and learn to use the unix utilities in a cygwin bash shell! Barry