Skip to content

Instantly share code, notes, and snippets.

View srinivasyadav18's full-sized avatar

Srinivas Yadav srinivasyadav18

  • STE||AR GROUP
View GitHub Profile
@srinivasyadav18
srinivasyadav18 / gist:2e134da83a39918d577aacd146b8b77e
Created March 9, 2021 13:29
configured with vc properly but make failed
cmake -DCMAKE_INSTALL_PREFIX=/home/kmit/srinivas/.local/hpx_vc/ -DHPX_WITH_DATAPAR_VC=ON ..
Output
------
Configure
---------
-- Configuration summary:
--
-- HPX_WITH_DEPRECATION_WARNINGS=ON
-- HPX_WITH_STACKOVERFLOW_DETECTION=OFF
cmake -DCMAKE_INSTALL_PREFIX=/home/kmit/srinivas/.local/hpx_vc/ -DHPX_WITH_DATAPAR_VC=ON -DVc_DIR=/home/kmit/srinivas/.local/vc/
-- Using C++14
-- CMake version: 3.16.3
-- HPX version: 1.6.0
-- Vc support is deprecated. This option will be removed in a future release. It will be replaced with SIMD support from the C++ standard library
-- Detected Compiler: GCC 9
-- Detected CPU: broadwell
-- Found Vc (vectorization): /home/kmit/srinivas/.local/vc/include - version: 1.4.1
/usr/bin/cmake -S/home/kmit/srinivas/.local/builds/hpx -B/home/kmit/srinivas/.local/builds/hpx/build --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /home/kmit/srinivas/.local/builds/hpx/build/CMakeFiles /home/kmit/srinivas/.local/builds/hpx/build/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[1]: Entering directory '/home/kmit/srinivas/.local/builds/hpx/build'
make -f libs/core/config_registry/CMakeFiles/hpx_config_registry.dir/build.make libs/core/config_registry/CMakeFiles/hpx_config_registry.dir/depend
make[2]: Entering directory '/home/kmit/srinivas/.local/builds/hpx/build'
cd /home/kmit/srinivas/.local/builds/hpx/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/kmit/srinivas/.local/builds/hpx /home/kmit/srinivas/.local/builds/hpx/libs/core/config_registry /home/kmit/srinivas/.local/builds/hpx/build /home/kmit/srinivas/.local/builds/hpx/build/libs/core/config_registry /home/kmit/srinivas/.local/builds/hpx/build/libs/core/config_regis
[ 3%] Built target hpx_config_registry
[ 3%] Built target hpx_preprocessor
[ 3%] Built target hpx_config
[ 3%] Built target hpx_assertion
[ 3%] Built target hpx_type_support
[ 3%] Built target hpx_concepts
[ 3%] Built target hpx_datastructures
[ 3%] Built target hpx_debugging
[ 3%] Built target hpx_filesystem
[ 3%] Built target hpx_format
@srinivasyadav18
srinivasyadav18 / gist:a35a16fe97bc9cc97540230a7f881e8a
Created March 9, 2021 15:18
Complete verbose output of make
/usr/bin/cmake -S/home/kmit/srinivas/.local/builds/hpx -B/home/kmit/srinivas/.local/builds/hpx/build --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /home/kmit/srinivas/.local/builds/hpx/build/CMakeFiles /home/kmit/srinivas/.local/builds/hpx/build/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[1]: Entering directory '/home/kmit/srinivas/.local/builds/hpx/build'
make -f libs/core/config_registry/CMakeFiles/hpx_config_registry.dir/build.make libs/core/config_registry/CMakeFiles/hpx_config_registry.dir/depend
make[2]: Entering directory '/home/kmit/srinivas/.local/builds/hpx/build'
cd /home/kmit/srinivas/.local/builds/hpx/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/kmit/srinivas/.local/builds/hpx /home/kmit/srinivas/.local/builds/hpx/libs/core/config_registry /home/kmit/srinivas/.local/builds/hpx/build /home/kmit/srinivas/.local/builds/hpx/build/libs/core/config_registry /home/kmit/srinivas/.local/builds/hpx/build/libs/core/config_regis
This file has been truncated, but you can view the full file.
/usr/bin/cmake -S/home/kmit/srinivas/.local/builds/hpx -B/home/kmit/srinivas/.local/builds/hpx/build --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /home/kmit/srinivas/.local/builds/hpx/build/CMakeFiles /home/kmit/srinivas/.local/builds/hpx/build/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[1]: Entering directory '/home/kmit/srinivas/.local/builds/hpx/build'
make -f libs/core/config_registry/CMakeFiles/hpx_config_registry.dir/build.make libs/core/config_registry/CMakeFiles/hpx_config_registry.dir/depend
make[2]: Entering directory '/home/kmit/srinivas/.local/builds/hpx/build'
cd /home/kmit/srinivas/.local/builds/hpx/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/kmit/srinivas/.local/builds/hpx /home/kmit/srinivas/.local/builds/hpx/libs/core/config_registry /home/kmit/srinivas/.local/builds/hpx/build /home/kmit/srinivas/.local/builds/hpx/build/libs/core/config_registry /home/kmit/srinivas/.local/builds/hpx/build/libs/core/config_regis
@srinivasyadav18
srinivasyadav18 / gist:710fdf12c489d998f71fa709cab9708c
Created March 11, 2021 03:45
Missing headers for is_threads_executor
In file included from /home/kmit/srinivas/.local/builds/hpx/libs/parallelism/executors/include/hpx/executors/execution_policy.hpp:21,
from /home/kmit/srinivas/.local/builds/hpx/libs/parallelism/algorithms/include/hpx/parallel/algorithms/reduce.hpp:223,
from /home/kmit/srinivas/.local/builds/hpx/libs/full/collectives/include/hpx/collectives/detail/communicator.hpp:25,
from /home/kmit/srinivas/.local/builds/hpx/libs/full/collectives/include/hpx/collectives/all_gather.hpp:102,
from /home/kmit/srinivas/.local/builds/hpx/build/libs/full/collectives/include/hpx/modules/collectives.hpp:14,
from /home/kmit/srinivas/.local/builds/hpx/libs/full/runtime_distributed/src/server/runtime_support_server.cpp:22:
/home/kmit/srinivas/.local/builds/hpx/libs/parallelism/executors/include/hpx/executors/datapar/execution_policy.hpp: In member function ‘typename hpx::parallel::execution::rebind_executor<hpx::execution::v1::dataseq_task_policy, Execu
In file included from /home/kmit/srinivas/.local/builds/hpx/libs/parallelism/algorithms/include/hpx/parallel/util/transform_loop.hpp:179,
from /home/kmit/srinivas/.local/builds/hpx/libs/parallelism/algorithms/include/hpx/parallel/algorithms/transform.hpp:196,
from /home/kmit/srinivas/.local/builds/hpx/libs/parallelism/algorithms/include/hpx/parallel/container_algorithms/transform.hpp:402,
from /home/kmit/srinivas/.local/builds/hpx/libs/parallelism/algorithms/include/hpx/parallel/container_algorithms.hpp:45,
from /home/kmit/srinivas/.local/builds/hpx/libs/full/include/include/hpx/algorithm.hpp:11,
from /home/kmit/srinivas/.local/builds/hpx/libs/full/include/include/hpx/hpx.hpp:10,
from /home/kmit/srinivas/.local/builds/hpx/libs/full/checkpoint/examples/1d_stencil_4_checkpoint.cpp:24:
/home/kmit/srinivas/.local/builds/hpx/libs/parallelism/algorithms/include/hpx/parallel/datapar/transform_loop.hpp: In static mem
@srinivasyadav18
srinivasyadav18 / .cpp
Created March 13, 2021 07:37
hpx::ranges
#include <hpx/hpx.hpp>
#include <hpx/hpx_init.hpp>
#include <boost/range/irange.hpp>
#include <iostream>
int hpx_main()
{
std::cout << "HPX VC test\n";
hpx::execution::dataseq_policy dataseq;
auto range = boost::irange(0, 10);
@srinivasyadav18
srinivasyadav18 / .cpp
Last active March 13, 2021 11:52
Sample program for Vc
#include <hpx/hpx.hpp>
#include <hpx/hpx_init.hpp>
#include <iostream>
#include <vector>
static constexpr hpx::execution::dataseq_policy dataseq;
int hpx_main()
{
std::cout << "HPX VC test\n";