MPI in Golang

628 views
Skip to first unread message

Craig Younkins

unread,
Mar 23, 2012, 8:08:59 PM3/23/12
to golan...@googlegroups.com
Is there currently an easy way to use MPI in Go? I *must* use MPI for this project.

Can I call the C bindings using cgo? Any other solutions? Thanks!

Craig Younkins

Kyle Lemons

unread,
Mar 23, 2012, 8:19:34 PM3/23/12
to Craig Younkins, golan...@googlegroups.com
On Fri, Mar 23, 2012 at 5:08 PM, Craig Younkins <cyou...@gmail.com> wrote:
Is there currently an easy way to use MPI in Go? I *must* use MPI for this project.

Can I call the C bindings using cgo?

Sure. 

Samuel Lampa

unread,
Jun 20, 2013, 7:21:27 AM6/20/13
to golan...@googlegroups.com, Craig Younkins
Did you try this? If so, how did it work out?

// Samuel

Olivier Gagnon

unread,
Jun 20, 2013, 11:12:04 AM6/20/13
to golan...@googlegroups.com, Craig Younkins
I did this once for a project (which I killed because it relied on netchan). It worked well but since MPI deals with pointers a lot, I had to do some "unsafe" stuff. 

It was my first project on my first job and I still managed to make it work in a few weeks.
Reply all
Reply to author
Forward
0 new messages