<?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: Proc FCMP: Program ends with no error or result in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Proc-FCMP-Program-ends-with-no-error-or-result/m-p/99073#M27856</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Art,&lt;/P&gt;&lt;P&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; Appreciate your help. I have previously taken you class on Macro programming. It was really helpful. Thank you for being a great teacher.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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;&amp;nbsp; It is memory issue. How can i increase the memory buffer as you mentioned? How does one find how much the memory buffer is?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Also I have updated my code to remove the if then else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Oct 2012 15:19:38 GMT</pubDate>
    <dc:creator>AmitKB</dc:creator>
    <dc:date>2012-10-19T15:19:38Z</dc:date>
    <item>
      <title>Proc FCMP: Program ends with no error or result</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-FCMP-Program-ends-with-no-error-or-result/m-p/99071#M27854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I was able to run form a 5000 nodes matrix in around 2 hours. But when i run for a 8000 nodes matrix it just ends in a second with no error. Is it memory issue or something else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Appreciate you help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Code:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;proc fcmp;&lt;/P&gt;&lt;P&gt; array A[8000,8000] / nosymbols;&lt;/P&gt;&lt;P&gt; array Ident[8000,8000] / nosymbols;&lt;/P&gt;&lt;P&gt; array Z[8000,8000] / nosymbols;&lt;/P&gt;&lt;P&gt;&amp;nbsp; array P[8000,8000] / nosymbols;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; do i = 1 to 8000;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; do j = 1 to 8000;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A[i, j] = RANUNI(12345);&lt;/P&gt;&lt;P&gt;&amp;nbsp; if A[i, j] le .4 then A[i, j] = 0;&lt;/P&gt;&lt;P&gt;&amp;nbsp; else A[i, j] = 1;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A[i, j] =&amp;nbsp; 0.5*A[i, j];&lt;/P&gt;&lt;P&gt;&amp;nbsp; Ident[i,j] = A[i,j];&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; end; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end;&lt;/P&gt;&lt;P&gt; call IDENTITY (Ident);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL SUBTRACTMATRIX (Ident, A, Z);&lt;/P&gt;&lt;P&gt;CALL INV (Z, P);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; rc = write_array('result', p);&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;log:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;NOTE: PROCEDURE FCMP used (Total process time):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; real time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.24 seconds&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cpu time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.01 seconds&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2012 03:57:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-FCMP-Program-ends-with-no-error-or-result/m-p/99071#M27854</guid>
      <dc:creator>AmitKB</dc:creator>
      <dc:date>2012-10-18T03:57:57Z</dc:date>
    </item>
    <item>
      <title>Re: Proc FCMP: Program ends with no error or result</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-FCMP-Program-ends-with-no-error-or-result/m-p/99072#M27855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The matrix being inverted seems a bit large, and memory may indeed be an issue.&amp;nbsp; Have you tried increasing the memory buffers?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Although it won't help with the memory, we can speed up the processing a bit by replacing your A[I,J] IF-THEN/ELSE assignment statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; r=ranuni(12345);&lt;/P&gt;&lt;P&gt;&amp;nbsp; a[i,j] = 0*(r&amp;lt;=.4)+.5*(r&amp;gt;.4);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Oct 2012 05:49:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-FCMP-Program-ends-with-no-error-or-result/m-p/99072#M27855</guid>
      <dc:creator>ArtC</dc:creator>
      <dc:date>2012-10-19T05:49:42Z</dc:date>
    </item>
    <item>
      <title>Re: Proc FCMP: Program ends with no error or result</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-FCMP-Program-ends-with-no-error-or-result/m-p/99073#M27856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Art,&lt;/P&gt;&lt;P&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; Appreciate your help. I have previously taken you class on Macro programming. It was really helpful. Thank you for being a great teacher.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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;&amp;nbsp; It is memory issue. How can i increase the memory buffer as you mentioned? How does one find how much the memory buffer is?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Also I have updated my code to remove the if then else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Oct 2012 15:19:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-FCMP-Program-ends-with-no-error-or-result/m-p/99073#M27856</guid>
      <dc:creator>AmitKB</dc:creator>
      <dc:date>2012-10-19T15:19:38Z</dc:date>
    </item>
    <item>
      <title>Re: Proc FCMP: Program ends with no error or result</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-FCMP-Program-ends-with-no-error-or-result/m-p/99074#M27857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;An earlier thread on memory usage and matricies can be found at: &lt;A _jive_internal="true" href="https://communities.sas.com/message/140513#140513"&gt;https://communities.sas.com/message/140513#140513&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The system option for memory allocation is MEMSIZE.&amp;nbsp; You may also get more detailed responses in the SAS/IML forum, which specializes in issues with matrix manipulation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Oct 2012 16:43:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-FCMP-Program-ends-with-no-error-or-result/m-p/99074#M27857</guid>
      <dc:creator>ArtC</dc:creator>
      <dc:date>2012-10-19T16:43:25Z</dc:date>
    </item>
  </channel>
</rss>

