-
Notifications
You must be signed in to change notification settings - Fork 108
Add support for same compilers as Fortran version to Haskell version #289
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
Add support for same compilers as Fortran version to Haskell version #289
Conversation
…ted" This reverts commit f049ae6.
Might have left something set I did not intend to, but everyt application I build I get a warning message about MPI even in programs with no MPI calls when I use ifort; no problems with nvfortran or gfortran so far. Does not occur with the Fortran version with same
|
Thanks for testing @urbanjost . I may try out the Intel oneAPI on a Linux virtual machine soon. I haven't been very impressed with it on MacOS so far. |
Thanks @everythingfunctional, I've also tried with Intel fortran. I think
|
Not needed for this PR, but worth noting that submodule support in Haskell fpm breaks with |
I see. That is disappointing, on both fronts. Is there proper submodule support in the Fortran version yet? |
Yes there's support for submodules, though it's more rudimentary than the Haskell version since the implementation is ignorant of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For the discussed reasons, it seems we should remove -coarray
from the ifort
configuration altogether. After removing -coarray=single
I tested several packages successfully with ifort
.
I don't have any of the other compilers to test currently, but everything else looks good with this PR 👍
Ok, I'll pull the |
Odd. A few replies I made seem to be missing. Essentially I agree both packagers should remove coarray from the Intel compiler, especially because ifort allows users to add options in other ways, particularly with config files; although this allows users to "corrupt" the options used by a debug or release version. Things have progressed enough we need a TOML-based method for specifying builds and custom options, especially for coarrays/OpenMP/MPI or we will limit what can easily be a package. The h-fpm version allows for custom make scripts which has allowed me to do special builds and link in external libraries like X11, etc. So we need a solution for the capability especially in f-fpm but I concur it has to go out of the defaults for now. |
With the majority approval and nothing else appearing to be broken, I'm going to go ahead and merge. |
This adds support for the same compilers as is currently in the Fortran version to the Haskell version. I would appreciate if anyone with access to these compilers to do some testing.