Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failure - master branch (4de09f5) with Intel Compiler v17 #2350

Closed
ShmuelLevine opened this issue Sep 29, 2016 · 8 comments
Closed

Build failure - master branch (4de09f5) with Intel Compiler v17 #2350

ShmuelLevine opened this issue Sep 29, 2016 · 8 comments

Comments

@ShmuelLevine
Copy link
Contributor

ShmuelLevine commented Sep 29, 2016

Hi All:

I encountered build errors with the latest commit as of last night (4de0915) on my workstation, using the latest version of Intel C++ compiler. Additionally, there are number of warnings from the compiler. I've tried to provide as much information below as I've been able. This particular machine is at a different location from my server and, so I do not have [Intel,any] MPI libraries installed and available on this machine. Having said that, from the error messages that I receive, it does not appear to me that this would have any bearing on the particular issues that I am encountering here.

For brevity, I've copied some of the errors/warnings below. The full output is attached.

If there's any additional information that might be required to identify and address these issues, please let me know and I'll provide whatever I can.

Regards,
Shmuel

System (uname -a):
Linux shmuuWS 4.6.0-1-amd64 #1 SMP Debian 4.6.4-1 (2016-07-18) x86_64 GNU/Linux

cmake command:

cmake -DHPX_WITH_MALLOC=tcmalloc -DCMAKE_C_COMPILER=$(which icc) -DCMAKE_CXX_COMPILER=$(which icpc) -DCMAKE_CXX_FLAGS='-std=c++14 -xhost  ' -DHPX_WITH_EXAMPLES=YES -DCMAKE_BUILD_TYPE=Debug   -DBOOST_ROOT=/usr/src/boost_1_61_0.icc -DHPX_WITH_COMPRESSION_SNAPPY=TRUE -DHPX_WITH_PARCELPORT_MPI=FALSE -DHPX_WITH_PARCELPORT_TCP=TRUE -DHPX_WITH_ITTNOTIFY=TRUE -DHPX_WITH_PARCEL_COALESCING=ON -DCMAKE_INSTALL_PREFIX=/opt/hpx/1.0.0_icc  -DHPX_WITH_THREAD_DEBUG_INFO=YES -DHPX_WITH_THREAD_DESCRIPTION_FULL=YES -DHPX_WITH_THREAD_GUARD_PAGE=YES -DHPX_WITH_VALGRIND=YES -DHPX_WITH_VERIFY_LOCKS=YES -DHPX_WITH_VERIFY_LOCKS_BACKTRACE=YES -DHPX_WITH_VERIFY_LOCKS_GLOBALLY=YES ../

output of cmake command:

> cmake -DHPX_WITH_MALLOC=tcmalloc -DCMAKE_C_COMPILER=$(which icc) -DCMAKE_CXX_COMPILER=$(which icpc) -DCMAKE_CXX_FLAGS='-std=c++14 -xhost  ' -DHPX_WITH_EXAMPLES=YES -DCMAKE_BUILD_TYPE=Debug   -DBOOST_ROOT=/usr/src/boost_1_61_0.icc -DHPX_WITH_COMPRESSION_SNAPPY=TRUE -DHPX_WITH_PARCELPORT_MPI=FALSE -DHPX_WITH_PARCELPORT_TCP=TRUE -DHPX_WITH_ITTNOTIFY=TRUE -DHPX_WITH_PARCEL_COALESCING=ON -DCMAKE_INSTALL_PREFIX=/opt/hpx/1.0.0_icc  -DHPX_WITH_THREAD_DEBUG_INFO=YES -DHPX_WITH_THREAD_DESCRIPTION_FULL=YES -DHPX_WITH_THREAD_GUARD_PAGE=YES -DHPX_WITH_VALGRIND=YES -DHPX_WITH_VERIFY_LOCKS=YES -DHPX_WITH_VERIFY_LOCKS_BACKTRACE=YES -DHPX_WITH_VERIFY_LOCKS_GLOBALLY=YES ../
-- The CXX compiler identification is Intel 17.0.0.20160721
-- The C compiler identification is Intel 17.0.0.20160721
-- Check for working CXX compiler: /opt/intel/compilers_and_libraries_2017.0.098/linux/bin/intel64/icpc
-- Check for working CXX compiler: /opt/intel/compilers_and_libraries_2017.0.098/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
-- Check for working C compiler: /opt/intel/compilers_and_libraries_2017.0.098/linux/bin/intel64/icc
-- Check for working C compiler: /opt/intel/compilers_and_libraries_2017.0.098/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
-- Native TLS is enabled.
-- Stack traces are enabled.
-- Compiling with the native toolset
-- Performing Test HPX_WITH_CXX11
-- Performing Test HPX_WITH_CXX11 - Success
-- Performing Test HPX_WITH_CXX11_ALIAS_TEMPLATES - Success
-- Performing Test HPX_WITH_CXX11_AUTO - Success
-- Performing Test HPX_WITH_CXX11_CONSTEXPR - Success
-- Performing Test HPX_WITH_CXX11_DECLTYPE - Success
-- Performing Test HPX_WITH_CXX11_DECLTYPE_N3276 - Success
-- Performing Test HPX_WITH_CXX11_SFINAE_EXPRESSION - Success
-- Performing Test HPX_WITH_CXX11_DEFAULTED_FUNCTIONS - Success
-- Performing Test HPX_WITH_CXX11_DELETED_FUNCTIONS - Success
-- Performing Test HPX_WITH_CXX11_EXPLICIT_CONVERSION_OPERATORS - Success
-- Performing Test HPX_WITH_CXX11_EXPLICIT_VARIADIC_TEMPLATES - Success
-- Performing Test HPX_WITH_CXX11_EXTENDED_FRIEND_DECLARATIONS - Success
-- Performing Test HPX_WITH_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS - Success
-- Performing Test HPX_WITH_CXX11_INLINE_NAMESPACES - Success
-- Performing Test HPX_WITH_CXX11_LAMBDAS - Success
-- Performing Test HPX_WITH_CXX11_NOEXCEPT - Success
-- Performing Test HPX_WITH_CXX11_NULLPTR - Success
-- Performing Test HPX_WITH_CXX11_RANGE_BASED_FOR - Success
-- Performing Test HPX_WITH_CXX11_RVALUE_REFERENCES - Success
-- Performing Test HPX_WITH_CXX11_SCOPED_ENUMS - Success
-- Performing Test HPX_WITH_CXX11_STATIC_ASSERT - Success
-- Performing Test HPX_WITH_CXX11_VARIADIC_MACROS - Success
-- Performing Test HPX_WITH_CXX11_VARIADIC_TEMPLATES - Success
-- Performing Test HPX_WITH_CXX11_ARRAY - Success
-- Performing Test HPX_WITH_CXX11_CHRONO - Success
-- Performing Test HPX_WITH_CXX11_CSTDINT - Success
-- Performing Test HPX_WITH_CXX11_STD_INITIALIZER_LIST - Success
-- Performing Test HPX_WITH_CXX11_IS_BIND_EXPRESSION - Success
-- Performing Test HPX_WITH_CXX11_IS_PLACEHOLDER - Success
-- Performing Test HPX_WITH_CXX11_IS_TRIVIALLY_COPYABLE - Success
-- Performing Test HPX_WITH_CXX11_LOCK_GUARD - Success
-- Performing Test HPX_WITH_CXX11_REFERENCE_WRAPPER - Success
-- Performing Test HPX_WITH_CXX11_SHARED_PTR - Success
-- Performing Test HPX_WITH_CXX11_TO_STRING - Success
-- Performing Test HPX_WITH_CXX11_UNIQUE_LOCK - Success
-- Performing Test HPX_WITH_CXX11_UNIQUE_PTR - Success
-- Performing Test HPX_WITH_CXX11_UNORDERED_MAP - Success
-- Performing Test HPX_WITH_CXX11_UNORDERED_SET - Success
-- Performing Test HPX_WITH_CXX11_TYPE_TRAITS - Failed
-- Performing Test HPX_WITH_CXX14_CONSTEXPR - Failed
-- Performing Test HPX_WITH_CXX14_LAMBDAS - Failed
-- Performing Test HPX_WITH_CXX14_INTEGER_SEQUENCE - Failed
-- Performing Test HPX_WITH_CXX14_IS_FINAL - Failed
-- Performing Test HPX_WITH_CXX14_IS_NULL_POINTER - Success
-- Performing Test HPX_WITH_CXX14_RESULT_OF_SFINAE - Success
-- Performing Test HPX_WITH_CXX1Y_EXPERIMENTAL_OPTIONAL - Failed
-- Performing Test HPX_WITH_MM_PREFECTH - Success
-- Performing Test HPX_WITH_UNISTD_H - Success
-- Performing Test HPX_WITH_CXX_FLAG_WALL
-- Performing Test HPX_WITH_CXX_FLAG_WALL - Success
-- Performing Test HPX_WITH_C_FLAG_WALL
-- Performing Test HPX_WITH_C_FLAG_WALL - Success
-- Performing Test HPX_WITH_Fortran_FLAG_WALL
-- Performing Test HPX_WITH_Fortran_FLAG_WALL - Success
-- Performing Test HPX_WITH_CXX_FLAG_WEXTRA
-- Performing Test HPX_WITH_CXX_FLAG_WEXTRA - Success
-- Performing Test HPX_WITH_C_FLAG_WEXTRA
-- Performing Test HPX_WITH_C_FLAG_WEXTRA - Success
-- Performing Test HPX_WITH_Fortran_FLAG_WEXTRA
-- Performing Test HPX_WITH_Fortran_FLAG_WEXTRA - Success
-- Performing Test HPX_WITH_CXX_FLAG_WNO_UNUSED_LOCAL_TYPEDEFS
-- Performing Test HPX_WITH_CXX_FLAG_WNO_UNUSED_LOCAL_TYPEDEFS - Failed
-- "-Wno-unused-local-typedefs" not available for language CXX.
-- Performing Test HPX_WITH_C_FLAG_WNO_UNUSED_LOCAL_TYPEDEFS
-- Performing Test HPX_WITH_C_FLAG_WNO_UNUSED_LOCAL_TYPEDEFS - Failed
-- "-Wno-unused-local-typedefs" not available for language C.
-- Performing Test HPX_WITH_Fortran_FLAG_WNO_UNUSED_LOCAL_TYPEDEFS
-- Performing Test HPX_WITH_Fortran_FLAG_WNO_UNUSED_LOCAL_TYPEDEFS - Failed
-- "-Wno-unused-local-typedefs" not available for language Fortran.
-- Performing Test HPX_WITH_CXX_FLAG_WNO_STRICT_ALIASING
-- Performing Test HPX_WITH_CXX_FLAG_WNO_STRICT_ALIASING - Success
-- Performing Test HPX_WITH_C_FLAG_WNO_STRICT_ALIASING
-- Performing Test HPX_WITH_C_FLAG_WNO_STRICT_ALIASING - Success
-- Performing Test HPX_WITH_Fortran_FLAG_WNO_STRICT_ALIASING
-- Performing Test HPX_WITH_Fortran_FLAG_WNO_STRICT_ALIASING - Success
-- Performing Test HPX_WITH_CXX_FLAG_WNO_SIGN_PROMO
-- Performing Test HPX_WITH_CXX_FLAG_WNO_SIGN_PROMO - Success
-- Performing Test HPX_WITH_CXX_FLAG_WNO_ATTRIBUTES
-- Performing Test HPX_WITH_CXX_FLAG_WNO_ATTRIBUTES - Success
-- Performing Test HPX_WITH_CXX_FLAG_WNO_CAST_ALIGN
-- Performing Test HPX_WITH_CXX_FLAG_WNO_CAST_ALIGN - Failed
-- "-Wno-cast-align" not available for language CXX.
-- Performing Test HPX_WITH_CXX_FLAG_WNO_UNUSED_PARAMETER
-- Performing Test HPX_WITH_CXX_FLAG_WNO_UNUSED_PARAMETER - Success
-- Performing Test HPX_WITH_CXX_FLAG_WFORMAT_2
-- Performing Test HPX_WITH_CXX_FLAG_WFORMAT_2 - Success
-- Performing Test HPX_WITH_CXX_FLAG_WNO_FORMAT_NONLITERAL
-- Performing Test HPX_WITH_CXX_FLAG_WNO_FORMAT_NONLITERAL - Failed
-- "-Wno-format-nonliteral" not available for language CXX.
-- Performing Test HPX_WITH_CXX_FLAG_WINIT_SELF
-- Performing Test HPX_WITH_CXX_FLAG_WINIT_SELF - Success
-- Performing Test HPX_WITH_CXX_FLAG_WDOUBLE_PROMOTION
-- Performing Test HPX_WITH_CXX_FLAG_WDOUBLE_PROMOTION - Failed
-- "-Wdouble-promotion" not available for language CXX.
-- Performing Test HPX_WITH_CXX_FLAG_WCAST_QUAL
-- Performing Test HPX_WITH_CXX_FLAG_WCAST_QUAL - Success
-- Performing Test HPX_WITH_CXX_FLAG_WCAST_ALIGN
-- Performing Test HPX_WITH_CXX_FLAG_WCAST_ALIGN - Failed
-- "-Wcast-align" not available for language CXX.
-- Performing Test HPX_WITH_CXX_FLAG_WERROR_TRAMPOLINES
-- Performing Test HPX_WITH_CXX_FLAG_WERROR_TRAMPOLINES - Success
-- Performing Test HPX_WITH_CXX_FLAG_WERROR_PARENTHESES
-- Performing Test HPX_WITH_CXX_FLAG_WERROR_PARENTHESES - Success
-- Performing Test HPX_WITH_CXX_FLAG_WERROR_REORDER
-- Performing Test HPX_WITH_CXX_FLAG_WERROR_REORDER - Success
-- Performing Test HPX_WITH_CXX_FLAG_WERROR_RETURN_TYPE
-- Performing Test HPX_WITH_CXX_FLAG_WERROR_RETURN_TYPE - Success
-- Performing Test HPX_WITH_CXX_FLAG_WERROR_SEQUENCE_POINT
-- Performing Test HPX_WITH_CXX_FLAG_WERROR_SEQUENCE_POINT - Success
-- Performing Test HPX_WITH_CXX_FLAG_WERROR_UNINITIALIZED
-- Performing Test HPX_WITH_CXX_FLAG_WERROR_UNINITIALIZED - Success
-- Performing Test HPX_WITH_CXX_FLAG_WERROR_FORMAT
-- Performing Test HPX_WITH_CXX_FLAG_WERROR_FORMAT - Success
-- Performing Test HPX_WITH_CXX_FLAG_WERROR_MISSING_BRACES
-- Performing Test HPX_WITH_CXX_FLAG_WERROR_MISSING_BRACES - Success
-- Performing Test HPX_WITH_CXX_FLAG_WERROR_SIGN_COMPARE
-- Performing Test HPX_WITH_CXX_FLAG_WERROR_SIGN_COMPARE - Success
-- Performing Test HPX_WITH_CXX_FLAG_FDIAGNOSTICS_SHOW_OPTION
-- Performing Test HPX_WITH_CXX_FLAG_FDIAGNOSTICS_SHOW_OPTION - Failed
-- "-fdiagnostics-show-option" not available for language CXX.
-- Performing Test HPX_WITH_C_FLAG_FDIAGNOSTICS_SHOW_OPTION
-- Performing Test HPX_WITH_C_FLAG_FDIAGNOSTICS_SHOW_OPTION - Failed
-- "-fdiagnostics-show-option" not available for language C.
-- Performing Test HPX_WITH_Fortran_FLAG_FDIAGNOSTICS_SHOW_OPTION
-- Performing Test HPX_WITH_Fortran_FLAG_FDIAGNOSTICS_SHOW_OPTION - Failed
-- "-fdiagnostics-show-option" not available for language Fortran.
-- Performing Test HPX_WITH_CXX_FLAG_WERROR_VLA
-- Performing Test HPX_WITH_CXX_FLAG_WERROR_VLA - Success
-- Performing Test HPX_WITH_C_FLAG_WERROR_RETURN_TYPE
-- Performing Test HPX_WITH_C_FLAG_WERROR_RETURN_TYPE - Success
-- Performing Test HPX_WITH_CXX_FLAG_WNO_SYNC_NAND
-- Performing Test HPX_WITH_CXX_FLAG_WNO_SYNC_NAND - Failed
-- "-Wno-sync-nand" not available for language CXX.
-- Performing Test HPX_WITH_C_FLAG_WNO_SYNC_NAND
-- Performing Test HPX_WITH_C_FLAG_WNO_SYNC_NAND - Failed
-- "-Wno-sync-nand" not available for language C.
-- Performing Test WITH_LINKER_FLAG_WL__Z_DEFS
-- Performing Test WITH_LINKER_FLAG_WL__Z_DEFS - Success
-- Performing Test HPX_WITH_CXX_FLAG_FVISIBILITY_HIDDEN
-- Performing Test HPX_WITH_CXX_FLAG_FVISIBILITY_HIDDEN - Success
-- Performing Test HPX_WITH_C_FLAG_FVISIBILITY_HIDDEN
-- Performing Test HPX_WITH_C_FLAG_FVISIBILITY_HIDDEN - Success
-- Performing Test HPX_WITH_Fortran_FLAG_FVISIBILITY_HIDDEN
-- Performing Test HPX_WITH_Fortran_FLAG_FVISIBILITY_HIDDEN - Success
-- Performing Test WITH_LINKER_FLAG_FVISIBILITY_HIDDEN
-- Performing Test WITH_LINKER_FLAG_FVISIBILITY_HIDDEN - Success
-- Performing Test HPX_WITH_CXX_FLAG_WD1170
-- Performing Test HPX_WITH_CXX_FLAG_WD1170 - Success
-- Performing Test HPX_WITH_CXX_FLAG_WD858
-- Performing Test HPX_WITH_CXX_FLAG_WD858 - Success
-- Performing Test HPX_WITH_CXX_FLAG_WD1098
-- Performing Test HPX_WITH_CXX_FLAG_WD1098 - Success
-- Performing Test HPX_WITH_CXX_FLAG_WD488
-- Performing Test HPX_WITH_CXX_FLAG_WD488 - Success
-- Performing Test HPX_WITH_CXX_FLAG_WD2203
-- Performing Test HPX_WITH_CXX_FLAG_WD2203 - Success
-- Performing Test HPX_WITH_CXX_FLAG_WD2536
-- Performing Test HPX_WITH_CXX_FLAG_WD2536 - Success
-- Performing Test HPX_WITH_RDTSC - Success
-- Performing Test HPX_WITH_RDTSCP - Failed
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Boost version: 1.61.0
-- Found the following Boost libraries:
--   chrono
--   date_time
--   filesystem
--   program_options
--   regex
--   system
--   thread
--   atomic
--   context
--   random
--   atomic
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29") 
-- Found TCMalloc: /usr/lib/libtcmalloc_minimal.so  
-- Using tcmalloc allocator.
-- Found Hwloc: /usr/lib/x86_64-linux-gnu/libhwloc.so  
-- Found Valgrind: /usr/include  
-- Found Git: /usr/bin/git (found version "2.9.3") 
-- GIT commit is b679f6e38eed3d8364289e77ecaee12e62c39aba.
-- Found Snappy: /usr/lib/x86_64-linux-gnu/libsnappy.so  
-- Found PythonInterp: /usr/bin/python (found version "2.7.12") 

HPX will be installed to /opt/hpx/1.0.0_icc

-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    HPX_WITH_ITTNOTIFY


**> icpc -v                                                                                  master [4de09f5] untracked**
icpc version 17.0.0 (gcc version 6.0.0 compatibility)


**Build warnings/errors:**
In file included from /usr/src/hpx/hpx/runtime.hpp(15),
                 from /usr/src/hpx/src/runtime/components/console_logging.cpp(9):
/usr/src/hpx/hpx/runtime/parcelset_fwd.hpp(23): warning #1286: invalid attribute for "hpx::parcelset::locality"
          class HPX_API_EXPORT locality;
                ^

In file included from /usr/src/hpx/hpx/runtime/threads/thread_init_data.hpp(14),
                 from /usr/src/hpx/hpx/runtime/actions/action_support.hpp(23),
                 from /usr/src/hpx/hpx/runtime/actions/basic_action.hpp(15),
                 from /usr/src/hpx/hpx/runtime/actions/plain_action.hpp(13),
                 from /usr/src/hpx/hpx/runtime/components/server/console_logging.hpp(11),
                 from /usr/src/hpx/hpx/runtime/components/console_logging.hpp(12),
                 from /usr/src/hpx/src/runtime/components/console_logging.cpp(13):
/usr/src/hpx/hpx/runtime/threads_fwd.hpp(119): warning #1286: invalid attribute for "hpx::threads::policies::callback_notifier"
              class HPX_EXPORT callback_notifier;

/usr/src/hpx/src/util/batch_environment.cpp(33): warning #68: integer conversion resulted in a change of sign
        , node_num_(-1)
                    ^

/usr/src/hpx/src/util/batch_environment.cpp(34): warning #68: integer conversion resulted in a change of sign
        , num_threads_(-1)
                       ^

/usr/src/hpx/src/util/batch_environment.cpp(35): warning #68: integer conversion resulted in a change of sign
        , num_localities_(-1)
NOTE: Use of this header (bool_trait_def.hpp) is deprecated
NOTE: Use of this header (template_arity_spec.hpp) is deprecated
NOTE: Use of this header (template_arity_spec.hpp) is deprecated

/usr/src/hpx/hpx/util/detail/basic_function.hpp(201): error: no instance of function template "hpx::util::detail::unique_function_vtable<Sig>::get_function_address [with Sig=bool ()]" matches the argument list
            argument types are: (void *[3])
            object type is: const hpx::util::detail::unique_function_vtable<bool ()>
              return vptr->get_function_address(object);
                           ^
/usr/src/hpx/hpx/util/detail/vtable/callable_vtable.hpp(24): note: this candidate was rejected because at least one template argument could not be deduced
          HPX_FORCEINLINE static std::size_t get_function_address(void** f)
                                             ^
          detected during:
            instantiation of "std::size_t={unsigned long} hpx::util::detail::function_base<VTable, R (Ts...)>::get_function_address() const [with VTable=hpx::util::detail::unique_function_vtable<bool ()>, R=bool, Ts=<>]" at line 111 of "/usr/src/hpx/hpx/util/unique_function.hpp"
            instantiation of "std::size_t={unsigned long} hpx::traits::get_function_address<hpx::util::unique_function<Sig, Serializable>, void>::call(const hpx::util::unique_function<Sig, Serializable> &) [with Sig=bool (), Serializable=false]" at line 73 of "/usr/src/hpx/hpx/util/thread_description.hpp"
            instantiation of "hpx::util::thread_description::thread_description(const F &, const char *) [with F=hpx::util::unique_function_nonser<bool ()>, <unnamed>=void]" at line 99 of "/usr/src/hpx/hpx/lcos/local/futures_factory.hpp"
            instantiation of "hpx::threads::thread_id_type hpx::lcos::local::detail::task_object<Result, F, Base>::apply(hpx::launch, hpx::threads::thread_priority, hpx::threads::thread_stacksize, hpx::error_code &) [with Result=bool, F=hpx::util::unique_function_nonser<bool ()>, Base=hpx::lcos::detail::task_base<bool>]" at line 48 of "/usr/src/hpx/hpx/lcos/local/futures_factory.hpp"
            implicit generation of "hpx::lcos::local::detail::task_object<Result, F, Base>::~task_object() [with Result=bool, F=hpx::util::unique_function_nonser<bool ()>, Base=hpx::lcos::detail::task_base<bool>]" at line 48 of "/usr/src/hpx/hpx/lcos/local/futures_factory.hpp"
            instantiation of class "hpx::lcos::local::detail::task_object<Result, F, Base> [with Result=bool, F=hpx::util::unique_function_nonser<bool ()>, Base=hpx::lcos::detail::task_base<bool>]" at line 48 of "/usr/src/hpx/hpx/lcos/local/futures_factory.hpp"
            instantiation of "hpx::lcos::local::detail::task_object<Result, F, Base>::task_object(F &&) [with Result=bool, F=hpx::util::unique_function_nonser<bool ()>, Base=hpx::lcos::detail::task_base<bool>]" at line 181 of "/usr/src/hpx/hpx/lcos/local/futures_factory.hpp"
            instantiation of "hpx::lcos::local::detail::create_task_object<Result, Cancelable>::return_type hpx::lcos::local::detail::create_task_object<Result, Cancelable>::call(F &&) [with Result=bool, Cancelable=false, F=hpx::util::unique_function_nonser<bool ()>]" at line 254 of "/usr/src/hpx/hpx/lcos/local/futures_factory.hpp"
            instantiation of "hpx::lcos::local::futures_factory<Result (), Cancelable>::futures_factory(F &&) [with Result=bool, Cancelable=false, F=hpx::util::unique_function_nonser<bool ()>]" at line 20 of "/usr/src/hpx/src/lcos/detail/future_data.cpp"

compilation aborted for /usr/src/hpx/src/lcos/detail/future_data.cpp (code 2)
src/CMakeFiles/hpx.dir/build.make:3494: recipe for target 'src/CMakeFiles/hpx.dir/lcos/detail/future_data.cpp.o' failed
make[2]: *** [src/CMakeFiles/hpx.dir/lcos/detail/future_data.cpp.o] Error 2

/usr/src/hpx/src/runtime/agas/big_boot_barrier.cpp(906): warning #68: integer conversion resulted in a change of sign
              util::safe_lexical_cast<std::uint32_t>(locality_str, -1));

/usr/src/hpx/hpx/util/detail/basic_function.hpp(201): error: no instance of function template "hpx::util::detail::unique_function_vtable<Sig>::get_function_address [with Sig=void ()]" matches the argument list
            argument types are: (void *[3])
            object type is: const hpx::util::detail::unique_function_vtable<void ()>
              return vptr->get_function_address(object);
                           ^
/usr/src/hpx/hpx/util/detail/vtable/callable_vtable.hpp(24): note: this candidate was rejected because at least one template argument could not be deduced
          HPX_FORCEINLINE static std::size_t get_function_address(void** f)
                                             ^
          detected during:
            instantiation of "std::size_t={unsigned long} hpx::util::detail::function_base<VTable, R (Ts...)>::get_function_address() const [with VTable=hpx::util::detail::unique_function_vtable<void ()>, R=void, Ts=<>]" at line 111 of "/usr/src/hpx/hpx/util/unique_function.hpp"
            instantiation of "std::size_t={unsigned long} hpx::traits::get_function_address<hpx::util::unique_function<Sig, Serializable>, void>::call(const hpx::util::unique_function<Sig, Serializable> &) [with Sig=void (), Serializable=false]" at line 73 of "/usr/src/hpx/hpx/util/thread_description.hpp"
            instantiation of "hpx::util::thread_description::thread_description(const F &, const char *) [with F=hpx::util::unique_function_nonser<void ()>, <unnamed>=void]" at line 85 of "/usr/src/hpx/src/runtime/applier/applier.cpp"

/usr/src/hpx/hpx/util/detail/basic_function.hpp(201): error: no instance of function template "hpx::util::detail::unique_function_vtable<Sig>::get_function_address [with Sig=void (hpx::threads::thread_state_ex_enum)]" matches the argument list
            argument types are: (void *[3])
            object type is: const hpx::util::detail::unique_function_vtable<void (hpx::threads::thread_state_ex_enum)>
              return vptr->get_function_address(object);
                           ^
/usr/src/hpx/hpx/util/detail/vtable/callable_vtable.hpp(24): note: this candidate was rejected because at least one template argument could not be deduced
          HPX_FORCEINLINE static std::size_t get_function_address(void** f)
                                             ^
          detected during:
            instantiation of "std::size_t={unsigned long} hpx::util::detail::function_base<VTable, R (Ts...)>::get_function_address() const [with VTable=hpx::util::detail::unique_function_vtable<void (hpx::threads::thread_state_ex_enum)>, R=void, Ts=<hpx::threads::thread_state_ex_enum>]" at line 111 of "/usr/src/hpx/hpx/util/unique_function.hpp"
            instantiation of "std::size_t={unsigned long} hpx::traits::get_function_address<hpx::util::unique_function<Sig, Serializable>, void>::call(const hpx::util::unique_function<Sig, Serializable> &) [with Sig=void (hpx::threads::thread_state_ex_enum), Serializable=false]" at line 73 of "/usr/src/hpx/hpx/util/thread_description.hpp"
            instantiation of "hpx::util::thread_description::thread_description(const F &, const char *) [with F=hpx::util::unique_function_nonser<void (hpx::threads::thread_state_ex_enum)>, <unnamed>=void]" at line 112 of "/usr/src/hpx/src/runtime/applier/applier.cpp"

/usr/src/hpx/hpx/util/detail/basic_function.hpp(201): error: no instance of function template "hpx::util::detail::unique_function_vtable<Sig>::get_function_address [with Sig=hpx::threads::thread_result_type (hpx::threads::thread_arg_type={hpx::threads::thread_state_ex_enum})]" matches the argument list
            argument types are: (void *[3])
            object type is: const hpx::util::detail::unique_function_vtable<hpx::threads::thread_result_type (hpx::threads::thread_arg_type)>
              return vptr->get_function_address(object);
                           ^
/usr/src/hpx/hpx/util/detail/vtable/callable_vtable.hpp(24): note: this candidate was rejected because at least one template argument could not be deduced
          HPX_FORCEINLINE static std::size_t get_function_address(void** f)
                                             ^
          detected during:
            instantiation of "std::size_t={unsigned long} hpx::util::detail::function_base<VTable, R (Ts...)>::get_function_address() const [with VTable=hpx::util::detail::unique_function_vtable<hpx::threads::thread_result_type (hpx::threads::thread_arg_type={hpx::threads::thread_state_ex_enum})>, R=hpx::threads::thread_result_type, Ts=<hpx::threads::thread_arg_type={hpx::threads::thread_state_ex_enum}>]" at line 111 of "/usr/src/hpx/hpx/util/unique_function.hpp"
            instantiation of "std::size_t={unsigned long} hpx::traits::get_function_address<hpx::util::unique_function<Sig, Serializable>, void>::call(const hpx::util::unique_function<Sig, Serializable> &) [with Sig=hpx::threads::thread_function_sig, Serializable=false]" at line 73 of "/usr/src/hpx/hpx/util/thread_description.hpp"
            instantiation of "hpx::util::thread_description::thread_description(const F &, const char *) [with F=hpx::threads::thread_function_type, <unnamed>=void]" at line 139 of "/usr/src/hpx/src/runtime/applier/applier.cpp"

compilation aborted for /usr/src/hpx/src/runtime/applier/applier.cpp (code 2)
src/CMakeFiles/hpx.dir/build.make:734: recipe for target 'src/CMakeFiles/hpx.dir/runtime/applier/applier.cpp.o' failed
make[2]: *** [src/CMakeFiles/hpx.dir/runtime/applier/applier.cpp.o] Error 2

hpx_build_output.txt

@hkaiser
Copy link
Member

hkaiser commented Sep 29, 2016

@ShmuelLevine please try this branch and let us know whether it fixes your issue: https://github.com/STEllAR-GROUP/hpx/tree/vtable-get-function-address-fix

@pagrubel
Copy link
Member

pagrubel commented Oct 1, 2016

The vtable-get-function-address-fix branch took care of my problems on builds with intel 17 build with AVX512 flag for the KNL.

@hkaiser
Copy link
Member

hkaiser commented Oct 1, 2016

This was fixed by merging #2351

@hkaiser hkaiser closed this as completed Oct 1, 2016
@ShmuelLevine
Copy link
Contributor Author

sorry for the delay...
I've still gotten an error here on branch/commit:
vtable-get-function-address-fix [4ec6e46] untracked
[ 3%] Built target hpx_init
[ 3%] Building CXX object src/CMakeFiles/hpx.dir/util/thread_description.cpp.o
/usr/src/hpx/src/util/thread_description.cpp(50): error: class "hpx::util::thread_description" has no member "init_from_alternative_name"
void thread_description::init_from_alternative_name(char const* altname)
^

compilation aborted for /usr/src/hpx/src/util/thread_description.cpp (code 2)
src/CMakeFiles/hpx.dir/build.make:3302: recipe for target 'src/CMakeFiles/hpx.dir/util/thread_description.cpp.o' failed
make[2]: *** [src/CMakeFiles/hpx.dir/util/thread_description.cpp.o] Error 2
make[2]: Target 'src/CMakeFiles/hpx.dir/build' not remade because of errors.
CMakeFiles/Makefile2:1749: recipe for target 'src/CMakeFiles/hpx.dir/all' failed
make[1]: *** [src/CMakeFiles/hpx.dir/all] Error 2
make[1]: Target 'all' not remade because of errors.
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
make: Target 'default_target' not remade because of errors.

I will try updating again to latest and will advise.

@hkaiser
Copy link
Member

hkaiser commented Oct 2, 2016

@ShmuelLevine That should be fixed now. Nobody has been building HPX with HPX_WITH_THREAD_DESCRIPTION_FULL for a while, looks like that way we missed that we broke it. Thanks!

@ShmuelLevine
Copy link
Contributor Author

As of 94582f5, hpx builds successfully with the Intel compiler

@hkaiser
Copy link
Member

hkaiser commented Oct 7, 2016

@ShmuelLevine thanks, this should be in master by now.

@ShmuelLevine
Copy link
Contributor Author

ShmuelLevine commented Oct 9, 2016

Indeed - the successful build was on the master branch

Thanks again for the help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants