Displaying 1 result from an estimated 1 matches for "nxrows".
Did you mean:
n_rows
2005 May 20
1
using src/Makevars file
...N_UNIT=-1
FLIBS=/home/jbremson/bin/irun/lib/libgfortran.a
but when running an R CMD check on the package I see that
it's still using g77 to compile:
-----output----
...
** libs
g77 -fPIC -g -O2 -c estimate.f -o estimate.o
estimate.f: In subroutine `estimate':
estimate.f:20:
forall (i = 1:nxrows) beta(i) = i * 2
^
Invalid declaration of or reference to symbol `forall' at (^) [initially
seen at (^)]
...
----end output ----
The code compiles using:
gfortran -c estimate.f
I can run my code if I build the .so by hand and then dyn.load it.
Here is my F95 test code:
subroutine estimate(...