Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "Add -std=legacy compiler option for scimath_f" #1170

Merged
merged 1 commit into from
Feb 28, 2022

Conversation

tammojan
Copy link
Contributor

This reverts commit c32cf89 as requested by @aroffringa in #1134.

@tammojan tammojan merged commit 5ae2f56 into master Feb 28, 2022
@tammojan tammojan deleted the revert_legacy branch February 28, 2022 10:56
@cquike
Copy link
Contributor

cquike commented Jun 10, 2022

I would like to reconsider this change. The CASA code still depends on FFTPack. There are simply not enough resources to test whether a change to FFTW would be acceptable or not, and therefore CASA still needs to unfortunately compile casacore with FFTPack support.

I understand that the option -fallow-argument-mismatch is strongly discouraged (https://gcc.gnu.org/onlinedocs/gfortran/Fortran-Dialect-Options.html) but I seem not to see a lot of options here. The reality is that users who need to compile casacore/casa in a modern compiler do need to provide that option. So in practical terms, even if it is not included in the casacore repository, code is compiled with the flag.

Of course other option is to fix the FFTPack code, if someone can contribute a patch for it...

@aroffringa
Copy link
Contributor

I think that keeping FFTPack around will in the long run require more resources than dropping support and testing that now. To me, what you're basically saying is that there are not sufficient resources to maintain CASA. I can't really help with that I'm afraid, but I think it shouldn't hold back evolution of the casacore library, which is also widely used outside of Casa... But on a wider note, maybe we (people involved in Casacore) should at some point come together and discuss the approach to casacore development and its future.

@cquike
Copy link
Contributor

cquike commented Jun 10, 2022

CASA codebase is very large and some parts of it (like the FFTPack dependency) are not considered high priority. I agree that this builds technical debt, but that doesn't deem CASA an unmaintained project. That's not what I meant.
Indeed, having a discussion on the future of casacore development would be a good thing to do.

@tammojan
Copy link
Contributor Author

I think (as suggested by @gervandiepen just now) that an option -fallow-argument-mismatch is warranted if the option -DBUILD_FFTPACK_DEPRECATED is set also. Upgrading to CMake 3.3 for this (as it has CheckFortranCompilerFlag) would be fine by me. @cquike If you agree I could make a pull request with this idea.

@cquike
Copy link
Contributor

cquike commented Jun 28, 2022

Thank you for helping help on this @tammojan . Yes, I fully agree with that approach, so please go ahead with the PR.

tammojan added a commit that referenced this pull request Jun 30, 2022
tammojan added a commit that referenced this pull request Jun 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants