<?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: arguments passing. in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/arguments-passing/m-p/950523#M19415</link>
    <description>I'd like to send the whole file, but the first part of code needs special hardware. It won't be able to run at your machine. &lt;BR /&gt; &lt;BR /&gt;thanks anyway.</description>
    <pubDate>Tue, 08 May 2001 05:29:59 GMT</pubDate>
    <dc:creator>Intel_C_Intel</dc:creator>
    <dc:date>2001-05-08T05:29:59Z</dc:date>
    <item>
      <title>arguments passing.</title>
      <link>https://community.intel.com/t5/Software-Archive/arguments-passing/m-p/950519#M19411</link>
      <description>Why my previous post has no subject? I hope this one works. &lt;BR /&gt; &lt;BR /&gt;------------ &lt;BR /&gt;&lt;BR /&gt;Hi, I got this run error at line 2: "call mysub(...)".  &lt;BR /&gt;line 1 print gives " 37617776 u1: 33423424" &lt;BR /&gt;debug at line 30 gives:  &lt;BR /&gt;d=1 LOC(x0) = 33423424, LOC(x1)=2147348480  &lt;BR /&gt; &lt;BR /&gt;It looks like something wrong at passing arguments &lt;BR /&gt;Does anyone know what may cause this?  &lt;BR /&gt;thanks a bunch!  &lt;P&gt;&lt;BR /&gt;-------------------------------------------------- &lt;BR /&gt;&lt;BR /&gt;1: print *, LOC(u0), ' u1=', LOC(u1)  &lt;BR /&gt;&lt;BR /&gt;2: call mysub(1,u0,u1, n)&lt;BR /&gt;  &lt;BR /&gt; &lt;BR /&gt;........................ &lt;BR /&gt; &lt;BR /&gt;30: subroutine mysub(d, x0,x1,p)&lt;/P&gt;</description>
      <pubDate>Tue, 08 May 2001 03:15:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/arguments-passing/m-p/950519#M19411</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2001-05-08T03:15:34Z</dc:date>
    </item>
    <item>
      <title>Re: arguments passing.</title>
      <link>https://community.intel.com/t5/Software-Archive/arguments-passing/m-p/950520#M19412</link>
      <description>I don't quite understand the question, nor do I see a "run error" &lt;BR /&gt;&lt;BR /&gt;I can surmise that at line 30, x1 has been copied onto the stack, but I'd need to see the whole program to understand why.&lt;BR /&gt;&lt;BR /&gt;Steve</description>
      <pubDate>Tue, 08 May 2001 03:40:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/arguments-passing/m-p/950520#M19412</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2001-05-08T03:40:32Z</dc:date>
    </item>
    <item>
      <title>Re: arguments passing.</title>
      <link>https://community.intel.com/t5/Software-Archive/arguments-passing/m-p/950521#M19413</link>
      <description>Hi Steve &lt;BR /&gt; &lt;BR /&gt;The runtime error is "forrtl: severe (157): Program Exception - access violation" &lt;BR /&gt;Here is the code: &lt;BR /&gt;&lt;BR /&gt;............  &lt;BR /&gt;&lt;BR /&gt;&lt;FONT size="+1"&gt;&lt;PRE&gt;
 type t_bigarrays 
            	double complex	u0(ntotal/p1) 
              	double complex	u1(ntotal/p1) 
 end type t_bigarrays 
 type (t_bigarrays), pointer :: pbigarrays 
 ALLOCATE(pbigarrays) 
 
 call fft(1, pbigarrays%u1, pbigarrays%u0, pnumber%np) 
 
!--------------------------------------------------------------------- 
fft(d, x0, x1, p) 
!--------------------------------------------------------------------- 
 
      implicit none 
      include 'global.h' 
      integer p 
      integer d 
      double complex x0(ntotal/p), x1(ntotal/p) 
&lt;/PRE&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;I can see LOC(u0), LOC(u1) push into stack correctly. But after jump to fft, I can not figure out how those values are popped. &lt;BR /&gt;Before passing, u0: 37617776 u1: 33423424 &lt;BR /&gt;After jump to fft, LOC(x0) =  33423424, LOC(x1)=2147348480  &lt;BR /&gt; &lt;BR /&gt;Thanks,</description>
      <pubDate>Tue, 08 May 2001 04:33:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/arguments-passing/m-p/950521#M19413</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2001-05-08T04:33:01Z</dc:date>
    </item>
    <item>
      <title>Re: arguments passing.</title>
      <link>https://community.intel.com/t5/Software-Archive/arguments-passing/m-p/950522#M19414</link>
      <description>Not enough information - please send a ZIP file of your project and a description of the problem to us at vf-support@compaq.com and we'll take a look.&lt;BR /&gt;&lt;BR /&gt;Steve</description>
      <pubDate>Tue, 08 May 2001 05:17:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/arguments-passing/m-p/950522#M19414</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2001-05-08T05:17:58Z</dc:date>
    </item>
    <item>
      <title>Re: arguments passing.</title>
      <link>https://community.intel.com/t5/Software-Archive/arguments-passing/m-p/950523#M19415</link>
      <description>I'd like to send the whole file, but the first part of code needs special hardware. It won't be able to run at your machine. &lt;BR /&gt; &lt;BR /&gt;thanks anyway.</description>
      <pubDate>Tue, 08 May 2001 05:29:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/arguments-passing/m-p/950523#M19415</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2001-05-08T05:29:59Z</dc:date>
    </item>
    <item>
      <title>Re: arguments passing.</title>
      <link>https://community.intel.com/t5/Software-Archive/arguments-passing/m-p/950524#M19416</link>
      <description>Well, in that case I suggest you start with my article on Access Violations at &lt;A href="http://www.compaq.com/fortran/visual/vfn06/index.html#accvio" target="_blank"&gt;http://www.compaq.com/fortran/visual/vfn06/index.html#accvio&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Please send the project anyway - or at least the source files needed to compile the caller and callee, and the project settings used.  I may spot something that doesn't need it to be run.&lt;BR /&gt;&lt;BR /&gt;Steve</description>
      <pubDate>Tue, 08 May 2001 05:57:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/arguments-passing/m-p/950524#M19416</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2001-05-08T05:57:51Z</dc:date>
    </item>
  </channel>
</rss>

