Summary of off-list discussion: the symbol for the receive action
is missing from libgeodecomp.so. I've tried adding HPX_EXPORT and
HPX_COMPONENT_EXPORT to HPXReceiver, but that didn't help.

I've compiled a small code[1] to make this issue repeatable.
test_object_a.cpp contains a function that will trigger a remote
action which is registered in test_library.cpp. The executable
consists of two object files (main.o and test_object_a.o), linked
together with a shared object library (made from test_library.cpp).

I used the following configuration for HPX:

  cmake -DCMAKE_INSTALL_PREFIX=/home/gentryx/local_install/
  -DCMAKE_CXX_COMPILER=g++-5.1.0 -DHPX_WITH_CXX14_IS_FINAL=false
  -DHPX_WITH_CXX1Y_EXPERIMENTAL_OPTIONAL=false
  -DHPX_WITH_PARCELPORT_MPI=true -DHPX_WITH_PARCELPORT_TCP=true
  -DHPX_WITH_CXX14=false -DCMAKE_BUILD_TYPE=Release
  -DHPX_WITH_CXX11_EXTENDED_FRIEND_DECLARATIONS=false
  -DBOOST_INCLUDEDIR=/home/gentryx/boost/boost_1_62_0
  -DBOOST_LIBRARYDIR=/home/gentryx/boost/boost_1_62_0/stage/lib

And this is the config I used for the test:

  cmake -DCMAKE_C_COMPILER=gcc-5.1.0 -DCMAKE_CXX_COMPILER=g++-5.1.0
  -DCMAKE_PREFIX_PATH=/home/gentryx/repositories/hpx/build/lib/cmake

[1] https://github.com/gentryx/hpx_lgd_export_symbols_test

Cheers
-Andreas


-- 
==========================================================
Andreas Schäfer
HPC and Supercomputing
Institute for Multiscale Simulation
Friedrich-Alexander-Universität Erlangen-Nürnberg, Germany
+49 9131 85-20866
PGP/GPG key via keyserver
http://www.libgeodecomp.org
==========================================================

(\___/)
(+'.'+)
(")_(")
This is Bunny. Copy and paste Bunny into your
signature to help him gain world domination!

Attachment: signature.asc
Description: Digital signature

_______________________________________________
hpx-users mailing list
[email protected]
https://mail.cct.lsu.edu/mailman/listinfo/hpx-users

Reply via email to