replica nfl jerseysreplica nfl jerseyssoccer jerseyreplica nfl jerseys forums.silverfrost.com :: View topic - compilation and linking of the code segments
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 

compilation and linking of the code segments

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



Joined: 19 Aug 2011
Posts: 1

PostPosted: Fri Aug 19, 2011 11:18 am    Post subject: compilation and linking of the code segments Reply with quote

Hi,

I have a software that consists of 11 .f95 files. In the user guide it states that you should compile and link the code segmetns in the following order.

a.f95
b.f95
c.f95
etc.

Also during compilation the following options must be specified:
(1) Fixed format source code (72 columns)
(2) Automatically promote REAL type variables to REAL (KIND = Cool
(double precision)

By using Plato how can i handle with the execution?
Back to top
View user's profile Send private message
jjgermis



Joined: 21 Jun 2006
Posts: 404
Location: N�rnberg, Germany

PostPosted: Fri Aug 19, 2011 11:52 am    Post subject: Reply with quote

It is not clear whether you experience a problem or not. Did you:
1.) create a project in Plato;
2.) added the project files (project explorer on the right); and
3.) rebuild (ctrl-B) or select it from the drop-down menu.

When files are added Plato recognise .f95 and .for.
Back to top
View user's profile Send private message
davidb



Joined: 17 Jul 2009
Posts: 560
Location: UK

PostPosted: Sat Aug 20, 2011 8:10 am    Post subject: Reply with quote

Don't worry about the order of compilation. Just add all the files to a new Project.

To specify default reals are DOUBLE PRECSION, go to Project Menu, select properties, select numerical, and change Default Real kind to 2 (Note you should use 2, not 8)

To specify fixed format source, go to Project Menu, Miscellaneous, Extra Compiler options and type /FIXED_FORMAT
_________________
Programmer in: Fortran 77/95/2003/2008, C, C++ (& OpenMP), java, Python, Perl
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