Re: variable content lost
- From: "Listad" <listad@xxxxxxxxx>
- Date: 30 Mar 2007 15:47:17 -0700
When you are using one compiler and getting stuck, its a good idea toOk, I'll try that on the weekend. But I am just so happy that I setup
try another one. G95 is free and available on Mac OSX.
my IDE, Makefile and ddd to work together hand in hand ... :)
Are you sure that that all the arrays passed to segment_distance haveYes, confirmed that by putting 'print *, fib%r(m,:)' above the
dimension 3?
problematic section.
Is the subroutine in a MODULE (which I recommend)?Yes. All the code quoted here is in the same module which is the only
module in the file.
Can you change the subroutine above to use assumed-shape array argumentsDone. check says the size is 3.
so that it looks like
This might be completely unrelated, but I had trouble earlier with the
values of these arrays. Whenever I tried 'print *, fib%r(m,:)' in my
code the first element of the array changed to sth like 2.932434E-310.
In addition to that I either got 'segmentation fault' or a 'malloc-
exception'. After I changed the print statements to write statements
with explicit format the problem dissapeared ...
.
- Follow-Ups:
- Re: variable content lost
- From: Richard Maine
- Re: variable content lost
- From: Beliavsky
- Re: variable content lost
- References:
- variable content lost
- From: listad
- Re: variable content lost
- From: Beliavsky
- variable content lost
- Prev by Date: Re: variable content lost
- Next by Date: Re: variable content lost
- Previous by thread: Re: variable content lost
- Next by thread: Re: variable content lost
- Index(es):