Browse Source

ifort and pgfort need "recursive" for compiling LAPACK as well

as shown in Reference-LAPACK issue 401 (their PR 403)
tags/v0.3.10^2
Martin Kroeker GitHub 5 years ago
parent
commit
a05243d0f2
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 4 deletions
  1. +3
    -4
      cmake/fc.cmake

+ 3
- 4
cmake/fc.cmake View File

@@ -76,14 +76,12 @@ if (${F_COMPILER} STREQUAL "GFORTRAN")
endif ()
endif ()

if (${F_COMPILER} STREQUAL "IFORT")
if (${F_COMPILER} STREQUAL "INTEL")
set(CCOMMON_OPT "${CCOMMON_OPT} -DF_INTERFACE_INTEL")
if (MSVC)
set(FCOMMON_OPT "${FCOMMON_OPT} -names:lowercase -assume:underscore")
endif ()
if (INTERFACE64)
set(FCOMMON_OPT "${FCOMMON_OPT} -i8")
endif ()
set(FCOMMON_OPT "${FCOMMON_OPT} -recursive")
if (USE_OPENMP)
set(FCOMMON_OPT "${FCOMMON_OPT} -openmp")
endif ()
@@ -123,6 +121,7 @@ if (${F_COMPILER} STREQUAL "PGI")
else ()
set(FCOMMON_OPT "${FCOMMON_OPT} -tp p7")
endif ()
set(FCOMMON_OPT "${FCOMMON_OPT} -Mrecursive")
if (USE_OPENMP)
set(FCOMMON_OPT "${FCOMMON_OPT} -mp")
endif ()


Loading…
Cancel
Save