Opened 12 months ago

#67367 assigned defect

gromacs, gromacs-plumed @2021.3: Cannot find SSE4.1 compiler flag

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: dstrubbe (David Strubbe)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: arm64 Cc:
Port: gromacs, gromacs-plumed

Description

Fails to build on all macOS versions on Apple Silicon hardware:

gromacs:

https://build.macports.org/builders/ports-11_arm64-builder/builds/91314/steps/install-port/logs/stdio
https://build.macports.org/builders/ports-12_arm64-builder/builds/93022/steps/install-port/logs/stdio
https://build.macports.org/builders/ports-13_arm64-builder/builds/20640/steps/install-port/logs/stdio

gromacs-plumed:

https://build.macports.org/builders/ports-11_arm64-builder/builds/91315/steps/install-port/logs/stdio
https://build.macports.org/builders/ports-12_arm64-builder/builds/93023/steps/install-port/logs/stdio
https://build.macports.org/builders/ports-13_arm64-builder/builds/20641/steps/install-port/logs/stdio

-- Performing Test C_msse4_1_FLAG_ACCEPTED
-- Performing Test C_msse4_1_FLAG_ACCEPTED - Success
-- Performing Test C_msse4_1_COMPILE_WORKS
-- Performing Test C_msse4_1_COMPILE_WORKS - Failed
-- Flag was accepted, but it did not build test source (this could be due to either the compiler or binutils)
-- Performing Test C_arch_SSE4_1_FLAG_ACCEPTED
-- Performing Test C_arch_SSE4_1_FLAG_ACCEPTED - Failed
-- Performing Test C_arch_SSE2_FLAG_ACCEPTED
-- Performing Test C_arch_SSE2_FLAG_ACCEPTED - Failed
-- Performing Test C_hgnu_FLAG_ACCEPTED
-- Performing Test C_hgnu_FLAG_ACCEPTED - Failed
-- Performing Test C_COMPILE_WORKS_WITHOUT_SPECIAL_FLAGS
-- Performing Test C_COMPILE_WORKS_WITHOUT_SPECIAL_FLAGS - Failed
-- Could not find any flag to build test source (this could be due to either the compiler or binutils)
-- Performing Test CXX_msse4_1_FLAG_ACCEPTED
-- Performing Test CXX_msse4_1_FLAG_ACCEPTED - Success
-- Performing Test CXX_msse4_1_COMPILE_WORKS
-- Performing Test CXX_msse4_1_COMPILE_WORKS - Failed
-- Flag was accepted, but it did not build test source (this could be due to either the compiler or binutils)
-- Performing Test CXX_arch_SSE4_1_FLAG_ACCEPTED
-- Performing Test CXX_arch_SSE4_1_FLAG_ACCEPTED - Failed
-- Performing Test CXX_arch_SSE2_FLAG_ACCEPTED
-- Performing Test CXX_arch_SSE2_FLAG_ACCEPTED - Failed
-- Performing Test CXX_hgnu_FLAG_ACCEPTED
-- Performing Test CXX_hgnu_FLAG_ACCEPTED - Failed
-- Performing Test CXX_COMPILE_WORKS_WITHOUT_SPECIAL_FLAGS
-- Performing Test CXX_COMPILE_WORKS_WITHOUT_SPECIAL_FLAGS - Failed
-- Could not find any flag to build test source (this could be due to either the compiler or binutils)
CMake Error at cmake/gmxManageSimd.cmake:52 (message):
  Cannot find SSE4.1 compiler flag.  Use a newer compiler, or choose SSE2
  SIMD (slower).
Call Stack (most recent call first):
  cmake/gmxManageSimd.cmake:121 (gmx_give_fatal_error_when_simd_support_not_found)
  CMakeLists.txt:662 (gmx_manage_simd)


-- Configuring incomplete, errors occurred!

Change History (0)

Note: See TracTickets for help on using tickets.