# New to Fortran!

**URL:** <https://fortran-lang.discourse.group/t/new-to-fortran/1818>\
**Category:** Uncategorized\
**Created:** [September 10, 2021, 12:49pm UTC](https://fortran-lang.discourse.group/t/new-to-fortran/1818 "2021-09-10T12:49:42Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![LiamPM21](https://avatars.discourse-cdn.com/v4/letter/l/bc79bd/32.png) [@LiamPM21](https://fortran-lang.discourse.group/u/LiamPM21)\
**Post date:** [September 10, 2021, 12:49pm UTC](https://fortran-lang.discourse.group/t/new-to-fortran/1818/1 "2021-09-10T12:49:42Z")

</div>

Hi guys,

I just joined today and I’m completely new to Fortran. I am a graduate mechanical engineer and would like to deepen my knowledge in computational engineering, which is why I would like to ask you guys; what approach do you suggest to learn Fortran (from scratch - assume no prior knowledge of the language)?

Thanks for the help! Super excited to start :)!  
Liam

---

<div class="post-metadata">

**Author:** ![MarDie](https://yyz2.discourse-cdn.com/free1/user_avatar/fortran-lang.discourse.group/mardie/32/54_2.png) [@MarDie](https://fortran-lang.discourse.group/u/MarDie)\
**Post date:** [September 10, 2021, 1:03pm UTC](https://fortran-lang.discourse.group/t/new-to-fortran/1818/2 "2021-09-10T13:03:21Z")

</div>

Hi Liam,

welcome!  
From my experience, learning by doing is the most motivating approach. If you have any kind of numerical puzzle (a 2D FEM solver for example) that you like to solve I would suggest to work on that. [Fortran - Wikibooks, open books for an open world](https://en.wikibooks.org/wiki/Fortran), [Fortran Best Practices - Fortran Programming Language](https://fortran-lang.org/learn/best_practices), [Top (The GNU Fortran Compiler)](https://gcc.gnu.org/onlinedocs/gfortran/#toc-Intrinsic-Procedures-1), … will equip you with the relevant background.  
Once you have some basic knowledge, there are certainly many open source projects that will be happy about your contributions.

---

<div class="post-metadata">

**Author:** ![Beliavsky](https://avatars.discourse-cdn.com/v4/letter/b/ba8739/32.png) [@Beliavsky](https://fortran-lang.discourse.group/u/Beliavsky)\
**Post date:** [September 10, 2021, 1:05pm UTC](https://fortran-lang.discourse.group/t/new-to-fortran/1818/3 "2021-09-10T13:05:29Z")

</div>

Welcome. The fortran-lang site has a [New to Fortran](https://fortran-lang.org/learn/) tutorial and links to other resources, as does the [Fortran Wiki](http://fortranwiki.org/fortran/show/Tutorials).

---

<div class="post-metadata">

**Author:** ![LiamPM21](https://avatars.discourse-cdn.com/v4/letter/l/bc79bd/32.png) [@LiamPM21](https://fortran-lang.discourse.group/u/LiamPM21)\
**Post date:** [September 10, 2021, 1:24pm UTC](https://fortran-lang.discourse.group/t/new-to-fortran/1818/4 "2021-09-10T13:24:16Z")

</div>

Thank you! Will definitely keep these links handy. Completely agree with you with the learn by doing approach, in fact I learnt the LaTeX software for my dissertation this year doing just that.

---

<div class="post-metadata">

**Author:** ![LiamPM21](https://avatars.discourse-cdn.com/v4/letter/l/bc79bd/32.png) [@LiamPM21](https://fortran-lang.discourse.group/u/LiamPM21)\
**Post date:** [September 10, 2021, 1:24pm UTC](https://fortran-lang.discourse.group/t/new-to-fortran/1818/5 "2021-09-10T13:24:57Z")

</div>

Thanks! Will look into these!

---

<div class="post-metadata">

**Author:** ![milancurcic](https://yyz2.discourse-cdn.com/free1/user_avatar/fortran-lang.discourse.group/milancurcic/32/2_2.png) [@milancurcic](https://fortran-lang.discourse.group/u/milancurcic)\
**Post date:** [September 10, 2021, 1:50pm UTC](https://fortran-lang.discourse.group/t/new-to-fortran/1818/6 "2021-09-10T13:50:14Z")

</div>

Welcome Liam, and don’t hesitate to ask any specific Fortran questions on this forum. We’re here to help.

---

<div class="post-metadata">

**Author:** ![hsnyder](https://yyz2.discourse-cdn.com/free1/user_avatar/fortran-lang.discourse.group/hsnyder/32/747_2.png) [@hsnyder](https://fortran-lang.discourse.group/u/hsnyder)\
**Post date:** [September 10, 2021, 2:36pm UTC](https://fortran-lang.discourse.group/t/new-to-fortran/1818/7 "2021-09-10T14:36:43Z")

</div>

I found Milan Curcic’s fairly recent book, “Modern Fortran” (Manning, 2020) to be a great introduction. It has a good combination of approachability and modernness (there is a ton of material online about fortran77 and fortran 90… avoid that material to start with, in my opinion!)

---

<div class="post-metadata">

**Author:** ![milancurcic](https://yyz2.discourse-cdn.com/free1/user_avatar/fortran-lang.discourse.group/milancurcic/32/2_2.png) [@milancurcic](https://fortran-lang.discourse.group/u/milancurcic)\
**Post date:** [September 10, 2021, 3:37pm UTC](https://fortran-lang.discourse.group/t/new-to-fortran/1818/8 "2021-09-10T15:37:18Z")

</div>

Thanks a lot @hsnyder for that recommendation. @LiamPM21 if you’re located in the United States by any chance, I’ll send you a hard copy. Otherwise, DM or email me at [milancurcic@hey.com](mailto:milancurcic@hey.com) and I’ll try to arrange ebook access for you.

---

<div class="post-metadata">

**Author:** ![LiamPM21](https://avatars.discourse-cdn.com/v4/letter/l/bc79bd/32.png) [@LiamPM21](https://fortran-lang.discourse.group/u/LiamPM21)\
**Post date:** [September 10, 2021, 4:38pm UTC](https://fortran-lang.discourse.group/t/new-to-fortran/1818/9 "2021-09-10T16:38:57Z")

</div>

I’m not from the USA. From a different continent altogether actually, as I am Maltese! Thanks for the offer, I will send you an email as I would be interested in reading it 😃

---

<div class="post-metadata">

**Author:** ![LiamPM21](https://avatars.discourse-cdn.com/v4/letter/l/bc79bd/32.png) [@LiamPM21](https://fortran-lang.discourse.group/u/LiamPM21)\
**Post date:** [September 10, 2021, 4:44pm UTC](https://fortran-lang.discourse.group/t/new-to-fortran/1818/10 "2021-09-10T16:44:59Z")

</div>

Overwhelmed by the responses and the warm welcome I’ve been given to the community. Thank you for all the responses. I look forward to eventually contributing what I learn to the forum in the future.

---

<div class="post-metadata">

**Author:** ![LiamPM21](https://avatars.discourse-cdn.com/v4/letter/l/bc79bd/32.png) [@LiamPM21](https://fortran-lang.discourse.group/u/LiamPM21)\
**Post date:** [September 10, 2021, 4:45pm UTC](https://fortran-lang.discourse.group/t/new-to-fortran/1818/11 "2021-09-10T16:45:44Z")

</div>

Thanks!

---

<div class="post-metadata">

**Author:** ![CRquantum](https://yyz2.discourse-cdn.com/free1/user_avatar/fortran-lang.discourse.group/crquantum/32/730_2.png) [@CRquantum](https://fortran-lang.discourse.group/u/CRquantum)\
**Post date:** [September 18, 2021, 1:51am UTC](https://fortran-lang.discourse.group/t/new-to-fortran/1818/12 "2021-09-18T01:51:42Z")

</div>

Welcome! If possible, perhaps begin from an existing code, perhaps your advisor will give you a code, and try to spend some time to understand it and modify it. However, if your advisor give you a very old F77 code, then it may be hard. Then perhaps after you are able to write your own simple code, you could quickly switch to modern Fortran asap.

The guys here are almost all experts in Fortran, and their suggestions are helpful.

Also, just realized that Milan Curcic is in this forum as @milancurcic, his modern Fortran book is good.

Good luck!

---

<div class="post-metadata">

**Author:** ![Beliavsky](https://avatars.discourse-cdn.com/v4/letter/b/ba8739/32.png) [@Beliavsky](https://fortran-lang.discourse.group/u/Beliavsky)\
**Post date:** [September 18, 2021, 2:32am UTC](https://fortran-lang.discourse.group/t/new-to-fortran/1818/15 "2021-09-18T02:32:49Z")

</div>


