Skip to content

Commit

Permalink
Merge pull request #3308 from radical-cybertools/fix/mpi_rf
Browse files Browse the repository at this point in the history
MPIEXEC: rankfile collides with hostnames
  • Loading branch information
andre-merzky authored Feb 4, 2025
2 parents 4e30146 + 9ccb0a3 commit 6eb8e57
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/radical/pilot/agent/launch_method/mpiexec.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,8 @@ def get_launch_cmds(self, task, exec_path):
if self._use_rf:
rankfile = self._get_rank_file(slots, uid, sbox)
hosts = set([slot['node_name'] for slot in slots])
cmd_options += '-H %s -rf %s' % (','.join(hosts), rankfile)
# cmd_options += '-H %s -rf %s' % (','.join(hosts), rankfile)
cmd_options += '-rf %s' % rankfile

elif self._mpi_flavor == self.MPI_FLAVOR_PALS:
hostfile = self._get_host_file(slots, uid, sbox)
Expand Down

0 comments on commit 6eb8e57

Please sign in to comment.