From 6f44e3c192155aa665214b2631f0187498800201 Mon Sep 17 00:00:00 2001 From: nils meyer Date: Thu, 23 Apr 2020 11:18:50 +0200 Subject: [PATCH] reverted changes in configure.ac ; included SVE configure readme --- SVE_README.txt | 10 ++++++++++ configure.ac | 8 +++----- 2 files changed, 13 insertions(+), 5 deletions(-) create mode 100644 SVE_README.txt diff --git a/SVE_README.txt b/SVE_README.txt new file mode 100644 index 00000000..b60d0427 --- /dev/null +++ b/SVE_README.txt @@ -0,0 +1,10 @@ +armclang 20.0 VLA + +../configure --with-lime=/home/men04359/lime/c-lime --without-hdf5 --enable-gen-simd-width=64 --enable-simd=GEN --enable-precision=double --enable-comms=none --enable-openmp CXX=g++-10.0.1 CC=gcc-10.0.1 CXXFLAGS="-std=c++11 -march=armv8-a+sve -msve-vector-bits=512 -fno-gcse -DA64FX -DA64FXASM -DDSLASHINTRIN" LDFLAGS=-static GRID_LDFLAGS=-static MPI_CXXLDFLAGS=-static + + +gcc 10.0.1 VLA + +../configure --with-lime=/home/men04359/lime/c-lime --without-hdf5 --enable-gen-simd-width=64 --enable-simd=GEN --enable-precision=double --enable-comms=none --enable-openmp CXX=armclang++ CC=armclang CXXFLAGS="-std=c++11 -fno-unroll-loops -mllvm -vectorizer-min-trip-count=2 -march=armv8-a+sve -DA64FX -DA64FXASM -DDSLASHINTRIN" LDFLAGS=-static GRID_LDFLAGS=-static MPI_CXXLDFLAGS=-static + +should remove "-fno-strict-aliasing" for gcc 10 diff --git a/configure.ac b/configure.ac index ec774b49..2980a6d5 100644 --- a/configure.ac +++ b/configure.ac @@ -286,13 +286,11 @@ case ${CXX} in CXXFLAGS="$CXXFLAGS -Xcompiler -fopenmp" fi ;; - g++-10.0.1) - # removed -fno-strict-aliasing for gcc 10 dev build only - CXXFLAGS="$CXXFLAGS" - ;; *) CXXLD=${CXX} - CXXFLAGS="$CXXFLAGS -fno-strict-aliasing" + # + #CXXFLAGS="$CXXFLAGS -fno-strict-aliasing" + CXXFLAGS="$CXXFLAGS" ;; esac