Skip to content
Prev 325151 / 398503 Next

Fortran modules

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