Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » How to build a Fortran project ???
How to build a Fortran project ??? [message #1708038] Fri, 11 September 2015 16:12 Go to next message
Julien Colin is currently offline Julien ColinFriend
Messages: 2
Registered: September 2015
Junior Member
Hi,

Sorry, I am not a expert. I don't find my answer on this forum and Internet or maybe I don't understand these answers.

I developed a Fortran program on Windows through an old IDE: Compact Visual Fortran.

I am now a Mac user and I want to develop and run my program thanks to Eclipse. But I haven't succeed yet.

I used this tutorial for installation:
https://wiki.eclipse.org/PTP/photran/documentation/photran9installation
- I updated my Java Virtual Machine (1.Cool
- I installed Gfortran
- I didn't understand how to install or use the make program (GNU make). I don't know which file to download (make-4.1.tar.bz2 or .bz2.sig or .gz or .gz.sig) and I don't know what to do after downloading. However, Xcode Command Line Tools are installed on my Mac.
- I installed Eclipse for Parallel Application Developpers 4.5.0.

My program is split into three files:

*Modules.f90* which contains:
Module Modul
Implicit None
...
End Module Modul

*Subroutines.f90* which contains:
Subroutine Sub1()
Use Modul
Implicit none
...
End Subroutine Sub1
Subroutine Sub2()
Use Modul
Implicit none
...
End Subroutine Sub2
...
Subroutine SubN()
Use Modul
Implicit none
...
End Subroutine SubN

*Main_program.f90* which contains:
Program Main
Use Modul
Implicit none
...
End

When I click on the button "Build 'Debug' for project 'name_of_my_project'", a problem occurs:
'Build Project' has encountered a problem. An internal error occurred during: "Build Project".
Could not find a file to match the module name: Modul

For sure, my program works: I can build the project and run my program when I copy all the content of Modules.f90 and Subroutines.f90 into Main_program.f90.
To my mind, Eclipse doesn't link together the source files of the program and I don't now how to do it.

I have looked for a solution for two weeks...
Could anyone help me by explaining how to do step by step?

Sorry: maybe my question is stupid.

Thanks a lot for your answers.

Julien.
Re: How to build a Fortran project ??? [message #1708039 is a reply to message #1708038] Fri, 11 September 2015 16:33 Go to previous message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 09/11/2015 10:28 AM, Julien Colin wrote:
> Hi,
>
> [snip]
>
> Julien.

Julien,

Photran support is via mailing list, see:

http://www.eclipse.org/photran/mailinglists.php
Previous Topic:Contribute Java tests
Next Topic:How to build a Fortran project ???
Goto Forum:
  


Current Time: Thu Apr 25 00:50:51 GMT 2024

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

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

Back to the top