Silverfrost Forums

Welcome to our forums

compilation and linking of the code segments

19 Aug 2011 10:18 #8823

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 = 8) (double precision)

By using Plato how can i handle with the execution?

19 Aug 2011 10:52 #8824

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.

20 Aug 2011 7:10 #8825

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

Please login to reply.