update linux sampler to support n_datacopy

usage
add sampler arg
-c x or --n_datacopy x
where x is number of data copies
default x = -1, which will make a copy of factor graph on each numa node