Re: [hpx-users] Benchmarks

2019-04-29 Thread Thomas Heller
Hi Karol,

The below looks like you are on a Cray machine, forcing static linking
to off (it is off by default anyway) and using the Cray compiler
wrapper, which adds some special static linking flags by default.
This is the reason for the error you are seeing. CMake thinks it needs
to link dynamically, setting its own set of flags, the cray compiler
tries to link statically.
For compilation with the Cray compiler wrappers, I recommend using our
toolchain files linked here:
https://stellar-group.github.io/hpx/docs/sphinx/latest/html/manual/building_hpx.html#cmake-toolchains-shipped-with-hpx

I hope this helps. Please purge your build directory before trying.

On Mon, Apr 29, 2019 at 4:56 PM Adrian Serio  wrote:
>
> Forwarding your question to the list.
>
> On 4/29/2019 9:36 AM, kniedzie wrote:
>
> Adrian,
>
> thank you for you help. This information was helpful.
>
> Now I have problem building hpx with mpi. I receive this output:
>
> [ 54%] Linking CXX executable ../../../bin/test_client_1950
> /usr/bin/ld: ../../../lib/libtest_server_1950.a(server_1950.cpp.o): in 
> function `hpx::naming::gid_type::~gid_type()':
> /home/kn405499/tmp/hpx/hpx/runtime/actions/basic_action.hpp:171: multiple 
> definition of `hpx_exported_plugins_list_hpx_factory'; 
> ../../../lib/libhpx.a(runtime_support.cpp.o):/home/kn405499/tmp/hpx/src/runtime/components/runtime_support.cpp:13:
>  first defined here
> /usr/bin/ld: ../../../lib/libtest_server_1950.a(server_1950.cpp.o): in 
> function `hpx_exported_plugins_list_hpx_registry':
> /opt/gcc/7.3.0/snos/include/g++/bits/basic_ios.h:462: multiple definition of 
> `hpx_exported_plugins_list_hpx_registry'; 
> ../../../lib/libhpx.a(runtime_support.cpp.o):/home/kn405499/tmp/hpx/src/runtime/components/runtime_support.cpp:14:
>  first defined here
> /usr/bin/ld: ../../../lib/libtest_server_1950.a(server_1950.cpp.o): in 
> function `hpx_exported_plugins_force_load_hpx_factory':
> /opt/gcc/7.3.0/snos/include/g++/istream:607: multiple definition of 
> `hpx_exported_plugins_force_load_hpx_factory'; 
> ../../../lib/libhpx.a(runtime_support.cpp.o):/home/kn405499/tmp/hpx/src/runtime/components/runtime_support.cpp:13:
>  first defined here
> /usr/bin/ld: ../../../lib/libtest_server_1950.a(server_1950.cpp.o): in 
> function `hpx_exported_plugins_force_load_hpx_registry':
> /opt/gcc/7.3.0/snos/include/g++/istream:608: multiple definition of 
> `hpx_exported_plugins_force_load_hpx_registry'; 
> ../../../lib/libhpx.a(runtime_support.cpp.o):/home/kn405499/tmp/hpx/src/runtime/components/runtime_support.cpp:14:
>  first defined here
> /usr/bin/ld: ../../../lib/libhpx.a(runtime_support_server.cpp.o): in function 
> `hpx::util::plugin::dll::LoadLibrary(hpx::error_code&, bool)':
> /home/kn405499/tmp/hpx/hpx/util/plugin/detail/dll_dlopen.hpp:297: warning: 
> Using 'dlopen' in statically linked applications requires at runtime the 
> shared libraries from the glibc version used for linking
> /usr/bin/ld: ../../../lib/libhpx.a(asio_util.cpp.o): in function 
> `boost::asio::ip::basic_resolver::resolve(boost::asio::ip::basic_resolver_query
>  const&)':
> /home/kn405499/libs/boost_1_69_0/include/boost/asio/detail/impl/socket_ops.ipp:3344:
>  warning: Using 'getaddrinfo' in statically linked applications requires at 
> runtime the shared libraries from the glibc version used for linking
> collect2: error: ld returned 1 exit status
> tests/regressions/build/CMakeFiles/test_client_1950.dir/build.make:111: 
> recipe for target 'bin/test_client_1950' failed
> make[2]: *** [bin/test_client_1950] Error 1
> CMakeFiles/Makefile2:9348: recipe for target 
> 'tests/regressions/build/CMakeFiles/test_client_1950.dir/all' failed
> make[1]: *** [tests/regressions/build/CMakeFiles/test_client_1950.dir/all] 
> Error 2
> Makefile:138: recipe for target 'all' failed
> make: *** [all] Error 2
>
> My cmake configuration is:
>
> cmake -DBOOST_ROOT=/home/kn405499/libs/boost_1_69_0 \
>  -DHWLOC_ROOT=/home/kn405499/libs/hwloc-2.0.3/ \
>  -DCMAKE_INSTALL_PREFIX=/home/kn405499/libs/hpx_build_system_mpi \
>  -DCMAKE_BUILD_TYPE=RelWithDebInfo \
>  -DCMAKE_C_COMPILER=cc \
>  -DCMAKE_CXX_COMPILER=CC \
>  -DHPX_WITH_EXAMPLES=ON \
>  -DHPX_WITH_MALLOC=system \
>  -DHPX_WITH_STATIC_LINKING=OFF \
>  -DHPX_WITH_STATIC_EXE_LINKING=OFF \
>  -DHPX_WITH_PARCELPORT_MPI=ON \
>  -DMPI_C_COMPILER=cc \
>  -DMPI_CXX_COMPILER=CC \
>  -DHPX_WITH_TAU=OFF \
>  -DTAU_ROOT=/home/kn405499/libs/tau-2.25 \
>  -DTAU_ARCH=x86_64 \
>  -DTAU_OPTIONS=-mpi-pthread \
>  -DHPX_WITH_APEX=OFF \
>  -DAPEX_WITH_ACTIVEHARMONY=OFF \
>  -DAPEX_WITH_PAPI=OFF \
>  -DAPEX_WITH_MSR=OFF \
>  -DAPEX_WITH_OTF2=OFF \
>  -DACTIVEHARMONY_ROOT=/home/kn405499/libs/harmony-4.6.0/ \
>  /home/kn405499/tmp/hpx
>
> Do you now how to solve this issue?
>
> Best,
>
> Karol
>
> On 1/22/19 5:56 PM, Adrian Serio wrote:
>
> Karol,
>
> Our team did produce a paper on the inncabs benchmarks:
>
> http://stellar.cct.lsu.edu/pubs/hpcmaspa2016.pdf
>
> https://github.com/STEllAR-GROUP/inncabs
>
> Perhaps this 

Re: [hpx-users] Benchmarks

2019-04-29 Thread Adrian Serio
Forwarding your question to the list.

On 4/29/2019 9:36 AM, kniedzie wrote:
>
> Adrian,
>
> thank you for you help. This information was helpful.
>
> Now I have problem building hpx with mpi. I receive this output:
>
> [ 54%] Linking CXX executable ../../../bin/test_client_1950
> /usr/bin/ld: ../../../lib/libtest_server_1950.a(server_1950.cpp.o): in
> function `hpx::naming::gid_type::~gid_type()':
> /home/kn405499/tmp/hpx/hpx/runtime/actions/basic_action.hpp:171:
> multiple definition of `hpx_exported_plugins_list_hpx_factory';
> ../../../lib/libhpx.a(runtime_support.cpp.o):/home/kn405499/tmp/hpx/src/runtime/components/runtime_support.cpp:13:
> first defined here
> /usr/bin/ld: ../../../lib/libtest_server_1950.a(server_1950.cpp.o): in
> function `hpx_exported_plugins_list_hpx_registry':
> /opt/gcc/7.3.0/snos/include/g++/bits/basic_ios.h:462: multiple
> definition of `hpx_exported_plugins_list_hpx_registry';
> ../../../lib/libhpx.a(runtime_support.cpp.o):/home/kn405499/tmp/hpx/src/runtime/components/runtime_support.cpp:14:
> first defined here
> /usr/bin/ld: ../../../lib/libtest_server_1950.a(server_1950.cpp.o): in
> function `hpx_exported_plugins_force_load_hpx_factory':
> /opt/gcc/7.3.0/snos/include/g++/istream:607: multiple definition of
> `hpx_exported_plugins_force_load_hpx_factory';
> ../../../lib/libhpx.a(runtime_support.cpp.o):/home/kn405499/tmp/hpx/src/runtime/components/runtime_support.cpp:13:
> first defined here
> /usr/bin/ld: ../../../lib/libtest_server_1950.a(server_1950.cpp.o): in
> function `hpx_exported_plugins_force_load_hpx_registry':
> /opt/gcc/7.3.0/snos/include/g++/istream:608: multiple definition of
> `hpx_exported_plugins_force_load_hpx_registry';
> ../../../lib/libhpx.a(runtime_support.cpp.o):/home/kn405499/tmp/hpx/src/runtime/components/runtime_support.cpp:14:
> first defined here
> /usr/bin/ld: ../../../lib/libhpx.a(runtime_support_server.cpp.o): in
> function `hpx::util::plugin::dll::LoadLibrary(hpx::error_code&, bool)':
> /home/kn405499/tmp/hpx/hpx/util/plugin/detail/dll_dlopen.hpp:297:
> warning: Using 'dlopen' in statically linked applications requires at
> runtime the shared libraries from the glibc version used for linking
> /usr/bin/ld: ../../../lib/libhpx.a(asio_util.cpp.o): in function
> `boost::asio::ip::basic_resolver::resolve(boost::asio::ip::basic_resolver_query
> const&)':
> /home/kn405499/libs/boost_1_69_0/include/boost/asio/detail/impl/socket_ops.ipp:3344:
> warning: Using 'getaddrinfo' in statically linked applications
> requires at runtime the shared libraries from the glibc version used
> for linking
> collect2: error: ld returned 1 exit status
> tests/regressions/build/CMakeFiles/test_client_1950.dir/build.make:111:
> recipe for target 'bin/test_client_1950' failed
> make[2]: *** [bin/test_client_1950] Error 1
> CMakeFiles/Makefile2:9348: recipe for target
> 'tests/regressions/build/CMakeFiles/test_client_1950.dir/all' failed
> make[1]: ***
> [tests/regressions/build/CMakeFiles/test_client_1950.dir/all] Error 2
> Makefile:138: recipe for target 'all' failed
> make: *** [all] Error 2
>
> My cmake configuration is:
>
> cmake -DBOOST_ROOT=/home/kn405499/libs/boost_1_69_0 \
>  -DHWLOC_ROOT=/home/kn405499/libs/hwloc-2.0.3/ \
>  -DCMAKE_INSTALL_PREFIX=/home/kn405499/libs/hpx_build_system_mpi \
>  -DCMAKE_BUILD_TYPE=RelWithDebInfo \
>  -DCMAKE_C_COMPILER=cc \
>  -DCMAKE_CXX_COMPILER=CC \
>  -DHPX_WITH_EXAMPLES=ON \
>  -DHPX_WITH_MALLOC=system \
>  -DHPX_WITH_STATIC_LINKING=OFF \
>  -DHPX_WITH_STATIC_EXE_LINKING=OFF \
>  -DHPX_WITH_PARCELPORT_MPI=ON \
>  -DMPI_C_COMPILER=cc \
>  -DMPI_CXX_COMPILER=CC \
>  -DHPX_WITH_TAU=OFF \
>  -DTAU_ROOT=/home/kn405499/libs/tau-2.25 \
>  -DTAU_ARCH=x86_64 \
>  -DTAU_OPTIONS=-mpi-pthread \
>  -DHPX_WITH_APEX=OFF \
>  -DAPEX_WITH_ACTIVEHARMONY=OFF \
>  -DAPEX_WITH_PAPI=OFF \
>  -DAPEX_WITH_MSR=OFF \
>  -DAPEX_WITH_OTF2=OFF \
>  -DACTIVEHARMONY_ROOT=/home/kn405499/libs/harmony-4.6.0/ \
>  /home/kn405499/tmp/hpx
>
> Do you now how to solve this issue?
>
> Best,
>
> Karol
>
> On 1/22/19 5:56 PM, Adrian Serio wrote:
>>
>> Karol,
>>
>> Our team did produce a paper on the inncabs benchmarks:
>>
>> http://stellar.cct.lsu.edu/pubs/hpcmaspa2016.pdf
>>
>> https://github.com/STEllAR-GROUP/inncabs
>>
>> Perhaps this is helpful to you?
>>
>> Adrian
>>
>> On 1/18/2019 11:08 AM, k.niedzielew...@icm.edu.pl wrote:
>>> Dear HPX team,
>>>
>>> I am currently writing my master thesis and I am planning to use HPX. I 
>>> already installed it on our system. Do you posses HPX benchmarking 
>>> software? Is it possible to acquire it from you? I need it for testing.
>>>
>>> Best regards
>>>
>>> Karol Niedzielewski
>>>
>>> ___
>>> hpx-users mailing list
>>> hpx-users@stellar.cct.lsu.edu
>>> https://mail.cct.lsu.edu/mailman/listinfo/hpx-users
>> -- 
>> Adrian Serio
>> Scientific Program Coordinator
>> 2118 Digital Media Center
>> 225.578.8506

-- 
Adrian Serio
Scientific Program Coordinator
2118 Digital Media 

Re: [hpx-users] Benchmarks

2019-01-22 Thread Adrian Serio
Karol,

Our team did produce a paper on the inncabs benchmarks:

http://stellar.cct.lsu.edu/pubs/hpcmaspa2016.pdf

https://github.com/STEllAR-GROUP/inncabs

Perhaps this is helpful to you?

Adrian

On 1/18/2019 11:08 AM, k.niedzielew...@icm.edu.pl wrote:
> Dear HPX team,
>
> I am currently writing my master thesis and I am planning to use HPX. I 
> already installed it on our system. Do you posses HPX benchmarking 
> software? Is it possible to acquire it from you? I need it for testing.
>
> Best regards
>
> Karol Niedzielewski
>
> ___
> hpx-users mailing list
> hpx-users@stellar.cct.lsu.edu
> https://mail.cct.lsu.edu/mailman/listinfo/hpx-users

-- 
Adrian Serio
Scientific Program Coordinator
2118 Digital Media Center
225.578.8506

___
hpx-users mailing list
hpx-users@stellar.cct.lsu.edu
https://mail.cct.lsu.edu/mailman/listinfo/hpx-users