Displaying 1 result from an estimated 1 matches for "dgetf2".
Did you mean:
dget
2015 Mar 25
4
F77_CALL/NAME problem
...(DGESV)( int*, int*, double*, int*, int*, double*, int*, int*);
void solve( int *p, double *A, double *Ainv)
{
...
F77_CALL(DGESV)(p, p, Ain, p, ipiv, Bin, p, &info);
}
In order to create the ".so" file to load in R I downloaded the dgesv.f file
as well as the dependencies (dgetf2.f dgetrf.f dgetrs.f dlaswp.f). As I was
used to I ran in a terminal
R CMD COMPILE *.f
R CMD SHLIB MY_C_FILE.c *.o
to get the MY_C_FILE.so file. However, when I try to load it in a R session
I get the following error message "undefined symbol: DGESV_". Similar errors
are occurring with s...