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.
There are some major design points we have to discuss. I currently see five, somewhat independent, points where we have to make decisions on.
Syntax of the compilation profile in the manifest
Representation of the manifest as profile_config_t in fpm
Translation of the representation of the profile into an actual compilation profile in the fpm model (interaction with --flag option from command line)
Handling of build name (compiler + hashed flags) for dependencies with different sets of flags
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.
It might be useful to consider abstracting the problem into one of defining a universal Fortran compiler command-line driver program that maps its command line to each of set of particular Fortran compilers, and then using that universal Fortran command in fpm. It would be a useful thing to have in its own right, too.
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.
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.