[maker-devel] maker with MPI and perl using threads

John Damm Sørensen john at hovedpuden.dk
Wed Jun 28 02:54:40 MDT 2017


Hello,

Recently I assisted one of my customers with problems solving maker 
using MPI.

It seems that the main reason for the trouble was maker not initializing 
the MPI environment for thread save execution.

In the MPI.pm module you call MPI_Init whereas for a threaded 
environment you should call MPI_Init_thread.

I think it would be a good idea to detect whether the users Perl is with 
thread support and init MPI accordingly or clearly state that maker is 
for unthreaded Perl only.

During the debugging we also found that it was beneficial to have the 
latest mxm.c installed:

https://community.mellanox.com/thread/3439


Best Regards

John Damm Sørensen

IT consultant





More information about the maker-devel mailing list