Compiling two separated source files with Fortran [message #1245189] |
Thu, 13 February 2014 07:39  |
Eclipse User |
|
|
|
Hello,
I'm a completely newbie to Eclipse but trying to use it to implement some scientifc Fortran codes using Photran. So far everything is working fine, but let's say I have the program 'hello_world.f90' in the project folder 'HelloFortran'. I can compile it and generate the executable files without any problems, but if I make a copy of this code (say, 'hello_world2.f90') and leave both in the same project folder nothing else compiles including the first that was working before.
Is it possible to have multiple source codes which can be individually compiled or do I need to generate a new project for each of them? The reason why I'm asking that is because I'm used to create new source versions during the code development which I like to keep together in the same folder and delete them later when everything is stable (please keep in mind that I'm a mechanical engineer and not a computer scientist, therefore I probably have weird programming habits compared to the pro guys).
Thanks in advance and best regards,
Lucas
|
|
|
Re: Compiling two separated source files with Fortran [message #1247015 is a reply to message #1245189] |
Sat, 15 February 2014 13:55  |
Eclipse User |
|
|
|
On 02/13/2014 06:33 AM, Lucas Coser wrote:
> Hello,
>
> I'm a completely newbie to Eclipse but trying to use it to implement
> some scientifc Fortran codes using Photran. So far everything is working
> fine, but let's say I have the program 'hello_world.f90' in the project
> folder 'HelloFortran'. I can compile it and generate the executable
> files without any problems, but if I make a copy of this code (say,
> 'hello_world2.f90') and leave both in the same project folder nothing
> else compiles including the first that was working before.
>
> Is it possible to have multiple source codes which can be individually
> compiled or do I need to generate a new project for each of them? The
> reason why I'm asking that is because I'm used to create new source
> versions during the code development which I like to keep together in
> the same folder and delete them later when everything is stable (please
> keep in mind that I'm a mechanical engineer and not a computer
> scientist, therefore I probably have weird programming habits compared
> to the pro guys).
>
> Thanks in advance and best regards,
>
> Lucas
Looks like Photran is part of Eclipse PTP and they have a mailing list
for support. You'll probably not get support in this forum.
http://www.eclipse.org/ptp/developers.php
|
|
|
Powered by
FUDForum. Page generated in 0.11816 seconds