Help writing with fortran

  • Fortran
  • Thread starter rhimmelblau
  • Start date
  • #1
Hi guys. I want to write fortran programs in eclipse. All I have done so far is install eclipse with Photran (which according to google should allow me to). What do I need to do now to be able to compile and run a sample code?

I am trying to run this:

program hello_world
implicit none
write(*,*) "hello world"
end program hello_world

also I have the error gcc not found in PATH

I installed the g95 complier, but I'm not sure how to point the text editor there
 
Last edited:

Answers and Replies

  • #2
35,642
7,516
Hi guys. I want to write fortran programs in eclipse. All I have done so far is install eclipse with Photran (which according to google should allow me to). What do I need to do now to be able to compile and run a sample code?

I am trying to run this:

program hello_world
implicit none
write(*,*) "hello world"
end program hello_world

also I have the error gcc not found in PATH

I installed the g95 complier, but I'm not sure how to point the text editor there
You need to add the directory that contains g95 to your PATH environmental variable.
 

Related Threads on Help writing with fortran

Replies
3
Views
2K
  • Last Post
Replies
2
Views
4K
Replies
5
Views
2K
Replies
8
Views
8K
Replies
1
Views
3K
  • Last Post
Replies
7
Views
3K
  • Last Post
Replies
8
Views
3K
Replies
1
Views
2K
  • Last Post
Replies
4
Views
1K
  • Last Post
Replies
3
Views
902
Top