Skip to content

Commit 31068e0

Browse files
committed
Major update to the AVX* detection and support
1. Consistent march flag order between configure and make. 2. op/avx: give the option to skip some tests it is possible to skip some intrinsic tests by setting some environment variables to "no" before invoking configure: - ompi_cv_op_avx_check_avx512 - ompi_cv_op_avx_check_avx2 - ompi_cv_op_avx_check_avx - ompi_cv_op_avx_check_sse41 - ompi_cv_op_avx_check_sse3 3. op/avx: update AVX512 flags try -mavx512f -mavx512bw -mavx512vl -mavx512dq instead of -march=skylake-avx512 since the former is less likely to conflict with user provided CFLAGS (e.g. -march=...) Thanks Bart Oldeman for pointing this. 4. op/avx: have the op/avx library depend on libmpi.so Refs. #8323 Signed-off-by: Gilles Gouaillardet <gilles@rist.or.jp> Signed-off-by: George Bosilca <bosilca@icl.utk.edu>
1 parent cd49049 commit 31068e0

File tree

2 files changed

+174
-155
lines changed

2 files changed

+174
-155
lines changed

ompi/mca/op/avx/Makefile.am

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Copyright (c) 2019-2020 The University of Tennessee and The University
33
# of Tennessee Research Foundation. All rights
44
# reserved.
5-
# Copyright (c) 2020 Research Organization for Information Science
5+
# Copyright (c) 2020-2021 Research Organization for Information Science
66
# and Technology (RIST). All rights reserved.
77
# $COPYRIGHT$
88
#
@@ -86,7 +86,7 @@ mcacomponentdir = $(ompilibdir)
8686
mcacomponent_LTLIBRARIES = $(component_install)
8787
mca_op_avx_la_SOURCES = $(sources)
8888
mca_op_avx_la_LIBADD = $(specialized_op_libs)
89-
mca_op_avx_la_LDFLAGS = -module -avoid-version
89+
mca_op_avx_la_LDFLAGS = -module -avoid-version $(top_builddir)/ompi/lib@OMPI_LIBMPI_NAME@.la
9090

9191

9292
# Specific information for static builds.

0 commit comments

Comments
 (0)