<div dir="ltr">On Fri, May 10, 2013 at 8:48 PM, <span dir="ltr">&lt;<a href="mailto:cmake-request@cmake.org" target="_blank">cmake-request@cmake.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<div id=":1jo">I&#39;m trying to figure out how to install the module (.mod) files that are<br>generated by the Fortran compiler.  <br></div></blockquote><div><br></div><div>[SNIP]</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<div id=":1jo">Thanks!<br>  Neil</div></blockquote><div class="gmail_extra"><br></div><div class="gmail_extra">Neil, </div><div class="gmail_extra">I&#39;m curious why you want to install the .mod files. As far as I know, I don&#39;t think you need these at run time, but I could be wrong. (I know this to be true at least for statically linked binaries.) I do know, however, if you are providing a library .mod files are NOT compatible across different compiler vendors, and even different compiler releases from the same vendor. This, along with compilation cascades, is one of the main motivations for the sub-module functionality specified in F2008. This way, library vendors can ship the module sources with the libraries, containing any type definitions, interface info, other use associations, module variables etc. but place all of the procedures in submodules and ship those as (possibly an archive) of compiled submodules/object files. The customer can then build the .mod file with their compiler, without exposing the possibly proprietary implementation details of the methods/procedures. This is my current understanding, anyway.</div>

<div class="gmail_extra"><br clear="all"><div>Izaak Beekman<br>===================================<br>(301)244-9367<br>Princeton University Doctoral Candidate<br>Mechanical and Aerospace Engineering<br><a href="mailto:ibeekman@princeton.edu" target="_blank">ibeekman@princeton.edu</a><br>

<br>UMD-CP Visiting Graduate Student<br>Aerospace Engineering<br><a href="mailto:ibeekman@umiacs.umd.edu" target="_blank">ibeekman@umiacs.umd.edu</a><br><a href="mailto:ibeekman@umd.edu" target="_blank">ibeekman@umd.edu</a></div>


</div></div>