replica nfl jerseysreplica nfl jerseyssoccer jerseyreplica nfl jerseys forums.silverfrost.com :: View topic - Can't Compile
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 

Can't Compile

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



Joined: 18 Jun 2013
Posts: 1

PostPosted: Tue Jun 18, 2013 2:18 pm    Post subject: Can't Compile Reply with quote

So I'm trying to run a bunch of code that has been made public and so has been verified to work but once I get to compiling the 2nd of 3 .f95 files, I run into several errors. I am fairly certain I'm compiling correctly (modules before main, etc) and I've tried several different compilers on different operating systems, but I'm still consistently getting a series of syntax errors:

1)Error Syntax at: if (a <> ' ') then...invalid character "<" followed by ">".
2)Error Syntax: expecting END DO statement
3)Error Syntax: Unexpected ELSE statement

Thing is, this code shouldn't have syntax errors so I'm certain I'm just doing something wrong, but I'm not sure what. Do these errors suggest I'm missing something? A library maybe or something else?

If you would like to try running the code yourself, it has been graciously made available on: http://www.indiana.edu/~clcl/BEAGLE/
Back to top
View user's profile Send private message
JohnMansell



Joined: 10 May 2006
Posts: 18
Location: Darlington

PostPosted: Tue Jun 18, 2013 3:05 pm    Post subject: Reply with quote

1. The <> looks like a fortran vendor extension (whose?) meaning .ne. or /=. Make this change (and compile the other USEd modules) and the files compile. <> is non-standard.
2. The messages for interminated do & if block go away on changing <> to /=.
3. There is an unterminated parameter statement in cosine_between.f90. Removing the last comma allows compilation.


Finally, I'm not even going to try linking Very Happy
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 -> 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