diff --git a/expetator/experiment.py b/expetator/experiment.py index 46aee66c461d59b2dc9b186c59c78d995bbfbba8..4c4d84f5a29bd89065bbb2be43aa928e40c3e39d 100755 --- a/expetator/experiment.py +++ b/expetator/experiment.py @@ -24,7 +24,7 @@ class Executor: self.mpi_host_file = '%s/mpi_host_file' % self.tmp_dir self.mpi_core_file = '%s/mpi_core_file' % self.tmp_dir - self.mpi_options = '' + self.mpi_options = '--use-hwthread-cpus' self.hostnames = ['localhost'] self.nbhosts = 1 self.nbcores = os.cpu_count() @@ -37,9 +37,9 @@ class Executor: self.hostnames = reduce(lambda l, x: l if x in l else l+[x], content, []) self.nbcores = len(content) self.nbhosts = len(self.hostnames) - self.mpi_options = '--map-by node --mca orte_rsh_agent oarsh' + self.mpi_options = '--map-by node --use-hwthread-cpus --mca orte_rsh_agent oarsh' if self.hostnames[0].split('-')[0] in ['grvingt', 'grimani', 'grele', 'troll', 'yeti', 'dahu', 'gros']: - self.mpi_options = '-mca mtl psm2 -mca pml ^ucx,ofi -mca btl ^ofi,openib ' + self.mpi_options + self.mpi_options = '--use-hwthread-cpus -mca mtl psm2 -mca pml ^ucx,ofi -mca btl ^ofi,openib ' + self.mpi_options self.sudo = 'sudo-g5k' self.ssh = 'oarsh' diff --git a/setup.py b/setup.py index 018bbb7b8386691efeb4d3147cf89ee10f4c732b..ccbec00651f0188f9de682918867dc39c6ed41a3 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ with open("README.md", "r") as fh: setuptools.setup( name="expetator", - version="0.3.27", + version="0.3.28", author="Georges Da Costa", author_email="georges.da-costa@irit.fr", description="A framework for monitoring HPC applications using DVFS",