GSoC project meeting - fpm compiler flags

Hi all,
Please visit the following Doodle poll if you are interested in joining a meeting next week to discuss the implementation of compiler flags in fpm which is one of our GSoC projects this year. The meeting invite is open to all. I will choose the final meeting time this Sunday (23rd) evening (UK time) so please do make sure to complete the poll before then.

This is an important topic for fpm, as shown by the number of related issues:
https://github.com/fortran-lang/fpm/issues/50
https://github.com/fortran-lang/fpm/issues/112
https://github.com/fortran-lang/fpm/issues/191
https://github.com/fortran-lang/fpm/issues/350
https://github.com/fortran-lang/fpm/issues/329

I will perhaps open the meeting with a summary of these issues and what is to be discussed and decided.

1 Like

There are some major design points we have to discuss. I currently see five, somewhat independent, points where we have to make decisions on.

  1. Syntax of the compilation profile in the manifest
  2. Representation of the manifest as profile_config_t in fpm
  3. Translation of the representation of the profile into an actual compilation profile in the fpm model (interaction with --flag option from command line)
  4. Handling of build name (compiler + hashed flags) for dependencies with different sets of flags
  5. Inclusion of the compilation profiles in the build targets

Depending on our choices for the individual points we have to think about how to the transformation between the different layers will look and at which points we want to inject defaults and overwrites.

3 Likes

There was also a discussion thread with many ideas:

2 Likes

And what about compiler wrappers like mpifort? How can they be handled in an elegant way? Will there be more general options for activating commonly used libraries like MPI, netCDF etc.?

Thanks @Carltoffel, these are valid points related to the above. We have separate issues tracking these (linked below) where you can see some possible solutions or propose your own if you have any ideas!

See here also for how fpm already has basic support for MPI with the Intel mpiifort wrapper.

Thanks everyone; we’ll meet tomorrow Tuseday 25th May at 18:00 UTC (11:00 PDT / 14:00 EDT / 19:00 BST / 20:00 CEST).


Laurence Kedward is inviting you to a scheduled Zoom meeting.

Topic: GSoC Project Chat (fpm compiler flags)
Time: May 25, 2021 07:00 PM London

Join Zoom Meeting

Meeting ID: 955 6894 8785
One tap mobile
+442080806592,95568948785# United Kingdom
+443300885830,95568948785# United Kingdom

Dial by your location
+44 208 080 6592 United Kingdom
+44 330 088 5830 United Kingdom
+44 131 460 1196 United Kingdom
+44 203 481 5237 United Kingdom
+44 203 481 5240 United Kingdom
+44 203 901 7895 United Kingdom
+44 208 080 6591 United Kingdom
+33 1 7037 2246 France
+33 1 7037 9729 France
+33 1 7095 0103 France
+33 1 7095 0350 France
+33 1 8699 5831 France
+41 22 591 01 56 Switzerland
+41 31 528 09 88 Switzerland
+41 43 210 70 42 Switzerland
+41 43 210 71 08 Switzerland
+41 44 529 92 72 Switzerland
+41 22 591 00 05 Switzerland
+1 301 715 8592 US (Washington DC)
+1 312 626 6799 US (Chicago)
+1 346 248 7799 US (Houston)
+1 646 558 8656 US (New York)
+1 669 900 9128 US (San Jose)
+1 253 215 8782 US (Tacoma)
Meeting ID: 955 6894 8785
Find your local number: https://bristol-ac-uk.zoom.us/u/abycOcEByr

Join by SIP
95568948785@zoomcrc.com

Join by H.323
162.255.37.11 (US West)
162.255.36.11 (US East)
115.114.131.7 (India Mumbai)
115.114.115.7 (India Hyderabad)
213.19.144.110 (Amsterdam Netherlands)
213.244.140.110 (Germany)
103.122.166.55 (Australia Sydney)
103.122.167.55 (Australia Melbourne)
149.137.40.110 (Singapore)
64.211.144.160 (Brazil)
69.174.57.160 (Canada Toronto)
65.39.152.160 (Canada Vancouver)
207.226.132.110 (Japan Tokyo)
149.137.24.110 (Japan Osaka)
Meeting ID: 955 6894 8785

2 Likes

Sorry I could not join the meeting. Did you come up with any interesting ideas or plans how to solve the multiple orthogonal issues?

Are there any ways we can contribute from the community (apart from commenting on issues and reviewing pull requests)? What I have in mind is perhaps building some kind of table of (universal) compiler features, where we could fill the options from individual compilers.

Thanks Ivan, It sounds like you’re on the same page as us.

We’ll be having a short weekly meeting on Thursdays at 14:00 UTC which everyone is welcome to join.
The first meeting will be tomorrow, for us to discuss details regarding Jakub’s first steps - I’ll be posting Zoom links in this thread for everyone.

See below for a Zoom invite for the recurring weekly catchup meeting for the fpm compiler flags GSoC project. Occurs weekly on Thursdays at 14:00 UTC, with the first meeting happening today (27th May).

This is mainly an opportunity for Jakub to catch up with myself and Brad on progress and technical details, but the meeting is open to all who are interested in the project.


Laurence Kedward is inviting you to a scheduled Zoom meeting.

Topic: GSoC Weekly Catchup (fpm compiler flags)
Time: May 27, 2021 03:00 PM London
Every week on Thu, until Jun 24, 2021, 5 occurrence(s)
May 27, 2021 03:00 PM
Jun 3, 2021 03:00 PM
Jun 10, 2021 03:00 PM
Jun 17, 2021 03:00 PM
Jun 24, 2021 03:00 PM
Please download and import the following iCalendar (.ics) files to your calendar system.
Weekly: https://bristol-ac-uk.zoom.us/meeting/tJYtc--urzguHNybK3pS4S8GY1bCTkUDaYsI/ics?icsToken=98tyKuCqrj8sHNWWtB-PRowQAo-gM-7zmHZbgo1EnjS2ExMHUVvRD7NAEYZ0JfzR

Join Zoom Meeting

Meeting ID: 920 4661 3468
One tap mobile
+442034815240,92046613468# United Kingdom
+442039017895,92046613468# United Kingdom

Dial by your location
+44 203 481 5240 United Kingdom
+44 203 901 7895 United Kingdom
+44 208 080 6591 United Kingdom
+44 208 080 6592 United Kingdom
+44 330 088 5830 United Kingdom
+44 131 460 1196 United Kingdom
+44 203 481 5237 United Kingdom
+33 1 7095 0103 France
+33 1 7095 0350 France
+33 1 8699 5831 France
+33 1 7037 2246 France
+33 1 7037 9729 France
+41 31 528 09 88 Switzerland
+41 43 210 70 42 Switzerland
+41 43 210 71 08 Switzerland
+41 44 529 92 72 Switzerland
+41 22 591 00 05 Switzerland
+41 22 591 01 56 Switzerland
+1 312 626 6799 US (Chicago)
+1 346 248 7799 US (Houston)
+1 646 558 8656 US (New York)
+1 669 900 9128 US (San Jose)
+1 253 215 8782 US (Tacoma)
+1 301 715 8592 US (Washington DC)
Meeting ID: 920 4661 3468
Find your local number: https://bristol-ac-uk.zoom.us/u/ab3tfWmzQ7

Join by SIP
92046613468@zoomcrc.com

Join by H.323
162.255.37.11 (US West)
162.255.36.11 (US East)
115.114.131.7 (India Mumbai)
115.114.115.7 (India Hyderabad)
213.19.144.110 (Amsterdam Netherlands)
213.244.140.110 (Germany)
103.122.166.55 (Australia Sydney)
103.122.167.55 (Australia Melbourne)
149.137.40.110 (Singapore)
64.211.144.160 (Brazil)
69.174.57.160 (Canada Toronto)
65.39.152.160 (Canada Vancouver)
207.226.132.110 (Japan Tokyo)
149.137.24.110 (Japan Osaka)
Meeting ID: 920 4661 3468

See this issue to discuss this idea further: Universal Fortran compiler · Issue #475 · fortran-lang/fpm · GitHub