#
# 1. If FPE traps are enabled either abort or disable them
# 2. Specify fixed form if needed
+#
+#=============================================================================
+# Author: Chuck Atkins
+# Copyright 2010 Kitware, Inc.
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
macro( CheckLAPACKCompilerFlags )
endif()
# IBM XL Fortran
-elseif( CMAKE_Fortran_COMPILER_ID STREQUAL "VisualAge" )
+elseif( (CMAKE_Fortran_COMPILER_ID STREQUAL "VisualAge" ) OR # CMake 2.6
+ (CMAKE_Fortran_COMPILER_ID STREQUAL "XL" ) ) # CMake 2.8
if( "${CMAKE_Fortran_FLAGS}" MATCHES "-qflttrap=[a-zA-Z:]:enable" )
set( FPE_EXIT TRUE )
endif()
# VECLIB8 - HP's Math Library: VECLIB8 (64 bit integers)
# See http://www.hp.com/go/mlib
# ESSL - IBM's Engineering and Scientific Subroutine Library
-# ESSL_6464 - IBM's Engineering and Scientific Subroutine Library (int64)
-# ESSL_SMP - IBM's Engineering and Scientific Subroutine Library (smp)
-# ESSL_SMP_6464 - (smp + int64)
+# ESSL6464 - IBM's Engineering and Scientific Subroutine Library (int64)
+# ESSLSMP - IBM's Engineering and Scientific Subroutine Library (smp)
+# ESSLSMP6464 - (smp + int64)
# See http://www-03.ibm.com/systems/software/essl/
# MKL - Intel Math Kernel Library (dynamic interface)
# Use MKL_THREADING_LAYER and MKL_INTERFACE_LAYER environment vars
# IBM ESSL
elseif( _BLAS_VENDOR STREQUAL "ESSL" )
message( STATUS "FindBLAS: Searching for IBM ESSL" )
- _BLAS_LOCATE_AND_TEST( ${_BLAS_VENDOR} "essl" "" )
+ _BLAS_LOCATE_AND_TEST( ${_BLAS_VENDOR} "essl;blas" "" )
# IBM ESSL (SMP Version)
- elseif( _BLAS_VENDOR STREQUAL "ESSL_SMP" )
+ elseif( _BLAS_VENDOR STREQUAL "ESSLSMP" )
message( STATUS "FindBLAS: Searching for IBM ESSL (SMP)" )
- _BLAS_LOCATE_AND_TEST( ${_BLAS_VENDOR} "esslsmp" "" )
+ _BLAS_LOCATE_AND_TEST( ${_BLAS_VENDOR} "esslsmp;blas" "" )
# IBM ESSL int64
- elseif( _BLAS_VENDOR STREQUAL "ESSL_6464" )
+ elseif( _BLAS_VENDOR STREQUAL "ESSL6464" )
message( STATUS "FindBLAS: Searching for IBM ESSL (int64)" )
_BLAS_LOCATE_AND_TEST( ${_BLAS_VENDOR} "essl6464" "" )
# IBM ESSL (SMP + int64)
- elseif( _BLAS_VENDOR STREQUAL "ESSL_SMP_6464" )
+ elseif( _BLAS_VENDOR STREQUAL "ESSLSMP6464" )
message( STATUS "FindBLAS: Searching for IBM ESSL (SMP + int64)" )
_BLAS_LOCATE_AND_TEST( ${_BLAS_VENDOR} "esslsmp6464" "" )