<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi,<div class=""><br class=""></div><div class="">What if I don’t have a version of SLURM that supports heterogeneous jobs but I want to launch a parallel code using heterogeneous set of resources inside of a homogeneous job that was submitted with sbatch? How do I do that?</div><div class=""><br class=""></div><div class="">For example, the following does not work:</div><div class=""><br class=""></div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;" class=""><div class="">#!/bin/sh --login </div><div class=""><br class=""></div><div class="">#SBATCH --account myaccount </div><div class="">#SBATCH -p batch </div><div class="">#SBATCH -t 01:00 </div><div class="">#SBATCH -o test.out </div><div class="">#SBATCH --mem=512 </div><div class="">#SBATCH --job-name test </div><div class="">#SBATCH --exclusive </div><div class="">#SBATCH --nodes=3-3 --tasks-per-node=4 </div><div class=""><br class=""></div><div class="">srun --nodes=1-1 --tasks-per-node=1 : --nodes=2-2 --tasks-per-node=4 ./hello.exe</div><div class=""><br class=""></div></blockquote><br class=""><div class=""><br class=""><div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><div class="">Chris<br class="">-----------------------------------------------------------------------------------------------------------<br class="">Christopher W. Harrop email: <a href="mailto:christopher.w.harrop@noaa.gov" target="_blank" class="">christopher.w.harrop@noaa.gov</a><br class="">Global Systems Division voice: <a href="tel:%28303%29%20497-6808" value="+13034976808" target="_blank" class="">(303) 497-6808</a><br class="">NOAA Earth System Research Laboratory fax: <a href="tel:%28303%29%20497-7259" value="+13034977259" target="_blank" class="">(303) 497-7259</a><br class="">325 Broadway R/GSD6<br class="">Boulder, CO 80303</div></div><div class=""><br class=""></div></div><br class="Apple-interchange-newline"></div><br class="Apple-interchange-newline"></div><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">
</div>
<br class=""></div></body></html>