GSoC 22: fpm-ize the Fortran Ecosystem || Blog Post by Arteev Raina || #2

Good Day Everyone,

This week marks the start of the second week of the community bonding period for the Google Summer of Code 2022 program.

I would say last week involved a learning curve for me as I was preoccupied in learning the syntax of Fortran. Earlier I faced some difficulty in understanding the syntax of Fortran but after a few days of reading documentation and writing Fortran programs, it became easier. I learned about the following concepts :

  • Datatypes and Variables.
  • Arrays and Strings.
  • Operators and Conditional Flows.
  • Functions and Subroutines.
  • Modules
  • Derived Types and Type bound procedures.

After learning Fortran last week, I started to play around with Fortran Package Manager and its functionalities. I not only got familiar with the manifest file but also studied and practically tested some non-default features of FPM by making my own Fortran Module fpm compatible. The non-default features of fpm included :

  • Library Configuration set up.
  • Specifying the targets of executables.
  • Specifying the example targets.
  • And the test targets specifications.

In this week, I aim to explore Fortran Package Manager more and identify the limitations that arise to make Fortran Projects fpm compatible and improve fpm in those regards. This was also the main decision I took along with the mentors in my first GSoC meeting last Thursday. Some of the things that were mentioned in the meeting included :

  1. Package config
  2. Support for Preprocessors.

So, this week I will try to explore and understand the above problem statements and come up with more limitations that fpm has as of now.

Thanks & Regards
Arteev Raina

3 Likes