<?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 Re: Compiling with ifx (compile option: /od) outputs a large .obj (compared to ifort) in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiling-with-ifx-compile-option-od-outputs-a-large-obj/m-p/1632093#M173719</link>
    <description>&lt;P&gt;Even if it's 64-bit, Less memory means faster response times.&lt;BR /&gt;Since the data to be handled is large, we want to make the program as small as possible.&lt;BR /&gt;I think it's an important issue.&lt;/P&gt;</description>
    <pubDate>Wed, 18 Sep 2024 23:01:55 GMT</pubDate>
    <dc:creator>hmatsuo</dc:creator>
    <dc:date>2024-09-18T23:01:55Z</dc:date>
    <item>
      <title>Compiling with ifx (compile option: /od) outputs a large .obj (compared to ifort)</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiling-with-ifx-compile-option-od-outputs-a-large-obj/m-p/1631944#M173714</link>
      <description>&lt;P&gt;Without optimization, I would like to know if there is a way to make a small size .obj.&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; If I optimize it, it will be difficult to debug.&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Without optimization, I want to make a small size .obj.&lt;BR /&gt;&amp;nbsp; &amp;nbsp; Platform : Windows x64&lt;/P&gt;&lt;P&gt;The results of the survey are as follows.&lt;/P&gt;&lt;P&gt;- I was able to make a small size .obj by the following method.&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Do not specify /Od&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; The number of bytes of .obj created by compiling a source.&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Compilation Option and .obj-size(bytes)&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/Od&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Yes&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; No&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -----------------------------------------&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ifort 19&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 19,989 *a&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 8,697&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ifort 2021&amp;nbsp; &amp;nbsp;19,943&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;8,792&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ifx 2024&amp;nbsp; &amp;nbsp; 271,474 *b&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;10,996 *c&lt;/P&gt;&lt;P&gt;- Considering changing iFort to ifx.&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Until now, it was *a.&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; In ifx, if /OD is specified, *b is obtained&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; In ifx, if /OD is not specified, *c is obtained&lt;/P&gt;&lt;P&gt;- I compiled with /Od and /nodebug, but the size of .obj was the same as when /Od was specified.&lt;/P&gt;&lt;P&gt;- Size of .exe linked with other .obj and .lib.&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; *a&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;86,597Kbytes&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; *b&amp;nbsp; &amp;nbsp; 184,088Kbytes (huge)&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; *c&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;81,290Kbytes&lt;/P&gt;&lt;P&gt;- If /Od is not specified, The size of the obj will be smaller.&lt;BR /&gt;&amp;nbsp; I'm guessing that the optimization default, /O2, will be specified.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2024 08:10:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiling-with-ifx-compile-option-od-outputs-a-large-obj/m-p/1631944#M173714</guid>
      <dc:creator>hmatsuo</dc:creator>
      <dc:date>2024-09-18T08:10:54Z</dc:date>
    </item>
    <item>
      <title>Re: Compiling with ifx (compile option: /od) outputs a large .obj (compared to ifort)</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiling-with-ifx-compile-option-od-outputs-a-large-obj/m-p/1631955#M173715</link>
      <description>&lt;P&gt;"&lt;SPAN&gt;&amp;nbsp;I would like to know if there is a way to make a small size .obj"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Why? Does it matter?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2024 08:54:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiling-with-ifx-compile-option-od-outputs-a-large-obj/m-p/1631955#M173715</guid>
      <dc:creator>andrew_4619</dc:creator>
      <dc:date>2024-09-18T08:54:11Z</dc:date>
    </item>
    <item>
      <title>Re: Compiling with ifx (compile option: /od) outputs a large .obj (compared to ifort)</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiling-with-ifx-compile-option-od-outputs-a-large-obj/m-p/1632001#M173717</link>
      <description>&lt;P&gt;If (when) "size matters", compile the fully debugged sections of code with optimizations enabled, and compile the necessary source files with no optimizations and debugging enabled.&lt;/P&gt;&lt;P&gt;In MS VS Solution Explorer, right-click on a source file, then set the specific compiler optimizations for that file.&lt;/P&gt;&lt;P&gt;Not, it is often beneficial to add a configuration&lt;/P&gt;&lt;P&gt;Debug - Full debug&lt;/P&gt;&lt;P&gt;Release - Full Release&lt;/P&gt;&lt;P&gt;ReleaseDebug - mostly Release, some Debug&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jim Dempsey&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2024 14:23:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiling-with-ifx-compile-option-od-outputs-a-large-obj/m-p/1632001#M173717</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2024-09-18T14:23:48Z</dc:date>
    </item>
    <item>
      <title>Re: Compiling with ifx (compile option: /od) outputs a large .obj (compared to ifort)</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiling-with-ifx-compile-option-od-outputs-a-large-obj/m-p/1632093#M173719</link>
      <description>&lt;P&gt;Even if it's 64-bit, Less memory means faster response times.&lt;BR /&gt;Since the data to be handled is large, we want to make the program as small as possible.&lt;BR /&gt;I think it's an important issue.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2024 23:01:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiling-with-ifx-compile-option-od-outputs-a-large-obj/m-p/1632093#M173719</guid>
      <dc:creator>hmatsuo</dc:creator>
      <dc:date>2024-09-18T23:01:55Z</dc:date>
    </item>
    <item>
      <title>Re: Compiling with ifx (compile option: /od) outputs a large .obj (compared to ifort)</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiling-with-ifx-compile-option-od-outputs-a-large-obj/m-p/1632094#M173720</link>
      <description>&lt;P&gt;I understand what is being said.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm experiencing a bug in the optimization with another compiler that isn't an Intel compiler.&lt;BR /&gt;Because of that, I want to use it without optimizing it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I understand that ifort and ifx have different compilers, so the object files are different.&lt;BR /&gt;However, since the ifx object is more than 10 times larger than the ifort,&lt;BR /&gt;I would like to know if there is a way to make a small size .obj of ifx.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2024 23:03:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiling-with-ifx-compile-option-od-outputs-a-large-obj/m-p/1632094#M173720</guid>
      <dc:creator>hmatsuo</dc:creator>
      <dc:date>2024-09-18T23:03:00Z</dc:date>
    </item>
    <item>
      <title>Re: Compiling with ifx (compile option: /od) outputs a large .obj (compared to ifort)</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiling-with-ifx-compile-option-od-outputs-a-large-obj/m-p/1632227#M173724</link>
      <description>&lt;P&gt;Does the ifx debug build have array bounds checking enabled and ifort not?&lt;/P&gt;&lt;P&gt;To a lesser extent does the ifx debug build have uninitialized variable checking enabled and ifort not?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jim Dempsey&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2024 13:04:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiling-with-ifx-compile-option-od-outputs-a-large-obj/m-p/1632227#M173724</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2024-09-19T13:04:20Z</dc:date>
    </item>
    <item>
      <title>Re: Compiling with ifx (compile option: /od) outputs a large .obj (compared to ifort)</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiling-with-ifx-compile-option-od-outputs-a-large-obj/m-p/1632247#M173725</link>
      <description>&lt;P&gt;It would be very useful if you could attach a small source file that demonstrates the problem. By any chance does this source declare large arrays with initialization?&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2024 14:40:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiling-with-ifx-compile-option-od-outputs-a-large-obj/m-p/1632247#M173725</guid>
      <dc:creator>Steve_Lionel</dc:creator>
      <dc:date>2024-09-19T14:40:36Z</dc:date>
    </item>
    <item>
      <title>Re: Compiling with ifx (compile option: /od) outputs a large .obj (compared to ifort)</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiling-with-ifx-compile-option-od-outputs-a-large-obj/m-p/1632320#M173738</link>
      <description>&lt;P&gt;The options specified for ifort and ifx are the same.&lt;BR /&gt;&amp;nbsp; &amp;nbsp;/fpp /c /Od /D_WIN64 /Qm64 /warn:declarations /warn /Qsave /GS /nogen-interfaces&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I checked the options in /help, but I couldn't find any description that the default had changed.&lt;BR /&gt;I'd like to know which option you are talking about.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2024 23:33:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiling-with-ifx-compile-option-od-outputs-a-large-obj/m-p/1632320#M173738</guid>
      <dc:creator>hmatsuo</dc:creator>
      <dc:date>2024-09-19T23:33:03Z</dc:date>
    </item>
    <item>
      <title>Re: Compiling with ifx (compile option: /od) outputs a large .obj (compared to ifort)</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiling-with-ifx-compile-option-od-outputs-a-large-obj/m-p/1632321#M173739</link>
      <description>&lt;P&gt;Attach the source files next week.&lt;BR /&gt;(I'm going out on a business trip from now on.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The source in question does not declare large arrays.&lt;BR /&gt;The largest one is INTEGER*8 ARRAY(16).&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2024 23:34:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiling-with-ifx-compile-option-od-outputs-a-large-obj/m-p/1632321#M173739</guid>
      <dc:creator>hmatsuo</dc:creator>
      <dc:date>2024-09-19T23:34:07Z</dc:date>
    </item>
    <item>
      <title>Re: Compiling with ifx (compile option: /od) outputs a large .obj (compared to ifort)</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiling-with-ifx-compile-option-od-outputs-a-large-obj/m-p/1633534#M173792</link>
      <description>&lt;P&gt;I'm very, very sorry for the delay.&lt;/P&gt;&lt;P&gt;From the original object tendencies, I created a simple source.&lt;BR /&gt;&amp;nbsp; &amp;nbsp; ODSIZE_00.f&lt;BR /&gt;&amp;nbsp; &amp;nbsp; ODSZIE_01.f&lt;BR /&gt;&amp;nbsp; &amp;nbsp; OD_ALIAS.h&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; The differences between ODSIZE_00.f and ODSIZE_01.f are as follows:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ODSIZE_00.f(6): C#include "OD_ALIAS.h"&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ODSIZE_01.f(6): #include "OD_ALIAS.h"&lt;BR /&gt;&amp;nbsp; &amp;nbsp; In OD_ALIAS.h, "!DIR$ ALIAS" is described in 100 lines.&lt;BR /&gt;&amp;nbsp; &amp;nbsp; However, these 100 are symbol names that are not referenced in the source file.&lt;/P&gt;&lt;P&gt;The compile options were specified as follows:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; /fpp /c /Od /I. /D_WIN64 /Qm64 /warn:declarations /warn /Qsave /GS /nogen-interfaces&lt;BR /&gt;&amp;nbsp; &amp;nbsp; (Windows x64)&lt;/P&gt;&lt;P&gt;The file size of the created .obj is as follows:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ODSIZE_00.f&amp;nbsp; &amp;nbsp; &amp;nbsp;ODSZIE_01.f&lt;BR /&gt;&amp;nbsp; &amp;nbsp; ifort 2021&amp;nbsp; &amp;nbsp;1,324 bytes&amp;nbsp; &amp;nbsp; &amp;nbsp; 1,324 bytes&lt;BR /&gt;&amp;nbsp; &amp;nbsp; ifx 2024&amp;nbsp; &amp;nbsp; &amp;nbsp; 1,590 bytes&amp;nbsp; &amp;nbsp; &amp;nbsp; 5,023 bytes&lt;/P&gt;&lt;P&gt;When I check the .obj with dumpbin, "RAW DATA #5" is replaced by "!DIR$ALIAS".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Information about the system I'm developing.&lt;BR /&gt;&amp;nbsp; &amp;nbsp; - The system is created in Fortran and C.&lt;BR /&gt;&amp;nbsp; &amp;nbsp; - A single source file allows for 32-bit and 64-bit compilation.&lt;BR /&gt;&amp;nbsp; &amp;nbsp; - "!DIR$ ALIAS" is used to replace the symbol name.&lt;BR /&gt;&amp;nbsp; &amp;nbsp; - More than 6,000 "!DIR$ ALIAS" are registered in the include files used by all sources.&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Therefore, in some source files, "!DIR$ ALIAS" is also described as unreferenced.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I don't specify the compile option "/Od" (i.e. "/O2"), then The file size of .obj is as follows:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ODSIZE_00.f&amp;nbsp; &amp;nbsp;ODSZIE_01.f&lt;BR /&gt;&amp;nbsp; &amp;nbsp; ifort 2021 1,132 bytes&amp;nbsp; &amp;nbsp; &amp;nbsp;1,132 bytes&lt;BR /&gt;&amp;nbsp; &amp;nbsp; ifx 2024&amp;nbsp; &amp;nbsp; 1,409 bytes&amp;nbsp; &amp;nbsp; &amp;nbsp;1,409 bytes&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm wondering if the unused information for "DIR$ALIAS" is left if I specify "/Od".&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2024 04:00:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiling-with-ifx-compile-option-od-outputs-a-large-obj/m-p/1633534#M173792</guid>
      <dc:creator>hmatsuo</dc:creator>
      <dc:date>2024-09-26T04:00:52Z</dc:date>
    </item>
  </channel>
</rss>

