forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

error message using /check

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support
View previous topic :: View next topic  
Author Message
Anonymous
Guest





PostPosted: Mon Oct 24, 2005 10:29 am    Post subject: error message using /check Reply with quote

The following program runs OK as long as it is not compiled with /check.
Using the /check option generates a fatal error message when trying to
print the shape of the 3-dimensional array.

PROGRAM p1
IMPLICIT NONE
!
INTEGER, PARAMETER :: n1=4
INTEGER, PARAMETER :: n2=3
INTEGER, PARAMETER :: n3=2
!
REAL, ALLOCATABLE :: a1(:,Smile
REAL, ALLOCATABLE :: a2(:,:,Smile
!
ALLOCATE (a1(n1,n2))
ALLOCATE (a2(n1,n2,n3))
!
WRITE(*,*)shape(a1(:,1:1))
WRITE(*,*)shape(a2(:,:,1:1))
!
END PROGRAM p1



Simon Mason
Back to top
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 7916
Location: Salford, UK

PostPosted: Wed Oct 26, 2005 1:06 am    Post subject: error message using /check Reply with quote

Simon

Thank you for this bug report.
The bug has now been fixed and the fix will be included in the next release.

Regards

Paul Laidler
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group