replica nfl jerseysreplica nfl jerseyssoccer jerseyreplica nfl jerseys forums.silverfrost.com :: View topic - help please
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 

help please

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> General
View previous topic :: View next topic  
Author Message
yuvadon



Joined: 27 Aug 2013
Posts: 4

PostPosted: Tue Aug 27, 2013 5:13 pm    Post subject: help please Reply with quote

When I compiled the file i get error notification like this

main.F(20) : error 477 - The DIMENSION specification for variable X is not an explicit shape

for this line:

common/particle/ X(NDIM,MAXP), X0(NDIM,MAXP)

Hope u guys can help me...thank you
Back to top
View user's profile Send private message
JohnCampbell



Joined: 16 Feb 2006
Posts: 2615
Location: Sydney

PostPosted: Wed Aug 28, 2013 6:35 am    Post subject: Reply with quote

I would check (for) the file 'parameter.f'
It should have something to define NDIM and MAXP; something like:

INTEGER, parameter :: NDIM = 3
INTEGER, parameter :: MAXP = 1000

Based on the error message, either parameter.f is missing or these definitions have been omitted.

It is difficult to tell from your posts, but you need to be aware there are two types of fortran code; fixed format or free format.
Fixed format requires code to be in columns 7 to 72, with continuation identified in column 6 of the continued line. Your listing appears to show this.
Free format is more flexible, with an & provided at the end of each line that is to be continued. Free format is typically limited to 132 columns 1-132.

John
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> General 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