Discussion:
GMP and MPI
(too old to reply)
achilles
2009-01-25 20:46:02 UTC
Permalink
Hi,
I need to send and receive data of type mpz_t using MPI. Can someone
please help with this problem.

thanx
Michael Hofmann
2009-01-26 16:14:19 UTC
Permalink
Post by achilles
Hi,
I need to send and receive data of type mpz_t using MPI. Can someone
please help with this problem.
A (portable) solution is shown here (with "mpf_t"):
http://groups.google.de/group/comp.parallel.mpi/browse_thread/thread/9ac8fa29ed13b0e5/16271210d62e3062#16271210d62e3062

However, GMP integers provide "raw" input and output functions (so you can
use "mpz_out_raw" and "mpz_inp_raw" instead of the "..._str" versions).


Michael

Loading...