[R] Fortran modules

Filippo Monari ingfimo at gmail.com
Tue Jun 11 17:12:48 CEST 2013


Hi,
I have some subroutines using function and subroutine as well from 
Fortran modules.
In the f90 source code I used the statement:

use mymodule

and it compile well through the R CMD SHL command.

Anyway when I call dyn.load('myF90.so') form R I get the following error:

unable to load shared object '.../myF90.so':
   .../myF90.so: undefined symbol: __mymodue_MOD_myfunction

Am I doing something wrong or R cannot support subroutine using modules?

Thank you in advance,
Filippo



More information about the R-help mailing list