Dear list,
Has there been any success in loading modules written in f90? I tried
% ifort -c myfile.f90
% R CMD SHLIB myfile.o
% R
dyn.load('myfile.so')
.Fortran('myfile')
I used intel (free) fortran compiler under linux. All commands run
successfully except that function myfile is not loaded. (Is there a
function/tool to list symbols in a .so file?)
Many thanks in advance.
Bo
Bo Peng wrote:> Dear list, > > Has there been any success in loading modules written in f90? I tried > > % ifort -c myfile.f90 > % R CMD SHLIB myfile.o > % R > dyn.load('myfile.so') > .Fortran('myfile') > > I used intel (free) fortran compiler under linux. All commands run > successfully except that function myfile is not loaded. (Is there a > function/tool to list symbols in a .so file?)If there are symbols present then unix 'nm' should show them to you.