basic_simd_vector.h(795): error: invalid type conversion: "seqan::SimdVector8Short" to "__m128i &"
SEQAN_VECTOR_CAST_LVALUE_(__m128i&, vector) = _mm_set_epi16(std::get<INDICES>(args)...);
tar xzf flexbar-3.2.0.tar.gz
tar xJf seqan-library-2.2.0.tar.xz
mv seqan-library-2.2.0/include flexbar-3.2.0
cd flexbar-3.2.0
mkdir build
cd build
module load Intel/2016.3.210-GCC-5.4.0-2.26
module load IntelMPI/5.1.3.181
module load tbb/2018_U3
module load CMake/3.6.2
export CC=icc
export CXX=icpc
export CFLAGS=-I/opt/easybuild/software/MPI/intel/2016.3.210-GCC-5.4.0-2.26/impi/5.1.3.181/tbb/2018_U3/include
export CXXFLAGS=-I/opt/easybuild/software/MPI/intel/2016.3.210-GCC-5.4.0-2.26/impi/5.1.3.181/tbb/2018_U3/include
cmake -DCMAKE_VERBOSE_MAKEFILE=1 ..
make
Note that the "module load" commands are simply updating environment variables (namely, PATH and LD_LIBRARY_PATH) to point to the appropriate libraries and binaries.
$ cmake -DCMAKE_VERBOSE_MAKEFILE=1 ..
-- The C compiler identification is Intel 16.0.3.20160415
-- The CXX compiler identification is Intel 16.0.3.20160415
-- Check for working C compiler: /opt/easybuild/software/Core/icc/2016.3.210-GCC-5.4.0-2.26/compilers_and_libraries_2016.3.210/linux/bin/intel64/icc
-- Check for working C compiler: /opt/easybuild/software/Core/icc/2016.3.210-GCC-5.4.0-2.26/compilers_and_libraries_2016.3.210/linux/bin/intel64/icc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /opt/easybuild/software/Core/icc/2016.3.210-GCC-5.4.0-2.26/compilers_and_libraries_2016.3.210/linux/bin/intel64/icpc
-- Check for working CXX compiler: /opt/easybuild/software/Core/icc/2016.3.210-GCC-5.4.0-2.26/compilers_and_libraries_2016.3.210/linux/bin/intel64/icpc -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test COMPILER_SUPPORTS_CXX14
-- Performing Test COMPILER_SUPPORTS_CXX14 - Success
-- Flexbar 64 bit architecture
-- Found ZLIB: /usr/lib64/libz.so (found version "1.2.3")
-- Found BZip2: /usr/lib64/libbz2.so (found version "1.0.5")
-- Looking for BZ2_bzCompressInit
-- Looking for BZ2_bzCompressInit - found
-- Configuring done
-- Generating done
-- Build files have been written to: /home/frenchwr/tmp/flexbar-3.2.0/build
$ make
/gpfs22/easybuild/centos6/software/Compiler/GCCcore/5.4.0/CMake/3.6.2/bin/cmake -H/home/frenchwr/tmp/flexbar-3.2.0 -B/home/frenchwr/tmp/flexbar-3.2.0/build --check-build-system CMakeFiles/Makefile.cmake 0
/gpfs22/easybuild/centos6/software/Compiler/GCCcore/5.4.0/CMake/3.6.2/bin/cmake -E cmake_progress_start /home/frenchwr/tmp/flexbar-3.2.0/build/CMakeFiles /home/frenchwr/tmp/flexbar-3.2.0/build/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[1]: Entering directory `/gpfs22/home/frenchwr/tmp/flexbar-3.2.0/build'
make -f src/CMakeFiles/flexbar.dir/build.make src/CMakeFiles/flexbar.dir/depend
make[2]: Entering directory `/gpfs22/home/frenchwr/tmp/flexbar-3.2.0/build'
cd /home/frenchwr/tmp/flexbar-3.2.0/build && /gpfs22/easybuild/centos6/software/Compiler/GCCcore/5.4.0/CMake/3.6.2/bin/cmake -E cmake_depends "Unix Makefiles" /home/frenchwr/tmp/flexbar-3.2.0 /home/frenchwr/tmp/flexbar-3.2.0/src /home/frenchwr/tmp/flexbar-3.2.0/build /home/frenchwr/tmp/flexbar-3.2.0/build/src /home/frenchwr/tmp/flexbar-3.2.0/build/src/CMakeFiles/flexbar.dir/DependInfo.cmake --color=
Scanning dependencies of target flexbar
make[2]: Leaving directory `/gpfs22/home/frenchwr/tmp/flexbar-3.2.0/build'
make -f src/CMakeFiles/flexbar.dir/build.make src/CMakeFiles/flexbar.dir/build
make[2]: Entering directory `/gpfs22/home/frenchwr/tmp/flexbar-3.2.0/build'
[ 50%] Building CXX object src/CMakeFiles/flexbar.dir/Flexbar.cpp.o
cd /home/frenchwr/tmp/flexbar-3.2.0/build/src && /opt/easybuild/software/Core/icc/2016.3.210-GCC-5.4.0-2.26/compilers_and_libraries_2016.3.210/linux/bin/intel64/icpc -DSEQAN_HAS_BZIP2=1 -DSEQAN_HAS_ZLIB=1 -I/home/frenchwr/tmp/flexbar-3.2.0/include -I/opt/easybuild/software/MPI/intel/2016.3.210-GCC-5.4.0-2.26/impi/5.1.3.181/tbb/2018_U3/include -std=c++14 -march=native -O3 -DNDEBUG -o CMakeFiles/flexbar.dir/Flexbar.cpp.o -c /home/frenchwr/tmp/flexbar-3.2.0/src/Flexbar.cpp
/home/frenchwr/tmp/flexbar-3.2.0/include/seqan/basic/basic_simd_vector.h(795): error: invalid type conversion: "seqan::SimdVector8Short" to "__m128i &"
SEQAN_VECTOR_CAST_LVALUE_(__m128i&, vector) = _mm_set_epi16(std::get<INDICES>(args)...);
^
detected during:
instantiation of "void seqan::_fillVector(TSimdVector &, const std::tuple<TValue...> &, const std::index_sequence<INDICES...> &, seqan::SimdParams_<16, 8>) [with TSimdVector=seqan::SimdVector8Short, TValue=<seqan::SimpleType<unsigned char, seqan::Dna5_>, seqan::SimpleType<unsigned char, seqan::Dna5_>, seqan::SimpleType<unsigned char, seqan::Dna5_>, seqan::SimpleType<unsigned char, seqan::Dna5_>, seqan::SimpleType<unsigned char, seqan::Dna5_>, seqan::SimpleType<unsigned char,
seqan::Dna5_>, seqan::SimpleType<unsigned char, seqan::Dna5_>, seqan::SimpleType<unsigned char, seqan::Dna5_>>, INDICES=<0UL, 1UL, 2UL, 3UL, 4UL, 5UL, 6UL, 7UL>]" at line 1390
instantiation of "seqan::EnableIf<seqan::Is<seqan::SimdVectorConcept<TSimdVector>>, void>::Type seqan::fillVector(TSimdVector &, TValue...) [with TSimdVector=seqan::SimdVector8Short, TValue=<seqan::Dna5, seqan::Dna5, seqan::Dna5, seqan::Dna5, seqan::Dna5, seqan::Dna5, seqan::Dna5, seqan::Dna5>]" at line 115 of "/home/frenchwr/tmp/flexbar-3.2.0/include/seqan/align/dp_align_simd_helper.h"
instantiation of "void seqan::_createSimdRepImpl(TSimdVecs &, const TStrings &, const seqan::VectorLength_<8U> &) [with TSimdVecs=seqan::String<seqan::SimdVector8Short, seqan::Alloc<seqan::OverAligned>>, TStrings=seqan::Segment<seqan::StringSet<flexbar::FSeqStr, seqan::Dependent<seqan::Tight>>, seqan::InfixSegment>]" at line 123 of "/home/frenchwr/tmp/flexbar-3.2.0/include/seqan/align/dp_align_simd_helper.h"
instantiation of "void seqan::_createSimdRepImpl(TSimdVecs &, const TStrings &) [with TSimdVecs=seqan::String<seqan::SimdVector8Short, seqan::Alloc<seqan::OverAligned>>, TStrings=seqan::Segment<seqan::StringSet<flexbar::FSeqStr, seqan::Dependent<seqan::Tight>>, seqan::InfixSegment>]" at line 162 of "/home/frenchwr/tmp/flexbar-3.2.0/include/seqan/align/dp_align_simd_helper.h"
instantiation of "void seqan::_prepareAndRunSimdAlignment(TResult &, TTraces &, const TSequencesH &, const TSequencesV &, const TScore &, const seqan::AlignConfig2<TAlgo, TBand, TFreeEndGaps, TTraceback> &, const TGapModel &, const seqan::SimdAlignEqualLength &) [with TResult=seqan::SimdVector8Short, TTraces=seqan::StringSet<seqan::String<seqan::TraceSegment_<signed long, size_t={unsigned long}>, seqan::Alloc<void>>, seqan::Owner<seqan::Default>>,
TSequencesH=seqan::Segment<seqan::StringSet<flexbar::FSeqStr, seqan::Dependent<seqan::Tight>>, seqan::InfixSegment>, TSequencesV=seqan::Segment<seqan::StringSet<flexbar::FSeqStr, seqan::Dependent<seqan::Tight>>, seqan::InfixSegment>, TScore=seqan::Score<seqan::SimdVector8Short, seqan::ScoreSimdWrapper<seqan::Score<int, seqan::ScoreMatrix<seqan::Dna5, seqan::Default>>>>, TAlgo=seqan::DPGlobal, TBand=seqan::DPBandConfig<seqan::BandOff>,
TFreeEndGaps=seqan::FreeEndGaps_<seqan::True, seqan::False, seqan::True, seqan::True>, TTraceback=seqan::TracebackOn<seqan::TracebackConfig_<seqan::SingleTrace, seqan::GapsLeft>>, TGapModel=seqan::LinearGaps]" at line 289 of "/home/frenchwr/tmp/flexbar-3.2.0/include/seqan/align/dp_align_simd_helper.h"
[ 7 instantiation contexts not shown ]
I've truncated the error message above. We do not have the TBB library installed with GCC but I will go ahead and try that next to see if this is an issue with just the Intel compiler.