Java 的 MPI 实现
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/469932/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
MPI implementation for Java
提问by Milhous
Is there a current Java MPI implementation. I have programmed in MPI a bit, and I enjoy programming in Java. I have seen thisimplementation in Java, but it seems dated. Is there a more up to date Java implementation that is being kept up?
是否有当前的 Java MPI 实现。我已经用 MPI 编程了一点,我喜欢用 Java 编程。我已经在 Java 中看到了这个实现,但它似乎已经过时了。是否有更新的 Java 实现正在更新?
回答by Jeff Squyres
Open MPI includes a first set of java bindings on its SVN development trunk; they are slated to be part of the v1.7 release.
Open MPI 在其 SVN 开发主干上包含第一组 java 绑定;它们将成为 v1.7 版本的一部分。
If you want more support than this, please post to the Open MPI user's mailing list and let us know.
如果您需要更多支持,请发帖到 Open MPI 用户的邮件列表并告诉我们。
回答by gltaboada
Update note: Currently the 3 most relevant implementations are FastMPJ, MPJ Expressand the Java bindings of Open MPI. The three are being updated and should work on OSX, especially 100% pure Java implementations such as FastMPJ and MPJ Express.
更新说明:目前最相关的 3 个实现是FastMPJ、MPJ Express和 Open MPI 的 Java 绑定。这三个正在更新,应该可以在 OSX 上运行,尤其是 100% 纯 Java 实现,例如 FastMPJ 和 MPJ Express。
回答by wgodoy
http://fastmpj.comis another good recent alternative. You can get it by request.
http://fastmpj.com是最近的另一个不错的选择。您可以通过请求获得它。
回答by Chuck Mosher
I posted a set of instructions for building and using the OpenMPI java bindings on Mac OSX to the users at open dash mpi dot org mailing list: http://www.open-mpi.org/community/lists/users/2013/01/21067.phpHope this helps others like Milhous and I who prefer our message passing in Java !
我在 open dash mpi dot org 邮件列表中向用户发布了一组在 Mac OSX 上构建和使用 OpenMPI java 绑定的说明:http: //www.open-mpi.org/community/lists/users/2013/01 /21067.php希望这能帮助像 Milhous 和我这样更喜欢我们在 Java 中传递消息的人!
Chuck
查克
回答by Mark Davidson
I looked into MPJ a while back although its still in beta its looks fairly good and is still being developed. You mentioned that this does not work on the OSX checking the documentation there is a section that covers getting it working:-
不久前我研究了 MPJ,虽然它仍处于测试阶段,但它看起来相当不错并且仍在开发中。你提到这在 OSX 上不起作用,检查文档有一个部分涵盖了让它工作:-
PPC32 Mac OS X
PPC32 Mac OS X
a. Edit $MPJ_HOME/bin/mpjboot and $MPJ_HOME/bin/mpjhalt
b. Comment the line ssh $host "cd $MPJ_HOME/bin;./mpjdaemon_linux_x86_32 start;"
c. Uncomment the line #ssh $host "cd $MPJ_HOME/bin;./mpjdaemon_macosx_ppc_32 start;"
d. cd $MPJ_HOME/lib
e. cp libwrapper.jnilib_macosx_ppc_32 libwrapper.jnilib
See: http://mpj-express.org/docs/readme/README.html#dmnvarplats
请参阅:http: //mpj-express.org/docs/readme/README.html#dmnvarplats

