Am 30.08.2016 6:16 nachm. schrieb "Tim Biedert" <[email protected]>: > > Hi, > > what's the best way to determine the locality of a given (remote) component? > > Actually, I want to create additional components on the same locality as a given existing component, knowing only the component's id_type. The existing component is usually remote, so find_here() is not suitable. > > Passing the component's id_type to _new yields "The id passed as the first argument is not representing a locality: HPX(bad_parameter)".
You need to use the colocating facilities. For new_, the best is to use the colocation distribution policy: http://stellar-group.github.io/hpx/docs/html/hpx/components/colocated.html See here for an example: https://github.com/STEllAR-GROUP/hpx/blob/master/tests/unit/component/new_colocated.cpp > > Thank you! > > > _______________________________________________ > hpx-users mailing list > [email protected] > https://mail.cct.lsu.edu/mailman/listinfo/hpx-users >
_______________________________________________ hpx-users mailing list [email protected] https://mail.cct.lsu.edu/mailman/listinfo/hpx-users
