packaging mpiexec with static binaries
29 Sep
2013
29 Sep
'13
9:24 a.m.
Hello Lets say I have a code that uses MPICH. To run in parallel I use: mpiexec -n X ./mycode To run in serial I can also do: ./mycode Now if I create a static binary of my code for users who find compiling from source daunting (dont ask why) then they can easily run in serial as there is no need for mpiexec but then they cant utilize the extra cores on their PCs. Is there a way to package mpiexec along with the static binary? From testing it seems that if I ship along mpiexec.hydra and hydra_pmi_proxy then it appears to work as follows: ./mpiexec.hydra -n X ./mycode But I am not sure if it is the right approach. Any tips/advice on packaging mpirun/mpiexec along (if possible) is highly appreciated. T
4679
Age (days ago)
4679
Last active (days ago)
0 comments
1 participants
participants (1)
-
Tabrez Ali