Displaying 1 result from an estimated 1 matches for "librrtmg".
2009 Dec 29
2
Calling Fortran90 code from R
...with gcc/gfortran, in case
this matters. The code heavily relies on F90 features, in particular
modules, which seem to clash with R's assumptions for calling compiled
code.
What I have done:
-compiled the files to mod/object files using gfortran
-am able to create a dynamic link library "librrtmg.so"
Further experiments:
- dyn.load('librrtmg.so') works
-. with "objdump -T librrtmg.so", I have found the following function
symbols to call:
1. __rrtmg_lw_init_MOD_rrtmg_lw_ini (the initialization of the code)
2. __rrtmg_?w_rad_MOD_rrtmg_lw (the actual main functi...