<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic mixed F/C in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/mixed-F-C/m-p/973422#M24550</link>
    <description>Hello! &lt;BR /&gt; &lt;BR /&gt;Can I call a Fortran subroutine from a C function, which is called by a Fortran Main program? &lt;BR /&gt; &lt;BR /&gt;To make it clearer:  &lt;BR /&gt;I have 3 programs: &lt;BR /&gt;1) Main program coded in FORTRAN: F_main &lt;BR /&gt;2) a void function in C: c_sub1 &lt;BR /&gt;3) a subroutine in FORTRAN: f_sub2 &lt;BR /&gt; &lt;BR /&gt;in F_main, c_sub1 is called; &lt;BR /&gt;in c_sub1, f_sub2 is called. &lt;BR /&gt; &lt;BR /&gt;I was able to call c_sub1 when f_sub2 was not declared and used in c_sub1. When I added the relative info into c_sub1 about f_sub2. The F_main couldn't find c_sub1. &lt;BR /&gt; &lt;BR /&gt;Your help is highly appreciated! &lt;BR /&gt; &lt;BR /&gt;Jenny</description>
    <pubDate>Tue, 13 Nov 2001 06:45:20 GMT</pubDate>
    <dc:creator>Intel_C_Intel</dc:creator>
    <dc:date>2001-11-13T06:45:20Z</dc:date>
    <item>
      <title>mixed F/C</title>
      <link>https://community.intel.com/t5/Software-Archive/mixed-F-C/m-p/973422#M24550</link>
      <description>Hello! &lt;BR /&gt; &lt;BR /&gt;Can I call a Fortran subroutine from a C function, which is called by a Fortran Main program? &lt;BR /&gt; &lt;BR /&gt;To make it clearer:  &lt;BR /&gt;I have 3 programs: &lt;BR /&gt;1) Main program coded in FORTRAN: F_main &lt;BR /&gt;2) a void function in C: c_sub1 &lt;BR /&gt;3) a subroutine in FORTRAN: f_sub2 &lt;BR /&gt; &lt;BR /&gt;in F_main, c_sub1 is called; &lt;BR /&gt;in c_sub1, f_sub2 is called. &lt;BR /&gt; &lt;BR /&gt;I was able to call c_sub1 when f_sub2 was not declared and used in c_sub1. When I added the relative info into c_sub1 about f_sub2. The F_main couldn't find c_sub1. &lt;BR /&gt; &lt;BR /&gt;Your help is highly appreciated! &lt;BR /&gt; &lt;BR /&gt;Jenny</description>
      <pubDate>Tue, 13 Nov 2001 06:45:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/mixed-F-C/m-p/973422#M24550</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2001-11-13T06:45:20Z</dc:date>
    </item>
  </channel>
</rss>

