<?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 Possible Memory Error in Intel® Moderncode for Parallel Architectures</title>
    <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Possible-Memory-Error/m-p/901158#M4246</link>
    <description>&lt;P&gt;If you haven't investigated stack overflow or the remedies, you should read previous discussions of it on the linux Fortran forum.  Possibly you didn't use the same stack limits as your colleagues.&lt;/P&gt;
&lt;P&gt;Apparently, you are creating large automatic arrays. These are notorious for lacking means for error checking, thus the usual recommendation to use ALLOCATABLE arrays with error checking in ALLOCATE, so you know where the problem occurs.&lt;/P&gt;
&lt;P&gt;You also show a linker message indicating that you didn't supply a Fortran main program. Your colleagues must have resolved that if they have been successful.&lt;/P&gt;</description>
    <pubDate>Fri, 05 Feb 2010 00:28:18 GMT</pubDate>
    <dc:creator>TimP</dc:creator>
    <dc:date>2010-02-05T00:28:18Z</dc:date>
    <item>
      <title>Possible Memory Error</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Possible-Memory-Error/m-p/901157#M4245</link>
      <description>&lt;P&gt;I have been given some code from a colleague which works for them. However, when I run it, I get a segmentation fault. We both are using the intel10 fortran compiler and are running on the same supercomputer.&lt;/P&gt;
&lt;BR /&gt;
&lt;P&gt;The error is happening on the first line of execution of the following fortran routine. A print statement just prior to the call of this subroutine faithfully prints out.&lt;/P&gt;
&lt;P&gt;Any suggestions? Thanks in advance!&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;subroutine SparseGMRES_up(&lt;BR /&gt; &amp;amp; lhsK,&lt;BR /&gt; &amp;amp; Utol, colu, rowu,&lt;BR /&gt; &amp;amp; rhsGu,&lt;BR /&gt; &amp;amp; solu,&lt;BR /&gt; &amp;amp; Kspaceu, Kspaceu_mn, Ksp_usd,&lt;BR /&gt; &amp;amp; icntu,&lt;BR /&gt; &amp;amp; NNODZu,&lt;BR /&gt; &amp;amp; Pu, Qu, Ru, NDOF,&lt;BR /&gt; &amp;amp; TuMu, TuSu, TvMu, TvSu, TwMu, TwSu,&lt;BR /&gt; &amp;amp; MCPu, NCPu, OCPu,&lt;BR /&gt; &amp;amp; lpu,lpv,lpw&lt;BR /&gt; &amp;amp; )&lt;BR /&gt;&lt;BR /&gt; use mpi&lt;BR /&gt;&lt;BR /&gt; implicit none&lt;BR /&gt;&lt;BR /&gt; real*8 HBrg(Kspaceu+1,Kspaceu)&lt;BR /&gt; real*8 Rcos(Kspaceu), Rsin(Kspaceu)&lt;BR /&gt; real*8 lhsKBdiag(NNODZu,NDOF)&lt;BR /&gt; real*8 uBrg1(NNODZu,NDOF,Kspaceu+1)&lt;BR /&gt;&lt;BR /&gt; real unorm_ref&lt;BR /&gt;&lt;BR /&gt; integer&lt;BR /&gt; &amp;amp; n, i, j, k, iK, iKs, jK, lK, kK, Kspaceu, count, idof,&lt;BR /&gt; &amp;amp; icntu, Kspaceu_mn,Ksp_usd, k_f, k_f2,&lt;BR /&gt; &amp;amp; NNODZu, Pu, Qu, Ru, NSD, NDOF,&lt;BR /&gt; &amp;amp; is, lenseg,&lt;BR /&gt; &amp;amp; MCPu, NCPu, OCPu,&lt;BR /&gt; &amp;amp; lpu,lpv,lpw&lt;BR /&gt;&lt;BR /&gt; integer, dimension(NNODZu+1):: colu&lt;BR /&gt; integer, dimension(NNODZu*8*(Pu+1)*(Qu+1)*(Ru+1)):: rowu&lt;BR /&gt;&lt;BR /&gt; real*8&lt;BR /&gt; &amp;amp; rhstmp1(NNODZu,NDOF),&lt;BR /&gt; &amp;amp; eBrg(Kspaceu+1),&lt;BR /&gt; &amp;amp; temp1u(NNODZu,NDOF),&lt;BR /&gt; &amp;amp; yBrg(Kspaceu),&lt;BR /&gt; &amp;amp; rhsGu(NNODZu,NDOF), solu(NNODZu,NDOF),&lt;BR /&gt; &amp;amp; rr, unorm,&lt;BR /&gt; &amp;amp; rru, rrul,&lt;BR /&gt; &amp;amp; epsnrm, beta, rrglob,&lt;BR /&gt; &amp;amp; ercheck, tmp, tmp1, Utol,&lt;BR /&gt; &amp;amp; lhsK(NDOF*NDOF,icntu),&lt;BR /&gt; &amp;amp; Binv(NDOF,NDOF)&lt;BR /&gt;&lt;BR /&gt; real*8&lt;BR /&gt; &amp;amp; TuMu(2*Pu,Pu), TuSu(2*Pu,Pu),&lt;BR /&gt; &amp;amp; TvMu(2*Qu,Qu), TvSu(2*Qu,Qu),&lt;BR /&gt; &amp;amp; TwMu(2*Ru,Ru), TwSu(2*Ru,Ru)&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt; rhstmp1 = RHSGu !THIS LINE IS NEVER SUCCESSFULLY EXECUTED&lt;BR /&gt;&lt;BR /&gt;!------------- zero out common values --------------&lt;BR /&gt; lhsKBdiag = 0d0&lt;BR /&gt; uBrg1 = 0d0&lt;BR /&gt; Rcos = 0d0&lt;BR /&gt; Rsin = 0d0&lt;BR /&gt; HBrg = 0d0&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Compiler details: mpif90 -v&lt;BR /&gt; mpif90 for 1.2.7 (release) of : 2005/06/22 16:33:49&lt;BR /&gt; Version 10.1 &lt;BR /&gt; ld /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../lib64/crt1.o /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../lib64/crti.o /usr/lib/gcc/x86_64-redhat-linux/3.4.6/crtbegin.o --eh-frame-hdr -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /opt/apps/intel/10.1/fc/lib/for_main.o -rpath-link /opt/apps/intel10/mvapich/1.0.1/lib/shared -L/opt/apps/intel10/mvapich/1.0.1/lib/shared -L/opt/apps/intel10/mvapich/1.0.1/lib -lmpichf90nc -lmpichfarg -lmpich -L/opt/ofed//lib64 -rpath=/opt/ofed//lib64 -libverbs -libumad -lpthread -lpthread -lrt -L/opt/apps/intel/10.1/fc/lib -L/usr/lib/gcc/x86_64-redhat-linux/3.4.6/ -L/usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../lib64 -lifport -lifcore -limf -lsvml -lm -lipgo -lintlc -lc -lgcc_s -lgcc -lirc_s -ldl -lc /usr/lib/gcc/x86_64-redhat-linux/3.4.6/crtend.o /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../lib64/crtn.o&lt;BR /&gt; /opt/apps/intel/10.1/fc/lib/for_main.o: In function `main':&lt;BR /&gt; /export/users/nbtester/efi2linuxx86_nightly/branch-10_1/20080604_000000/libdev/frtl/src/libfor/for_main.c:(.text+0x26): undefined reference to `MAIN__'&lt;BR /&gt; rm /tmp/ifort39BLvflibgcc&lt;BR /&gt; &lt;BR /&gt; rm /tmp/ifortnJxF2ignudirs&lt;BR /&gt; &lt;BR /&gt; rm /tmp/ifortR2QW6pgnudirs&lt;/P&gt;
&lt;P&gt;System details: Dell Linux Cluster contains 5,840 cores within 1,460 Dell PowerEdge 1955 compute blades (nodes), 16 PowerEdge 1850 compute-I/O server-nodes, and 2 PowerEdge2950 (2.66GHz) login/management nodes. Each compute node has 8GB of memory, and the login/development nodes have 16GB. The system storage includes a 103TB parallel (WORK) Lustre file system, and 106.5TB of local compute-node disk space (73GB/node). An InfiniBand switch fabric, employing PCI Express interfaces, interconnects the nodes (I/O and compute) through a fat-tree topology, with a point-to-point bandwidth of 1GB/sec (unidirectional speed).&lt;/P&gt;
&lt;P class="bodytext"&gt;Compute nodes have two processors, each a Xeon 5100 series 2.66GHz dual-core processor with a 4MB unified (Smart) L2 cache. Peak performance for the four cores is 42.6 GFLOPS. Some of the key features of the Core micro-architecture are: dual-core, L1 Instruction cache, 14 unit pipeline, eight pre-fetch units, Macro Ops Fusion, double-speed integer units, Advanced Smart (sharing) L2 cache, and 16 new SSE3 instructions. The memory system uses Fully Buffered DIMMS (FB-DIMMS) and a 1333 MHz (10.7 GB/sec) front side bus.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2010 21:02:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Possible-Memory-Error/m-p/901157#M4245</guid>
      <dc:creator>andjhawkins</dc:creator>
      <dc:date>2010-02-04T21:02:05Z</dc:date>
    </item>
    <item>
      <title>Possible Memory Error</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Possible-Memory-Error/m-p/901158#M4246</link>
      <description>&lt;P&gt;If you haven't investigated stack overflow or the remedies, you should read previous discussions of it on the linux Fortran forum.  Possibly you didn't use the same stack limits as your colleagues.&lt;/P&gt;
&lt;P&gt;Apparently, you are creating large automatic arrays. These are notorious for lacking means for error checking, thus the usual recommendation to use ALLOCATABLE arrays with error checking in ALLOCATE, so you know where the problem occurs.&lt;/P&gt;
&lt;P&gt;You also show a linker message indicating that you didn't supply a Fortran main program. Your colleagues must have resolved that if they have been successful.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Feb 2010 00:28:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Possible-Memory-Error/m-p/901158#M4246</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2010-02-05T00:28:18Z</dc:date>
    </item>
    <item>
      <title>Possible Memory Error</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Possible-Memory-Error/m-p/901159#M4247</link>
      <description>&lt;P&gt;I have investigted stack overflow. But my limit was already set to unlimited, so I don't believe that is the error. Would you have any other ideas?&lt;/P&gt;
&lt;P&gt;The linker message I believe is for a wrapper around mpif90, but I will investigate further.&lt;/P&gt;
&lt;P&gt;I will also try changing the arrays to allocatable.&lt;/P&gt;
&lt;P&gt;Thank you for your suggestions.&lt;/P&gt;
&lt;P&gt;Andrea&lt;/P&gt;</description>
      <pubDate>Fri, 05 Feb 2010 15:26:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Possible-Memory-Error/m-p/901159#M4247</guid>
      <dc:creator>andjhawkins</dc:creator>
      <dc:date>2010-02-05T15:26:48Z</dc:date>
    </item>
  </channel>
</rss>

