<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Hello,</div><div class=""><br class=""></div><div class="">After my success with using WRAPIT on the simple example, I have been unable to create a Fortran shared object with the actual WRF F90 module I want to use.</div><div class=""><br class=""></div><div class="">I’ve attached the F77 subroutine (module_bl_gwdo_gsd.NCL.f) that calls the F90 WRF module (module_bl_gwdo_gsd.f90).  When I enter:</div><div class="">%> WRAPIT module_bl_gwdo_gsd.f90 module_bl_gwdo_gsd.NCL.f</div><div class=""><br class=""></div><div class="">I get the message:</div><div class=""><div style="margin: 0px; font-size: 10px; font-family: Monaco;" class="">WRAPIT Version: 120209</div><div style="margin: 0px; font-size: 10px; font-family: Monaco;" class="">A syntax error occurred while parsing: :</div><div style="margin: 0px; font-size: 10px; font-family: Monaco;" class="">COMPILING module_bl_gwdo_gsd.f90</div><div style="margin: 0px; font-size: 10px; font-family: Monaco;" class="">COMPILING module_bl_gwdo_gsd.NCL.f</div><div style="margin: 0px; font-size: 10px; font-family: Monaco;" class="">LINKING</div><div style="margin: 0px; font-size: 10px; font-family: Monaco;" class="">END WRAPIT</div></div><div class=""><br class=""></div><div class="">The f90 module compiles and the files module_bl_gwdo_gsd.mod and module_bl_gwdo_gsd.so are created.  However when I try to link to the shared object in NCL, using:</div><div class="">0>  external GWD “./module_bl_gwdo_gsd.so"</div><div class=""><br class=""></div><div class="">I get the message:</div><div class=""><div style="margin: 0px; font-size: 10px; font-family: Monaco;" class="">warning:Could not find Init() in external file ./module_bl_gwdo_gsd.so, file not loaded</div><div style="margin: 0px; font-size: 10px; font-family: Monaco;" class="">warning:error at line 0</div></div><div style="margin: 0px; font-size: 10px; font-family: Monaco;" class=""><br class=""></div><div style="margin: 0px; font-size: 10px; font-family: Monaco;" class=""><br class=""></div><div class="">I’m wondering if there’s something wrong with my F77 syntax.  The WRAPIT execution complains about a “:” somewhere?</div><div class=""><br class=""></div><div class="">Thanks.</div><div class=""><br class=""></div><div class="">— Mike</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""></div></body></html>