View previous topic :: View next topic |
Author |
Message |
globox
Joined: 19 Aug 2011 Posts: 1
|
Posted: Fri Aug 19, 2011 11:18 am Post subject: compilation and linking of the code segments |
|
|
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 =
(double precision)
By using Plato how can i handle with the execution? |
|
Back to top |
|
 |
jjgermis
Joined: 21 Jun 2006 Posts: 404 Location: N�rnberg, Germany
|
Posted: Fri Aug 19, 2011 11:52 am Post subject: |
|
|
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 |
|
 |
davidb
Joined: 17 Jul 2009 Posts: 560 Location: UK
|
Posted: Sat Aug 20, 2011 8:10 am Post subject: |
|
|
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 |
|
 |
|