Quantcast
Viewing all articles
Browse latest Browse all 1347

Segmentation Fault when using mpirun -f option

Whenever I use the mpirun -f option to run MPI programs on the device, I get a segmentation fault.

[user@node ~]$ echo mic0 > mic0.hosts
[user@node ~]$ mpirun -perhost 1 -n 2 -f mic0.hosts  ./hello
Segmentation fault

However, I am able to run it fine with the -host option or even with the -f option as long as there are no mic devices in the file.

[user@node ~]$ echo different_node > mic0.hosts
[user@node ~]$ mpirun  -n 2 -f mic0.hosts  ./hello
CPU: Hello from different_node 1 of 2
CPU: Hello from different_node 0 of 2
[user@node ~]$ mpirun -perhost 1 -n 2 -host mic0  ./hello
MIC: Hello from node-mic0 1 of 2
MIC: Hello from node-mic0 0 of 2

I haven't been very successful in debugging this problem. Does anyone have any suggestions?

Thanks,

Dan


Viewing all articles
Browse latest Browse all 1347

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>