You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since Unify currently conflicts with certain fortran compilers (#300, #304), if a user installs with the FC envar set to a conflicting compiler, Unify will build fine, but will fail at runtime when the user attempts to use anything requiring fortran. When a user installs with Spack, Spack sets/overrides FC for the user based on the compiler selected, which prevents the ability to tell Spack to only conflict with the fortran compiler, and not all associated compilers:
We do have this documented so that users who intend to use fortran won't try to do so with anything aside from gfortran. However, if a user wanting fortran misses this note and installs with Spack, we could at least have Spack tell them they cannot do so if we had a +fortran variant:
conflicts('%intel', when='+fortran')
This way users that still want to use intel without fortran can still do so, but users wanting fortran will be notified before run time.
Also, clang doesn't have an associated fortran compiler and currently it is unclear what Spack will do there as other complications have prevented testing this.
Proposed Solution
Create an --enable-fortran configuration option that is off by default and doesn't install any fortran related examples, etc when disabled.
The text was updated successfully, but these errors were encountered:
Describe the problem you're observing
Since Unify currently conflicts with certain fortran compilers (#300, #304), if a user installs with the
FC
envar set to a conflicting compiler, Unify will build fine, but will fail at runtime when the user attempts to use anything requiring fortran. When a user installs with Spack, Spack sets/overridesFC
for the user based on the compiler selected, which prevents the ability to tell Spack to only conflict with the fortran compiler, and not all associated compilers:We do have this documented so that users who intend to use fortran won't try to do so with anything aside from gfortran. However, if a user wanting fortran misses this note and installs with Spack, we could at least have Spack tell them they cannot do so if we had a
+fortran
variant:This way users that still want to use intel without fortran can still do so, but users wanting fortran will be notified before run time.
Also, clang doesn't have an associated fortran compiler and currently it is unclear what Spack will do there as other complications have prevented testing this.
Proposed Solution
Create an
--enable-fortran
configuration option that is off by default and doesn't install any fortran related examples, etc when disabled.The text was updated successfully, but these errors were encountered: