<?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 application crashing in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/application-crashing/m-p/821279#M47788</link>
    <description>You are developing/modifying a large application with mixed authorship. As exemplified in this thread, it is likely that there are several bugs in the code, which may have remained hidden in the past.&lt;BR /&gt;&lt;BR /&gt;In your situation, I would develop a plan based on "defensive programming". &lt;BR /&gt;&lt;BR /&gt;I would use more than one compiler, work up test cases with known solutions, and set up verification tests to make sure that consistent (though not necessarily identical) results were obtained with different compilers and different compiler options. I would not rely on any single compiler/library to do these things for me automatically. I would not care much about optimization at this stage, because it does not make sense to optimize buggy code.&lt;BR /&gt;&lt;BR /&gt;I have found it helpful to think of each combination of compiler options as a separate version of the compiler. The default "version" of the compiler, being the most commonly used, is probably the most bug free. As I then use other options with specific purposes in mind, I would keep in mind that these "modified versions", while having more powerful capabilities than the default version, are more likely to contain bugs.&lt;BR /&gt;&lt;BR /&gt;Coexisting with bugs by developing defences and work-arounds is a necessary part of the art.</description>
    <pubDate>Fri, 24 Sep 2010 12:39:50 GMT</pubDate>
    <dc:creator>mecej4</dc:creator>
    <dc:date>2010-09-24T12:39:50Z</dc:date>
    <item>
      <title>application crashing</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/application-crashing/m-p/821269#M47778</link>
      <description>Hi&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;I have compiled my application using Intel compilers. The application is linked with MSMPI library and HDF5 library. I have used the following command while creating the executable (I am working in the cygwin env.):&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;$ifort -libs:dll -Qlocation,link,"C:\\PROGRA~2\\MICROS~1.0\\VC\\bin" -o flash3 *.o-link -nodefaultlib:LIBCMT msmpi.lib msmpifec.lib msmpifmc.lib libhdf5.lib&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;The path to MSMPI library and HDF5 library is mentioned in the LIB env. variable.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;The executable is created fine and it runs with 1 process. But when I run with 2 processes, I get this following message:&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;--------------&lt;/DIV&gt;&lt;DIV&gt;&lt;P&gt;Problem signature:&lt;/P&gt;&lt;P&gt;  Problem Event Name:	APPCRASH&lt;/P&gt;&lt;P&gt;  Application Name:	flash3.exe&lt;/P&gt;&lt;P&gt;  Application Version:	0.0.0.0&lt;/P&gt;&lt;P&gt;  Application Timestamp:	4c94f5ff&lt;/P&gt;&lt;P&gt;  Fault Module Name:	StackHash_8f98&lt;/P&gt;&lt;P&gt;  Fault Module Version:	6.0.6002.18005&lt;/P&gt;&lt;P&gt;  Fault Module Timestamp:	49e0421d&lt;/P&gt;&lt;P&gt;  Exception Code:	c0000374&lt;/P&gt;&lt;P&gt;  Exception Offset:	00000000000aef37&lt;/P&gt;&lt;P&gt;  OS Version:	6.0.6002.2.2.0.272.18&lt;/P&gt;&lt;P&gt;  Locale ID:	2057&lt;/P&gt;&lt;P&gt;  Additional Information 1:	8f98&lt;/P&gt;&lt;P&gt;  Additional Information 2:	3926b45e3f7f9075e413d7f43231ac3c&lt;/P&gt;&lt;P&gt;  Additional Information 3:	e6c5&lt;/P&gt;&lt;P&gt;  Additional Information 4:	0b6cf2f93119e73fa1670cd3360652c4&lt;/P&gt;&lt;P&gt;-----------------------&lt;/P&gt;&lt;P&gt;sometimes it also reports:&lt;/P&gt;&lt;P&gt;-----------------------&lt;/P&gt;&lt;P&gt;Problem signature:&lt;/P&gt;&lt;P&gt;Problem Event Name: APPCRASH&lt;/P&gt;&lt;P&gt;  Application Name: flash3.exe&lt;/P&gt;&lt;P&gt;  Application Version: 0.0.0.0&lt;/P&gt;&lt;P&gt;  Application Timestamp: 4c91b3c9&lt;/P&gt;&lt;P&gt;  Fault Module Name: ntdll.dll&lt;/P&gt;&lt;P&gt;  Fault Module Version: 6.0.6002.18005&lt;/P&gt;&lt;P&gt;  Fault Module Timestamp: 49e0421d&lt;/P&gt;&lt;P&gt;  Exception Code: c000007b&lt;/P&gt;&lt;P&gt;  Exception Offset: 00000000000b8fb8&lt;/P&gt;&lt;P&gt;  OS Version: 6.0.6002.2.2.0.272.18&lt;/P&gt;&lt;P&gt;  Locale ID: 2057&lt;/P&gt;&lt;P&gt;  Additional Information 1: fa3e&lt;/P&gt;&lt;P&gt;  Additional Information 2: ac0507478d1c5bd693cfc4fe3987e900&lt;/P&gt;&lt;P&gt;  Additional Information 3: fa3e&lt;/P&gt;&lt;P&gt;  Additional Information 4: ac0507478d1c5bd693cfc4fe3987e900&lt;/P&gt;&lt;P&gt;--------------------&lt;/P&gt;&lt;P&gt;and then the job aborts with this message:&lt;/P&gt;&lt;P&gt;---------------------&lt;/P&gt;&lt;P&gt;job aborted:&lt;/P&gt;&lt;P&gt;[ranks] message&lt;/P&gt;&lt;P&gt;[0] terminated&lt;/P&gt;&lt;P&gt;[1] process exited without calling finalize&lt;/P&gt;&lt;P&gt;---- error analysis -----&lt;/P&gt;&lt;P&gt;[1] on Head&lt;/P&gt;&lt;P&gt;./flash3 ended prematurely and may have crashed. exit code 0xc0000374&lt;/P&gt;&lt;P&gt;---- error analysis -----&lt;/P&gt;&lt;P&gt;---------------------&lt;/P&gt;&lt;P&gt;I am working on Windows Server 2008, HPC Edition. I guess there is some issue with the Windows dll's that it is loading.&lt;/P&gt;&lt;P&gt;Any idea what could be going wrong ?&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Kunal&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 18 Sep 2010 18:50:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/application-crashing/m-p/821269#M47778</guid>
      <dc:creator>Kunal_Rao</dc:creator>
      <dc:date>2010-09-18T18:50:46Z</dc:date>
    </item>
    <item>
      <title>application crashing</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/application-crashing/m-p/821270#M47779</link>
      <description>&lt;P&gt;I used application verifier to check what is going on. I selected my executable and ran it with 2 processes. This is what I got in the log for process 1:&lt;/P&gt;&lt;P&gt;------------------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- &lt;LOGFILE AVRF="Application Verifier"&gt;&lt;/LOGFILE&gt;&lt;/P&gt;&lt;P&gt;- &lt;LOGSESSION timestarted="2010-09-18 : 23:47:28" pid="4868" version="2"&gt;&lt;/LOGSESSION&gt;&lt;/P&gt;&lt;P&gt;- &lt;LOGENTRY time="2010-09-18 : 23:47:29" layername="Heaps" stopcode="0x13" severity="Error"&gt;&lt;/LOGENTRY&gt;&lt;/P&gt;&lt;P&gt;  &lt;MESSAGE&gt;First chance access violation for current stack trace.&lt;/MESSAGE&gt;&lt;/P&gt;&lt;P&gt;  &lt;PARAMETER1&gt;849e0f0 - Invalid address causing the exception.&lt;/PARAMETER1&gt;&lt;/P&gt;&lt;P&gt;  &lt;PARAMETER2&gt;74cae3f0 - Code address executing the invalid access.&lt;/PARAMETER2&gt;&lt;/P&gt;&lt;P&gt;  &lt;PARAMETER3&gt;12f2e0 - Exception record.&lt;/PARAMETER3&gt;&lt;/P&gt;&lt;P&gt;  &lt;PARAMETER4&gt;12ee10 - Context record.&lt;/PARAMETER4&gt;&lt;/P&gt;&lt;P&gt;- &lt;STACKTRACE&gt;&lt;/STACKTRACE&gt;&lt;/P&gt;&lt;P&gt;  &lt;TRACE&gt;vrfcore!VerifierDisableVerifier+934 ( @ 0)&lt;/TRACE&gt;&lt;/P&gt;&lt;P&gt;  &lt;TRACE&gt;ntdll!RtlApplicationVerifierStop+d3 ( @ 0)&lt;/TRACE&gt;&lt;/P&gt;&lt;P&gt;  &lt;TRACE&gt;vfbasics!+7fef0f26377 ( @ 0)&lt;/TRACE&gt;&lt;/P&gt;&lt;P&gt;  &lt;TRACE&gt;vfbasics!+7fef0f27c9b ( @ 0)&lt;/TRACE&gt;&lt;/P&gt;&lt;P&gt;  &lt;TRACE&gt;vfbasics!+7fef0f27392 ( @ 0)&lt;/TRACE&gt;&lt;/P&gt;&lt;P&gt;  &lt;TRACE&gt;ntdll!RtlIpv4AddressToStringA+1cb ( @ 0)&lt;/TRACE&gt;&lt;/P&gt;&lt;P&gt;  &lt;TRACE&gt;ntdll!_C_specific_handler+27d ( @ 0)&lt;/TRACE&gt;&lt;/P&gt;&lt;P&gt;  &lt;TRACE&gt;ntdll!KiUserExceptionDispatcher+2e ( @ 0)&lt;/TRACE&gt;&lt;/P&gt;&lt;P&gt;  &lt;TRACE&gt;MSVCR80!memcpy+250 ( @ 0)&lt;/TRACE&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;------------------------------------&lt;/P&gt;&lt;P&gt;The job this time aborted with this message:&lt;/P&gt;&lt;P&gt;------------------------------------&lt;/P&gt;&lt;P&gt;forrtl: severe (159): Program Exception - breakpoint&lt;/P&gt;&lt;P&gt;Image              PC                Routine            Line        Source&lt;/P&gt;&lt;P&gt;ntdll.dll          0000000076E76060  Unknown               Unknown  Unknown&lt;/P&gt;&lt;P&gt;vrfcore.dll        000007FEF0FC37EE  Unknown               Unknown  Unknown&lt;/P&gt;&lt;P&gt;vrfcore.dll        000007FEF0FC9970  Unknown               Unknown  Unknown&lt;/P&gt;&lt;P&gt;ntdll.dll          0000000076EEC193  Unknown               Unknown  Unknown&lt;/P&gt;&lt;P&gt;vfbasics.dll       000007FEF0F26377  Unknown               Unknown  Unknown&lt;/P&gt;&lt;P&gt;vfbasics.dll       000007FEF0F27C9B  Unknown               Unknown  Unknown&lt;/P&gt;&lt;P&gt;vfbasics.dll       000007FEF0F27392  Unknown               Unknown  Unknown&lt;/P&gt;&lt;P&gt;ntdll.dll          0000000076E5396B  Unknown               Unknown  Unknown&lt;/P&gt;&lt;P&gt;ntdll.dll          0000000076E69795  Unknown               Unknown  Unknown&lt;/P&gt;&lt;P&gt;ntdll.dll          0000000076E76C78  Unknown               Unknown  Unknown&lt;/P&gt;&lt;P&gt;MSVCR80.dll        0000000074CAE3F0  Unknown               Unknown  Unknown&lt;/P&gt;&lt;P&gt;msmpi.dll          0000000068D758DD  Unknown               Unknown  Unknown&lt;/P&gt;&lt;P&gt;msmpi.dll          0000000068D724A5  Unknown               Unknown  Unknown&lt;/P&gt;&lt;P&gt;msmpi.dll          0000000068D6F21B  Unknown               Unknown  Unknown&lt;/P&gt;&lt;P&gt;msmpi.dll          0000000068D66DD8  Unknown               Unknown  Unknown&lt;/P&gt;&lt;P&gt;msmpi.dll          0000000068D1757D  Unknown               Unknown  Unknown&lt;/P&gt;&lt;P&gt;msmpi.dll          0000000068D0A9F4  Unknown               Unknown  Unknown&lt;/P&gt;&lt;P&gt;msmpi.dll          0000000068D0B0F5  Unknown               Unknown  Unknown&lt;/P&gt;&lt;P&gt;flash3.exe         0000000140162666  Unknown               Unknown  Unknown&lt;/P&gt;&lt;P&gt;flash3.exe         000000014013E814  Unknown               Unknown  Unknown&lt;/P&gt;&lt;P&gt;flash3.exe         0000000140032553  Unknown               Unknown  Unknown&lt;/P&gt;&lt;P&gt;flash3.exe         0000000140032CF2  Unknown               Unknown  Unknown&lt;/P&gt;&lt;P&gt;flash3.exe         0000000140004E6F  Unknown               Unknown  Unknown&lt;/P&gt;&lt;P&gt;flash3.exe         000000014000CFA1  Unknown               Unknown  Unknown&lt;/P&gt;&lt;P&gt;flash3.exe         00000001401FD08C  Unknown               Unknown  Unknown&lt;/P&gt;&lt;P&gt;flash3.exe         00000001401F874A  Unknown               Unknown  Unknown&lt;/P&gt;&lt;P&gt;kernel32.dll       0000000076C4BE3D  Unknown               Unknown  Unknown&lt;/P&gt;&lt;P&gt;ntdll.dll          0000000076E56A51  Unknown               Unknown  Unknown&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;job aborted:&lt;/P&gt;&lt;P&gt;[ranks] message&lt;/P&gt;&lt;P&gt;[0] process exited without calling finalize&lt;/P&gt;&lt;P&gt;[1] terminated&lt;/P&gt;&lt;P&gt;---- error analysis -----&lt;/P&gt;&lt;P&gt;[0] on WIN-MN7DR40J561&lt;/P&gt;&lt;P&gt;./flash3 ended prematurely and may have crashed. exit code 159&lt;/P&gt;&lt;P&gt;---- error analysis -----&lt;/P&gt;&lt;P&gt;---------------------------------------&lt;/P&gt;&lt;P&gt;Can we get any hints to resolve from this ?&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Kunal&lt;/P&gt;</description>
      <pubDate>Sun, 19 Sep 2010 01:50:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/application-crashing/m-p/821270#M47779</guid>
      <dc:creator>Kunal_Rao</dc:creator>
      <dc:date>2010-09-19T01:50:48Z</dc:date>
    </item>
    <item>
      <title>application crashing</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/application-crashing/m-p/821271#M47780</link>
      <description>Chances are that you have a bug in your code. It is well nigh impossible for those who don't have access to your code to debug it ... so ... you need to do some debugging! If you find an area of code that you think might be suspect you can post it here and then you might get some assistance. Other things you might try include:&lt;BR /&gt;&lt;BR /&gt;&lt;UL&gt;&lt;LI&gt;running your code under the debugger&lt;/LI&gt;&lt;LI&gt;adding options such as /traceback, /check:all and /warn:all to enable run time checks&lt;/LI&gt;&lt;LI&gt;progressively cutting your code down to the smallest piece that exhibits the problem.&lt;/LI&gt;&lt;/UL&gt;Good luck. Please remember that the telepathic readers of this forum are currently on vacation.</description>
      <pubDate>Sun, 19 Sep 2010 08:52:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/application-crashing/m-p/821271#M47780</guid>
      <dc:creator>IanH</dc:creator>
      <dc:date>2010-09-19T08:52:00Z</dc:date>
    </item>
    <item>
      <title>application crashing</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/application-crashing/m-p/821272#M47781</link>
      <description>If you compile with the /check switch it will add runtime checks that might catch the coding error.&lt;BR /&gt;&lt;BR /&gt;&lt;P&gt;------&lt;/P&gt;&lt;P&gt;Wendy&lt;/P&gt;&lt;P&gt;&lt;A href="http://software.intel.com/en-us/forums/intel-visual-fortran-compiler-for-windows/announcement/241/"&gt;Attaching or including files in a post&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Sep 2010 23:23:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/application-crashing/m-p/821272#M47781</guid>
      <dc:creator>Wendy_Doerner__Intel</dc:creator>
      <dc:date>2010-09-20T23:23:27Z</dc:date>
    </item>
    <item>
      <title>application crashing</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/application-crashing/m-p/821273#M47782</link>
      <description>&lt;P&gt;Thanks for your suggestions. I added the /check:all /warn:all /traceback options while compiling.&lt;/P&gt;&lt;P&gt;And now it crashed with some details about the error. The error message before crashing is as follows:&lt;/P&gt;&lt;P&gt;------------&lt;/P&gt;&lt;P&gt;forrtl: severe (408): fort: (12): Variable STRLOWER has substring ending point 2 which is greater than the variable length of 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Image              PC                Routine            Line        Source&lt;/P&gt;&lt;P&gt;libifcorert.dll    00000000100D0758  Unknown               Unknown  Unknown&lt;/P&gt;&lt;P&gt;libifcorert.dll    00000000100C9CE9  Unknown               Unknown  Unknown&lt;/P&gt;&lt;P&gt;libifcorert.dll    00000000100B5DD3  Unknown               Unknown  Unknown&lt;/P&gt;&lt;P&gt;libifcorert.dll    000000001002725F  Unknown               Unknown  Unknown&lt;/P&gt;&lt;P&gt;libifcorert.dll    0000000010027606  Unknown               Unknown  Unknown&lt;/P&gt;&lt;P&gt;flash3.exe         00000001403C437F  pc_checkcgsmks_            75  pc_utilities.F90&lt;/P&gt;&lt;P&gt;flash3.exe         00000001400734CB  physicalconstants          73  PhysicalConstants_init.F90&lt;/P&gt;&lt;P&gt;flash3.exe         0000000140005D93  driver_initflash_         111  Driver_initFlash.F90&lt;/P&gt;&lt;P&gt;flash3.exe         0000000140018C84  MAIN__                     38  Flash.F90&lt;/P&gt;&lt;P&gt;flash3.exe         00000001404B979C  Unknown               Unknown  Unknown&lt;/P&gt;&lt;P&gt;flash3.exe         00000001404B4E6A  Unknown               Unknown  Unknown&lt;/P&gt;&lt;P&gt;kernel32.dll       000000007739BE3D  Unknown               Unknown  Unknown&lt;/P&gt;&lt;P&gt;ntdll.dll          00000000774D6A51  Unknown               Unknown  Unknown&lt;/P&gt;&lt;P&gt;job aborted:&lt;/P&gt;&lt;P&gt;[ranks] message&lt;/P&gt;&lt;P&gt;[0] process exited without calling finalize&lt;/P&gt;&lt;P&gt;[1] terminated&lt;/P&gt;&lt;P&gt;---- error analysis -----&lt;/P&gt;&lt;P&gt;[0] on WIN-MN7DR40J561&lt;/P&gt;&lt;P&gt;./flash3 ended prematurely and may have crashed. exit code 408&lt;/P&gt;&lt;P&gt;---- error analysis -----&lt;/P&gt;&lt;BR /&gt;&lt;DIV&gt;Is there really a problem with the variable StrLower ? This code has worked with PGI compilers so I am not sure if there is a bug in the code.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;The related portion of the code is as follows:&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;-------------------------------------------------&lt;/DIV&gt;&lt;DIV&gt;In Physical_Constants_init.F90 file:&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;&lt;P&gt;character(len=MAX_STRING_LENGTH)        :: cgsORmks, errorstring&lt;/P&gt;&lt;P&gt;-----------------------&lt;/P&gt;&lt;P&gt;In pc_utilities.F90 file:&lt;/P&gt;&lt;P&gt;SUBROUTINE pc_checkCGSMKS(cgsORmks,isError)&lt;/P&gt;&lt;P&gt;character(len=3)                 :: cgsORmksLower&lt;/P&gt;&lt;P&gt;call pc_makeLowercase(cgsORmks,cgsORmksLower)&lt;/P&gt;&lt;P&gt;------------------------&lt;/P&gt;&lt;P&gt;the pc_makeLowercase subroutine in pc_utilities.F90 file:&lt;/P&gt;&lt;P&gt;SUBROUTINE pc_makeLowercase (str, strLower)&lt;/P&gt;&lt;P&gt;implicit none&lt;/P&gt;&lt;P&gt;character(len=*), intent(in)                :: str&lt;/P&gt;&lt;P&gt;character(len=len(str)), intent(out)        :: strLower&lt;/P&gt;&lt;P&gt;integer                                     :: i&lt;/P&gt;&lt;P&gt;strLower = str&lt;/P&gt;&lt;P&gt;do i = 1, len_trim(str)&lt;/P&gt;&lt;P&gt;  if (lge(str(i:i), 'A') .and. lle(str(i:i), 'Z'))&lt;/P&gt;&lt;P&gt;    strLower(i:i) = achar( iachar(str(i:i)) + 32 )&lt;/P&gt;&lt;P&gt;enddo&lt;/P&gt;&lt;P&gt;return&lt;/P&gt;&lt;P&gt;END SUBROUTINE pc_makeLowercase&lt;/P&gt;&lt;P&gt;---------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Any help in this regard would be really very helpful.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Thanks &amp;amp; Regards,&lt;/DIV&gt;&lt;DIV&gt;Kunal&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 22 Sep 2010 20:07:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/application-crashing/m-p/821273#M47782</guid>
      <dc:creator>Kunal_Rao</dc:creator>
      <dc:date>2010-09-22T20:07:09Z</dc:date>
    </item>
    <item>
      <title>application crashing</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/application-crashing/m-p/821274#M47783</link>
      <description>If I compensate for a probable mis-quotation in your posted source code, this may indicate a compiler/library bug, assuming this actually is the place where checking caused the stop. PGI may not have any checking available there. You would need to run e.g. under debugger or add diagnostics to source and see if it is true that it is attempting to modify strLower(2:2) when len(strLower) == 1.&lt;BR /&gt;It's also possible this is not the place which caused the original crash.</description>
      <pubDate>Wed, 22 Sep 2010 20:44:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/application-crashing/m-p/821274#M47783</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2010-09-22T20:44:36Z</dc:date>
    </item>
    <item>
      <title>application crashing</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/application-crashing/m-p/821275#M47784</link>
      <description>What value is MAX_STRING_LENGTH? &lt;BR /&gt;&lt;BR /&gt;What are the declarations for the dummy arguments for pc_checkCGSMKS?&lt;BR /&gt;&lt;BR /&gt;Are these external sub-programs or module procedures?</description>
      <pubDate>Wed, 22 Sep 2010 21:00:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/application-crashing/m-p/821275#M47784</guid>
      <dc:creator>IanH</dc:creator>
      <dc:date>2010-09-22T21:00:24Z</dc:date>
    </item>
    <item>
      <title>application crashing</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/application-crashing/m-p/821276#M47785</link>
      <description>The length of the output variable character array (strLower)should be passed in (len=*) or other means.&lt;BR /&gt;What do you expect to happen when the len(str) exceeds the size of the buffer for strLower?&lt;BR /&gt;strLower = str&lt;BR /&gt;&lt;BR /&gt;will clobber memory.&lt;BR /&gt;&lt;BR /&gt;Jim Dempsey</description>
      <pubDate>Wed, 22 Sep 2010 23:23:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/application-crashing/m-p/821276#M47785</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2010-09-22T23:23:22Z</dc:date>
    </item>
    <item>
      <title>application crashing</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/application-crashing/m-p/821277#M47786</link>
      <description>Others have pointed out your usage of actual string arguments that are shorter than their corresponding arguments, and have noted instances of incorrect implicit typing of variables. Note, in addition, that using both &lt;I&gt;-warn all&lt;/I&gt; and &lt;I&gt;-check all &lt;/I&gt;triggers the introduction of a run-time bug by the current Intel compilers, as I noted &lt;A href="http://software.intel.com/en-us/forums/showthread.php?t=77560"&gt;in a separate thread.&lt;/A&gt;</description>
      <pubDate>Thu, 23 Sep 2010 01:53:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/application-crashing/m-p/821277#M47786</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2010-09-23T01:53:23Z</dc:date>
    </item>
    <item>
      <title>application crashing</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/application-crashing/m-p/821278#M47787</link>
      <description>yes.. I was using both -warn:all and -check:all and was getting that error. Now I don't get that when I removed one of them.&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;But the application still crashes with the initially mentioned error (the first post in the thread) ..&lt;BR /&gt;&lt;/SPAN&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Thanks &amp;amp; Regards,&lt;/DIV&gt;&lt;DIV&gt;Kunal&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 24 Sep 2010 07:24:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/application-crashing/m-p/821278#M47787</guid>
      <dc:creator>Kunal_Rao</dc:creator>
      <dc:date>2010-09-24T07:24:17Z</dc:date>
    </item>
    <item>
      <title>application crashing</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/application-crashing/m-p/821279#M47788</link>
      <description>You are developing/modifying a large application with mixed authorship. As exemplified in this thread, it is likely that there are several bugs in the code, which may have remained hidden in the past.&lt;BR /&gt;&lt;BR /&gt;In your situation, I would develop a plan based on "defensive programming". &lt;BR /&gt;&lt;BR /&gt;I would use more than one compiler, work up test cases with known solutions, and set up verification tests to make sure that consistent (though not necessarily identical) results were obtained with different compilers and different compiler options. I would not rely on any single compiler/library to do these things for me automatically. I would not care much about optimization at this stage, because it does not make sense to optimize buggy code.&lt;BR /&gt;&lt;BR /&gt;I have found it helpful to think of each combination of compiler options as a separate version of the compiler. The default "version" of the compiler, being the most commonly used, is probably the most bug free. As I then use other options with specific purposes in mind, I would keep in mind that these "modified versions", while having more powerful capabilities than the default version, are more likely to contain bugs.&lt;BR /&gt;&lt;BR /&gt;Coexisting with bugs by developing defences and work-arounds is a necessary part of the art.</description>
      <pubDate>Fri, 24 Sep 2010 12:39:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/application-crashing/m-p/821279#M47788</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2010-09-24T12:39:50Z</dc:date>
    </item>
    <item>
      <title>application crashing</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/application-crashing/m-p/821280#M47789</link>
      <description>Kunal,&lt;BR /&gt;&lt;BR /&gt;Selecting compiler options to get it to keep quiet about programming errors does not fix the programming errors.&lt;BR /&gt;&lt;BR /&gt;It is not unusual for old code with programming errors to run without crashing, or for that matter without producing error in output. Meaning the program worked not by design but by fortuitous accident. Generally it is asituation where memory that got trashed by errant code wasn't used after the trashing. Changing anything in the code or changing compiler options or compiler vendors or versions would mysteriously "break the code". Where in reality the code was always broken but the effects were not observed until the change.&lt;BR /&gt;&lt;BR /&gt;You need to fix this code. It is the responsible thing to do.&lt;BR /&gt;&lt;BR /&gt;If you elect to not fix the code, but choose your options (or compilers)to compile such that the program does not crash, then theresults of your program may very well be invalid. Bad results can have large financial consequences.&lt;BR /&gt;&lt;BR /&gt;Jim Dempsey</description>
      <pubDate>Fri, 24 Sep 2010 15:47:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/application-crashing/m-p/821280#M47789</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2010-09-24T15:47:06Z</dc:date>
    </item>
  </channel>
</rss>

