Quick recipe to repoduce on Rostam below. Tested with HPX ed2847723afbc81930562833ece101db39a21490.
srun -w carson --exclusive -n 4 --pty bash <<EOF module load gcc/5.4.0 module load openmpi/1.10.4-gcc5.4.0 module load cmake cd hpx/build cmake -DCMAKE_INSTALL_PREFIX=$HOME/local_install/ -DCMAKE_BUILD_TYPE=Release -DHPX_WITH_PARCELPORT_MPI=true -DHPX_WITH_PARCELPORT_TCP=true -DBOOST_INCLUDEDIR=/opt/boost/1.60.0-gcc5.4.0/release -DBOOST_LIBRARYDIR=/opt/boost/1.60.0-gcc5.4.0/release/lib .. make -j25 cd ../../ git clone https://github.com/gentryx/hpx_lgd_export_symbols_test mkdir hpx_lgd_export_symbols_test/build cd hpx_lgd_export_symbols_test/build cmake -DCMAKE_CXX_COMPILER=g++ -DCMAKE_C_COMPILER=gcc -DCMAKE_PREFIX_PATH=$HOME/hpx/build/lib/cmake .. make -j8 mpirun -np 4 ./main --hpx:bind=balanced --hpx:threads=1 -Ihpx.parcel.tcp.enable=0 -Ihpx.parcel.mpi.enable=1 EOF Cheers -Andi On 19:00 Wed 02 Nov , Andreas Schäfer wrote: > 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! > _______________________________________________ > hpx-users mailing list > [email protected] > https://mail.cct.lsu.edu/mailman/listinfo/hpx-users -- ========================================================== 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!
signature.asc
Description: Digital signature
_______________________________________________ hpx-users mailing list [email protected] https://mail.cct.lsu.edu/mailman/listinfo/hpx-users
