|
70 | 70 | # This will require SUITESPARSE_C_TO_FORTRAN to be |
71 | 71 | # defined explicitly, if the defaults are not appropriate |
72 | 72 | # for your system. |
73 | | -# Default: ON |
| 73 | +# Default: OFF |
| 74 | +# |
| 75 | +# This setting was ON by default in SuiteSparse 7.10.0 and earlier. |
| 76 | +# Note that Fortran is now disabled by default, with the default setting |
| 77 | +# of SUITESPARSE_USE_FORTRAN changed from ON to OFF. If the icx compiler |
| 78 | +# and the Intel MKL BLAS are available but ifx is not, then loading the |
| 79 | +# GNU Fortran compiler causes the cmake FindBLAS to link the Intel MKL |
| 80 | +# against libgomp, but at the same time cmake links the application with |
| 81 | +# libiomp. Including two OpenMP libraries, libiomp and libgomp, in one |
| 82 | +# application can cause serious performance issues. To avoid this issue, |
| 83 | +# SUITESPARSE_USE_FORTRAN has been set to OFF. This has little impact on |
| 84 | +# SuiteSparse (it disables the AMD Fortran routines, and removes the |
| 85 | +# Fortran interface to UMFPACK). If you wish to use those features, |
| 86 | +# re-enable the SUITESPARSE_USE_FORTRAN, but be sure to use either gcc |
| 87 | +# and gfortran together, or icx and ifx together. Do not mix-and-match |
| 88 | +# the compilers. |
74 | 89 | # |
75 | 90 | # SUITESPARSE_PKGFILEDIR: Directory where CMake Config and pkg-config files |
76 | 91 | # will be installed. By default, CMake Config files will |
@@ -286,7 +301,7 @@ endif ( ) |
286 | 301 | #------------------------------------------------------------------------------- |
287 | 302 |
|
288 | 303 | include ( CheckLanguage ) |
289 | | -option ( SUITESPARSE_USE_FORTRAN "ON (default): use Fortran. OFF: do not use Fortran" ON ) |
| 304 | +option ( SUITESPARSE_USE_FORTRAN "ON: use Fortran. OFF (default): do not use Fortran" OFF ) |
290 | 305 | if ( SUITESPARSE_USE_FORTRAN ) |
291 | 306 | check_language ( Fortran ) |
292 | 307 | if ( CMAKE_Fortran_COMPILER ) |
|
0 commit comments