Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
It is a bug of lapack 3.2 or of gfortran ?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
hes selex  
View profile  
 More options Dec 18 2008, 11:20 pm
Newsgroups: comp.lang.fortran
From: hes selex <linu...@sohu.com>
Date: Thu, 18 Dec 2008 20:20:50 -0800 (PST)
Local: Thurs, Dec 18 2008 11:20 pm
Subject: It is a bug of lapack 3.2 or of gfortran ?
my make.inc :

FORTRAN = gfortran
LOADER = $(FORTRAN)
OPTS = -fbounds-check
DRVOPTS = $(OPTS)
NOOPT =
LOADOPTS = -fbounds-check

when make lapack_testing (after make blaslib ,make lib),
$./xlintsts < stest.in > stest.out
At line 47 of file ilaslr.f
Fortran runtime error: Array reference out of bounds for array 'a',
lower bound of dimension 1 exceeded (0 < 1)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tim Prince  
View profile  
 More options Dec 19 2008, 2:18 am
Newsgroups: comp.lang.fortran
From: Tim Prince <tpri...@nospamcomputer.org>
Date: Thu, 18 Dec 2008 23:18:28 -0800
Local: Fri, Dec 19 2008 2:18 am
Subject: Re: It is a bug of lapack 3.2 or of gfortran ?

hes selex wrote:
> my make.inc :

> FORTRAN = gfortran
> LOADER = $(FORTRAN)
> OPTS = -fbounds-check
> DRVOPTS = $(OPTS)
> NOOPT =
> LOADOPTS = -fbounds-check

> when make lapack_testing (after make blaslib ,make lib),
> $./xlintsts < stest.in > stest.out
> At line 47 of file ilaslr.f
> Fortran runtime error: Array reference out of bounds for array 'a',
> lower bound of dimension 1 exceeded (0 < 1)

47:       IF( M.EQ.0 .OR. A(M, 1).NE.ZERO .OR. A(M, N).NE.ZERO ) THEN
48:          ILASLR = M
49:       ELSE
must be changed to something like
47:       IF( M == 0 ) THEN
48:          ILASLR = M
48a:       ELSEIF( A(M, 1) /= ZERO .OR. A(M, N) /= ZERO ) THEN
48b:          ILASLR = M
49:       ELSE
in order to comply with standard.  If this were translated by f2c, it
would be correct C, but Fortran doesn't have a shortcut rule like C for
compound logical expressions.  It is entirely legitimate for a compiler to
evaluate each part of the logical expression simultaneously, so as to
speed it up, producing the reported violation.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Julien Langou  
View profile  
 More options Dec 19 2008, 12:04 pm
Newsgroups: comp.lang.fortran
From: Julien Langou <julien.lan...@gmail.com>
Date: Fri, 19 Dec 2008 09:04:19 -0800 (PST)
Local: Fri, Dec 19 2008 12:04 pm
Subject: Re: It is a bug of lapack 3.2 or of gfortran ?
Thanks a lots for the information. We will patch LAPACK accordingly
and release the new version promptly.
Best wishes, Julien Langou.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »