Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Compiling two separated source files with Fortran
Compiling two separated source files with Fortran [message #1245189] Thu, 13 February 2014 12:39 Go to next message
Lucas Coser is currently offline Lucas CoserFriend
Messages: 1
Registered: February 2014
Junior Member
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 18:55 Go to previous message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

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
Previous Topic:multiple definition error
Next Topic:Issue with Eclipse Kepler and Apache 7.0 compatibility
Goto Forum:
  


Current Time: Thu Apr 25 22:21:09 GMT 2024

Powered by FUDForum. Page generated in 0.07550 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top