Andy, Why do you need your own component registry etc.?
Regards Hartmut --------------- http://boost-spirit.com http://stellar.cct.lsu.edu > -----Original Message----- > From: [email protected] [mailto:hpx-users- > [email protected]] On Behalf Of Andreas Schäfer > Sent: Sunday, November 15, 2015 4:50 PM > To: HPX Users <[email protected]> > Subject: [hpx-users] Program failing when not compiling with -O3 > > Heya, > > I've recently seen some of my HPX applications terminating right > before hpx_init() is called. Strangely the build system did seem to > determine whether the same code would either run flawlessly, or crash. > > Please find attached a (sort of) minimal example that reproduces the > error. Below is a log of me compiling the code manually. The only > difference here is that for the first run I did add -O3, for the > second run that option was omitted. Any ideas what's going on here? > > > gentryx@neuromancer ~ $ time (rm -f test_hpx && > /usr/lib64/ccache/bin/g++-4.9.3 -O3 -L/home/gentryx/local_install/lib - > lhpx test_hpx.cpp -o test_hpx -std=c++11 - > I/home/gentryx/local_install/include - > I/home/gentryx/local_install/include/hpx/external -lboost_chrono - > lboost_date_time -lboost_filesystem -lboost_program_options -lboost_system > -lboost_thread -lhpx_init -lhpx -ldl -lrt && > LD_LIBRARY_PATH=/home/gentryx/local_install/lib && > LD_LIBRARY_PATH=/home/gentryx/local_install/lib ./test_hpx) > > ok > > > > real 0m28.162s > > user 0m27.490s > > sys 0m0.630s > > > > 23:43:58 - 0 > > gentryx@neuromancer ~ $ time (rm -f test_hpx && > /usr/lib64/ccache/bin/g++-4.9.3 -L/home/gentryx/local_install/lib -lhpx > test_hpx.cpp -o test_hpx -std=c++11 - > I/home/gentryx/local_install/include - > I/home/gentryx/local_install/include/hpx/external -lboost_chrono - > lboost_date_time -lboost_filesystem -lboost_program_options -lboost_system > -lboost_thread -lhpx_init -lhpx -ldl -lrt && > LD_LIBRARY_PATH=/home/gentryx/local_install/lib && > LD_LIBRARY_PATH=/home/gentryx/local_install/lib ./test_hpx) > > terminate called after throwing an instance of > 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_i > njector<hpx::exception> >' > > what(): attempt to insert a GVA with an invalid type, > gid({0000000100000001, 0000000000000001}), gva(({0000000100000000, > 0000000000000000} component_invalid[-1] 1 0xa41640 0)), > locality({0000000100000000, 0000000000000000}): HPX(bad_parameter) > > > > real 0m22.700s > > user 0m21.910s > > sys 0m0.740s > > > > 23:44:41 - 134 > > Thanks! > -Andreas > > > -- > ========================================================== > Andreas Schäfer > HPC and Grid Computing > Department of Computer Science 3 > Friedrich-Alexander-Universität Erlangen-Nürnberg, Germany > +49 9131 85-27910 > 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
