Yay! Finally compiling.
Mind if I just continue in this ticket even though the question is moving
on?
I think I'm correctly specifying a bunch of AVX flags to trilinos. In the
deal build they show up in compile lines such as:
[ 63%] Building CXX object source/physics/CMakeFiles/obj_physics_release.dir
/transformations.cc.o
cd /tmp/dealii-build/source/physics && /opt/intel/
compilers_and_libraries_2017.4.196/linux/mpi/intel64/bin/mpicxx -I/tmp/
dealii-build/source/physics -I/tmp/dealii-build/include -I/admin/build/rpms/
BUILD/dealii-git20170615/inclu\
de
-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/dealii-git20170615/bundled/umfpack/AMD/Inclu\
de -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/petsc/3.7/knightslanding/include -I/home1/ap\
ps/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/compile\
rs_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/knightslanding/include -I/home1/apps/intel17/impi17_0/s\
lepc/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 -O2 -no-ansi-alias -ip -funroll-loops -std
=c++14 -xCORE-AVX2 -axMIC-AVX512,CORE-AVX512 -O2 -o CMakeFiles/
obj_physics_release.dir/transformations.cc.o -c /admin/build/rpms/BUILD/
dealii-git2017061\
5/source/physics/transformations.cc
but then the build bombs with:
[ 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 -grecod-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 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.