> Hi,
>
> You don't say what kind of system you're on, but what you're
> seeing is typical if your stack limit is set too low. If
> you're on a UNIX box, try using the "limit" or "ulimit"
> command to raise the stacksize to the maximum allowable
> value.
>
> -P.
>
Yah, I am using Unix.
After following Richard Maine's advice: use "limit stack u",
my problem was solved.
Also, Bill Long of Cray Research pointed out that:
do i =1,n
call random_number(A(i,:))
end do
can be changed into: call random_number(A)
for better possible performance.
Thanks very much to all who replied.
-Yunkai
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|