Skip to content

Single precision on MacOS #155

Description

@TobiasDuswald

I tried installing and testing superlu (v7.0.0) by running the following commands:

git clone https://github.com/xiaoyeli/superlu.git
cd superlu
mkdir build
cd build
cmake ..
make -j
make test

The tests failed for single precision and complex single precision failed:

The following tests FAILED:
	  1 - s_test_9_2_0_LA (Failed)
	  2 - s_test_19_2_0_LA (Failed)
	  3 - s_test_2_0_SP (Failed)
	  4 - s_test_9_2_10000000_LA (Failed)
	  5 - s_test_19_2_10000000_LA (Failed)
	  6 - s_test_2_10000000_SP (Failed)
	 13 - c_test_9_2_0_LA (Failed)
	 14 - c_test_19_2_0_LA (Failed)
	 15 - c_test_2_0_SP (Failed)
	 16 - c_test_9_2_10000000_LA (Failed)
	 17 - c_test_19_2_10000000_LA (Failed)
	 18 - c_test_2_10000000_SP (Failed)
Errors while running CTest

I suppose that this is related to the cmake output

-- The C compiler identification is AppleClang 15.0.0.15000309
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- SuperLU will be built as a static library.
-- Looking for sgemm_
-- Looking for sgemm_ - not found                  <-------------------- here
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Looking for dgemm_
-- Looking for dgemm_ - found
-- Found BLAS: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/Accelerate.framework
-- Using TPL_BLAS_LIBRARIES='/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/Accelerate.framework'
-- Will not link with METIS.
-- Configuring done (1.3s)
-- Generating done (0.6s)
-- Build files have been written to: /Users/tobiasduswald/Software/superlu/build

I also attach all logs (make , cmake, ctest). Is there a simple fix to get this running?
make.log
test.log
cmake.log

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions