# My Modern Fortran book is now published

**URL:** <https://fortran-lang.discourse.group/t/my-modern-fortran-book-is-now-published/336>\
**Category:** Announcements\
**Created:** [October 7, 2020, 4:09pm UTC](https://fortran-lang.discourse.group/t/my-modern-fortran-book-is-now-published/336 "2020-10-07T16:09:22Z")\
**Posts on this page:** 20\
**Page:** 1

<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:** [October 7, 2020, 4:09pm UTC](https://fortran-lang.discourse.group/t/my-modern-fortran-book-is-now-published/336/1 "2020-10-07T16:09:22Z")

</div>

Hi All,

My book is now published–almost exactly 3 years after I started it.

If you buy it from Manning (or have pre-ordered in the past), you can now get the final PDF. The final versions of ePub and MOBI formats are being prepared and will be ready soon–I don’t know exactly when. The book is being printed and we expect it in stock on October 19. Amazon, Barnes&Noble, Target, and few other re-sellers will have it in stock 2-3 weeks after that date.

Here’s the book website:

> **[Modern Fortran](https://www.manning.com/books/modern-fortran)**
>
> Using Fortran, early and accurate forecasts for hurricanes and other major storms have saved thousands of lives. Better designs for ships, planes, and automobiles have made travel safer, more efficient, and less expensive than ever before. Using...

And here’s the Amazon link:

> **[Modern Fortran: Building Efficient Parallel Applications](https://www.amazon.com/gp/product/1617295280)**

And here’s the code:

> **[Modern Fortran](https://github.com/modern-fortran)**
>
> Companion code for Modern Fortran: Building Efficient Parallel Applications - Modern Fortran

Thank you all who bought it, read it, reviewed it, or provided corrections to the text or code. You made it better and helped me push it through the finish line.

If you want to help me further, please consider writing an honest review.

I will soon write about my experience writing it and working with Manning.

---

<div class="post-metadata">

**Author:** ![certik](https://yyz2.discourse-cdn.com/free1/user_avatar/fortran-lang.discourse.group/certik/32/4_2.png) [@certik](https://fortran-lang.discourse.group/u/certik)\
**Post date:** [October 7, 2020, 5:01pm UTC](https://fortran-lang.discourse.group/t/my-modern-fortran-book-is-now-published/336/2 "2020-10-07T17:01:10Z")

</div>

@milancurcic congratulations! A lot has happened since 3 years ago. I am happy about the progress on all fronts. Let us know when Amazon opens so that we can write a review.

---

<div class="post-metadata">

**Author:** ![FortranFan](https://avatars.discourse-cdn.com/v4/letter/f/96bed5/32.png) [@FortranFan](https://fortran-lang.discourse.group/u/FortranFan)\
**Post date:** [October 7, 2020, 5:02pm UTC](https://fortran-lang.discourse.group/t/my-modern-fortran-book-is-now-published/336/3 "2020-10-07T17:02:59Z")

</div>

> [@milancurcic](#):
>
> Hi All,
> 
> My book is now published–almost exactly 3 years after I started it.

@milancurcic,

Kudos, great effort and contribution to Fortran.

---

<div class="post-metadata">

**Author:** ![Arjen](https://avatars.discourse-cdn.com/v4/letter/a/b9bd4f/32.png) [@Arjen](https://fortran-lang.discourse.group/u/Arjen)\
**Post date:** [October 14, 2020, 10:45am UTC](https://fortran-lang.discourse.group/t/my-modern-fortran-book-is-now-published/336/4 "2020-10-14T10:45:52Z")

</div>

Nice work :). And a nice looking book at that!

---

<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:** [October 14, 2020, 7:30pm UTC](https://fortran-lang.discourse.group/t/my-modern-fortran-book-is-now-published/336/5 "2020-10-14T19:30:39Z")

</div>

Thanks @Arjen! You’ve helped me a lot by providing detailed feedback on every chapter as they were coming out.

---

<div class="post-metadata">

**Author:** ![dannytoearth](https://yyz2.discourse-cdn.com/free1/user_avatar/fortran-lang.discourse.group/dannytoearth/32/187_2.png) [@dannytoearth](https://fortran-lang.discourse.group/u/dannytoearth)\
**Post date:** [October 30, 2020, 3:07am UTC](https://fortran-lang.discourse.group/t/my-modern-fortran-book-is-now-published/336/6 "2020-10-30T03:07:15Z")

</div>

@milancurcic just got my copy in the mail yesterday. Great book, it’s really helped me a lot this past year - not just with the modern examples and implementations, but also with the _why_. I feel like it perfectly fills a gap in what’s currently out there, serving as a strong stepping stone to more advanced texts (Metcalf and Rouson). Thanks again! (I’ll gladly write an Amazon review as soon as it’s open).

---

<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:** [October 30, 2020, 5:38pm UTC](https://fortran-lang.discourse.group/t/my-modern-fortran-book-is-now-published/336/7 "2020-10-30T17:38:38Z")

</div>

Thank you so much, @dannytoearth, and welcome! I’m happy it was helpful, comments like yours remind me why all the work was worth it. I will let you know when Amazon reviews open–that will be a huge help so I appreciate it in advance.

---

<div class="post-metadata">

**Author:** ![lm\_lxt](https://yyz2.discourse-cdn.com/free1/user_avatar/fortran-lang.discourse.group/lm_lxt/32/189_2.png) [@lm\_lxt](https://fortran-lang.discourse.group/u/lm_lxt)\
**Post date:** [November 2, 2020, 2:03pm UTC](https://fortran-lang.discourse.group/t/my-modern-fortran-book-is-now-published/336/8 "2020-11-02T14:03:20Z")

</div>

It’s very similar to the style of the “head first” series books, and the illustrations are very beautiful. Can you tell me what software is used to make the illustrations that look like hand drawn? 😂

---

<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:** [November 2, 2020, 4:15pm UTC](https://fortran-lang.discourse.group/t/my-modern-fortran-book-is-now-published/336/9 "2020-11-02T16:15:43Z")

</div>

Thank you! Interesting that you mention Head First series: One of the Manning people that coached me early on in the process was Bert Bates who authored a few Head First books.

For most illustrations I used Libre Office Draw. For the ones that look more hand-drawn (e.g. Fig. B.2) I used Python matplotlib in [xkcd mode](https://matplotlib.org/3.1.1/api/_as_gen/matplotlib.pyplot.xkcd.html).

---

<div class="post-metadata">

**Author:** ![certik](https://yyz2.discourse-cdn.com/free1/user_avatar/fortran-lang.discourse.group/certik/32/4_2.png) [@certik](https://fortran-lang.discourse.group/u/certik)\
**Post date:** [November 2, 2020, 4:29pm UTC](https://fortran-lang.discourse.group/t/my-modern-fortran-book-is-now-published/336/10 "2020-11-02T16:29:27Z")

</div>

@milancurcic yes, please let us know once the review opens, I would like to write a review too.

---

<div class="post-metadata">

**Author:** ![pcosta](https://yyz2.discourse-cdn.com/free1/user_avatar/fortran-lang.discourse.group/pcosta/32/5504_2.png) [@pcosta](https://fortran-lang.discourse.group/u/pcosta)\
**Post date:** [November 2, 2020, 10:02pm UTC](https://fortran-lang.discourse.group/t/my-modern-fortran-book-is-now-published/336/11 "2020-11-02T22:02:03Z")

</div>

I love that xkcd mode.

---

<div class="post-metadata">

**Author:** ![lm\_lxt](https://yyz2.discourse-cdn.com/free1/user_avatar/fortran-lang.discourse.group/lm_lxt/32/189_2.png) [@lm\_lxt](https://fortran-lang.discourse.group/u/lm_lxt)\
**Post date:** [November 3, 2020, 1:07am UTC](https://fortran-lang.discourse.group/t/my-modern-fortran-book-is-now-published/336/12 "2020-11-03T01:07:01Z")

</div>

Thank you, I learned something different again. 😀

---

<div class="post-metadata">

**Author:** ![lm\_lxt](https://yyz2.discourse-cdn.com/free1/user_avatar/fortran-lang.discourse.group/lm_lxt/32/189_2.png) [@lm\_lxt](https://fortran-lang.discourse.group/u/lm_lxt)\
**Post date:** [November 9, 2020, 3:08am UTC](https://fortran-lang.discourse.group/t/my-modern-fortran-book-is-now-published/336/13 "2020-11-09T03:08:51Z")

</div>

![image](https://global.discourse-cdn.com/free1/uploads/fortran_lang/original/1X/a02c9ade26665d9137fe616376adfa981923df30.jpeg)  
The book has appeared on well-known e-commerce websites jd in China.

---

<div class="post-metadata">

**Author:** ![ivanpribec](https://yyz2.discourse-cdn.com/free1/user_avatar/fortran-lang.discourse.group/ivanpribec/32/3290_2.png) [@ivanpribec](https://fortran-lang.discourse.group/u/ivanpribec)\
**Post date:** [November 18, 2020, 10:34pm UTC](https://fortran-lang.discourse.group/t/my-modern-fortran-book-is-now-published/336/14 "2020-11-18T22:34:37Z")

</div>

Just received my copy today! The book reads extremely well. I’ve learned a few new things even in the beginning chapters. I also like how the theme of parallel computing with co-arrays is woven throughout the book. The last chapter on advanced co-array topics is also very helpful in providing some examples of how teams and events can be used, instead of just introducing the syntax like in most other resources. After reading it my first thoughts were, I should try and use co-arrays in a hybrid CFD solver (Chimera).

---

<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:** [November 19, 2020, 5:53pm UTC](https://fortran-lang.discourse.group/t/my-modern-fortran-book-is-now-published/336/15 "2020-11-19T17:53:21Z")

</div>

Thank you, @ivanpribec! Chapter 12 (Teams & Events) was the most challenging regarding Fortran itself (some other chapters were more challenging writing-wise), because:

- I was not familiar with teams and events before writing this chapter.
- Like you said, there haven’t been good resources to learn this. The red Metcalf-Reid-Cohen spell out the syntax but give no examples. There is only 1 (one!) page about events in MRC.
- The only free implementation I know of (gfortran + OpenCoarrays) has an [incomplete implementation of teams](https://github.com/sourceryinstitute/OpenCoarrays/issues/697). Unfortunately, the missing feature is significant: Sending data to sibling teams by specifying `team_number` in the image selector. Intel’s implementation may work but I haven’t had chance to try it.
- I found teams quite unintuitive and overall difficult to learn myself, specifically regarding the parent-child hierarchy and the `change team` semantics. There may be a common and important use case that motivated designing teams the way they are, but I don’t know what that is. Lack of existing learning resources + lack of free implementation made understanding teams even harder. I’m happy that my book helps at least somewhat in this area.

---

<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:** [December 1, 2020, 7:30pm UTC](https://fortran-lang.discourse.group/t/my-modern-fortran-book-is-now-published/336/16 "2020-12-01T19:30:34Z")

</div>

The book Amazon page is now open for reviews:

> **[Modern Fortran: Building efficient parallel applications](https://www.amazon.com/Modern-Fortran-Building-Efficient-Applications/dp/1617295280)**

If you’re willing to write an honest review, it would be a great help to me. Thank you!

---

<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:** [December 30, 2020, 7:38pm UTC](https://fortran-lang.discourse.group/t/my-modern-fortran-book-is-now-published/336/18 "2020-12-30T19:38:37Z")

</div>

I wrote about my experience working with Manning Pubs:

> **[Writing a technical book with Manning in 2020](https://medium.com/modern-fortran/writing-a-technical-book-with-manning-in-2020-6ac3497500c9)**
>
> Two months ago I published Modern Fortran: Building Efficient Parallel Applications with Manning Publications. It was a long journey (3…

---

<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:** [December 30, 2020, 11:47pm UTC](https://fortran-lang.discourse.group/t/my-modern-fortran-book-is-now-published/336/19 "2020-12-30T23:47:53Z")

</div>

Thanks for describing the publishing process. It is helpful for Fortran when programmer-oriented publishers such as Manning publish a book on it. I have two books from O’Reilly:

Migrating to Fortran 90 (1993)  
UNIX for FORTRAN Programmers (1990)

I wonder if they would be open to a Fortran book (not by me).

You write that about 1000 copies of the book were likely sold through the summer of 2020. (I bought it.) How many people typically read your Medium posts on Fortran, such as [Map, Filter, Reduce in Fortran 2018](https://medium.com/modern-fortran/map-filter-reduce-in-fortran-2018-e40b93668ed9)?

---

<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:** [December 31, 2020, 12:00am UTC](https://fortran-lang.discourse.group/t/my-modern-fortran-book-is-now-published/336/20 "2020-12-31T00:00:17Z")

</div>

Here are all the Medium stats. I think reads are what matters the most (rather than views). Read ratio goes down with post length.

 ![medium_stats](https://global.discourse-cdn.com/free1/uploads/fortran_lang/original/1X/94ac1833da1df987e16e79764a657d97ac35cb31.png)

---

<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:** [January 21, 2021, 5:44pm UTC](https://fortran-lang.discourse.group/t/my-modern-fortran-book-is-now-published/336/21 "2021-01-21T17:44:40Z")

</div>

I just received a statement of royalties from Manning for Q3 2020. These numbers reflect sales up to September 30, 2020.

- Web sales (print + ebook): 400
- Ebook sales: 692
- Royalties earned: $3,087.38 (10% of sale price)

This confirms my earlier prediction that the sales would exceed 1000 copies sometime in the summer of 2020. I didn’t expect to see more ebook sales than print sales.

The royalties earned are less than the advance that I received ($5,000), so I won’t see any royalties before they exceed that amount.

Also note that this was about 1 month before the book was published at Manning, and about 2 months before it was sold at Amazon, Barnes & Noble, etc. For most books, sales spike around publication time, so I’m looking forward to see the Q4 2020 report when it comes out.

[Next page](https://fortran-lang.discourse.group/t/my-modern-fortran-book-is-now-published/336.md?page=2)
