That works for me.  Thanks Bill!<br><br><div class="gmail_quote">On Fri, Oct 30, 2009 at 6:08 PM, Bill Hoffman <span dir="ltr">&lt;<a href="mailto:bill.hoffman@kitware.com">bill.hoffman@kitware.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">Kelly (KT) Thompson wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<br>
I am trying to use Intel ifort on Linux to compile source code that uses the extension .F95.  By default, ifort will not compile files with this extension.  To allow the compilation, the name of the source file must be preceded by -Tf (treat the next option as fortran source). While I know how to modify the Fortran flags, I don&#39;t know how to add the &#39;-Tf&#39; flag that is directly in front of the source file name (and after the -c).  Can anyone point me in the right direction?<br>

<br>
</blockquote>
<br></div>
You could try this:<br>
<br>
Edit<br>
/Modules/Platform/Linux-Intel-Fortran.cmake<br>
<br>
And add this:<br>
<br>
  SET(CMAKE_Fortran_COMPILE_OBJECT<br>
    &quot;&lt;CMAKE_Fortran_COMPILER&gt; -o &lt;OBJECT&gt; &lt;DEFINES&gt; &lt;FLAGS&gt; -c -Tf &lt;SOURCE&gt;&quot;)<br>
<br>
I think that will work.<br><font color="#888888">
<br>
<br>
-Bill<br>
</font></blockquote></div><br>