INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

help downloading fortran

help downloading fortran

(OP)
I'm wanting to learn fortran 90/95, but I am having trouble downloading it. For the life of me I cannot get fortran to work. I have followed multiple videos on youtube and read up on google. Can someone point me in the right direction to find the best directions or tutorial to download fortran 90/95 onto windows 10.

If anybody could help it would be greatly appreciated!!

RE: help downloading fortran

If you want it with an IDE then you can try from
Code::Blocks download page the setup package codeblocks-16.01mingw_fortran-setup.exe

RE: help downloading fortran

(OP)
I'm not really sure what I need. Would you recommend it if I'm just starting out. What's the difference between this one and others?

I downloaded it and tried to run this hello world program.

$ vim helloworld.f

PRINT *,"Hello World!"

END

and I got an error message.

I'm trying to get started with fortran for school but there are no good sources out there for beginners, at least to my knowledge. No two tutorials are alike and I'm pretty much completely confused on how fortran works, how to download it, and how to run it. I consider myself good at matlab and python but downloading and programming is pretty straight forward so it was a lot easier for me to catch on, plus there are a lot more tutorials for python and matlab

Can I get some help?

RE: help downloading fortran

Quote (tenicho)


I downloaded it and tried to run this hello world program.

$ vim helloworld.f

PRINT *,"Hello World!"

END

and I got an error message.

The command
vim helloworld.f
is only for opening the fortran source file using the vim editor.

But you did not say, how have you tried compile+run the program and what error you got.

RE: help downloading fortran

You say you have an error message, I might be blind but I see no error message. Also your program is fine. Personally I use the CYGWIN package for using unix apps on windows and I put it's bin directory in the path

C:\temp4>vi test.f95

C:\temp4>ls
test.f95

C:\temp4>gfortran test.f95 -o test

C:\temp4>ls
test.exe test.f95

C:\temp4>test
Hello World!

C:\temp4>more test.f95
PRINT *,"Hello World!"

END

Bill
Lead Application Developer
New York State, USA

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close