<?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 Hm, I can only judge this in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Creating-a-dll-file/m-p/1123379#M132229</link>
    <description>&lt;P&gt;Hm, I can only judge this from the screenshot. The first line is incorrect as a Fortran statement. It starts with a label and then there should a keyword like DO or IF or another construct to associate the label with - that is the meaning of the error message. Why the compiler still does not accept it, is not something I can work out from the screenshot.&lt;/P&gt;

&lt;P&gt;Can you post the screenshot for the error you get when the first line is properly commented out as well?&lt;/P&gt;</description>
    <pubDate>Wed, 28 Dec 2016 13:57:33 GMT</pubDate>
    <dc:creator>Arjen_Markus</dc:creator>
    <dc:date>2016-12-28T13:57:33Z</dc:date>
    <item>
      <title>Creating a dll. file</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Creating-a-dll-file/m-p/1123365#M132215</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I am trying to create a dll file for my library in TRNSYS with the intel visual compiler and microsoft visual studio. When compiling I receive two errors "Compilation Aborted (code1)" and "error #6580: Name in only-list does not exist.", which can be see from the build log.&lt;/P&gt;

&lt;P&gt;TRNSYS Version 17.01.0028 and Microsoft Visual Studio Community 2015 Version 14.0.25431.01 update 3.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;Any help with this issue would be highly appreciated. The source file is also included.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Dec 2016 20:13:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Creating-a-dll-file/m-p/1123365#M132215</guid>
      <dc:creator>Joseph_E_</dc:creator>
      <dc:date>2016-12-26T20:13:31Z</dc:date>
    </item>
    <item>
      <title>The source you attached isn't</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Creating-a-dll-file/m-p/1123366#M132216</link>
      <description>&lt;P&gt;The source you attached isn't the one that got the error.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Dec 2016 16:35:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Creating-a-dll-file/m-p/1123366#M132216</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2016-12-27T16:35:28Z</dc:date>
    </item>
    <item>
      <title>Hi again, </title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Creating-a-dll-file/m-p/1123367#M132217</link>
      <description>&lt;P&gt;Hi again,&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thank you for the response.&lt;SPAN style="font-size: 1em;"&gt;Yes, you are correct. The source code "Type250.f90" calls "callprogram.f90", where it gets an error, I attached it to this message now. I found another thread regarding this issue "&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em;"&gt;http://energy-models.com/forum/trnsys-users-type-15" where they say to comment out "&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0); font-family: proxima-nova, sans-serif; font-size: 16px;"&gt;!Use ifport , only:createProcess" , which i assume is line 50 in the source where the error occurs? Will there be any problems doing this?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Dec 2016 20:04:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Creating-a-dll-file/m-p/1123367#M132217</guid>
      <dc:creator>Joseph_E_</dc:creator>
      <dc:date>2016-12-27T20:04:39Z</dc:date>
    </item>
    <item>
      <title>You were given incorrect</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Creating-a-dll-file/m-p/1123368#M132218</link>
      <description>&lt;P&gt;You were given incorrect information. This code is trying to use the Windows API CreateProcess routine. If you replace IFPORT with KERNEL32 it may work.&lt;/P&gt;

&lt;P&gt;For more information on calling CreateProcess see&amp;nbsp;http://software.intel.com/en-us/forums/topic/275071#comment-1548443&lt;/P&gt;</description>
      <pubDate>Tue, 27 Dec 2016 20:18:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Creating-a-dll-file/m-p/1123368#M132218</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2016-12-27T20:18:37Z</dc:date>
    </item>
    <item>
      <title>Hi again,</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Creating-a-dll-file/m-p/1123369#M132219</link>
      <description>&lt;P&gt;Hi again,&lt;/P&gt;

&lt;P&gt;I replaced&amp;nbsp;&lt;SPAN style="color: rgb(0, 0, 0); font-family: proxima-nova, sans-serif; font-size: 16px;"&gt;ifport with&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px;"&gt;KERNEL32 in the line "&amp;nbsp;&lt;/SPAN&gt;&amp;nbsp; &amp;nbsp;Use ifport , only:createProcess", then I got one fatal error " in Callprogram.f90.&lt;/P&gt;

&lt;PRE&gt;LINK : fatal error LNK1207: incompatible PDB format in 'C:\Trnsys17\Compilers\Ivf11x\TRNDll\Debug\TRNDll.pdb'; delete and rebuild"&lt;/PRE&gt;

&lt;P&gt;which can be seen from the added build log at the bottom of the text file.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 13.008px;"&gt;&amp;nbsp;I am new to this so i apologize for any frustrating questions,&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 13.008px;"&gt;best regards.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Dec 2016 20:47:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Creating-a-dll-file/m-p/1123369#M132219</guid>
      <dc:creator>Joseph_E_</dc:creator>
      <dc:date>2016-12-27T20:47:40Z</dc:date>
    </item>
    <item>
      <title>That's a very different error</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Creating-a-dll-file/m-p/1123370#M132220</link>
      <description>&lt;P&gt;That's a very different error. You should be able to get through that by deleting any files with .pdb as a file type in the project and then rebuilding the project.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Dec 2016 20:55:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Creating-a-dll-file/m-p/1123370#M132220</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2016-12-27T20:55:55Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Creating-a-dll-file/m-p/1123371#M132221</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I tried to delete the .pdb files and then rebuilding the file. Then I got this build log with 0 errors but alot of warnings and still no dll. file produced as far as I can see.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Dec 2016 22:48:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Creating-a-dll-file/m-p/1123371#M132221</guid>
      <dc:creator>Joseph_E_</dc:creator>
      <dc:date>2016-12-27T22:48:52Z</dc:date>
    </item>
    <item>
      <title>Yes, you did get a DLL. It</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Creating-a-dll-file/m-p/1123372#M132222</link>
      <description>&lt;P&gt;Yes, you did get a DLL. It was copied to your EXE folder. The build succeeded.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Dec 2016 00:01:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Creating-a-dll-file/m-p/1123372#M132222</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2016-12-28T00:01:54Z</dc:date>
    </item>
    <item>
      <title>Yes, but I think it skipped</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Creating-a-dll-file/m-p/1123373#M132223</link>
      <description>&lt;P&gt;Yes, but I think it skipped the component i was actually looking to compile, as it is not represented in this build. When right clicking and just pressing compile ( which i assume is the same as build) i get this build log attached.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Dec 2016 00:40:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Creating-a-dll-file/m-p/1123373#M132223</guid>
      <dc:creator>Joseph_E_</dc:creator>
      <dc:date>2016-12-28T00:40:51Z</dc:date>
    </item>
    <item>
      <title>No, right click and select</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Creating-a-dll-file/m-p/1123374#M132224</link>
      <description>&lt;P&gt;No, right click and select Compile just compiles one source, and it looks as if now you have a syntax error in that file. But maybe TYPE_250 isn't in your project. Please attach the .vfproj file.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Dec 2016 01:58:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Creating-a-dll-file/m-p/1123374#M132224</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2016-12-28T01:58:01Z</dc:date>
    </item>
    <item>
      <title>The first line in Type250.f90</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Creating-a-dll-file/m-p/1123375#M132225</link>
      <description>&lt;P&gt;The first line in Type250.f90 was probably meant to be a comment: "Object: Type250" is not a valid Fortran statement.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Dec 2016 02:07:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Creating-a-dll-file/m-p/1123375#M132225</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2016-12-28T02:07:48Z</dc:date>
    </item>
    <item>
      <title>Okay, I attached the .vfproj</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Creating-a-dll-file/m-p/1123376#M132226</link>
      <description>&lt;P&gt;Okay, I attached the .vfproj file from where Type250.f90 is placed. Also i attached a printscreen of the interface. From the output window It seems like it skips the project "MyType" where&amp;nbsp;&lt;SPAN style="font-size: 13.008px;"&gt;Type250.f90 is located. It is this source i want to create a dll file from.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 13.008px;"&gt;Mecej4, commenting out this line only caused 5 more errors so i just left it as it is.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 13.008px;"&gt;Thanks for the feedback.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Dec 2016 12:56:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Creating-a-dll-file/m-p/1123376#M132226</guid>
      <dc:creator>Joseph_E_</dc:creator>
      <dc:date>2016-12-28T12:56:38Z</dc:date>
    </item>
    <item>
      <title>From the messages I get the</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Creating-a-dll-file/m-p/1123377#M132227</link>
      <description>&lt;P&gt;From the messages I get the impression that the projects were excluded from the build. Try and open the configuration manager - there you can indicate per project whether they are to be built or not. It may be that somehow these projects have been excluded.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Dec 2016 13:09:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Creating-a-dll-file/m-p/1123377#M132227</guid>
      <dc:creator>Arjen_Markus</dc:creator>
      <dc:date>2016-12-28T13:09:15Z</dc:date>
    </item>
    <item>
      <title>Yes, you are correct Arjen,</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Creating-a-dll-file/m-p/1123378#M132228</link>
      <description>&lt;P&gt;Yes, you are correct Arjen, it was not checked of in the manager as you say. I now checked it of and it now tries to compile the correct file, but still some errors occur. Seems like the opening line and the last line is not correct, as Mecej4 pointed out, but commenting it out did not work..&lt;/P&gt;</description>
      <pubDate>Wed, 28 Dec 2016 13:49:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Creating-a-dll-file/m-p/1123378#M132228</guid>
      <dc:creator>Joseph_E_</dc:creator>
      <dc:date>2016-12-28T13:49:11Z</dc:date>
    </item>
    <item>
      <title>Hm, I can only judge this</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Creating-a-dll-file/m-p/1123379#M132229</link>
      <description>&lt;P&gt;Hm, I can only judge this from the screenshot. The first line is incorrect as a Fortran statement. It starts with a label and then there should a keyword like DO or IF or another construct to associate the label with - that is the meaning of the error message. Why the compiler still does not accept it, is not something I can work out from the screenshot.&lt;/P&gt;

&lt;P&gt;Can you post the screenshot for the error you get when the first line is properly commented out as well?&lt;/P&gt;</description>
      <pubDate>Wed, 28 Dec 2016 13:57:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Creating-a-dll-file/m-p/1123379#M132229</guid>
      <dc:creator>Arjen_Markus</dc:creator>
      <dc:date>2016-12-28T13:57:33Z</dc:date>
    </item>
    <item>
      <title>Yes, attached is the</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Creating-a-dll-file/m-p/1123380#M132230</link>
      <description>&lt;P&gt;Yes, attached is the screenshot of the errorlist and a text file of Type250, it seems like every line with "return" in it causes an error.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Dec 2016 14:29:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Creating-a-dll-file/m-p/1123380#M132230</guid>
      <dc:creator>Joseph_E_</dc:creator>
      <dc:date>2016-12-28T14:29:42Z</dc:date>
    </item>
    <item>
      <title>The reason for the error</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Creating-a-dll-file/m-p/1123381#M132231</link>
      <description>&lt;P&gt;The reason for the error messages is that your source code does not contain a SUBROUTINE or FUNCTION statement before the declarations and executable statements. Not having seen either, the compiler assumes that the source code is a main program without a PROGRAM statement (which is allowed, but not recommended). Afterwards, it sees a RETURN statement, which is invalid in a main program.&lt;/P&gt;

&lt;P&gt;Please consult the TRNSYS documentation and example source files to see the proper SUBROUTINE statement to use.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Dec 2016 15:06:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Creating-a-dll-file/m-p/1123381#M132231</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2016-12-28T15:06:00Z</dc:date>
    </item>
    <item>
      <title>Okay, that makes alot of</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Creating-a-dll-file/m-p/1123382#M132232</link>
      <description>&lt;P&gt;Okay, that makes alot of sense. Thank you all for the help. I will look into the documentation.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Dec 2016 00:07:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Creating-a-dll-file/m-p/1123382#M132232</guid>
      <dc:creator>Joseph_E_</dc:creator>
      <dc:date>2016-12-29T00:07:51Z</dc:date>
    </item>
    <item>
      <title>I am not a TRNSYS user, but</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Creating-a-dll-file/m-p/1123383#M132233</link>
      <description>&lt;P&gt;I am not a TRNSYS user, but there are indications in the source files that you posted that they were machine-generated, at least partly. If so, the problem with no SUBROUTINE statement being generated is a problem attributable to the TRNSYS file generation process/program. In such situations, fixing just the generated faulty code is not a viable solution.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Dec 2016 00:46:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Creating-a-dll-file/m-p/1123383#M132233</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2016-12-29T00:46:52Z</dc:date>
    </item>
  </channel>
</rss>

