From: monir on
On Mar 27, 9:28 pm, steve <kar...(a)comcast.net> wrote:
> On Mar 27, 6:22 pm, monir <mon...(a)mondenet.com> wrote:
>
> > On Mar 27, 8:43 pm, nos...(a)see.signature (Richard Maine) wrote:
>
> > > glen herrmannsfeldt <g...(a)ugcs.caltech.edu> wrote:
> > > > monir <mon...(a)mondenet.com> wrote:
>
> > There're no optional arguments in the abbreviated sample code.
> > Please replace the representative 3 call polin2() with the actual
> > calls:
>
> steve wrote:
> I think you need to change line 12 in polin2().
>

Which line is that ??
I haven't posted the code of my polin2().

Regards.
Monir
From: baf on
monir wrote:
> On Mar 27, 9:28 pm, steve <kar...(a)comcast.net> wrote:
>> On Mar 27, 6:22 pm, monir <mon...(a)mondenet.com> wrote:
>>
>>> On Mar 27, 8:43 pm, nos...(a)see.signature (Richard Maine) wrote:
>>>> glen herrmannsfeldt <g...(a)ugcs.caltech.edu> wrote:
>>>>> monir <mon...(a)mondenet.com> wrote:
>>> There're no optional arguments in the abbreviated sample code.
>>> Please replace the representative 3 call polin2() with the actual
>>> calls:
>> steve wrote:
>> I think you need to change line 12 in polin2().
>>
>
> Which line is that ??
> I haven't posted the code of my polin2().

That is the entire point that he is trying to make. You have not shown
enough code to even guess what is wrong other than the two suggestions
made already, exceeding an array bound or procedure argument type
mismatch. As a general suggestion, be sure to turn on array bound
checking on the compiler when you are developing code since it will
identify some errors that can result in the situation you have encountered.

>
> Regards.
> Monir
From: steve on
On Mar 27, 7:00 pm, monir <mon...(a)mondenet.com> wrote:
> On Mar 27, 9:28 pm, steve <kar...(a)comcast.net> wrote:
>
> > steve wrote:
> > I think you need to change line 12 in polin2().
>
> Which line is that ??
> I haven't posted the code of my polin2().
>

Oh sorry, I misread your post. It appears
the dimension of 'c' are off-by-one.

--
steve
From: monir on
On Mar 27, 10:17 pm, baf <b...(a)nowhere.net> wrote:
> monir wrote:
> > On Mar 27, 9:28 pm, steve <kar...(a)comcast.net> wrote:
> >> On Mar 27, 6:22 pm, monir <mon...(a)mondenet.com> wrote:
>
> >>> On Mar 27, 8:43 pm, nos...(a)see.signature (Richard Maine) wrote:
> >>>> glen herrmannsfeldt <g...(a)ugcs.caltech.edu> wrote:
> >>>>> monir <mon...(a)mondenet.com> wrote:
> >>> There're no optional arguments in the abbreviated sample code.
> >>> Please replace the representative 3 call polin2() with the actual
> >>> calls:
> >> steve wrote:
> >> I think you need to change line 12 in polin2().
>

The program is successfully compiled with the command:
...>g95 -fbounds-check -ftrace=full -o Test1 Test1.for

Do I have to specify the stack size in the command; if it is the
problem ??

Regards.
Monir
From: baf on
monir wrote:
> On Mar 27, 10:17 pm, baf <b...(a)nowhere.net> wrote:
>> monir wrote:
>>> On Mar 27, 9:28 pm, steve <kar...(a)comcast.net> wrote:
>>>> On Mar 27, 6:22 pm, monir <mon...(a)mondenet.com> wrote:
>>>>> On Mar 27, 8:43 pm, nos...(a)see.signature (Richard Maine) wrote:
>>>>>> glen herrmannsfeldt <g...(a)ugcs.caltech.edu> wrote:
>>>>>>> monir <mon...(a)mondenet.com> wrote:
>>>>> There're no optional arguments in the abbreviated sample code.
>>>>> Please replace the representative 3 call polin2() with the actual
>>>>> calls:
>>>> steve wrote:
>>>> I think you need to change line 12 in polin2().
>
> The program is successfully compiled with the command:
> ..>g95 -fbounds-check -ftrace=full -o Test1 Test1.for
>
Successful compilation means nothing since these options only provide a
clue of problems at run-time. In addition, these options only find a
few of the zillion possible problems.

> Do I have to specify the stack size in the command; if it is the
> problem ??
>
> Regards.
> Monir

I guess you are not willing to completely read my earlier post. Only a
few of the contributors to this NG are clairvoyant, and even they would
have trouble guessing what your code looks like. Without declarations
of the procedures involved, nobody can help you.
First  |  Prev  |  Next  |  Last
Pages: 1 2 3 4 5
Prev: Problem with Matmul
Next: Calling DLL subroutine from C++