This code triggers a safety mechanism that I introduced recently (April 26). We also see this on one of the test machines: https://cdash.kyomu.43-1.org/viewBuildError.php?buildid=8758 but I previously thought this is only due to a leftover in the configuration and I did not see it in real life before.

Victor, are you on a clean deal.II build directory without previous content?

Could you also post the last 20 lines or so regarding the instruction extension in the output of the intel compiler you are using with

|icpc |||-xCORE-AVX2 -axMIC-AVX512,CORE-AVX512| -dM -E -x c++ /dev/null |

(see also the discussion we had a short while ago here: https://github.com/dealii/dealii/pull/4440 )

Best,
Martin

On 07.07.2017 14:21, Bruno Turcksin wrote:
This is very strange. Do you set the AVX flags yourself?

@Martin have you ever seen something like that?

Bruno

2017-07-07 3:50 GMT-04:00 Victor Eijkhout <[email protected]>:
Hm. That second compile line should be:









[ 63%] Building CXX object
source/numerics/CMakeFiles/obj_numerics_debug.dir/vector_tools_boundary.cc.o


cd /tmp/dealii-build/source/numerics &&
/opt/intel/compilers_and_libraries_2017.4.196/linux/mpi/intel64/bin/mpicxx
-DDEBUG -DTBB_DO_ASSERT=1 -DTBB_USE_DEBUG
-I/tmp/dealii-build/source/numerics -I/tmp/dealii-build/include -I/admi\


n/build/rpms/BUILD/dealii-git20170615/include
-I/admin/build/rpms/BUILD/dealii-git20170615/bundled/tbb41_20130401oss/include
-I/admin/build/rpms/BUILD/dealii-git20170615/bundled/umfpack/UMFPACK/Include
-I/admin/build/rpms/BUILD/d\


ealii-git20170615/bundled/umfpack/AMD/Include
-I/admin/build/rpms/BUILD/dealii-git20170615/bundled/muparser_v2_2_4/include
-I/opt/intel/compilers_and_libraries_2017.4.196/linux/mpi/intel64/include
-I/home1/apps/intel17/impi17_0/p\


etsc/3.7/knightslanding/include
-I/home1/apps/intel17/impi17_0/trilinos/12.10.1/include
-I/opt/apps/intel17/boost/1.64/include
-I/opt/apps/intel17/impi17_0/parallel-netcdf/4.3.3.1/x86_64/include
-I/opt/apps/intel17/impi17_0/phdf5\


/1.8.16/x86_64/include
-I/opt/intel/compilers_and_libraries/linux/mkl/include
-I/home1/apps/intel17/impi17_0/petsc/3.7/include
-I/home1/apps/intel17/impi17_0/p4est/2.0/include
-I/home1/apps/intel17/impi17_0/slepc/3.7/knightslandi\


ng/include -I/home1/apps/intel17/impi17_0/slepc/3.7/include  -fpic -ansi -w2
-wd21 -wd68 -wd135 -wd175 -wd177 -wd191 -wd193 -wd279 -wd327 -wd383 -wd981
-wd1418 -wd1478 -wd1572 -wd2259 -wd2536 -wd3415 -wd15531 -wd111 -wd128
-wd185\


  -wd280 -qopenmp-simd -std=c++14 -std=c++14 -Wno-return-type
-Wno-parentheses -O0 -g -gdwarf-2 -grecord-gcc-switches -std=c++14 -g -O0 -o
CMakeFiles/obj_numerics_debug.dir/vector_tools_boundary.cc.o -c
/admin/build/rpms/BUILD/dea\


lii-git20170615/source/numerics/vector_tools_boundary.cc


In file included from
/admin/build/rpms/BUILD/dealii-git20170615/include/deal.II/matrix_free/matrix_free.h(24),


                  from
/admin/build/rpms/BUILD/dealii-git20170615/include/deal.II/numerics/vector_tools.templates.h(43),


                  from
/admin/build/rpms/BUILD/dealii-git20170615/source/numerics/vector_tools_boundary.cc(17):


/admin/build/rpms/BUILD/dealii-git20170615/include/deal.II/base/vectorization.h(46):
error: #error directive: "Mismatch in vectorization capabilities: AVX was
detected during configuration of deal.II and switched on, but it is ap\


parently not available for the file you are trying to compile at the moment.
Check compilation flags controlling the instruction set, such as
-march=native."


   #error "Mismatch in vectorization capabilities: AVX was detected during
configuration of deal.II and switched on, but it is apparently not available
for the file you are trying to compile at the moment. Check compilation
flags \


controlling the instruction set, such as -march=native."



--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see
https://groups.google.com/d/forum/dealii?hl=en
---
You received this message because you are subscribed to a topic in the
Google Groups "deal.II User Group" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/dealii/msEQFzuoxf0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
[email protected].
For more options, visit https://groups.google.com/d/optout.

--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- You received this message because you are subscribed to the Google Groups "deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to