Displaying 1 result from an estimated 1 matches for "arsim".
Did you mean:
irsim
2002 May 30
1
problem of compile fortran program
...rule to make target `'prog.o', needed by `prog.a'. stop.
Then I try to compile it by absoft fortran compiler, it works and produces
prog.dll.
But when this routine is called in R, it did nothing in fact.
For example,
> x<-1:20
> phi<-0.75
> n<-20
> .Fortran("_ARSIM",x,phi,n)
[[1]]
[1] 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
[[2]]
[1] 0.75
[[3]]
[1] 20
What's wrong? I don't know how to deal with it.
Any suggestions would be great appreciated.
Thanks in advance.
-------FORTRAN CODE: prog.f-------
SUBROUTINE ARSIM_(...